@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.
Files changed (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-issue.cjs +1 -0
  4. package/dist/actions/create-issue.cjs.map +1 -1
  5. package/dist/actions/create-issue.d.cts +3 -22
  6. package/dist/actions/create-issue.d.cts.map +1 -1
  7. package/dist/actions/create-issue.d.mts +3 -22
  8. package/dist/actions/create-issue.d.mts.map +1 -1
  9. package/dist/actions/create-issue.mjs +1 -0
  10. package/dist/actions/create-issue.mjs.map +1 -1
  11. package/dist/actions/get-account.cjs +1 -0
  12. package/dist/actions/get-account.cjs.map +1 -1
  13. package/dist/actions/get-account.d.cts +3 -15
  14. package/dist/actions/get-account.d.cts.map +1 -1
  15. package/dist/actions/get-account.d.mts +3 -15
  16. package/dist/actions/get-account.d.mts.map +1 -1
  17. package/dist/actions/get-account.mjs +1 -0
  18. package/dist/actions/get-account.mjs.map +1 -1
  19. package/dist/actions/get-contact.cjs +1 -0
  20. package/dist/actions/get-contact.cjs.map +1 -1
  21. package/dist/actions/get-contact.d.cts +3 -15
  22. package/dist/actions/get-contact.d.cts.map +1 -1
  23. package/dist/actions/get-contact.d.mts +3 -15
  24. package/dist/actions/get-contact.d.mts.map +1 -1
  25. package/dist/actions/get-contact.mjs +1 -0
  26. package/dist/actions/get-contact.mjs.map +1 -1
  27. package/dist/actions/get-issue-messages.cjs +1 -0
  28. package/dist/actions/get-issue-messages.cjs.map +1 -1
  29. package/dist/actions/get-issue-messages.d.cts +3 -15
  30. package/dist/actions/get-issue-messages.d.cts.map +1 -1
  31. package/dist/actions/get-issue-messages.d.mts +3 -15
  32. package/dist/actions/get-issue-messages.d.mts.map +1 -1
  33. package/dist/actions/get-issue-messages.mjs +1 -0
  34. package/dist/actions/get-issue-messages.mjs.map +1 -1
  35. package/dist/actions/get-issue.cjs +1 -0
  36. package/dist/actions/get-issue.cjs.map +1 -1
  37. package/dist/actions/get-issue.d.cts +3 -15
  38. package/dist/actions/get-issue.d.cts.map +1 -1
  39. package/dist/actions/get-issue.d.mts +3 -15
  40. package/dist/actions/get-issue.d.mts.map +1 -1
  41. package/dist/actions/get-issue.mjs +1 -0
  42. package/dist/actions/get-issue.mjs.map +1 -1
  43. package/dist/actions/get-me.cjs +1 -0
  44. package/dist/actions/get-me.cjs.map +1 -1
  45. package/dist/actions/get-me.d.cts +3 -13
  46. package/dist/actions/get-me.d.cts.map +1 -1
  47. package/dist/actions/get-me.d.mts +3 -13
  48. package/dist/actions/get-me.d.mts.map +1 -1
  49. package/dist/actions/get-me.mjs +1 -0
  50. package/dist/actions/get-me.mjs.map +1 -1
  51. package/dist/actions/get-user.cjs +1 -0
  52. package/dist/actions/get-user.cjs.map +1 -1
  53. package/dist/actions/get-user.d.cts +3 -15
  54. package/dist/actions/get-user.d.cts.map +1 -1
  55. package/dist/actions/get-user.d.mts +3 -15
  56. package/dist/actions/get-user.d.mts.map +1 -1
  57. package/dist/actions/get-user.mjs +1 -0
  58. package/dist/actions/get-user.mjs.map +1 -1
  59. package/dist/actions/search-accounts.cjs +1 -0
  60. package/dist/actions/search-accounts.cjs.map +1 -1
  61. package/dist/actions/search-accounts.d.cts +3 -22
  62. package/dist/actions/search-accounts.d.cts.map +1 -1
  63. package/dist/actions/search-accounts.d.mts +3 -22
  64. package/dist/actions/search-accounts.d.mts.map +1 -1
  65. package/dist/actions/search-accounts.mjs +1 -0
  66. package/dist/actions/search-accounts.mjs.map +1 -1
  67. package/dist/actions/search-issues.cjs +1 -0
  68. package/dist/actions/search-issues.cjs.map +1 -1
  69. package/dist/actions/search-issues.d.cts +3 -24
  70. package/dist/actions/search-issues.d.cts.map +1 -1
  71. package/dist/actions/search-issues.d.mts +3 -24
  72. package/dist/actions/search-issues.d.mts.map +1 -1
  73. package/dist/actions/search-issues.mjs +1 -0
  74. package/dist/actions/search-issues.mjs.map +1 -1
  75. package/dist/actions/update-account.cjs +1 -0
  76. package/dist/actions/update-account.cjs.map +1 -1
  77. package/dist/actions/update-account.d.cts +3 -19
  78. package/dist/actions/update-account.d.cts.map +1 -1
  79. package/dist/actions/update-account.d.mts +3 -19
  80. package/dist/actions/update-account.d.mts.map +1 -1
  81. package/dist/actions/update-account.mjs +1 -0
  82. package/dist/actions/update-account.mjs.map +1 -1
  83. package/dist/actions/update-issue.cjs +1 -0
  84. package/dist/actions/update-issue.cjs.map +1 -1
  85. package/dist/actions/update-issue.d.cts +3 -19
  86. package/dist/actions/update-issue.d.cts.map +1 -1
  87. package/dist/actions/update-issue.d.mts +3 -19
  88. package/dist/actions/update-issue.d.mts.map +1 -1
  89. package/dist/actions/update-issue.mjs +1 -0
  90. package/dist/actions/update-issue.mjs.map +1 -1
  91. package/dist/actions/upload-account-files.cjs +1 -0
  92. package/dist/actions/upload-account-files.cjs.map +1 -1
  93. package/dist/actions/upload-account-files.d.cts +3 -21
  94. package/dist/actions/upload-account-files.d.cts.map +1 -1
  95. package/dist/actions/upload-account-files.d.mts +3 -21
  96. package/dist/actions/upload-account-files.d.mts.map +1 -1
  97. package/dist/actions/upload-account-files.mjs +1 -0
  98. package/dist/actions/upload-account-files.mjs.map +1 -1
  99. package/dist/app.cjs +2 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +4 -6
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +4 -6
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +0 -1
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -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<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"}
1
+ {"version":3,"file":"action.cjs","names":["pylonMcp","executePylonMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pylonMcp.credential> {\n return pylonMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePylonMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
@@ -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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pylonMcp.credential> {\n return pylonMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePylonMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-issue.ts
@@ -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 = 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}).passthrough().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}).passthrough();\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,YAAY,CAAC,CAAC,SAAS,gFAAgF;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-issue.cjs","names":["z","action"],"sources":["../../src/actions/create-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 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}).passthrough().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}).passthrough();\n\nexport const pylonMcpCreateIssue: AppAction<\n typeof PylonMcpCreateIssueInput,\n typeof PylonMcpCreateIssueOutput,\n typeof pylonMcp.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,gFAAgF;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,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/create-issue.d.ts
@@ -32,28 +34,7 @@ declare const PylonMcpCreateIssueOutput: z.ZodObject<{
32
34
  }, z.core.$loose>;
33
35
  success: z.ZodNullable<z.ZodBoolean>;
34
36
  }, z.core.$loose>;
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<"pylon_mcp", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- accessToken: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- accessToken: z.ZodString;
56
- }, z.core.$strip>>]>;
37
+ declare const pylonMcpCreateIssue: AppAction<typeof PylonMcpCreateIssueInput, typeof PylonMcpCreateIssueOutput, typeof pylonMcp.credential>;
57
38
  //#endregion
58
39
  export { pylonMcpCreateIssue };
59
40
  //# 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,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-issue.d.cts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,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/create-issue.d.ts
@@ -32,28 +34,7 @@ declare const PylonMcpCreateIssueOutput: z.ZodObject<{
32
34
  }, z.core.$loose>;
33
35
  success: z.ZodNullable<z.ZodBoolean>;
34
36
  }, z.core.$loose>;
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<"pylon_mcp", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- accessToken: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- accessToken: z.ZodString;
56
- }, z.core.$strip>>]>;
37
+ declare const pylonMcpCreateIssue: AppAction<typeof PylonMcpCreateIssueInput, typeof PylonMcpCreateIssueOutput, typeof pylonMcp.credential>;
57
38
  //#endregion
58
39
  export { pylonMcpCreateIssue };
59
40
  //# 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,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-issue.d.mts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pylonMcpCreateIssue = action("PYLON_MCP_CREATE_ISSUE", {
@@ -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 = 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}).passthrough().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}).passthrough();\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,YAAY,CAAC,CAAC,SAAS,gFAAgF;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-issue.mjs","names":[],"sources":["../../src/actions/create-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 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}).passthrough().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}).passthrough();\n\nexport const pylonMcpCreateIssue: AppAction<\n typeof PylonMcpCreateIssueInput,\n typeof PylonMcpCreateIssueOutput,\n typeof pylonMcp.credential\n> = 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":";;;AAiCA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnCsC,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,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,gFAAgF;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-account.ts
@@ -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 = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.record(z.string(), z.unknown()).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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAElL,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-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 PylonMcpGetAccountInput = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.record(z.string(), z.unknown()).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount: AppAction<\n typeof PylonMcpGetAccountInput,\n typeof PylonMcpGetAccountOutput,\n typeof pylonMcp.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAElL,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-account.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetAccountInput: z.ZodObject<{
5
7
  account: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetAccountOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- account: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetAccount: AppAction<typeof PylonMcpGetAccountInput, typeof PylonMcpGetAccountOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetAccount };
25
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,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-account.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetAccountInput: z.ZodObject<{
5
7
  account: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetAccountOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- account: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetAccount: AppAction<typeof PylonMcpGetAccountInput, typeof PylonMcpGetAccountOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetAccount };
25
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,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pylonMcpGetAccount = action("PYLON_MCP_GET_ACCOUNT", {
@@ -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 = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.record(z.string(), z.unknown()).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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+FAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-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 PylonMcpGetAccountInput = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput = z.record(z.string(), z.unknown()).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount: AppAction<\n typeof PylonMcpGetAccountInput,\n typeof PylonMcpGetAccountOutput,\n typeof pylonMcp.credential\n> = 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":";;;AAWA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAWS;CACP,QAXsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+FAWzE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact.ts
@@ -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 = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.record(z.string(), z.unknown()).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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAE5J,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.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 PylonMcpGetContactInput = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.record(z.string(), z.unknown()).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact: AppAction<\n typeof PylonMcpGetContactInput,\n typeof PylonMcpGetContactOutput,\n typeof pylonMcp.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAE5J,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-contact.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetContactInput: z.ZodObject<{
5
7
  contact: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- contact: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetContact: AppAction<typeof PylonMcpGetContactInput, typeof PylonMcpGetContactOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetContact };
25
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,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-contact.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetContactInput: z.ZodObject<{
5
7
  contact: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- contact: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetContact: AppAction<typeof PylonMcpGetContactInput, typeof PylonMcpGetContactOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetContact };
25
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,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pylonMcpGetContact = action("PYLON_MCP_GET_CONTACT", {
@@ -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 = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.record(z.string(), z.unknown()).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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.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 PylonMcpGetContactInput = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput = z.record(z.string(), z.unknown()).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact: AppAction<\n typeof PylonMcpGetContactInput,\n typeof PylonMcpGetContactOutput,\n typeof pylonMcp.credential\n> = 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":";;;AAWA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAWS;CACP,QAXsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAWzE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-issue-messages.ts
@@ -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 = 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}).passthrough()).describe(\"Messages in chronological order.\"),\n}).passthrough();\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,YAAY,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-issue-messages.cjs","names":["z","action"],"sources":["../../src/actions/get-issue-messages.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 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}).passthrough()).describe(\"Messages in chronological order.\"),\n}).passthrough();\n\nexport const pylonMcpGetIssueMessages: AppAction<\n typeof PylonMcpGetIssueMessagesInput,\n typeof PylonMcpGetIssueMessagesOutput,\n typeof pylonMcp.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/get-issue-messages.d.ts
@@ -19,21 +21,7 @@ declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
19
21
  from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- issue: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const pylonMcpGetIssueMessages: AppAction<typeof PylonMcpGetIssueMessagesInput, typeof PylonMcpGetIssueMessagesOutput, typeof pylonMcp.credential>;
37
25
  //#endregion
38
26
  export { pylonMcpGetIssueMessages };
39
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,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-issue-messages.d.cts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/get-issue-messages.d.ts
@@ -19,21 +21,7 @@ declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
19
21
  from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- issue: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const pylonMcpGetIssueMessages: AppAction<typeof PylonMcpGetIssueMessagesInput, typeof PylonMcpGetIssueMessagesOutput, typeof pylonMcp.credential>;
37
25
  //#endregion
38
26
  export { pylonMcpGetIssueMessages };
39
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,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-issue-messages.d.mts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pylonMcpGetIssueMessages = action("PYLON_MCP_GET_ISSUE_MESSAGES", {
@@ -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 = 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}).passthrough()).describe(\"Messages in chronological order.\"),\n}).passthrough();\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,YAAY,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC7D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-issue-messages.mjs","names":[],"sources":["../../src/actions/get-issue-messages.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 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}).passthrough()).describe(\"Messages in chronological order.\"),\n}).passthrough();\n\nexport const pylonMcpGetIssueMessages: AppAction<\n typeof PylonMcpGetIssueMessagesInput,\n typeof PylonMcpGetIssueMessagesOutput,\n typeof pylonMcp.credential\n> = 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":";;;AAyBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B2C,EAAE,OAAO,EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAyBS;CACP,QAzB4C,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,YAAY,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC7D,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-issue.ts
@@ -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 = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.record(z.string(), z.unknown()).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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAExM,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-issue.cjs","names":["z","action"],"sources":["../../src/actions/get-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 PylonMcpGetIssueInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.record(z.string(), z.unknown()).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue: AppAction<\n typeof PylonMcpGetIssueInput,\n typeof PylonMcpGetIssueOutput,\n typeof pylonMcp.credential\n> = 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":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAExM,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,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/get-issue.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetIssueInput: z.ZodObject<{
5
7
  issue: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetIssueOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- issue: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetIssue: AppAction<typeof PylonMcpGetIssueInput, typeof PylonMcpGetIssueOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetIssue };
25
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,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/get-issue.d.ts
@@ -5,21 +7,7 @@ declare const PylonMcpGetIssueInput: z.ZodObject<{
5
7
  issue: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PylonMcpGetIssueOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- issue: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pylon_mcp", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pylonMcpGetIssue: AppAction<typeof PylonMcpGetIssueInput, typeof PylonMcpGetIssueOutput, typeof pylonMcp.credential>;
23
11
  //#endregion
24
12
  export { pylonMcpGetIssue };
25
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,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pylonMcpGetIssue = action("PYLON_MCP_GET_ISSUE", {
@@ -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 = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.record(z.string(), z.unknown()).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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAOvE;AACV,CAAC"}
1
+ {"version":3,"file":"get-issue.mjs","names":[],"sources":["../../src/actions/get-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 PylonMcpGetIssueInput = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput = z.record(z.string(), z.unknown()).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue: AppAction<\n typeof PylonMcpGetIssueInput,\n typeof PylonMcpGetIssueOutput,\n typeof pylonMcp.credential\n> = 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":";;;AAWA,MAAa,mBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmC,EAAE,OAAO,EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAWS;CACP,QAXoC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAWvE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-me.ts