@keystrokehq/pylon_mcp 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-issue.cjs +8 -8
- package/dist/actions/create-issue.cjs.map +1 -1
- package/dist/actions/create-issue.d.cts +41 -3
- package/dist/actions/create-issue.d.cts.map +1 -1
- package/dist/actions/create-issue.d.mts +41 -3
- package/dist/actions/create-issue.d.mts.map +1 -1
- package/dist/actions/create-issue.mjs +8 -8
- package/dist/actions/create-issue.mjs.map +1 -1
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +7 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +7 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +7 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +7 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-issue-messages.cjs +2 -2
- package/dist/actions/get-issue-messages.cjs.map +1 -1
- package/dist/actions/get-issue-messages.d.cts +21 -3
- package/dist/actions/get-issue-messages.d.cts.map +1 -1
- package/dist/actions/get-issue-messages.d.mts +21 -3
- package/dist/actions/get-issue-messages.d.mts.map +1 -1
- package/dist/actions/get-issue-messages.mjs +2 -2
- package/dist/actions/get-issue-messages.mjs.map +1 -1
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +7 -3
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +7 -3
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -3
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -3
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +7 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +7 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +4 -4
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +33 -3
- package/dist/actions/search-accounts.d.cts.map +1 -1
- package/dist/actions/search-accounts.d.mts +33 -3
- package/dist/actions/search-accounts.d.mts.map +1 -1
- package/dist/actions/search-accounts.mjs +4 -4
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-issues.cjs +9 -9
- package/dist/actions/search-issues.cjs.map +1 -1
- package/dist/actions/search-issues.d.cts +45 -3
- package/dist/actions/search-issues.d.cts.map +1 -1
- package/dist/actions/search-issues.d.mts +45 -3
- package/dist/actions/search-issues.d.mts.map +1 -1
- package/dist/actions/search-issues.mjs +9 -9
- package/dist/actions/search-issues.mjs.map +1 -1
- package/dist/actions/update-account.cjs +3 -3
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +25 -3
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +25 -3
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +3 -3
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-issue.cjs +8 -8
- package/dist/actions/update-issue.cjs.map +1 -1
- package/dist/actions/update-issue.d.cts +30 -3
- package/dist/actions/update-issue.d.cts.map +1 -1
- package/dist/actions/update-issue.d.mts +30 -3
- package/dist/actions/update-issue.d.mts.map +1 -1
- package/dist/actions/update-issue.mjs +8 -8
- package/dist/actions/update-issue.mjs.map +1 -1
- package/dist/actions/upload-account-files.cjs +4 -4
- package/dist/actions/upload-account-files.cjs.map +1 -1
- package/dist/actions/upload-account-files.d.cts +25 -3
- package/dist/actions/upload-account-files.d.cts.map +1 -1
- package/dist/actions/upload-account-files.d.mts +25 -3
- package/dist/actions/upload-account-files.d.mts.map +1 -1
- package/dist/actions/upload-account-files.mjs +4 -4
- package/dist/actions/upload-account-files.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["pylonMcp","executePylonMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } 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":["pylonMcp","executePylonMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } 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 pylonMcp.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 executePylonMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;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 { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } 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 { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } 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 pylonMcp.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 executePylonMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -18,19 +18,19 @@ const PylonMcpCreateIssueInput = zod.z.object({
|
|
|
18
18
|
});
|
|
19
19
|
const PylonMcpCreateIssueOutput = zod.z.object({
|
|
20
20
|
issue: zod.z.object({
|
|
21
|
-
id: zod.z.string().describe("The unique ID of the issue."),
|
|
21
|
+
id: zod.z.string().describe("The unique ID of the issue.").nullable(),
|
|
22
22
|
tags: zod.z.array(zod.z.string()).describe("Tags on the issue.").nullable().optional(),
|
|
23
|
-
type: zod.z.string().describe("The type (Conversation or Ticket)."),
|
|
24
|
-
state: zod.z.string().describe("The state of the issue."),
|
|
25
|
-
title: zod.z.string().describe("The title of the issue."),
|
|
26
|
-
number: zod.z.number().int().describe("The issue number."),
|
|
27
|
-
source: zod.z.string().describe("The source of the issue."),
|
|
23
|
+
type: zod.z.string().describe("The type (Conversation or Ticket).").nullable(),
|
|
24
|
+
state: zod.z.string().describe("The state of the issue.").nullable(),
|
|
25
|
+
title: zod.z.string().describe("The title of the issue.").nullable(),
|
|
26
|
+
number: zod.z.number().int().describe("The issue number.").nullable(),
|
|
27
|
+
source: zod.z.string().describe("The source of the issue.").nullable(),
|
|
28
28
|
account_id: zod.z.string().describe("The associated account ID.").nullable().optional(),
|
|
29
|
-
created_at: zod.z.string().describe("When the issue was created."),
|
|
29
|
+
created_at: zod.z.string().describe("When the issue was created.").nullable(),
|
|
30
30
|
assignee_id: zod.z.string().describe("The assigned user ID.").nullable().optional(),
|
|
31
31
|
latest_message_time: zod.z.string().describe("Time of the latest message.").nullable().optional()
|
|
32
32
|
}).describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
|
|
33
|
-
success: zod.z.boolean().describe("Whether the creation was successful.")
|
|
33
|
+
success: zod.z.boolean().describe("Whether the creation was successful.").nullable()
|
|
34
34
|
});
|
|
35
35
|
const pylonMcpCreateIssue = require_action.action("PYLON_MCP_CREATE_ISSUE", {
|
|
36
36
|
slug: "pylon_mcp-create-issue",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-issue.cjs","names":["z","action"],"sources":["../../src/actions/create-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpCreateIssueInput
|
|
1
|
+
{"version":3,"file":"create-issue.cjs","names":["z","action"],"sources":["../../src/actions/create-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpCreateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue.\").optional(),\n title: z.string().describe(\"The title of the issue. Required.\"),\n team_id: z.string().describe(\"The ID of the team to assign the issue to.\").optional(),\n priority: z.enum([\"urgent\", \"high\", \"medium\", \"low\"]).describe(\"The priority of the issue.\").optional(),\n body_html: z.string().describe(\"The HTML content of the body of the issue. Required.\"),\n account_id: z.string().describe(\"The ID of the account that this issue belongs to. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to.\").optional(),\n requester_id: z.string().describe(\"The ID of the requester (contact) that this issue is on behalf of.\").optional(),\n});\nexport const PylonMcpCreateIssueOutput = z.object({\n issue: z.object({\n id: z.string().describe(\"The unique ID of the issue.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the issue.\").nullable().optional(),\n type: z.string().describe(\"The type (Conversation or Ticket).\").nullable(),\n state: z.string().describe(\"The state of the issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n number: z.number().int().describe(\"The issue number.\").nullable(),\n source: z.string().describe(\"The source of the issue.\").nullable(),\n account_id: z.string().describe(\"The associated account ID.\").nullable().optional(),\n created_at: z.string().describe(\"When the issue was created.\").nullable(),\n assignee_id: z.string().describe(\"The assigned user ID.\").nullable().optional(),\n latest_message_time: z.string().describe(\"Time of the latest message.\").nullable().optional(),\n}).describe(\"The created issue summary. Use issue://{orgId}/{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the creation was successful.\").nullable(),\n});\n\nexport const pylonMcpCreateIssue = action(\"PYLON_MCP_CREATE_ISSUE\", {\n slug: \"pylon_mcp-create-issue\",\n name: \"Create issue\",\n description: \"Create a new issue/ticket in Pylon. Requires an organization ID, account ID, title, and body HTML. Optionally specify requester, priority, assignee, team, and tags.\",\n input: PylonMcpCreateIssueInput,\n output: PylonMcpCreateIssueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-issue.d.ts
|
|
4
|
-
declare const PylonMcpCreateIssueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpCreateIssueInput: z.ZodObject<{
|
|
5
|
+
tags: z.ZodOptional<z.ZodUnknown>;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
team_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
urgent: "urgent";
|
|
10
|
+
high: "high";
|
|
11
|
+
medium: "medium";
|
|
12
|
+
low: "low";
|
|
13
|
+
}>>;
|
|
14
|
+
body_html: z.ZodString;
|
|
15
|
+
account_id: z.ZodString;
|
|
16
|
+
assignee_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
requester_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const PylonMcpCreateIssueOutput: z.ZodObject<{
|
|
20
|
+
issue: z.ZodObject<{
|
|
21
|
+
id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
type: z.ZodNullable<z.ZodString>;
|
|
24
|
+
state: z.ZodNullable<z.ZodString>;
|
|
25
|
+
title: z.ZodNullable<z.ZodString>;
|
|
26
|
+
number: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
source: z.ZodNullable<z.ZodString>;
|
|
28
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
30
|
+
assignee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
latest_message_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const pylonMcpCreateIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
title: string;
|
|
37
|
+
body_html: string;
|
|
38
|
+
account_id: string;
|
|
39
|
+
tags?: unknown;
|
|
40
|
+
team_id?: string | undefined;
|
|
41
|
+
priority?: "urgent" | "high" | "medium" | "low" | undefined;
|
|
42
|
+
assignee_id?: string | undefined;
|
|
43
|
+
requester_id?: string | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { pylonMcpCreateIssue };
|
|
9
47
|
//# sourceMappingURL=create-issue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-issue.d.cts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"create-issue.d.cts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-issue.d.ts
|
|
4
|
-
declare const PylonMcpCreateIssueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpCreateIssueInput: z.ZodObject<{
|
|
5
|
+
tags: z.ZodOptional<z.ZodUnknown>;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
team_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
urgent: "urgent";
|
|
10
|
+
high: "high";
|
|
11
|
+
medium: "medium";
|
|
12
|
+
low: "low";
|
|
13
|
+
}>>;
|
|
14
|
+
body_html: z.ZodString;
|
|
15
|
+
account_id: z.ZodString;
|
|
16
|
+
assignee_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
requester_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const PylonMcpCreateIssueOutput: z.ZodObject<{
|
|
20
|
+
issue: z.ZodObject<{
|
|
21
|
+
id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
type: z.ZodNullable<z.ZodString>;
|
|
24
|
+
state: z.ZodNullable<z.ZodString>;
|
|
25
|
+
title: z.ZodNullable<z.ZodString>;
|
|
26
|
+
number: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
source: z.ZodNullable<z.ZodString>;
|
|
28
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
30
|
+
assignee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
latest_message_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const pylonMcpCreateIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
title: string;
|
|
37
|
+
body_html: string;
|
|
38
|
+
account_id: string;
|
|
39
|
+
tags?: unknown;
|
|
40
|
+
team_id?: string | undefined;
|
|
41
|
+
priority?: "urgent" | "high" | "medium" | "low" | undefined;
|
|
42
|
+
assignee_id?: string | undefined;
|
|
43
|
+
requester_id?: string | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { pylonMcpCreateIssue };
|
|
9
47
|
//# sourceMappingURL=create-issue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-issue.d.mts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"create-issue.d.mts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -21,19 +21,19 @@ const pylonMcpCreateIssue = action("PYLON_MCP_CREATE_ISSUE", {
|
|
|
21
21
|
}),
|
|
22
22
|
output: z.object({
|
|
23
23
|
issue: z.object({
|
|
24
|
-
id: z.string().describe("The unique ID of the issue."),
|
|
24
|
+
id: z.string().describe("The unique ID of the issue.").nullable(),
|
|
25
25
|
tags: z.array(z.string()).describe("Tags on the issue.").nullable().optional(),
|
|
26
|
-
type: z.string().describe("The type (Conversation or Ticket)."),
|
|
27
|
-
state: z.string().describe("The state of the issue."),
|
|
28
|
-
title: z.string().describe("The title of the issue."),
|
|
29
|
-
number: z.number().int().describe("The issue number."),
|
|
30
|
-
source: z.string().describe("The source of the issue."),
|
|
26
|
+
type: z.string().describe("The type (Conversation or Ticket).").nullable(),
|
|
27
|
+
state: z.string().describe("The state of the issue.").nullable(),
|
|
28
|
+
title: z.string().describe("The title of the issue.").nullable(),
|
|
29
|
+
number: z.number().int().describe("The issue number.").nullable(),
|
|
30
|
+
source: z.string().describe("The source of the issue.").nullable(),
|
|
31
31
|
account_id: z.string().describe("The associated account ID.").nullable().optional(),
|
|
32
|
-
created_at: z.string().describe("When the issue was created."),
|
|
32
|
+
created_at: z.string().describe("When the issue was created.").nullable(),
|
|
33
33
|
assignee_id: z.string().describe("The assigned user ID.").nullable().optional(),
|
|
34
34
|
latest_message_time: z.string().describe("Time of the latest message.").nullable().optional()
|
|
35
35
|
}).describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
|
|
36
|
-
success: z.boolean().describe("Whether the creation was successful.")
|
|
36
|
+
success: z.boolean().describe("Whether the creation was successful.").nullable()
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-issue.mjs","names":[],"sources":["../../src/actions/create-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpCreateIssueInput
|
|
1
|
+
{"version":3,"file":"create-issue.mjs","names":[],"sources":["../../src/actions/create-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpCreateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue.\").optional(),\n title: z.string().describe(\"The title of the issue. Required.\"),\n team_id: z.string().describe(\"The ID of the team to assign the issue to.\").optional(),\n priority: z.enum([\"urgent\", \"high\", \"medium\", \"low\"]).describe(\"The priority of the issue.\").optional(),\n body_html: z.string().describe(\"The HTML content of the body of the issue. Required.\"),\n account_id: z.string().describe(\"The ID of the account that this issue belongs to. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to.\").optional(),\n requester_id: z.string().describe(\"The ID of the requester (contact) that this issue is on behalf of.\").optional(),\n});\nexport const PylonMcpCreateIssueOutput = z.object({\n issue: z.object({\n id: z.string().describe(\"The unique ID of the issue.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the issue.\").nullable().optional(),\n type: z.string().describe(\"The type (Conversation or Ticket).\").nullable(),\n state: z.string().describe(\"The state of the issue.\").nullable(),\n title: z.string().describe(\"The title of the issue.\").nullable(),\n number: z.number().int().describe(\"The issue number.\").nullable(),\n source: z.string().describe(\"The source of the issue.\").nullable(),\n account_id: z.string().describe(\"The associated account ID.\").nullable().optional(),\n created_at: z.string().describe(\"When the issue was created.\").nullable(),\n assignee_id: z.string().describe(\"The assigned user ID.\").nullable().optional(),\n latest_message_time: z.string().describe(\"Time of the latest message.\").nullable().optional(),\n}).describe(\"The created issue summary. Use issue://{orgId}/{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the creation was successful.\").nullable(),\n});\n\nexport const pylonMcpCreateIssue = action(\"PYLON_MCP_CREATE_ISSUE\", {\n slug: \"pylon_mcp-create-issue\",\n name: \"Create issue\",\n description: \"Create a new issue/ticket in Pylon. Requires an organization ID, account ID, title, and body HTML. Optionally specify requester, priority, assignee, team, and tags.\",\n input: PylonMcpCreateIssueInput,\n output: PylonMcpCreateIssueOutput,\n});\n"],"mappings":";;AA+BA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BsC,EAAE,OAAO;EAC/C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,KAAK;GAAC;GAAU;GAAQ;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACnH,CAsBS;CACP,QAtBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO;GAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;GAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetAccountInput
|
|
1
|
+
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetAccountInput = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.object({}).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount = action(\"PYLON_MCP_GET_ACCOUNT\", {\n slug: \"pylon_mcp-get-account\",\n name: \"Get account\",\n description: \"Get full details for a Pylon customer account. Pass either the account ID (UUID) or external ID. Returns account details including name, domain, owner, tags, custom fields, and linked channels.\",\n input: PylonMcpGetAccountInput,\n output: PylonMcpGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAE7J,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const PylonMcpGetAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetAccountInput: z.ZodObject<{
|
|
5
|
+
account: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetAccountOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
account: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetAccount };
|
|
9
13
|
//# sourceMappingURL=get-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const PylonMcpGetAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetAccountInput: z.ZodObject<{
|
|
5
|
+
account: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetAccountOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
account: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetAccount };
|
|
9
13
|
//# sourceMappingURL=get-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetAccountInput
|
|
1
|
+
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetAccountInput = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.object({}).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount = action(\"PYLON_MCP_GET_ACCOUNT\", {\n slug: \"pylon_mcp-get-account\",\n name: \"Get account\",\n description: \"Get full details for a Pylon customer account. Pass either the account ID (UUID) or external ID. Returns account details including name, domain, owner, tags, custom fields, and linked channels.\",\n input: PylonMcpGetAccountInput,\n output: PylonMcpGetAccountOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAOS;CACP,QAPsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAOpD;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetContactInput
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetContactInput = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.object({}).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact = action(\"PYLON_MCP_GET_CONTACT\", {\n slug: \"pylon_mcp-get-contact\",\n name: \"Get contact\",\n description: \"Get full details for a Pylon contact (customer). Pass the contact ID (UUID). Returns contact details including name, email, account, and custom fields.\",\n input: PylonMcpGetContactInput,\n output: PylonMcpGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAEvI,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const PylonMcpGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetContactInput: z.ZodObject<{
|
|
5
|
+
contact: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetContactOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
contact: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetContact };
|
|
9
13
|
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const PylonMcpGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetContactInput: z.ZodObject<{
|
|
5
|
+
contact: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetContactOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
contact: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetContact };
|
|
9
13
|
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetContactInput
|
|
1
|
+
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetContactInput = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.object({}).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact = action(\"PYLON_MCP_GET_CONTACT\", {\n slug: \"pylon_mcp-get-contact\",\n name: \"Get contact\",\n description: \"Get full details for a Pylon contact (customer). Pass the contact ID (UUID). Returns contact details including name, email, account, and custom fields.\",\n input: PylonMcpGetContactInput,\n output: PylonMcpGetContactOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAOS;CACP,QAPsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAOpD;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-issue-messages.ts
|
|
4
4
|
const PylonMcpGetIssueMessagesInput = zod.z.object({ issue: zod.z.string().describe("The issue ID (UUID) or issue number.") });
|
|
5
5
|
const PylonMcpGetIssueMessagesOutput = zod.z.object({
|
|
6
|
-
count: zod.z.number().int().describe("Number of messages."),
|
|
7
|
-
issue_id: zod.z.string().describe("The issue ID."),
|
|
6
|
+
count: zod.z.number().int().describe("Number of messages.").nullable(),
|
|
7
|
+
issue_id: zod.z.string().describe("The issue ID.").nullable(),
|
|
8
8
|
messages: zod.z.array(zod.z.object({
|
|
9
9
|
id: zod.z.string().describe("Message ID.").nullable().optional(),
|
|
10
10
|
source: zod.z.string().describe("Message source (email, slack, etc).").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-messages.cjs","names":["z","action"],"sources":["../../src/actions/get-issue-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueMessagesInput
|
|
1
|
+
{"version":3,"file":"get-issue-messages.cjs","names":["z","action"],"sources":["../../src/actions/get-issue-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueMessagesInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueMessagesOutput = z.object({\n count: z.number().int().describe(\"Number of messages.\").nullable(),\n issue_id: z.string().describe(\"The issue ID.\").nullable(),\n messages: z.array(z.object({\n id: z.string().describe(\"Message ID.\").nullable().optional(),\n source: z.string().describe(\"Message source (email, slack, etc).\").nullable().optional(),\n sent_at: z.string().describe(\"When the message was sent.\").nullable().optional(),\n author_id: z.string().describe(\"Author ID (user or contact).\").nullable().optional(),\n body_html: z.string().describe(\"Message body in HTML.\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the internal thread this message belongs to, if any.\").nullable().optional(),\n is_private: z.boolean().describe(\"Whether this is an internal note.\").nullable().optional(),\n author_type: z.string().describe(\"Author type: user, contact, or system.\").nullable().optional(),\n from_customer: z.boolean().describe(\"Whether the message is from a customer.\").nullable().optional(),\n})).describe(\"Messages in chronological order.\"),\n});\n\nexport const pylonMcpGetIssueMessages = action(\"PYLON_MCP_GET_ISSUE_MESSAGES\", {\n slug: \"pylon_mcp-get-issue-messages\",\n name: \"Get issue messages\",\n description: \"Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.\",\n input: PylonMcpGetIssueMessagesInput,\n output: PylonMcpGetIssueMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC/C,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-issue-messages.d.ts
|
|
4
|
-
declare const PylonMcpGetIssueMessagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetIssueMessagesInput: z.ZodObject<{
|
|
5
|
+
issue: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
|
|
8
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
issue_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
is_private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
author_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
issue: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { pylonMcpGetIssueMessages };
|
|
9
27
|
//# sourceMappingURL=get-issue-messages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-messages.d.cts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-issue-messages.d.cts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-issue-messages.d.ts
|
|
4
|
-
declare const PylonMcpGetIssueMessagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetIssueMessagesInput: z.ZodObject<{
|
|
5
|
+
issue: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
|
|
8
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
issue_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
is_private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
author_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
issue: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { pylonMcpGetIssueMessages };
|
|
9
27
|
//# sourceMappingURL=get-issue-messages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-messages.d.mts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-issue-messages.d.mts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const pylonMcpGetIssueMessages = action("PYLON_MCP_GET_ISSUE_MESSAGES", {
|
|
|
6
6
|
description: "Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.",
|
|
7
7
|
input: z.object({ issue: z.string().describe("The issue ID (UUID) or issue number.") }),
|
|
8
8
|
output: z.object({
|
|
9
|
-
count: z.number().int().describe("Number of messages."),
|
|
10
|
-
issue_id: z.string().describe("The issue ID."),
|
|
9
|
+
count: z.number().int().describe("Number of messages.").nullable(),
|
|
10
|
+
issue_id: z.string().describe("The issue ID.").nullable(),
|
|
11
11
|
messages: z.array(z.object({
|
|
12
12
|
id: z.string().describe("Message ID.").nullable().optional(),
|
|
13
13
|
source: z.string().describe("Message source (email, slack, etc).").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-messages.mjs","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueMessagesInput
|
|
1
|
+
{"version":3,"file":"get-issue-messages.mjs","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueMessagesInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueMessagesOutput = z.object({\n count: z.number().int().describe(\"Number of messages.\").nullable(),\n issue_id: z.string().describe(\"The issue ID.\").nullable(),\n messages: z.array(z.object({\n id: z.string().describe(\"Message ID.\").nullable().optional(),\n source: z.string().describe(\"Message source (email, slack, etc).\").nullable().optional(),\n sent_at: z.string().describe(\"When the message was sent.\").nullable().optional(),\n author_id: z.string().describe(\"Author ID (user or contact).\").nullable().optional(),\n body_html: z.string().describe(\"Message body in HTML.\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the internal thread this message belongs to, if any.\").nullable().optional(),\n is_private: z.boolean().describe(\"Whether this is an internal note.\").nullable().optional(),\n author_type: z.string().describe(\"Author type: user, contact, or system.\").nullable().optional(),\n from_customer: z.boolean().describe(\"Whether the message is from a customer.\").nullable().optional(),\n})).describe(\"Messages in chronological order.\"),\n});\n\nexport const pylonMcpGetIssueMessages = action(\"PYLON_MCP_GET_ISSUE_MESSAGES\", {\n slug: \"pylon_mcp-get-issue-messages\",\n name: \"Get issue messages\",\n description: \"Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.\",\n input: PylonMcpGetIssueMessagesInput,\n output: PylonMcpGetIssueMessagesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO,EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAqBS;CACP,QArB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACrH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC/C,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.cjs","names":["z","action"],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueInput
|
|
1
|
+
{"version":3,"file":"get-issue.cjs","names":["z","action"],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.object({}).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue = action(\"PYLON_MCP_GET_ISSUE\", {\n slug: \"pylon_mcp-get-issue\",\n name: \"Get issue\",\n description: \"Get full details for a Pylon support issue/ticket. Pass either the issue ID (UUID) or issue number. Returns title, body, state, metadata, custom fields, and nested account/assignee/requester info.\",\n input: PylonMcpGetIssueInput,\n output: PylonMcpGetIssueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAEnL,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-issue.d.ts
|
|
4
|
-
declare const PylonMcpGetIssueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetIssueInput: z.ZodObject<{
|
|
5
|
+
issue: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetIssueOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
issue: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetIssue };
|
|
9
13
|
//# sourceMappingURL=get-issue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-issue.d.ts
|
|
4
|
-
declare const PylonMcpGetIssueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PylonMcpGetIssueInput: z.ZodObject<{
|
|
5
|
+
issue: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PylonMcpGetIssueOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
issue: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { pylonMcpGetIssue };
|
|
9
13
|
//# sourceMappingURL=get-issue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.mjs","names":[],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueInput
|
|
1
|
+
{"version":3,"file":"get-issue.mjs","names":[],"sources":["../../src/actions/get-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetIssueInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.object({}).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue = action(\"PYLON_MCP_GET_ISSUE\", {\n slug: \"pylon_mcp-get-issue\",\n name: \"Get issue\",\n description: \"Get full details for a Pylon support issue/ticket. Pass either the issue ID (UUID) or issue number. Returns title, body, state, metadata, custom fields, and nested account/assignee/requester info.\",\n input: PylonMcpGetIssueInput,\n output: PylonMcpGetIssueOutput,\n});\n"],"mappings":";;AASA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmC,EAAE,OAAO,EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAOS;CACP,QAPoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAOlD;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-me.cjs","names":["z","action"],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput
|
|
1
|
+
{"version":3,"file":"get-me.cjs","names":["z","action"],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput = z.object({});\nexport const PylonMcpGetMeOutput = z.object({}).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetMe = action(\"PYLON_MCP_GET_ME\", {\n slug: \"pylon_mcp-get-me\",\n name: \"Get me\",\n description: \"Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.\",\n input: PylonMcpGetMeInput,\n output: PylonMcpGetMeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC7C,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEpH,MAAa,gBAAgBC,eAAAA,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|