@keystrokehq/pylon_mcp 0.1.4 → 0.1.5
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 +1 -0
- package/dist/actions/create-issue.cjs.map +1 -1
- package/dist/actions/create-issue.d.cts +3 -22
- package/dist/actions/create-issue.d.cts.map +1 -1
- package/dist/actions/create-issue.d.mts +3 -22
- package/dist/actions/create-issue.d.mts.map +1 -1
- package/dist/actions/create-issue.mjs +1 -0
- package/dist/actions/create-issue.mjs.map +1 -1
- package/dist/actions/get-account.cjs +1 -0
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +3 -15
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -15
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +1 -0
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-issue-messages.cjs +1 -0
- package/dist/actions/get-issue-messages.cjs.map +1 -1
- package/dist/actions/get-issue-messages.d.cts +3 -15
- package/dist/actions/get-issue-messages.d.cts.map +1 -1
- package/dist/actions/get-issue-messages.d.mts +3 -15
- package/dist/actions/get-issue-messages.d.mts.map +1 -1
- package/dist/actions/get-issue-messages.mjs +1 -0
- package/dist/actions/get-issue-messages.mjs.map +1 -1
- package/dist/actions/get-issue.cjs +1 -0
- package/dist/actions/get-issue.cjs.map +1 -1
- package/dist/actions/get-issue.d.cts +3 -15
- package/dist/actions/get-issue.d.cts.map +1 -1
- package/dist/actions/get-issue.d.mts +3 -15
- package/dist/actions/get-issue.d.mts.map +1 -1
- package/dist/actions/get-issue.mjs +1 -0
- package/dist/actions/get-issue.mjs.map +1 -1
- package/dist/actions/get-me.cjs +1 -0
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -13
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -13
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +1 -0
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +1 -0
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +3 -22
- package/dist/actions/search-accounts.d.cts.map +1 -1
- package/dist/actions/search-accounts.d.mts +3 -22
- package/dist/actions/search-accounts.d.mts.map +1 -1
- package/dist/actions/search-accounts.mjs +1 -0
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-issues.cjs +1 -0
- package/dist/actions/search-issues.cjs.map +1 -1
- package/dist/actions/search-issues.d.cts +3 -24
- package/dist/actions/search-issues.d.cts.map +1 -1
- package/dist/actions/search-issues.d.mts +3 -24
- package/dist/actions/search-issues.d.mts.map +1 -1
- package/dist/actions/search-issues.mjs +1 -0
- package/dist/actions/search-issues.mjs.map +1 -1
- package/dist/actions/update-account.cjs +1 -0
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +3 -19
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +3 -19
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +1 -0
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-issue.cjs +1 -0
- package/dist/actions/update-issue.cjs.map +1 -1
- package/dist/actions/update-issue.d.cts +3 -19
- package/dist/actions/update-issue.d.cts.map +1 -1
- package/dist/actions/update-issue.d.mts +3 -19
- package/dist/actions/update-issue.d.mts.map +1 -1
- package/dist/actions/update-issue.mjs +1 -0
- package/dist/actions/update-issue.mjs.map +1 -1
- package/dist/actions/upload-account-files.cjs +1 -0
- package/dist/actions/upload-account-files.cjs.map +1 -1
- package/dist/actions/upload-account-files.d.cts +3 -21
- package/dist/actions/upload-account-files.d.cts.map +1 -1
- package/dist/actions/upload-account-files.d.mts +3 -21
- package/dist/actions/upload-account-files.d.mts.map +1 -1
- package/dist/actions/upload-account-files.mjs +1 -0
- package/dist/actions/upload-account-files.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-account.mjs","names":[],"sources":["../../src/actions/update-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpUpdateAccountInput = z.object({\n name: z.string().describe(\"The new name for the account.\").optional(),\n tags: z.unknown().describe(\"An array of tags to set on the account. This replaces all existing tags.\").optional(),\n owner_id: z.string().describe(\"The ID of the user to set as owner. Pass empty string to remove owner.\").optional(),\n account_id: z.string().describe(\"The ID or name of the account to update. Required.\"),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom field values to set. Keys are custom field slugs (use get_custom_fields with object_type 'account' to discover available slugs), values are the field values to set. For multi-select fields, use comma-separated values.\").optional(),\n});\nexport const PylonMcpUpdateAccountOutput = z.object({\n account: z.object({\n id: z.string().describe(\"The unique ID of the account.\").nullable(),\n name: z.string().describe(\"The name of the account.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n}).passthrough().describe(\"The updated account summary. Use account://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateAccount = action(\"PYLON_MCP_UPDATE_ACCOUNT\", {\n slug: \"pylon_mcp-update-account\",\n name: \"Update account\",\n description: \"Update an existing customer account in Pylon. You can update the name, owner, tags, and custom fields. Use the get_custom_fields tool with object_type 'account' to discover available custom field slugs. Use the get_account tool to get full account details before updating.\",\n input: PylonMcpUpdateAccountInput,\n output: PylonMcpUpdateAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-account.mjs","names":[],"sources":["../../src/actions/update-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pylonMcp } from \"../app\";\n\nexport const PylonMcpUpdateAccountInput = z.object({\n name: z.string().describe(\"The new name for the account.\").optional(),\n tags: z.unknown().describe(\"An array of tags to set on the account. This replaces all existing tags.\").optional(),\n owner_id: z.string().describe(\"The ID of the user to set as owner. Pass empty string to remove owner.\").optional(),\n account_id: z.string().describe(\"The ID or name of the account to update. Required.\"),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom field values to set. Keys are custom field slugs (use get_custom_fields with object_type 'account' to discover available slugs), values are the field values to set. For multi-select fields, use comma-separated values.\").optional(),\n});\nexport const PylonMcpUpdateAccountOutput = z.object({\n account: z.object({\n id: z.string().describe(\"The unique ID of the account.\").nullable(),\n name: z.string().describe(\"The name of the account.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n}).passthrough().describe(\"The updated account summary. Use account://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateAccount: AppAction<\n typeof PylonMcpUpdateAccountInput,\n typeof PylonMcpUpdateAccountOutput,\n typeof pylonMcp.credential\n> = action(\"PYLON_MCP_UPDATE_ACCOUNT\", {\n slug: \"pylon_mcp-update-account\",\n name: \"Update account\",\n description: \"Update an existing customer account in Pylon. You can update the name, owner, tags, and custom fields. Use the get_custom_fields tool with object_type 'account' to discover available custom field slugs. Use the get_account tool to get full account details before updating.\",\n input: PylonMcpUpdateAccountInput,\n output: PylonMcpUpdateAccountOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kOAAkO,CAAC,CAAC,SAAS;CACzS,CAqBS;CACP,QArByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO;GAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue.cjs","names":["z","action"],"sources":["../../src/actions/update-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpUpdateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue. This replaces all existing tags.\").optional(),\n state: z.string().describe(\"The state to set the issue to. Standard values: new, waiting_on_you, waiting_on_customer, on_hold, closed. Custom status slugs are also accepted.\").optional(),\n team_id: z.string().describe(\"The ID of the team to assign the issue to. Pass empty string to remove team assignment.\").optional(),\n issue_id: z.string().describe(\"The ID or number of the issue to update. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to. Pass empty string to unassign.\").optional(),\n});\nexport const PylonMcpUpdateIssueOutput = 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}).passthrough().describe(\"The updated issue summary. Use issue://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateIssue = action(\"PYLON_MCP_UPDATE_ISSUE\", {\n slug: \"pylon_mcp-update-issue\",\n name: \"Update issue\",\n description: \"Update an existing issue/ticket in Pylon. You can update the state, assignee, team, and tags. Use the issue resource (issue://{issueId}) to get full issue details before updating.\",\n input: PylonMcpUpdateIssueInput,\n output: PylonMcpUpdateIssueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-issue.cjs","names":["z","action"],"sources":["../../src/actions/update-issue.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pylonMcp } from \"../app\";\n\nexport const PylonMcpUpdateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue. This replaces all existing tags.\").optional(),\n state: z.string().describe(\"The state to set the issue to. Standard values: new, waiting_on_you, waiting_on_customer, on_hold, closed. Custom status slugs are also accepted.\").optional(),\n team_id: z.string().describe(\"The ID of the team to assign the issue to. Pass empty string to remove team assignment.\").optional(),\n issue_id: z.string().describe(\"The ID or number of the issue to update. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to. Pass empty string to unassign.\").optional(),\n});\nexport const PylonMcpUpdateIssueOutput = 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}).passthrough().describe(\"The updated issue summary. Use issue://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateIssue: AppAction<\n typeof PylonMcpUpdateIssueInput,\n typeof PylonMcpUpdateIssueOutput,\n typeof pylonMcp.credential\n> = action(\"PYLON_MCP_UPDATE_ISSUE\", {\n slug: \"pylon_mcp-update-issue\",\n name: \"Update issue\",\n description: \"Update an existing issue/ticket in Pylon. You can update the state, assignee, team, and tags. Use the issue resource (issue://{issueId}) to get full issue details before updating.\",\n input: PylonMcpUpdateIssueInput,\n output: PylonMcpUpdateIssueOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACzL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACzH,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,YAAY,CAAC,CAAC,SAAS,wEAAwE;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pylonMcp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-issue.d.ts
|
|
@@ -24,25 +26,7 @@ declare const PylonMcpUpdateIssueOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>;
|
|
25
27
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const pylonMcpUpdateIssue:
|
|
28
|
-
issue_id: string;
|
|
29
|
-
tags?: unknown;
|
|
30
|
-
state?: string | undefined;
|
|
31
|
-
team_id?: string | undefined;
|
|
32
|
-
assignee_id?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const pylonMcpUpdateIssue: AppAction<typeof PylonMcpUpdateIssueInput, typeof PylonMcpUpdateIssueOutput, typeof pylonMcp.credential>;
|
|
46
30
|
//#endregion
|
|
47
31
|
export { pylonMcpUpdateIssue };
|
|
48
32
|
//# sourceMappingURL=update-issue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue.d.cts","names":[],"sources":["../../src/actions/update-issue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-issue.d.cts","names":[],"sources":["../../src/actions/update-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pylonMcp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-issue.d.ts
|
|
@@ -24,25 +26,7 @@ declare const PylonMcpUpdateIssueOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>;
|
|
25
27
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const pylonMcpUpdateIssue:
|
|
28
|
-
issue_id: string;
|
|
29
|
-
tags?: unknown;
|
|
30
|
-
state?: string | undefined;
|
|
31
|
-
team_id?: string | undefined;
|
|
32
|
-
assignee_id?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const pylonMcpUpdateIssue: AppAction<typeof PylonMcpUpdateIssueInput, typeof PylonMcpUpdateIssueOutput, typeof pylonMcp.credential>;
|
|
46
30
|
//#endregion
|
|
47
31
|
export { pylonMcpUpdateIssue };
|
|
48
32
|
//# sourceMappingURL=update-issue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue.d.mts","names":[],"sources":["../../src/actions/update-issue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-issue.d.mts","names":[],"sources":["../../src/actions/update-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue.mjs","names":[],"sources":["../../src/actions/update-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpUpdateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue. This replaces all existing tags.\").optional(),\n state: z.string().describe(\"The state to set the issue to. Standard values: new, waiting_on_you, waiting_on_customer, on_hold, closed. Custom status slugs are also accepted.\").optional(),\n team_id: z.string().describe(\"The ID of the team to assign the issue to. Pass empty string to remove team assignment.\").optional(),\n issue_id: z.string().describe(\"The ID or number of the issue to update. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to. Pass empty string to unassign.\").optional(),\n});\nexport const PylonMcpUpdateIssueOutput = 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}).passthrough().describe(\"The updated issue summary. Use issue://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateIssue = action(\"PYLON_MCP_UPDATE_ISSUE\", {\n slug: \"pylon_mcp-update-issue\",\n name: \"Update issue\",\n description: \"Update an existing issue/ticket in Pylon. You can update the state, assignee, team, and tags. Use the issue resource (issue://{issueId}) to get full issue details before updating.\",\n input: PylonMcpUpdateIssueInput,\n output: PylonMcpUpdateIssueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-issue.mjs","names":[],"sources":["../../src/actions/update-issue.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pylonMcp } from \"../app\";\n\nexport const PylonMcpUpdateIssueInput = z.object({\n tags: z.unknown().describe(\"An array of tags to set on the issue. This replaces all existing tags.\").optional(),\n state: z.string().describe(\"The state to set the issue to. Standard values: new, waiting_on_you, waiting_on_customer, on_hold, closed. Custom status slugs are also accepted.\").optional(),\n team_id: z.string().describe(\"The ID of the team to assign the issue to. Pass empty string to remove team assignment.\").optional(),\n issue_id: z.string().describe(\"The ID or number of the issue to update. Required.\"),\n assignee_id: z.string().describe(\"The ID of the user to assign the issue to. Pass empty string to unassign.\").optional(),\n});\nexport const PylonMcpUpdateIssueOutput = 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}).passthrough().describe(\"The updated issue summary. Use issue://{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the update was successful.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpUpdateIssue: AppAction<\n typeof PylonMcpUpdateIssueInput,\n typeof PylonMcpUpdateIssueOutput,\n typeof pylonMcp.credential\n> = action(\"PYLON_MCP_UPDATE_ISSUE\", {\n slug: \"pylon_mcp-update-issue\",\n name: \"Update issue\",\n description: \"Update an existing issue/ticket in Pylon. You can update the state, assignee, team, and tags. Use the issue resource (issue://{issueId}) to get full issue details before updating.\",\n input: PylonMcpUpdateIssueInput,\n output: PylonMcpUpdateIssueOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCsC,EAAE,OAAO;EAC/C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACzH,CA0BS;CACP,QA1BuC,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,YAAY,CAAC,CAAC,SAAS,wEAAwE;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-account-files.cjs","names":["z","action"],"sources":["../../src/actions/upload-account-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpUploadAccountFilesInput = z.object({\n files: z.array(z.object({\n filename: z.string().describe(\"Filename including extension (e.g. handover.pdf). Required.\"),\n content_type: z.string().describe(\"Optional MIME type override. If omitted, detected from filename.\").optional(),\n content_base64: z.string().describe(\"Base64-encoded file bytes. Max 10 MB decoded. Required.\"),\n}).passthrough()).describe(\"Files to upload. 1 to 5 files per call.\"),\n account_id: z.string().describe(\"The ID or external ID of the account to upload files to. Required.\"),\n});\nexport const PylonMcpUploadAccountFilesOutput = z.object({\n files: z.array(z.object({\n id: z.string().nullable(),\n url: z.string().nullable(),\n filename: z.string().nullable(),\n file_type: z.string().nullable().optional(),\n}).passthrough()),\n success: z.boolean().nullable(),\n}).passthrough();\n\nexport const pylonMcpUploadAccountFiles = action(\"PYLON_MCP_UPLOAD_ACCOUNT_FILES\", {\n slug: \"pylon_mcp-upload-account-files\",\n name: \"Upload account files\",\n description: \"Upload one or more files (e.g. PDFs) into the Files tab of an account. Files with a matching filename are overwritten. Max 5 files per call, max 10 MB per file.\",\n input: PylonMcpUploadAccountFilesInput,\n output: PylonMcpUploadAccountFilesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-account-files.cjs","names":["z","action"],"sources":["../../src/actions/upload-account-files.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pylonMcp } from \"../app\";\n\nexport const PylonMcpUploadAccountFilesInput = z.object({\n files: z.array(z.object({\n filename: z.string().describe(\"Filename including extension (e.g. handover.pdf). Required.\"),\n content_type: z.string().describe(\"Optional MIME type override. If omitted, detected from filename.\").optional(),\n content_base64: z.string().describe(\"Base64-encoded file bytes. Max 10 MB decoded. Required.\"),\n}).passthrough()).describe(\"Files to upload. 1 to 5 files per call.\"),\n account_id: z.string().describe(\"The ID or external ID of the account to upload files to. Required.\"),\n});\nexport const PylonMcpUploadAccountFilesOutput = z.object({\n files: z.array(z.object({\n id: z.string().nullable(),\n url: z.string().nullable(),\n filename: z.string().nullable(),\n file_type: z.string().nullable().optional(),\n}).passthrough()),\n success: z.boolean().nullable(),\n}).passthrough();\n\nexport const pylonMcpUploadAccountFiles: AppAction<\n typeof PylonMcpUploadAccountFilesInput,\n typeof PylonMcpUploadAccountFilesOutput,\n typeof pylonMcp.credential\n> = action(\"PYLON_MCP_UPLOAD_ACCOUNT_FILES\", {\n slug: \"pylon_mcp-upload-account-files\",\n name: \"Upload account files\",\n description: \"Upload one or more files (e.g. PDFs) into the Files tab of an account. Files with a matching filename are overwritten. Max 5 files per call, max 10 MB per file.\",\n input: PylonMcpUploadAccountFilesInput,\n output: PylonMcpUploadAccountFilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACtG,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EACzB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EAC9B,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5C,CAAC,CAAC,CAAC,YAAY,CAAC;CACd,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pylonMcp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-account-files.d.ts
|
|
@@ -18,27 +20,7 @@ declare const PylonMcpUploadAccountFilesOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pylonMcpUploadAccountFiles:
|
|
22
|
-
files: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
filename: string;
|
|
25
|
-
content_base64: string;
|
|
26
|
-
content_type?: string | undefined;
|
|
27
|
-
}[];
|
|
28
|
-
account_id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const pylonMcpUploadAccountFiles: AppAction<typeof PylonMcpUploadAccountFilesInput, typeof PylonMcpUploadAccountFilesOutput, typeof pylonMcp.credential>;
|
|
42
24
|
//#endregion
|
|
43
25
|
export { pylonMcpUploadAccountFiles };
|
|
44
26
|
//# sourceMappingURL=upload-account-files.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-account-files.d.cts","names":[],"sources":["../../src/actions/upload-account-files.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-account-files.d.cts","names":[],"sources":["../../src/actions/upload-account-files.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAUhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pylonMcp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/upload-account-files.d.ts
|
|
@@ -18,27 +20,7 @@ declare const PylonMcpUploadAccountFilesOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pylonMcpUploadAccountFiles:
|
|
22
|
-
files: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
filename: string;
|
|
25
|
-
content_base64: string;
|
|
26
|
-
content_type?: string | undefined;
|
|
27
|
-
}[];
|
|
28
|
-
account_id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const pylonMcpUploadAccountFiles: AppAction<typeof PylonMcpUploadAccountFilesInput, typeof PylonMcpUploadAccountFilesOutput, typeof pylonMcp.credential>;
|
|
42
24
|
//#endregion
|
|
43
25
|
export { pylonMcpUploadAccountFiles };
|
|
44
26
|
//# sourceMappingURL=upload-account-files.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-account-files.d.mts","names":[],"sources":["../../src/actions/upload-account-files.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-account-files.d.mts","names":[],"sources":["../../src/actions/upload-account-files.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAUhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-account-files.mjs","names":[],"sources":["../../src/actions/upload-account-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpUploadAccountFilesInput = z.object({\n files: z.array(z.object({\n filename: z.string().describe(\"Filename including extension (e.g. handover.pdf). Required.\"),\n content_type: z.string().describe(\"Optional MIME type override. If omitted, detected from filename.\").optional(),\n content_base64: z.string().describe(\"Base64-encoded file bytes. Max 10 MB decoded. Required.\"),\n}).passthrough()).describe(\"Files to upload. 1 to 5 files per call.\"),\n account_id: z.string().describe(\"The ID or external ID of the account to upload files to. Required.\"),\n});\nexport const PylonMcpUploadAccountFilesOutput = z.object({\n files: z.array(z.object({\n id: z.string().nullable(),\n url: z.string().nullable(),\n filename: z.string().nullable(),\n file_type: z.string().nullable().optional(),\n}).passthrough()),\n success: z.boolean().nullable(),\n}).passthrough();\n\nexport const pylonMcpUploadAccountFiles = action(\"PYLON_MCP_UPLOAD_ACCOUNT_FILES\", {\n slug: \"pylon_mcp-upload-account-files\",\n name: \"Upload account files\",\n description: \"Upload one or more files (e.g. PDFs) into the Files tab of an account. Files with a matching filename are overwritten. Max 5 files per call, max 10 MB per file.\",\n input: PylonMcpUploadAccountFilesInput,\n output: PylonMcpUploadAccountFilesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-account-files.mjs","names":[],"sources":["../../src/actions/upload-account-files.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pylonMcp } from \"../app\";\n\nexport const PylonMcpUploadAccountFilesInput = z.object({\n files: z.array(z.object({\n filename: z.string().describe(\"Filename including extension (e.g. handover.pdf). Required.\"),\n content_type: z.string().describe(\"Optional MIME type override. If omitted, detected from filename.\").optional(),\n content_base64: z.string().describe(\"Base64-encoded file bytes. Max 10 MB decoded. Required.\"),\n}).passthrough()).describe(\"Files to upload. 1 to 5 files per call.\"),\n account_id: z.string().describe(\"The ID or external ID of the account to upload files to. Required.\"),\n});\nexport const PylonMcpUploadAccountFilesOutput = z.object({\n files: z.array(z.object({\n id: z.string().nullable(),\n url: z.string().nullable(),\n filename: z.string().nullable(),\n file_type: z.string().nullable().optional(),\n}).passthrough()),\n success: z.boolean().nullable(),\n}).passthrough();\n\nexport const pylonMcpUploadAccountFiles: AppAction<\n typeof PylonMcpUploadAccountFilesInput,\n typeof PylonMcpUploadAccountFilesOutput,\n typeof pylonMcp.credential\n> = action(\"PYLON_MCP_UPLOAD_ACCOUNT_FILES\", {\n slug: \"pylon_mcp-upload-account-files\",\n name: \"Upload account files\",\n description: \"Upload one or more files (e.g. PDFs) into the Files tab of an account. Files with a matching filename are overwritten. Max 5 files per call, max 10 MB per file.\",\n input: PylonMcpUploadAccountFilesInput,\n output: PylonMcpUploadAccountFilesOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B6C,EAAE,OAAO;EACtD,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;GAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,yCAAyC;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACtG,CAmBS;CACP,QAnB8C,EAAE,OAAO;EACvD,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;GACxB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;GACzB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;GAC9B,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5C,CAAC,CAAC,CAAC,YAAY,CAAC;EACd,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS;CAChC,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { accessToken: require("zod").z.string() };
|
|
4
4
|
const pylonMcp = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "pylon_mcp",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.pylonMcp = pylonMcp;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const pylonMcp = defineApp({\n slug: \"pylon_mcp\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const pylonMcp: KeystrokeApp<\"pylon_mcp\", typeof credential> = defineApp({\n slug: \"pylon_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAmE;CAC9E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
accessToken: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const pylonMcp: KeystrokeApp<"pylon_mcp", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { pylonMcp };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
accessToken: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const pylonMcp: KeystrokeApp<"pylon_mcp", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { pylonMcp };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const pylonMcp = defineApp({\n slug: \"pylon_mcp\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const pylonMcp: KeystrokeApp<\"pylon_mcp\", typeof credential> = defineApp({\n slug: \"pylon_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAyD,UAAU;CAC9E,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pylonMcp } from "./app.cjs";
|
|
1
2
|
import { pylonMcpCreateIssue } from "./actions/create-issue.cjs";
|
|
2
3
|
import { pylonMcpGetAccount } from "./actions/get-account.cjs";
|
|
3
4
|
import { pylonMcpGetContact } from "./actions/get-contact.cjs";
|
|
@@ -10,6 +11,5 @@ import { pylonMcpSearchIssues } from "./actions/search-issues.cjs";
|
|
|
10
11
|
import { pylonMcpUpdateAccount } from "./actions/update-account.cjs";
|
|
11
12
|
import { pylonMcpUpdateIssue } from "./actions/update-issue.cjs";
|
|
12
13
|
import { pylonMcpUploadAccountFiles } from "./actions/upload-account-files.cjs";
|
|
13
|
-
import { pylonMcp } from "./app.cjs";
|
|
14
14
|
import { pylonMcpCatalog } from "./catalog.cjs";
|
|
15
15
|
export { pylonMcp, pylonMcpCatalog, pylonMcpCreateIssue, pylonMcpGetAccount, pylonMcpGetContact, pylonMcpGetIssue, pylonMcpGetIssueMessages, pylonMcpGetMe, pylonMcpGetUser, pylonMcpSearchAccounts, pylonMcpSearchIssues, pylonMcpUpdateAccount, pylonMcpUpdateIssue, pylonMcpUploadAccountFiles };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pylonMcp } from "./app.mjs";
|
|
1
2
|
import { pylonMcpCreateIssue } from "./actions/create-issue.mjs";
|
|
2
3
|
import { pylonMcpGetAccount } from "./actions/get-account.mjs";
|
|
3
4
|
import { pylonMcpGetContact } from "./actions/get-contact.mjs";
|
|
@@ -10,6 +11,5 @@ import { pylonMcpSearchIssues } from "./actions/search-issues.mjs";
|
|
|
10
11
|
import { pylonMcpUpdateAccount } from "./actions/update-account.mjs";
|
|
11
12
|
import { pylonMcpUpdateIssue } from "./actions/update-issue.mjs";
|
|
12
13
|
import { pylonMcpUploadAccountFiles } from "./actions/upload-account-files.mjs";
|
|
13
|
-
import { pylonMcp } from "./app.mjs";
|
|
14
14
|
import { pylonMcpCatalog } from "./catalog.mjs";
|
|
15
15
|
export { pylonMcp, pylonMcpCatalog, pylonMcpCreateIssue, pylonMcpGetAccount, pylonMcpGetContact, pylonMcpGetIssue, pylonMcpGetIssueMessages, pylonMcpGetMe, pylonMcpGetUser, pylonMcpSearchAccounts, pylonMcpSearchIssues, pylonMcpUpdateAccount, pylonMcpUpdateIssue, pylonMcpUploadAccountFiles };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/pylon_mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|