@keystrokehq/pylon_mcp 0.1.0 → 0.1.3

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 (99) 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 +10 -10
  4. package/dist/actions/create-issue.cjs.map +1 -1
  5. package/dist/actions/create-issue.d.cts +41 -3
  6. package/dist/actions/create-issue.d.cts.map +1 -1
  7. package/dist/actions/create-issue.d.mts +41 -3
  8. package/dist/actions/create-issue.d.mts.map +1 -1
  9. package/dist/actions/create-issue.mjs +10 -10
  10. package/dist/actions/create-issue.mjs.map +1 -1
  11. package/dist/actions/get-account.cjs +1 -1
  12. package/dist/actions/get-account.cjs.map +1 -1
  13. package/dist/actions/get-account.d.cts +7 -3
  14. package/dist/actions/get-account.d.cts.map +1 -1
  15. package/dist/actions/get-account.d.mts +7 -3
  16. package/dist/actions/get-account.d.mts.map +1 -1
  17. package/dist/actions/get-account.mjs +1 -1
  18. package/dist/actions/get-account.mjs.map +1 -1
  19. package/dist/actions/get-contact.cjs +1 -1
  20. package/dist/actions/get-contact.cjs.map +1 -1
  21. package/dist/actions/get-contact.d.cts +7 -3
  22. package/dist/actions/get-contact.d.cts.map +1 -1
  23. package/dist/actions/get-contact.d.mts +7 -3
  24. package/dist/actions/get-contact.d.mts.map +1 -1
  25. package/dist/actions/get-contact.mjs +1 -1
  26. package/dist/actions/get-contact.mjs.map +1 -1
  27. package/dist/actions/get-issue-messages.cjs +4 -4
  28. package/dist/actions/get-issue-messages.cjs.map +1 -1
  29. package/dist/actions/get-issue-messages.d.cts +21 -3
  30. package/dist/actions/get-issue-messages.d.cts.map +1 -1
  31. package/dist/actions/get-issue-messages.d.mts +21 -3
  32. package/dist/actions/get-issue-messages.d.mts.map +1 -1
  33. package/dist/actions/get-issue-messages.mjs +4 -4
  34. package/dist/actions/get-issue-messages.mjs.map +1 -1
  35. package/dist/actions/get-issue.cjs +1 -1
  36. package/dist/actions/get-issue.cjs.map +1 -1
  37. package/dist/actions/get-issue.d.cts +7 -3
  38. package/dist/actions/get-issue.d.cts.map +1 -1
  39. package/dist/actions/get-issue.d.mts +7 -3
  40. package/dist/actions/get-issue.d.mts.map +1 -1
  41. package/dist/actions/get-issue.mjs +1 -1
  42. package/dist/actions/get-issue.mjs.map +1 -1
  43. package/dist/actions/get-me.cjs +1 -1
  44. package/dist/actions/get-me.cjs.map +1 -1
  45. package/dist/actions/get-me.d.cts +3 -3
  46. package/dist/actions/get-me.d.cts.map +1 -1
  47. package/dist/actions/get-me.d.mts +3 -3
  48. package/dist/actions/get-me.d.mts.map +1 -1
  49. package/dist/actions/get-me.mjs +1 -1
  50. package/dist/actions/get-me.mjs.map +1 -1
  51. package/dist/actions/get-user.cjs +1 -1
  52. package/dist/actions/get-user.cjs.map +1 -1
  53. package/dist/actions/get-user.d.cts +7 -3
  54. package/dist/actions/get-user.d.cts.map +1 -1
  55. package/dist/actions/get-user.d.mts +7 -3
  56. package/dist/actions/get-user.d.mts.map +1 -1
  57. package/dist/actions/get-user.mjs +1 -1
  58. package/dist/actions/get-user.mjs.map +1 -1
  59. package/dist/actions/search-accounts.cjs +6 -6
  60. package/dist/actions/search-accounts.cjs.map +1 -1
  61. package/dist/actions/search-accounts.d.cts +33 -3
  62. package/dist/actions/search-accounts.d.cts.map +1 -1
  63. package/dist/actions/search-accounts.d.mts +33 -3
  64. package/dist/actions/search-accounts.d.mts.map +1 -1
  65. package/dist/actions/search-accounts.mjs +6 -6
  66. package/dist/actions/search-accounts.mjs.map +1 -1
  67. package/dist/actions/search-issues.cjs +11 -11
  68. package/dist/actions/search-issues.cjs.map +1 -1
  69. package/dist/actions/search-issues.d.cts +45 -3
  70. package/dist/actions/search-issues.d.cts.map +1 -1
  71. package/dist/actions/search-issues.d.mts +45 -3
  72. package/dist/actions/search-issues.d.mts.map +1 -1
  73. package/dist/actions/search-issues.mjs +11 -11
  74. package/dist/actions/search-issues.mjs.map +1 -1
  75. package/dist/actions/update-account.cjs +6 -6
  76. package/dist/actions/update-account.cjs.map +1 -1
  77. package/dist/actions/update-account.d.cts +25 -3
  78. package/dist/actions/update-account.d.cts.map +1 -1
  79. package/dist/actions/update-account.d.mts +25 -3
  80. package/dist/actions/update-account.d.mts.map +1 -1
  81. package/dist/actions/update-account.mjs +6 -6
  82. package/dist/actions/update-account.mjs.map +1 -1
  83. package/dist/actions/update-issue.cjs +10 -10
  84. package/dist/actions/update-issue.cjs.map +1 -1
  85. package/dist/actions/update-issue.d.cts +30 -3
  86. package/dist/actions/update-issue.d.cts.map +1 -1
  87. package/dist/actions/update-issue.d.mts +30 -3
  88. package/dist/actions/update-issue.d.mts.map +1 -1
  89. package/dist/actions/update-issue.mjs +10 -10
  90. package/dist/actions/update-issue.mjs.map +1 -1
  91. package/dist/actions/upload-account-files.cjs +7 -7
  92. package/dist/actions/upload-account-files.cjs.map +1 -1
  93. package/dist/actions/upload-account-files.d.cts +26 -3
  94. package/dist/actions/upload-account-files.d.cts.map +1 -1
  95. package/dist/actions/upload-account-files.d.mts +26 -3
  96. package/dist/actions/upload-account-files.d.mts.map +1 -1
  97. package/dist/actions/upload-account-files.mjs +7 -7
  98. package/dist/actions/upload-account-files.mjs.map +1 -1
  99. 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { z } from \"zod\";\n\nimport { pylonMcp } from \"./app\";\nimport { executePylonMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pylonMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePylonMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -18,20 +18,20 @@ const PylonMcpCreateIssueInput = zod.z.object({
18
18
  });
19
19
  const PylonMcpCreateIssueOutput = zod.z.object({
20
20
  issue: zod.z.object({
21
- id: zod.z.string().describe("The unique ID of the issue."),
21
+ id: zod.z.string().describe("The unique ID of the issue.").nullable(),
22
22
  tags: zod.z.array(zod.z.string()).describe("Tags on the issue.").nullable().optional(),
23
- type: zod.z.string().describe("The type (Conversation or Ticket)."),
24
- state: zod.z.string().describe("The state of the issue."),
25
- title: zod.z.string().describe("The title of the issue."),
26
- number: zod.z.number().int().describe("The issue number."),
27
- source: zod.z.string().describe("The source of the issue."),
23
+ type: zod.z.string().describe("The type (Conversation or Ticket).").nullable(),
24
+ state: zod.z.string().describe("The state of the issue.").nullable(),
25
+ title: zod.z.string().describe("The title of the issue.").nullable(),
26
+ number: zod.z.number().int().describe("The issue number.").nullable(),
27
+ source: zod.z.string().describe("The source of the issue.").nullable(),
28
28
  account_id: zod.z.string().describe("The associated account ID.").nullable().optional(),
29
- created_at: zod.z.string().describe("When the issue was created."),
29
+ created_at: zod.z.string().describe("When the issue was created.").nullable(),
30
30
  assignee_id: zod.z.string().describe("The assigned user ID.").nullable().optional(),
31
31
  latest_message_time: zod.z.string().describe("Time of the latest message.").nullable().optional()
32
- }).describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
33
- success: zod.z.boolean().describe("Whether the creation was successful.")
34
- });
32
+ }).passthrough().describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
33
+ success: zod.z.boolean().describe("Whether the creation was successful.").nullable()
34
+ }).passthrough();
35
35
  const pylonMcpCreateIssue = require_action.action("PYLON_MCP_CREATE_ISSUE", {
36
36
  slug: "pylon_mcp-create-issue",
37
37
  name: "Create issue",
@@ -1 +1 @@
1
- {"version":3,"file":"create-issue.cjs","names":["z","action"],"sources":["../../src/actions/create-issue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpCreateIssueInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n issue: z.object({\n id: z.string().describe(\"The unique ID of the issue.\"),\n tags: z.array(z.string()).describe(\"Tags on the issue.\").nullable().optional(),\n type: z.string().describe(\"The type (Conversation or Ticket).\"),\n state: z.string().describe(\"The state of the issue.\"),\n title: z.string().describe(\"The title of the issue.\"),\n number: z.number().int().describe(\"The issue number.\"),\n source: z.string().describe(\"The source of the issue.\"),\n account_id: z.string().describe(\"The associated account ID.\").nullable().optional(),\n created_at: z.string().describe(\"When the issue was created.\"),\n assignee_id: z.string().describe(\"The assigned user ID.\").nullable().optional(),\n latest_message_time: z.string().describe(\"Time of the latest message.\").nullable().optional(),\n}).describe(\"The created issue summary. Use issue://{orgId}/{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the creation was successful.\"),\n});\n\nexport const pylonMcpCreateIssue = action(\"PYLON_MCP_CREATE_ISSUE\", {\n slug: \"pylon_mcp-create-issue\",\n name: \"Create issue\",\n description: \"Create a new issue/ticket in Pylon. Requires an organization ID, account ID, title, and body HTML. Optionally specify requester, priority, assignee, team, and tags.\",\n input: PylonMcpCreateIssueInput,\n output: PylonMcpCreateIssueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACrD,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;EAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;EACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AAED,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 { 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,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-issue.d.ts
4
- declare const PylonMcpCreateIssueInput: z.ZodTypeAny;
5
- declare const PylonMcpCreateIssueOutput: z.ZodTypeAny;
6
- declare const pylonMcpCreateIssue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpCreateIssueInput: z.ZodObject<{
5
+ tags: z.ZodOptional<z.ZodUnknown>;
6
+ title: z.ZodString;
7
+ team_id: z.ZodOptional<z.ZodString>;
8
+ priority: z.ZodOptional<z.ZodEnum<{
9
+ urgent: "urgent";
10
+ high: "high";
11
+ medium: "medium";
12
+ low: "low";
13
+ }>>;
14
+ body_html: z.ZodString;
15
+ account_id: z.ZodString;
16
+ assignee_id: z.ZodOptional<z.ZodString>;
17
+ requester_id: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const PylonMcpCreateIssueOutput: z.ZodObject<{
20
+ issue: z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ type: z.ZodNullable<z.ZodString>;
24
+ state: z.ZodNullable<z.ZodString>;
25
+ title: z.ZodNullable<z.ZodString>;
26
+ number: z.ZodNullable<z.ZodNumber>;
27
+ source: z.ZodNullable<z.ZodString>;
28
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ created_at: z.ZodNullable<z.ZodString>;
30
+ assignee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ latest_message_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$loose>;
33
+ success: z.ZodNullable<z.ZodBoolean>;
34
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { pylonMcpCreateIssue };
9
47
  //# sourceMappingURL=create-issue.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-issue.d.cts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UASvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAexC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-issue.d.cts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-issue.d.ts
4
- declare const PylonMcpCreateIssueInput: z.ZodTypeAny;
5
- declare const PylonMcpCreateIssueOutput: z.ZodTypeAny;
6
- declare const pylonMcpCreateIssue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpCreateIssueInput: z.ZodObject<{
5
+ tags: z.ZodOptional<z.ZodUnknown>;
6
+ title: z.ZodString;
7
+ team_id: z.ZodOptional<z.ZodString>;
8
+ priority: z.ZodOptional<z.ZodEnum<{
9
+ urgent: "urgent";
10
+ high: "high";
11
+ medium: "medium";
12
+ low: "low";
13
+ }>>;
14
+ body_html: z.ZodString;
15
+ account_id: z.ZodString;
16
+ assignee_id: z.ZodOptional<z.ZodString>;
17
+ requester_id: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const PylonMcpCreateIssueOutput: z.ZodObject<{
20
+ issue: z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ type: z.ZodNullable<z.ZodString>;
24
+ state: z.ZodNullable<z.ZodString>;
25
+ title: z.ZodNullable<z.ZodString>;
26
+ number: z.ZodNullable<z.ZodNumber>;
27
+ source: z.ZodNullable<z.ZodString>;
28
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ created_at: z.ZodNullable<z.ZodString>;
30
+ assignee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ latest_message_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$loose>;
33
+ success: z.ZodNullable<z.ZodBoolean>;
34
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { pylonMcpCreateIssue };
9
47
  //# sourceMappingURL=create-issue.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-issue.d.mts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UASvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAexC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-issue.d.mts","names":[],"sources":["../../src/actions/create-issue.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
@@ -21,20 +21,20 @@ const pylonMcpCreateIssue = action("PYLON_MCP_CREATE_ISSUE", {
21
21
  }),
22
22
  output: z.object({
23
23
  issue: z.object({
24
- id: z.string().describe("The unique ID of the issue."),
24
+ id: z.string().describe("The unique ID of the issue.").nullable(),
25
25
  tags: z.array(z.string()).describe("Tags on the issue.").nullable().optional(),
26
- type: z.string().describe("The type (Conversation or Ticket)."),
27
- state: z.string().describe("The state of the issue."),
28
- title: z.string().describe("The title of the issue."),
29
- number: z.number().int().describe("The issue number."),
30
- source: z.string().describe("The source of the issue."),
26
+ type: z.string().describe("The type (Conversation or Ticket).").nullable(),
27
+ state: z.string().describe("The state of the issue.").nullable(),
28
+ title: z.string().describe("The title of the issue.").nullable(),
29
+ number: z.number().int().describe("The issue number.").nullable(),
30
+ source: z.string().describe("The source of the issue.").nullable(),
31
31
  account_id: z.string().describe("The associated account ID.").nullable().optional(),
32
- created_at: z.string().describe("When the issue was created."),
32
+ created_at: z.string().describe("When the issue was created.").nullable(),
33
33
  assignee_id: z.string().describe("The assigned user ID.").nullable().optional(),
34
34
  latest_message_time: z.string().describe("Time of the latest message.").nullable().optional()
35
- }).describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
36
- success: z.boolean().describe("Whether the creation was successful.")
37
- })
35
+ }).passthrough().describe("The created issue summary. Use issue://{orgId}/{id} resource for full details."),
36
+ success: z.boolean().describe("Whether the creation was successful.").nullable()
37
+ }).passthrough()
38
38
  });
39
39
  //#endregion
40
40
  export { pylonMcpCreateIssue };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n issue: z.object({\n id: z.string().describe(\"The unique ID of the issue.\"),\n tags: z.array(z.string()).describe(\"Tags on the issue.\").nullable().optional(),\n type: z.string().describe(\"The type (Conversation or Ticket).\"),\n state: z.string().describe(\"The state of the issue.\"),\n title: z.string().describe(\"The title of the issue.\"),\n number: z.number().int().describe(\"The issue number.\"),\n source: z.string().describe(\"The source of the issue.\"),\n account_id: z.string().describe(\"The associated account ID.\").nullable().optional(),\n created_at: z.string().describe(\"When the issue was created.\"),\n assignee_id: z.string().describe(\"The assigned user ID.\").nullable().optional(),\n latest_message_time: z.string().describe(\"Time of the latest message.\").nullable().optional(),\n}).describe(\"The created issue summary. Use issue://{orgId}/{id} resource for full details.\"),\n success: z.boolean().describe(\"Whether the creation was successful.\"),\n});\n\nexport const pylonMcpCreateIssue = action(\"PYLON_MCP_CREATE_ISSUE\", {\n slug: \"pylon_mcp-create-issue\",\n name: \"Create issue\",\n description: \"Create a new issue/ticket in Pylon. Requires an organization ID, account ID, title, and body HTML. Optionally specify requester, priority, assignee, team, and tags.\",\n input: PylonMcpCreateIssueInput,\n output: PylonMcpCreateIssueOutput,\n});\n"],"mappings":";;AA+BA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BoD,EAAE,OAAO;EAC7D,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,QAtBqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO;GAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;GACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;GACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-account.ts
4
4
  const PylonMcpGetAccountInput = zod.z.object({ account: zod.z.string().describe("The account ID (UUID) or external ID.") });
5
- const PylonMcpGetAccountOutput = zod.z.object({}).describe("Full account details including name, domain, owner, tags, custom fields, and linked channels.");
5
+ const PylonMcpGetAccountOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full account details including name, domain, owner, tags, custom fields, and linked channels.");
6
6
  const pylonMcpGetAccount = require_action.action("PYLON_MCP_GET_ACCOUNT", {
7
7
  slug: "pylon_mcp-get-account",
8
8
  name: "Get account",
@@ -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.ZodTypeAny = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput: z.ZodTypeAny = z.object({}).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount = action(\"PYLON_MCP_GET_ACCOUNT\", {\n slug: \"pylon_mcp-get-account\",\n name: \"Get account\",\n description: \"Get full details for a Pylon customer account. Pass either the account ID (UUID) or external ID. Returns account details including name, domain, owner, tags, custom fields, and linked channels.\",\n input: PylonMcpGetAccountInput,\n output: PylonMcpGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAE3K,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 { 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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-account.d.ts
4
- declare const PylonMcpGetAccountInput: z.ZodTypeAny;
5
- declare const PylonMcpGetAccountOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetAccountInput: z.ZodObject<{
5
+ account: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetAccount };
9
13
  //# sourceMappingURL=get-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAAmI;AAAA,cAE/J,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-account.d.ts
4
- declare const PylonMcpGetAccountInput: z.ZodTypeAny;
5
- declare const PylonMcpGetAccountOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetAccountInput: z.ZodObject<{
5
+ account: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetAccount };
9
13
  //# sourceMappingURL=get-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAAmI;AAAA,cAE/J,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,7 +5,7 @@ const pylonMcpGetAccount = action("PYLON_MCP_GET_ACCOUNT", {
5
5
  name: "Get account",
6
6
  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.",
7
7
  input: z.object({ account: z.string().describe("The account ID (UUID) or external ID.") }),
8
- output: z.object({}).describe("Full account details including name, domain, owner, tags, custom fields, and linked channels.")
8
+ output: z.record(z.string(), z.unknown()).describe("Full account details including name, domain, owner, tags, custom fields, and linked channels.")
9
9
  });
10
10
  //#endregion
11
11
  export { pylonMcpGetAccount };
@@ -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.ZodTypeAny = z.object({\n account: z.string().describe(\"The account ID (UUID) or external ID.\"),\n});\nexport const PylonMcpGetAccountOutput: z.ZodTypeAny = z.object({}).describe(\"Full account details including name, domain, owner, tags, custom fields, and linked channels.\");\n\nexport const pylonMcpGetAccount = action(\"PYLON_MCP_GET_ACCOUNT\", {\n slug: \"pylon_mcp-get-account\",\n name: \"Get account\",\n description: \"Get full details for a Pylon customer account. Pass either the account ID (UUID) or external ID. Returns account details including name, domain, owner, tags, custom fields, and linked channels.\",\n input: PylonMcpGetAccountInput,\n output: PylonMcpGetAccountOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAOS;CACP,QAPoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAOlE;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-contact.ts
4
4
  const PylonMcpGetContactInput = zod.z.object({ contact: zod.z.string().describe("The contact ID (UUID).") });
5
- const PylonMcpGetContactOutput = zod.z.object({}).describe("Full contact details including name, email, account, and custom fields.");
5
+ const PylonMcpGetContactOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full contact details including name, email, account, and custom fields.");
6
6
  const pylonMcpGetContact = require_action.action("PYLON_MCP_GET_CONTACT", {
7
7
  slug: "pylon_mcp-get-contact",
8
8
  name: "Get contact",
@@ -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.ZodTypeAny = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput: z.ZodTypeAny = z.object({}).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact = action(\"PYLON_MCP_GET_CONTACT\", {\n slug: \"pylon_mcp-get-contact\",\n name: \"Get contact\",\n description: \"Get full details for a Pylon contact (customer). Pass the contact ID (UUID). Returns contact details including name, email, account, and custom fields.\",\n input: PylonMcpGetContactInput,\n output: PylonMcpGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErJ,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 { 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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact.d.ts
4
- declare const PylonMcpGetContactInput: z.ZodTypeAny;
5
- declare const PylonMcpGetContactOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetContactInput: z.ZodObject<{
5
+ contact: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetContact };
9
13
  //# sourceMappingURL=get-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAA6G;AAAA,cAEzI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact.d.ts
4
- declare const PylonMcpGetContactInput: z.ZodTypeAny;
5
- declare const PylonMcpGetContactOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetContactInput: z.ZodObject<{
5
+ contact: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetContact };
9
13
  //# sourceMappingURL=get-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAA6G;AAAA,cAEzI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,7 +5,7 @@ const pylonMcpGetContact = action("PYLON_MCP_GET_CONTACT", {
5
5
  name: "Get contact",
6
6
  description: "Get full details for a Pylon contact (customer). Pass the contact ID (UUID). Returns contact details including name, email, account, and custom fields.",
7
7
  input: z.object({ contact: z.string().describe("The contact ID (UUID).") }),
8
- output: z.object({}).describe("Full contact details including name, email, account, and custom fields.")
8
+ output: z.record(z.string(), z.unknown()).describe("Full contact details including name, email, account, and custom fields.")
9
9
  });
10
10
  //#endregion
11
11
  export { pylonMcpGetContact };
@@ -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.ZodTypeAny = z.object({\n contact: z.string().describe(\"The contact ID (UUID).\"),\n});\nexport const PylonMcpGetContactOutput: z.ZodTypeAny = z.object({}).describe(\"Full contact details including name, email, account, and custom fields.\");\n\nexport const pylonMcpGetContact = action(\"PYLON_MCP_GET_CONTACT\", {\n slug: \"pylon_mcp-get-contact\",\n name: \"Get contact\",\n description: \"Get full details for a Pylon contact (customer). Pass the contact ID (UUID). Returns contact details including name, email, account, and custom fields.\",\n input: PylonMcpGetContactInput,\n output: PylonMcpGetContactOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAOS;CACP,QAPoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAOlE;AACV,CAAC"}
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"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/get-issue-messages.ts
4
4
  const PylonMcpGetIssueMessagesInput = zod.z.object({ issue: zod.z.string().describe("The issue ID (UUID) or issue number.") });
5
5
  const PylonMcpGetIssueMessagesOutput = zod.z.object({
6
- count: zod.z.number().int().describe("Number of messages."),
7
- issue_id: zod.z.string().describe("The issue ID."),
6
+ count: zod.z.number().int().describe("Number of messages.").nullable(),
7
+ issue_id: zod.z.string().describe("The issue ID.").nullable(),
8
8
  messages: zod.z.array(zod.z.object({
9
9
  id: zod.z.string().describe("Message ID.").nullable().optional(),
10
10
  source: zod.z.string().describe("Message source (email, slack, etc).").nullable().optional(),
@@ -15,8 +15,8 @@ const PylonMcpGetIssueMessagesOutput = zod.z.object({
15
15
  is_private: zod.z.boolean().describe("Whether this is an internal note.").nullable().optional(),
16
16
  author_type: zod.z.string().describe("Author type: user, contact, or system.").nullable().optional(),
17
17
  from_customer: zod.z.boolean().describe("Whether the message is from a customer.").nullable().optional()
18
- })).describe("Messages in chronological order.")
19
- });
18
+ }).passthrough()).describe("Messages in chronological order.")
19
+ }).passthrough();
20
20
  const pylonMcpGetIssueMessages = require_action.action("PYLON_MCP_GET_ISSUE_MESSAGES", {
21
21
  slug: "pylon_mcp-get-issue-messages",
22
22
  name: "Get issue messages",
@@ -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.ZodTypeAny = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueMessagesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of messages.\"),\n issue_id: z.string().describe(\"The issue ID.\"),\n messages: z.array(z.object({\n id: z.string().describe(\"Message ID.\").nullable().optional(),\n source: z.string().describe(\"Message source (email, slack, etc).\").nullable().optional(),\n sent_at: z.string().describe(\"When the message was sent.\").nullable().optional(),\n author_id: z.string().describe(\"Author ID (user or contact).\").nullable().optional(),\n body_html: z.string().describe(\"Message body in HTML.\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the internal thread this message belongs to, if any.\").nullable().optional(),\n is_private: z.boolean().describe(\"Whether this is an internal note.\").nullable().optional(),\n author_type: z.string().describe(\"Author type: user, contact, or system.\").nullable().optional(),\n from_customer: z.boolean().describe(\"Whether the message is from a customer.\").nullable().optional(),\n})).describe(\"Messages in chronological order.\"),\n});\n\nexport const pylonMcpGetIssueMessages = action(\"PYLON_MCP_GET_ISSUE_MESSAGES\", {\n slug: \"pylon_mcp-get-issue-messages\",\n name: \"Get issue messages\",\n description: \"Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.\",\n input: PylonMcpGetIssueMessagesInput,\n output: PylonMcpGetIssueMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC7C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC/C,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-issue-messages.d.ts
4
- declare const PylonMcpGetIssueMessagesInput: z.ZodTypeAny;
5
- declare const PylonMcpGetIssueMessagesOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetIssueMessagesInput: z.ZodObject<{
5
+ issue: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
8
+ count: z.ZodNullable<z.ZodNumber>;
9
+ issue_id: z.ZodNullable<z.ZodString>;
10
+ messages: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ is_private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ author_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ }, z.core.$loose>>;
21
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { pylonMcpGetIssueMessages };
9
27
  //# sourceMappingURL=get-issue-messages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-issue-messages.d.cts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAc7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-issue-messages.d.cts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-issue-messages.d.ts
4
- declare const PylonMcpGetIssueMessagesInput: z.ZodTypeAny;
5
- declare const PylonMcpGetIssueMessagesOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetIssueMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetIssueMessagesInput: z.ZodObject<{
5
+ issue: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PylonMcpGetIssueMessagesOutput: z.ZodObject<{
8
+ count: z.ZodNullable<z.ZodNumber>;
9
+ issue_id: z.ZodNullable<z.ZodString>;
10
+ messages: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ body_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ is_private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ author_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ from_customer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ }, z.core.$loose>>;
21
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { pylonMcpGetIssueMessages };
9
27
  //# sourceMappingURL=get-issue-messages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-issue-messages.d.mts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAc7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-issue-messages.d.mts","names":[],"sources":["../../src/actions/get-issue-messages.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,8 +6,8 @@ const pylonMcpGetIssueMessages = action("PYLON_MCP_GET_ISSUE_MESSAGES", {
6
6
  description: "Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.",
7
7
  input: z.object({ issue: z.string().describe("The issue ID (UUID) or issue number.") }),
8
8
  output: z.object({
9
- count: z.number().int().describe("Number of messages."),
10
- issue_id: z.string().describe("The issue ID."),
9
+ count: z.number().int().describe("Number of messages.").nullable(),
10
+ issue_id: z.string().describe("The issue ID.").nullable(),
11
11
  messages: z.array(z.object({
12
12
  id: z.string().describe("Message ID.").nullable().optional(),
13
13
  source: z.string().describe("Message source (email, slack, etc).").nullable().optional(),
@@ -18,8 +18,8 @@ const pylonMcpGetIssueMessages = action("PYLON_MCP_GET_ISSUE_MESSAGES", {
18
18
  is_private: z.boolean().describe("Whether this is an internal note.").nullable().optional(),
19
19
  author_type: z.string().describe("Author type: user, contact, or system.").nullable().optional(),
20
20
  from_customer: z.boolean().describe("Whether the message is from a customer.").nullable().optional()
21
- })).describe("Messages in chronological order.")
22
- })
21
+ }).passthrough()).describe("Messages in chronological order.")
22
+ }).passthrough()
23
23
  });
24
24
  //#endregion
25
25
  export { pylonMcpGetIssueMessages };
@@ -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.ZodTypeAny = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueMessagesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of messages.\"),\n issue_id: z.string().describe(\"The issue ID.\"),\n messages: z.array(z.object({\n id: z.string().describe(\"Message ID.\").nullable().optional(),\n source: z.string().describe(\"Message source (email, slack, etc).\").nullable().optional(),\n sent_at: z.string().describe(\"When the message was sent.\").nullable().optional(),\n author_id: z.string().describe(\"Author ID (user or contact).\").nullable().optional(),\n body_html: z.string().describe(\"Message body in HTML.\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the internal thread this message belongs to, if any.\").nullable().optional(),\n is_private: z.boolean().describe(\"Whether this is an internal note.\").nullable().optional(),\n author_type: z.string().describe(\"Author type: user, contact, or system.\").nullable().optional(),\n from_customer: z.boolean().describe(\"Whether the message is from a customer.\").nullable().optional(),\n})).describe(\"Messages in chronological order.\"),\n});\n\nexport const pylonMcpGetIssueMessages = action(\"PYLON_MCP_GET_ISSUE_MESSAGES\", {\n slug: \"pylon_mcp-get-issue-messages\",\n name: \"Get issue messages\",\n description: \"Get the full message history for a Pylon issue. Pass either the issue ID (UUID) or issue number. Returns all messages in chronological order with author info.\",\n input: PylonMcpGetIssueMessagesInput,\n output: PylonMcpGetIssueMessagesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByD,EAAE,OAAO,EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAqBS;CACP,QArB0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC7C,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACrH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC/C,CAOU;AACV,CAAC"}
1
+ {"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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-issue.ts
4
4
  const PylonMcpGetIssueInput = zod.z.object({ issue: zod.z.string().describe("The issue ID (UUID) or issue number.") });
5
- const PylonMcpGetIssueOutput = zod.z.object({}).describe("Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.");
5
+ const PylonMcpGetIssueOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.");
6
6
  const pylonMcpGetIssue = require_action.action("PYLON_MCP_GET_ISSUE", {
7
7
  slug: "pylon_mcp-get-issue",
8
8
  name: "Get issue",