@keystrokehq/promptmate_io 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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +30 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +29 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +20 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +17 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/get-app-job.cjs +35 -0
- package/dist/actions/get-app-job.cjs.map +1 -0
- package/dist/actions/get-app-job.d.cts +9 -0
- package/dist/actions/get-app-job.d.cts.map +1 -0
- package/dist/actions/get-app-job.d.mts +9 -0
- package/dist/actions/get-app-job.d.mts.map +1 -0
- package/dist/actions/get-app-job.mjs +34 -0
- package/dist/actions/get-app-job.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +19 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +16 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/list-apps.cjs +24 -0
- package/dist/actions/list-apps.cjs.map +1 -0
- package/dist/actions/list-apps.d.cts +9 -0
- package/dist/actions/list-apps.d.cts.map +1 -0
- package/dist/actions/list-apps.d.mts +9 -0
- package/dist/actions/list-apps.d.mts.map +1 -0
- package/dist/actions/list-apps.mjs +23 -0
- package/dist/actions/list-apps.mjs.map +1 -0
- package/dist/actions/list-countries.cjs +16 -0
- package/dist/actions/list-countries.cjs.map +1 -0
- package/dist/actions/list-countries.d.cts +9 -0
- package/dist/actions/list-countries.d.cts.map +1 -0
- package/dist/actions/list-countries.d.mts +9 -0
- package/dist/actions/list-countries.d.mts.map +1 -0
- package/dist/actions/list-countries.mjs +13 -0
- package/dist/actions/list-countries.mjs.map +1 -0
- package/dist/actions/list-languages.cjs +16 -0
- package/dist/actions/list-languages.cjs.map +1 -0
- package/dist/actions/list-languages.d.cts +9 -0
- package/dist/actions/list-languages.d.cts.map +1 -0
- package/dist/actions/list-languages.d.mts +9 -0
- package/dist/actions/list-languages.d.mts.map +1 -0
- package/dist/actions/list-languages.mjs +13 -0
- package/dist/actions/list-languages.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +20 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +19 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +35 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +34 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +27 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +26 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/use-template.cjs +23 -0
- package/dist/actions/use-template.cjs.map +1 -0
- package/dist/actions/use-template.d.cts +9 -0
- package/dist/actions/use-template.d.cts.map +1 -0
- package/dist/actions/use-template.d.mts +9 -0
- package/dist/actions/use-template.d.mts.map +1 -0
- package/dist/actions/use-template.mjs +20 -0
- package/dist/actions/use-template.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-apps.d.mts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAoF;AAAA,cASjH,0BAAA,EAA4B,CAAA,CAAE,UAEI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-apps.ts
|
|
4
|
+
const PromptmateIoListAppsInput = z.object({}).describe("Request model for listing apps. No parameters.");
|
|
5
|
+
const PromptmateIoListApps_AppSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the app"),
|
|
7
|
+
name: z.string().describe("Human-readable name of the app"),
|
|
8
|
+
tags: z.array(z.string()).describe("List of tags assigned to this app").nullable().optional(),
|
|
9
|
+
createdAt: z.string().describe("Timestamp when the app was created (ISO 8601 format)"),
|
|
10
|
+
updatedAt: z.string().describe("Timestamp when the app was last updated (ISO 8601 format)"),
|
|
11
|
+
description: z.string().describe("Detailed description of the app's purpose")
|
|
12
|
+
});
|
|
13
|
+
const promptmateIoListApps = action("PROMPTMATE_IO_LIST_APPS", {
|
|
14
|
+
slug: "promptmate_io-list-apps",
|
|
15
|
+
name: "List PromptMate Apps",
|
|
16
|
+
description: "Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.",
|
|
17
|
+
input: PromptmateIoListAppsInput,
|
|
18
|
+
output: z.object({ apps: z.array(PromptmateIoListApps_AppSchema).describe("List of available apps") }).describe("Response model for listing apps.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { promptmateIoListApps };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-apps.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the app\"),\n name: z.string().describe(\"Human-readable name of the app\"),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\"),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\"),\n description: z.string().describe(\"Detailed description of the app's purpose\"),\n});\nexport const PromptmateIoListAppsOutput: z.ZodTypeAny = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC7H,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC9E,CAAC;AAKD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-countries.ts
|
|
4
|
+
const PromptmateIoListCountriesInput = zod.z.object({}).describe("Request model for listing countries. No parameters required.");
|
|
5
|
+
const PromptmateIoListCountriesOutput = zod.z.object({ countries: zod.z.array(zod.z.string()).describe("List of available country names") }).describe("Response model for listing countries.");
|
|
6
|
+
const promptmateIoListCountries = require_action.action("PROMPTMATE_IO_LIST_COUNTRIES", {
|
|
7
|
+
slug: "promptmate_io-list-countries",
|
|
8
|
+
name: "List Countries",
|
|
9
|
+
description: "Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.",
|
|
10
|
+
input: PromptmateIoListCountriesInput,
|
|
11
|
+
output: PromptmateIoListCountriesOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.promptmateIoListCountries = promptmateIoListCountries;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=list-countries.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-countries.cjs","names":["z","action"],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/list-countries.d.ts
|
|
4
|
+
declare const PromptmateIoListCountriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListCountriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListCountries };
|
|
9
|
+
//# sourceMappingURL=list-countries.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-countries.d.cts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-countries.d.ts
|
|
4
|
+
declare const PromptmateIoListCountriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListCountriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListCountries };
|
|
9
|
+
//# sourceMappingURL=list-countries.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-countries.d.mts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const promptmateIoListCountries = action("PROMPTMATE_IO_LIST_COUNTRIES", {
|
|
4
|
+
slug: "promptmate_io-list-countries",
|
|
5
|
+
name: "List Countries",
|
|
6
|
+
description: "Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.",
|
|
7
|
+
input: z.object({}).describe("Request model for listing countries. No parameters required."),
|
|
8
|
+
output: z.object({ countries: z.array(z.string()).describe("List of available country names") }).describe("Response model for listing countries.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { promptmateIoListCountries };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=list-countries.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-countries.mjs","names":[],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DASzE;CACP,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-languages.ts
|
|
4
|
+
const PromptmateIoListLanguagesInput = zod.z.object({}).describe("Request model for listing available languages. No parameters required.");
|
|
5
|
+
const PromptmateIoListLanguagesOutput = zod.z.object({ languages: zod.z.array(zod.z.string()).describe("List of available language names for app configuration") }).describe("Response model for listing available languages.");
|
|
6
|
+
const promptmateIoListLanguages = require_action.action("PROMPTMATE_IO_LIST_LANGUAGES", {
|
|
7
|
+
slug: "promptmate_io-list-languages",
|
|
8
|
+
name: "List Available Languages",
|
|
9
|
+
description: "Tool to list available languages for app configuration. Use when you need to retrieve supported language options.",
|
|
10
|
+
input: PromptmateIoListLanguagesInput,
|
|
11
|
+
output: PromptmateIoListLanguagesOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.promptmateIoListLanguages = promptmateIoListLanguages;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=list-languages.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-languages.cjs","names":["z","action"],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListLanguagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC1J,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/list-languages.d.ts
|
|
4
|
+
declare const PromptmateIoListLanguagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListLanguagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListLanguages };
|
|
9
|
+
//# sourceMappingURL=list-languages.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-languages.d.cts","names":[],"sources":["../../src/actions/list-languages.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAC9I,+BAAA,EAAiC,CAAA,CAAE,UAEc;AAAA,cAEjD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-languages.d.ts
|
|
4
|
+
declare const PromptmateIoListLanguagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListLanguagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListLanguages };
|
|
9
|
+
//# sourceMappingURL=list-languages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-languages.d.mts","names":[],"sources":["../../src/actions/list-languages.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAC9I,+BAAA,EAAiC,CAAA,CAAE,UAEc;AAAA,cAEjD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const promptmateIoListLanguages = action("PROMPTMATE_IO_LIST_LANGUAGES", {
|
|
4
|
+
slug: "promptmate_io-list-languages",
|
|
5
|
+
name: "List Available Languages",
|
|
6
|
+
description: "Tool to list available languages for app configuration. Use when you need to retrieve supported language options.",
|
|
7
|
+
input: z.object({}).describe("Request model for listing available languages. No parameters required."),
|
|
8
|
+
output: z.object({ languages: z.array(z.string()).describe("List of available language names for app configuration") }).describe("Response model for listing available languages.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { promptmateIoListLanguages };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=list-languages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-languages.mjs","names":[],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListLanguagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEASzE;CACP,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-projects.ts
|
|
4
|
+
const PromptmateIoListProjectsInput = zod.z.object({}).describe("Request model for listing projects. No parameters required.");
|
|
5
|
+
const PromptmateIoListProjects_ProjectSchema = zod.z.object({
|
|
6
|
+
projectId: zod.z.string().describe("Unique identifier for the project"),
|
|
7
|
+
projectName: zod.z.string().describe("Name of the project")
|
|
8
|
+
}).describe("Represents a single project.");
|
|
9
|
+
const PromptmateIoListProjectsOutput = zod.z.object({ projects: zod.z.array(PromptmateIoListProjects_ProjectSchema).describe("List of available projects") }).describe("Response model for listing projects.");
|
|
10
|
+
const promptmateIoListProjects = require_action.action("PROMPTMATE_IO_LIST_PROJECTS", {
|
|
11
|
+
slug: "promptmate_io-list-projects",
|
|
12
|
+
name: "List Projects",
|
|
13
|
+
description: "Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.",
|
|
14
|
+
input: PromptmateIoListProjectsInput,
|
|
15
|
+
output: PromptmateIoListProjectsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.promptmateIoListProjects = promptmateIoListProjects;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-projects.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListProjectsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\"),\n projectName: z.string().describe(\"Name of the project\"),\n}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput: z.ZodTypeAny = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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/list-projects.d.ts
|
|
4
|
+
declare const PromptmateIoListProjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListProjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListProjects };
|
|
9
|
+
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAiG;AAAA,cAKlI,8BAAA,EAAgC,CAAA,CAAE,UAEI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-projects.d.ts
|
|
4
|
+
declare const PromptmateIoListProjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListProjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListProjects };
|
|
9
|
+
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAiG;AAAA,cAKlI,8BAAA,EAAgC,CAAA,CAAE,UAEI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-projects.ts
|
|
4
|
+
const PromptmateIoListProjectsInput = z.object({}).describe("Request model for listing projects. No parameters required.");
|
|
5
|
+
const PromptmateIoListProjects_ProjectSchema = z.object({
|
|
6
|
+
projectId: z.string().describe("Unique identifier for the project"),
|
|
7
|
+
projectName: z.string().describe("Name of the project")
|
|
8
|
+
}).describe("Represents a single project.");
|
|
9
|
+
const promptmateIoListProjects = action("PROMPTMATE_IO_LIST_PROJECTS", {
|
|
10
|
+
slug: "promptmate_io-list-projects",
|
|
11
|
+
name: "List Projects",
|
|
12
|
+
description: "Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.",
|
|
13
|
+
input: PromptmateIoListProjectsInput,
|
|
14
|
+
output: z.object({ projects: z.array(PromptmateIoListProjects_ProjectSchema).describe("List of available projects") }).describe("Response model for listing projects.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { promptmateIoListProjects };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=list-projects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListProjectsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\"),\n projectName: z.string().describe(\"Name of the project\"),\n}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput: z.ZodTypeAny = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-templates.ts
|
|
4
|
+
const PromptmateIoListTemplatesInput = zod.z.object({}).describe("Request model for listing templates. No parameters required.");
|
|
5
|
+
const PromptmateIoListTemplates_DataFieldSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().nullable().optional(),
|
|
7
|
+
type: zod.z.string().nullable().optional(),
|
|
8
|
+
options: zod.z.array(zod.z.string()).nullable().optional(),
|
|
9
|
+
fileName: zod.z.string().nullable().optional(),
|
|
10
|
+
required: zod.z.boolean().nullable().optional(),
|
|
11
|
+
localFile: zod.z.string().nullable().optional(),
|
|
12
|
+
fieldOrder: zod.z.number().int().nullable().optional(),
|
|
13
|
+
defaultValue: zod.z.string().nullable().optional()
|
|
14
|
+
}).passthrough().describe("Represents a data field in a template.");
|
|
15
|
+
const PromptmateIoListTemplates_TemplateSchema = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("Unique identifier for the template"),
|
|
17
|
+
dataFields: zod.z.union([zod.z.array(PromptmateIoListTemplates_DataFieldSchema), zod.z.array(zod.z.string())]).nullable().optional(),
|
|
18
|
+
templateName: zod.z.string().describe("Name of the template"),
|
|
19
|
+
templateType: zod.z.string().describe("Type of the template").nullable().optional(),
|
|
20
|
+
templateCategory: zod.z.string().describe("Category of the template").nullable().optional(),
|
|
21
|
+
templateVideo_url: zod.z.string().describe("URL to a video about the template").nullable().optional(),
|
|
22
|
+
templateDescription: zod.z.string().describe("Description of the template").nullable().optional()
|
|
23
|
+
}).passthrough().describe("Represents a single template.");
|
|
24
|
+
const PromptmateIoListTemplatesOutput = zod.z.object({ templates: zod.z.array(PromptmateIoListTemplates_TemplateSchema).describe("List of available templates") }).describe("Response model for listing templates.");
|
|
25
|
+
const promptmateIoListTemplates = require_action.action("PROMPTMATE_IO_LIST_TEMPLATES", {
|
|
26
|
+
slug: "promptmate_io-list-templates",
|
|
27
|
+
name: "List Templates",
|
|
28
|
+
description: "Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.",
|
|
29
|
+
input: PromptmateIoListTemplatesInput,
|
|
30
|
+
output: PromptmateIoListTemplatesOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.promptmateIoListTemplates = promptmateIoListTemplates;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=list-templates.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListTemplatesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template\"),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\"),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput: z.ZodTypeAny = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAM,yCAAyC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/list-templates.d.ts
|
|
4
|
+
declare const PromptmateIoListTemplatesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListTemplatesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListTemplates };
|
|
9
|
+
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cAoBpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-templates.d.ts
|
|
4
|
+
declare const PromptmateIoListTemplatesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListTemplatesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListTemplates };
|
|
9
|
+
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cAoBpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-templates.ts
|
|
4
|
+
const PromptmateIoListTemplatesInput = z.object({}).describe("Request model for listing templates. No parameters required.");
|
|
5
|
+
const PromptmateIoListTemplates_DataFieldSchema = z.object({
|
|
6
|
+
name: z.string().nullable().optional(),
|
|
7
|
+
type: z.string().nullable().optional(),
|
|
8
|
+
options: z.array(z.string()).nullable().optional(),
|
|
9
|
+
fileName: z.string().nullable().optional(),
|
|
10
|
+
required: z.boolean().nullable().optional(),
|
|
11
|
+
localFile: z.string().nullable().optional(),
|
|
12
|
+
fieldOrder: z.number().int().nullable().optional(),
|
|
13
|
+
defaultValue: z.string().nullable().optional()
|
|
14
|
+
}).passthrough().describe("Represents a data field in a template.");
|
|
15
|
+
const PromptmateIoListTemplates_TemplateSchema = z.object({
|
|
16
|
+
id: z.string().describe("Unique identifier for the template"),
|
|
17
|
+
dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),
|
|
18
|
+
templateName: z.string().describe("Name of the template"),
|
|
19
|
+
templateType: z.string().describe("Type of the template").nullable().optional(),
|
|
20
|
+
templateCategory: z.string().describe("Category of the template").nullable().optional(),
|
|
21
|
+
templateVideo_url: z.string().describe("URL to a video about the template").nullable().optional(),
|
|
22
|
+
templateDescription: z.string().describe("Description of the template").nullable().optional()
|
|
23
|
+
}).passthrough().describe("Represents a single template.");
|
|
24
|
+
const promptmateIoListTemplates = action("PROMPTMATE_IO_LIST_TEMPLATES", {
|
|
25
|
+
slug: "promptmate_io-list-templates",
|
|
26
|
+
name: "List Templates",
|
|
27
|
+
description: "Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.",
|
|
28
|
+
input: PromptmateIoListTemplatesInput,
|
|
29
|
+
output: z.object({ templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe("List of available templates") }).describe("Response model for listing templates.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { promptmateIoListTemplates };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-templates.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListTemplatesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template\"),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\"),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput: z.ZodTypeAny = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM,yCAAyC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-webhooks.ts
|
|
4
|
+
const PromptmateIoListWebhooksInput = zod.z.object({}).describe("Request model for listing webhooks. No parameters required.");
|
|
5
|
+
const PromptmateIoListWebhooks_WebhookSchema = zod.z.object({
|
|
6
|
+
webhookId: zod.z.string().describe("Unique identifier of the webhook"),
|
|
7
|
+
endpointUrl: zod.z.string().describe("Endpoint URL that receives webhook events"),
|
|
8
|
+
webhookName: zod.z.string().describe("Optional friendly name for the webhook").nullable().optional(),
|
|
9
|
+
webhookType: zod.z.string().describe("Type of events subscribed by the webhook ('job' or 'row')").nullable().optional(),
|
|
10
|
+
restrictedAppIds: zod.z.array(zod.z.string()).describe("List of app IDs that can trigger this webhook").nullable().optional(),
|
|
11
|
+
webhookReference: zod.z.string().describe("Client-defined identifier for correlation or de-duplication").nullable().optional()
|
|
12
|
+
}).describe("Represents a single webhook configuration.");
|
|
13
|
+
const PromptmateIoListWebhooksOutput = zod.z.object({
|
|
14
|
+
total: zod.z.number().int().describe("Total number of webhooks returned"),
|
|
15
|
+
webhooks: zod.z.array(PromptmateIoListWebhooks_WebhookSchema).describe("Array of all registered webhooks.")
|
|
16
|
+
}).describe("Response model for listing webhooks.");
|
|
17
|
+
const promptmateIoListWebhooks = require_action.action("PROMPTMATE_IO_LIST_WEBHOOKS", {
|
|
18
|
+
slug: "promptmate_io-list-webhooks",
|
|
19
|
+
name: "List Webhooks",
|
|
20
|
+
description: "Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.",
|
|
21
|
+
input: PromptmateIoListWebhooksInput,
|
|
22
|
+
output: PromptmateIoListWebhooksOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.promptmateIoListWebhooks = promptmateIoListWebhooks;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=list-webhooks.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\"),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\"),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;AACxG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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/list-webhooks.d.ts
|
|
4
|
+
declare const PromptmateIoListWebhooksInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListWebhooksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListWebhooks };
|
|
9
|
+
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAiG;AAAA,cASlI,8BAAA,EAAgC,CAAA,CAAE,UAGI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-webhooks.d.ts
|
|
4
|
+
declare const PromptmateIoListWebhooksInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoListWebhooksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoListWebhooks };
|
|
9
|
+
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAiG;AAAA,cASlI,8BAAA,EAAgC,CAAA,CAAE,UAGI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-webhooks.ts
|
|
4
|
+
const PromptmateIoListWebhooksInput = z.object({}).describe("Request model for listing webhooks. No parameters required.");
|
|
5
|
+
const PromptmateIoListWebhooks_WebhookSchema = z.object({
|
|
6
|
+
webhookId: z.string().describe("Unique identifier of the webhook"),
|
|
7
|
+
endpointUrl: z.string().describe("Endpoint URL that receives webhook events"),
|
|
8
|
+
webhookName: z.string().describe("Optional friendly name for the webhook").nullable().optional(),
|
|
9
|
+
webhookType: z.string().describe("Type of events subscribed by the webhook ('job' or 'row')").nullable().optional(),
|
|
10
|
+
restrictedAppIds: z.array(z.string()).describe("List of app IDs that can trigger this webhook").nullable().optional(),
|
|
11
|
+
webhookReference: z.string().describe("Client-defined identifier for correlation or de-duplication").nullable().optional()
|
|
12
|
+
}).describe("Represents a single webhook configuration.");
|
|
13
|
+
const promptmateIoListWebhooks = action("PROMPTMATE_IO_LIST_WEBHOOKS", {
|
|
14
|
+
slug: "promptmate_io-list-webhooks",
|
|
15
|
+
name: "List Webhooks",
|
|
16
|
+
description: "Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.",
|
|
17
|
+
input: PromptmateIoListWebhooksInput,
|
|
18
|
+
output: z.object({
|
|
19
|
+
total: z.number().int().describe("Total number of webhooks returned"),
|
|
20
|
+
webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe("Array of all registered webhooks.")
|
|
21
|
+
}).describe("Response model for listing webhooks.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { promptmateIoListWebhooks };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=list-webhooks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\"),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\"),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;EACpE,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;CACxG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/use-template.ts
|
|
4
|
+
const PromptmateIoUseTemplateInput = zod.z.object({
|
|
5
|
+
data: zod.z.object({}).describe("Data to fill the template with. Key-value pairs where keys match template variables and values are strings.").optional(),
|
|
6
|
+
templateId: zod.z.string().describe("The template ID to use")
|
|
7
|
+
}).describe("Request model for using a template.");
|
|
8
|
+
const PromptmateIoUseTemplateOutput = zod.z.object({
|
|
9
|
+
appId: zod.z.string().describe("The app ID created or associated with the template usage"),
|
|
10
|
+
message: zod.z.string().describe("Status message for the template usage operation"),
|
|
11
|
+
templateId: zod.z.string().describe("The template ID that was used")
|
|
12
|
+
}).describe("Response model for template usage.");
|
|
13
|
+
const promptmateIoUseTemplate = require_action.action("PROMPTMATE_IO_USE_TEMPLATE", {
|
|
14
|
+
slug: "promptmate_io-use-template",
|
|
15
|
+
name: "Use Template",
|
|
16
|
+
description: "Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.",
|
|
17
|
+
input: PromptmateIoUseTemplateInput,
|
|
18
|
+
output: PromptmateIoUseTemplateOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.promptmateIoUseTemplate = promptmateIoUseTemplate;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=use-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-template.cjs","names":["z","action"],"sources":["../../src/actions/use-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoUseTemplateInput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Data to fill the template with. Key-value pairs where keys match template variables and values are strings.\").optional(),\n templateId: z.string().describe(\"The template ID to use\"),\n}).describe(\"Request model for using a template.\");\nexport const PromptmateIoUseTemplateOutput: z.ZodTypeAny = z.object({\n appId: z.string().describe(\"The app ID created or associated with the template usage\"),\n message: z.string().describe(\"Status message for the template usage operation\"),\n templateId: z.string().describe(\"The template ID that was used\"),\n}).describe(\"Response model for template usage.\");\n\nexport const promptmateIoUseTemplate = action(\"PROMPTMATE_IO_USE_TEMPLATE\", {\n slug: \"promptmate_io-use-template\",\n name: \"Use Template\",\n description: \"Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.\",\n input: PromptmateIoUseTemplateInput,\n output: PromptmateIoUseTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/use-template.d.ts
|
|
4
|
+
declare const PromptmateIoUseTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoUseTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoUseTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoUseTemplate };
|
|
9
|
+
//# sourceMappingURL=use-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-template.d.cts","names":[],"sources":["../../src/actions/use-template.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGK;AAAA,cACrC,6BAAA,EAA+B,CAAA,CAAE,UAIG;AAAA,cAEpC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/use-template.d.ts
|
|
4
|
+
declare const PromptmateIoUseTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PromptmateIoUseTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const promptmateIoUseTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { promptmateIoUseTemplate };
|
|
9
|
+
//# sourceMappingURL=use-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-template.d.mts","names":[],"sources":["../../src/actions/use-template.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGK;AAAA,cACrC,6BAAA,EAA+B,CAAA,CAAE,UAIG;AAAA,cAEpC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const promptmateIoUseTemplate = action("PROMPTMATE_IO_USE_TEMPLATE", {
|
|
4
|
+
slug: "promptmate_io-use-template",
|
|
5
|
+
name: "Use Template",
|
|
6
|
+
description: "Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
data: z.object({}).describe("Data to fill the template with. Key-value pairs where keys match template variables and values are strings.").optional(),
|
|
9
|
+
templateId: z.string().describe("The template ID to use")
|
|
10
|
+
}).describe("Request model for using a template."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
appId: z.string().describe("The app ID created or associated with the template usage"),
|
|
13
|
+
message: z.string().describe("Status message for the template usage operation"),
|
|
14
|
+
templateId: z.string().describe("The template ID that was used")
|
|
15
|
+
}).describe("Response model for template usage.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { promptmateIoUseTemplate };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=use-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-template.mjs","names":[],"sources":["../../src/actions/use-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoUseTemplateInput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Data to fill the template with. Key-value pairs where keys match template variables and values are strings.\").optional(),\n templateId: z.string().describe(\"The template ID to use\"),\n}).describe(\"Request model for using a template.\");\nexport const PromptmateIoUseTemplateOutput: z.ZodTypeAny = z.object({\n appId: z.string().describe(\"The app ID created or associated with the template usage\"),\n message: z.string().describe(\"Status message for the template usage operation\"),\n templateId: z.string().describe(\"The template ID that was used\"),\n}).describe(\"Response model for template usage.\");\n\nexport const promptmateIoUseTemplate = action(\"PROMPTMATE_IO_USE_TEMPLATE\", {\n slug: \"promptmate_io-use-template\",\n name: \"Use Template\",\n description: \"Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.\",\n input: PromptmateIoUseTemplateInput,\n output: PromptmateIoUseTemplateOutput,\n});\n"],"mappings":";;AAcA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,CAAC,CAAC,CAAC,SAAS,qCAWH;CACP,QAXyD,EAAE,OAAO;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED