@keystrokehq/promptmate_io 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +30 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +30 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +11 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +11 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-app-job.cjs +4 -4
- package/dist/actions/get-app-job.cjs.map +1 -1
- package/dist/actions/get-app-job.d.cts +24 -3
- package/dist/actions/get-app-job.d.cts.map +1 -1
- package/dist/actions/get-app-job.d.mts +24 -3
- package/dist/actions/get-app-job.d.mts.map +1 -1
- package/dist/actions/get-app-job.mjs +4 -4
- package/dist/actions/get-app-job.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +6 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +6 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-apps.cjs +5 -5
- package/dist/actions/list-apps.cjs.map +1 -1
- package/dist/actions/list-apps.d.cts +12 -3
- package/dist/actions/list-apps.d.cts.map +1 -1
- package/dist/actions/list-apps.d.mts +12 -3
- package/dist/actions/list-apps.d.mts.map +1 -1
- package/dist/actions/list-apps.mjs +5 -5
- package/dist/actions/list-apps.mjs.map +1 -1
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +5 -3
- package/dist/actions/list-countries.d.cts.map +1 -1
- package/dist/actions/list-countries.d.mts +5 -3
- package/dist/actions/list-countries.d.mts.map +1 -1
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-languages.cjs.map +1 -1
- package/dist/actions/list-languages.d.cts +5 -3
- package/dist/actions/list-languages.d.cts.map +1 -1
- package/dist/actions/list-languages.d.mts +5 -3
- package/dist/actions/list-languages.d.mts.map +1 -1
- package/dist/actions/list-languages.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +2 -2
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +8 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +8 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +2 -2
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +22 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +22 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +13 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +13 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/use-template.cjs +3 -3
- package/dist/actions/use-template.cjs.map +1 -1
- package/dist/actions/use-template.d.cts +13 -3
- package/dist/actions/use-template.d.cts.map +1 -1
- package/dist/actions/use-template.d.mts +13 -3
- package/dist/actions/use-template.d.mts.map +1 -1
- package/dist/actions/use-template.mjs +3 -3
- package/dist/actions/use-template.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return promptmateIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,aAAa,OAAO;EACzB,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,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return promptmateIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
|
@@ -9,8 +9,8 @@ const PromptmateIoCreateWebhookInput = zod.z.object({
|
|
|
9
9
|
webhookReference: zod.z.string().describe("Client-defined identifier for correlation or de-duplication.").optional()
|
|
10
10
|
}).describe("Request body for creating a new webhook in Promptmate.io.");
|
|
11
11
|
const PromptmateIoCreateWebhook_WebhookDetailSchema = zod.z.object({
|
|
12
|
-
webhookId: zod.z.string().describe("System-assigned unique identifier for the webhook."),
|
|
13
|
-
endpointUrl: zod.z.string().describe("Callback URL for webhook events."),
|
|
12
|
+
webhookId: zod.z.string().describe("System-assigned unique identifier for the webhook.").nullable(),
|
|
13
|
+
endpointUrl: zod.z.string().describe("Callback URL for webhook events.").nullable(),
|
|
14
14
|
webhookName: zod.z.string().describe("Name of the webhook.").nullable().optional(),
|
|
15
15
|
webhookType: zod.z.enum(["job", "row"]).describe("Subscribed event type ('job' or 'row').").nullable().optional(),
|
|
16
16
|
restrictedAppIds: zod.z.array(zod.z.string()).describe("App IDs that can trigger this webhook.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAE7F,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const PromptmateIoCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
endpointUrl: z.ZodString;
|
|
6
|
+
webhookName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
webhookType: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
job: "job";
|
|
9
|
+
row: "row";
|
|
10
|
+
}>>;
|
|
11
|
+
restrictedAppIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
webhookReference: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
|
|
15
|
+
details: z.ZodArray<z.ZodObject<{
|
|
16
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
endpointUrl: z.ZodNullable<z.ZodString>;
|
|
18
|
+
webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
webhookType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
|
+
job: "job";
|
|
21
|
+
row: "row";
|
|
22
|
+
}>>>;
|
|
23
|
+
restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
+
webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
endpointUrl: string;
|
|
29
|
+
webhookName?: string | undefined;
|
|
30
|
+
webhookType?: "job" | "row" | undefined;
|
|
31
|
+
restrictedAppIds?: string[] | undefined;
|
|
32
|
+
webhookReference?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { promptmateIoCreateWebhook };
|
|
9
36
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const PromptmateIoCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
endpointUrl: z.ZodString;
|
|
6
|
+
webhookName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
webhookType: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
job: "job";
|
|
9
|
+
row: "row";
|
|
10
|
+
}>>;
|
|
11
|
+
restrictedAppIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
webhookReference: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
|
|
15
|
+
details: z.ZodArray<z.ZodObject<{
|
|
16
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
endpointUrl: z.ZodNullable<z.ZodString>;
|
|
18
|
+
webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
webhookType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
|
+
job: "job";
|
|
21
|
+
row: "row";
|
|
22
|
+
}>>>;
|
|
23
|
+
restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
+
webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
endpointUrl: string;
|
|
29
|
+
webhookName?: string | undefined;
|
|
30
|
+
webhookType?: "job" | "row" | undefined;
|
|
31
|
+
restrictedAppIds?: string[] | undefined;
|
|
32
|
+
webhookReference?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { promptmateIoCreateWebhook };
|
|
9
36
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -9,8 +9,8 @@ const PromptmateIoCreateWebhookInput = z.object({
|
|
|
9
9
|
webhookReference: z.string().describe("Client-defined identifier for correlation or de-duplication.").optional()
|
|
10
10
|
}).describe("Request body for creating a new webhook in Promptmate.io.");
|
|
11
11
|
const PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({
|
|
12
|
-
webhookId: z.string().describe("System-assigned unique identifier for the webhook."),
|
|
13
|
-
endpointUrl: z.string().describe("Callback URL for webhook events."),
|
|
12
|
+
webhookId: z.string().describe("System-assigned unique identifier for the webhook.").nullable(),
|
|
13
|
+
endpointUrl: z.string().describe("Callback URL for webhook events.").nullable(),
|
|
14
14
|
webhookName: z.string().describe("Name of the webhook.").nullable().optional(),
|
|
15
15
|
webhookType: z.enum(["job", "row"]).describe("Subscribed event type ('job' or 'row').").nullable().optional(),
|
|
16
16
|
restrictedAppIds: z.array(z.string()).describe("App IDs that can trigger this webhook.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
|
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const PromptmateIoDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to delete") });
|
|
5
5
|
const PromptmateIoDeleteWebhookOutput = zod.z.object({
|
|
6
6
|
error: zod.z.string().describe("Error message if deletion failed").nullable().optional(),
|
|
7
|
-
message: zod.z.string().describe("A message detailing the outcome"),
|
|
8
|
-
success: zod.z.boolean().describe("Indicates if the deletion was successful")
|
|
7
|
+
message: zod.z.string().describe("A message detailing the outcome").nullable(),
|
|
8
|
+
success: zod.z.boolean().describe("Indicates if the deletion was successful").nullable()
|
|
9
9
|
});
|
|
10
10
|
const promptmateIoDeleteWebhook = require_action.action("PROMPTMATE_IO_DELETE_WEBHOOK", {
|
|
11
11
|
slug: "promptmate_io-delete-webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n});\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const PromptmateIoDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
|
|
8
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
webhook_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { promptmateIoDeleteWebhook };
|
|
9
17
|
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const PromptmateIoDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
|
|
8
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
message: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
webhook_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { promptmateIoDeleteWebhook };
|
|
9
17
|
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -7,8 +7,8 @@ const promptmateIoDeleteWebhook = action("PROMPTMATE_IO_DELETE_WEBHOOK", {
|
|
|
7
7
|
input: z.object({ webhook_id: z.string().describe("Unique identifier of the webhook to delete") }),
|
|
8
8
|
output: z.object({
|
|
9
9
|
error: z.string().describe("Error message if deletion failed").nullable().optional(),
|
|
10
|
-
message: z.string().describe("A message detailing the outcome"),
|
|
11
|
-
success: z.boolean().describe("Indicates if the deletion was successful")
|
|
10
|
+
message: z.string().describe("A message detailing the outcome").nullable(),
|
|
11
|
+
success: z.boolean().describe("Indicates if the deletion was successful").nullable()
|
|
12
12
|
})
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n});\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAWS;CACP,QAX6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAOU;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PromptmateIoGetAppJobInput = zod.z.object({
|
|
|
6
6
|
job_id: zod.z.string().describe("The unique identifier of the job")
|
|
7
7
|
}).describe("Request model for getting app job status and result.");
|
|
8
8
|
const PromptmateIoGetAppJob_ResponseFieldSchema = zod.z.object({
|
|
9
|
-
key: zod.z.string().describe("Key identifier for the response field"),
|
|
10
|
-
name: zod.z.string().describe("Human-readable name for the response field")
|
|
9
|
+
key: zod.z.string().describe("Key identifier for the response field").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Human-readable name for the response field").nullable()
|
|
11
11
|
}).describe("Response field information.");
|
|
12
12
|
const PromptmateIoGetAppJobOutput = zod.z.object({
|
|
13
13
|
appId: zod.z.string().describe("The app ID for this job").nullable().optional(),
|
|
14
|
-
jobId: zod.z.string().describe("Unique identifier for the job"),
|
|
14
|
+
jobId: zod.z.string().describe("Unique identifier for the job").nullable(),
|
|
15
15
|
result: zod.z.object({}).describe("Job result data (available when job is finished)").nullable().optional(),
|
|
16
|
-
jobStatus: zod.z.string().describe("Current status of the job"),
|
|
16
|
+
jobStatus: zod.z.string().describe("Current status of the job").nullable(),
|
|
17
17
|
stepCount: zod.z.number().int().describe("Total number of steps").nullable().optional(),
|
|
18
18
|
actualStep: zod.z.string().describe("Description of the current step").nullable().optional(),
|
|
19
19
|
executingStep: zod.z.number().int().describe("Currently executing step number").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput
|
|
1
|
+
{"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.object({}).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-app-job.d.ts
|
|
4
|
-
declare const PromptmateIoGetAppJobInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoGetAppJobInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
job_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
|
|
9
|
+
appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
jobId: z.ZodNullable<z.ZodString>;
|
|
11
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
12
|
+
jobStatus: z.ZodNullable<z.ZodString>;
|
|
13
|
+
stepCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
actualStep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
executingStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
responseFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
key: z.ZodNullable<z.ZodString>;
|
|
18
|
+
name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>>>;
|
|
20
|
+
dataProcessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
app_id: string;
|
|
26
|
+
job_id: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { promptmateIoGetAppJob };
|
|
9
30
|
//# sourceMappingURL=get-app-job.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-app-job.d.ts
|
|
4
|
-
declare const PromptmateIoGetAppJobInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoGetAppJobInput: z.ZodObject<{
|
|
5
|
+
app_id: z.ZodString;
|
|
6
|
+
job_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
|
|
9
|
+
appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
jobId: z.ZodNullable<z.ZodString>;
|
|
11
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
12
|
+
jobStatus: z.ZodNullable<z.ZodString>;
|
|
13
|
+
stepCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
actualStep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
executingStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
responseFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
key: z.ZodNullable<z.ZodString>;
|
|
18
|
+
name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>>>;
|
|
20
|
+
dataProcessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
app_id: string;
|
|
26
|
+
job_id: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { promptmateIoGetAppJob };
|
|
9
30
|
//# sourceMappingURL=get-app-job.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const PromptmateIoGetAppJobInput = z.object({
|
|
|
6
6
|
job_id: z.string().describe("The unique identifier of the job")
|
|
7
7
|
}).describe("Request model for getting app job status and result.");
|
|
8
8
|
const PromptmateIoGetAppJob_ResponseFieldSchema = z.object({
|
|
9
|
-
key: z.string().describe("Key identifier for the response field"),
|
|
10
|
-
name: z.string().describe("Human-readable name for the response field")
|
|
9
|
+
key: z.string().describe("Key identifier for the response field").nullable(),
|
|
10
|
+
name: z.string().describe("Human-readable name for the response field").nullable()
|
|
11
11
|
}).describe("Response field information.");
|
|
12
12
|
const promptmateIoGetAppJob = action("PROMPTMATE_IO_GET_APP_JOB", {
|
|
13
13
|
slug: "promptmate_io-get-app-job",
|
|
@@ -16,9 +16,9 @@ const promptmateIoGetAppJob = action("PROMPTMATE_IO_GET_APP_JOB", {
|
|
|
16
16
|
input: PromptmateIoGetAppJobInput,
|
|
17
17
|
output: z.object({
|
|
18
18
|
appId: z.string().describe("The app ID for this job").nullable().optional(),
|
|
19
|
-
jobId: z.string().describe("Unique identifier for the job"),
|
|
19
|
+
jobId: z.string().describe("Unique identifier for the job").nullable(),
|
|
20
20
|
result: z.object({}).describe("Job result data (available when job is finished)").nullable().optional(),
|
|
21
|
-
jobStatus: z.string().describe("Current status of the job"),
|
|
21
|
+
jobStatus: z.string().describe("Current status of the job").nullable(),
|
|
22
22
|
stepCount: z.number().int().describe("Total number of steps").nullable().optional(),
|
|
23
23
|
actualStep: z.string().describe("Description of the current step").nullable().optional(),
|
|
24
24
|
executingStep: z.number().int().describe("Currently executing step number").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput
|
|
1
|
+
{"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.object({}).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAezC,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput
|
|
1
|
+
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACvI,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-info.d.ts
|
|
4
|
-
declare const PromptmateIoGetUserInfoInput: z.
|
|
5
|
-
declare const PromptmateIoGetUserInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
10
|
//#endregion
|
|
8
11
|
export { promptmateIoGetUserInfo };
|
|
9
12
|
//# sourceMappingURL=get-user-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-info.d.ts
|
|
4
|
-
declare const PromptmateIoGetUserInfoInput: z.
|
|
5
|
-
declare const PromptmateIoGetUserInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
10
|
//#endregion
|
|
8
11
|
export { promptmateIoGetUserInfo };
|
|
9
12
|
//# sourceMappingURL=get-user-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput
|
|
1
|
+
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;AAUA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAUzD;CACP,QAV2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-apps.ts
|
|
4
4
|
const PromptmateIoListAppsInput = zod.z.object({}).describe("Request model for listing apps. No parameters.");
|
|
5
5
|
const PromptmateIoListApps_AppSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the app"),
|
|
7
|
-
name: zod.z.string().describe("Human-readable name of the app"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the app").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the app").nullable(),
|
|
8
8
|
tags: zod.z.array(zod.z.string()).describe("List of tags assigned to this app").nullable().optional(),
|
|
9
|
-
createdAt: zod.z.string().describe("Timestamp when the app was created (ISO 8601 format)"),
|
|
10
|
-
updatedAt: zod.z.string().describe("Timestamp when the app was last updated (ISO 8601 format)"),
|
|
11
|
-
description: zod.z.string().describe("Detailed description of the app's purpose")
|
|
9
|
+
createdAt: zod.z.string().describe("Timestamp when the app was created (ISO 8601 format)").nullable(),
|
|
10
|
+
updatedAt: zod.z.string().describe("Timestamp when the app was last updated (ISO 8601 format)").nullable(),
|
|
11
|
+
description: zod.z.string().describe("Detailed description of the app's purpose").nullable()
|
|
12
12
|
});
|
|
13
13
|
const PromptmateIoListAppsOutput = zod.z.object({ apps: zod.z.array(PromptmateIoListApps_AppSchema).describe("List of available apps") }).describe("Response model for listing apps.");
|
|
14
14
|
const promptmateIoListApps = require_action.action("PROMPTMATE_IO_LIST_APPS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.cjs","names":["z","action"],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput
|
|
1
|
+
{"version":3,"file":"list-apps.cjs","names":["z","action"],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\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)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n});\nexport const PromptmateIoListAppsOutput = 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,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC/G,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-apps.d.ts
|
|
4
|
-
declare const PromptmateIoListAppsInput: z.
|
|
5
|
-
declare const PromptmateIoListAppsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PromptmateIoListAppsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PromptmateIoListAppsOutput: z.ZodObject<{
|
|
6
|
+
apps: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
12
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const promptmateIoListApps: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { promptmateIoListApps };
|
|
9
18
|
//# sourceMappingURL=list-apps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.d.cts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-apps.d.cts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|