@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":"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.ZodTypeAny = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput: z.ZodTypeAny = z.object({}).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue = action(\"PYLON_MCP_GET_ISSUE\", {\n slug: \"pylon_mcp-get-issue\",\n name: \"Get issue\",\n description: \"Get full details for a Pylon support issue/ticket. Pass either the issue ID (UUID) or issue number. Returns title, body, state, metadata, custom fields, and nested account/assignee/requester info.\",\n input: PylonMcpGetIssueInput,\n output: PylonMcpGetIssueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC;AACD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAEjM,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 { 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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-issue.d.ts
4
- declare const PylonMcpGetIssueInput: z.ZodTypeAny;
5
- declare const PylonMcpGetIssueOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetIssueInput: z.ZodObject<{
5
+ issue: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetIssue };
9
13
  //# sourceMappingURL=get-issue.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-issue.d.cts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAA2J;AAAA,cAErL,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-issue.d.ts
4
- declare const PylonMcpGetIssueInput: z.ZodTypeAny;
5
- declare const PylonMcpGetIssueOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetIssue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetIssueInput: z.ZodObject<{
5
+ issue: z.ZodString;
6
+ }, z.core.$strip>;
7
+ 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetIssue };
9
13
  //# sourceMappingURL=get-issue.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-issue.d.mts","names":[],"sources":["../../src/actions/get-issue.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAA2J;AAAA,cAErL,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,7 +5,7 @@ const pylonMcpGetIssue = action("PYLON_MCP_GET_ISSUE", {
5
5
  name: "Get issue",
6
6
  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.",
7
7
  input: z.object({ issue: z.string().describe("The issue ID (UUID) or issue number.") }),
8
- output: z.object({}).describe("Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.")
8
+ output: z.record(z.string(), z.unknown()).describe("Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.")
9
9
  });
10
10
  //#endregion
11
11
  export { pylonMcpGetIssue };
@@ -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.ZodTypeAny = z.object({\n issue: z.string().describe(\"The issue ID (UUID) or issue number.\"),\n});\nexport const PylonMcpGetIssueOutput: z.ZodTypeAny = z.object({}).describe(\"Full issue details including title, body, state, metadata, custom fields, and nested account/assignee/requester info.\");\n\nexport const pylonMcpGetIssue = action(\"PYLON_MCP_GET_ISSUE\", {\n slug: \"pylon_mcp-get-issue\",\n name: \"Get issue\",\n description: \"Get full details for a Pylon support issue/ticket. Pass either the issue ID (UUID) or issue number. Returns title, body, state, metadata, custom fields, and nested account/assignee/requester info.\",\n input: PylonMcpGetIssueInput,\n output: PylonMcpGetIssueOutput,\n});\n"],"mappings":";;AASA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATiD,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAOS;CACP,QAPkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAOhE;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-me.ts
4
4
  const PylonMcpGetMeInput = zod.z.object({});
5
- const PylonMcpGetMeOutput = zod.z.object({}).describe("Full user details including name, email, role, and teams.");
5
+ const PylonMcpGetMeOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full user details including name, email, role, and teams.");
6
6
  const pylonMcpGetMe = require_action.action("PYLON_MCP_GET_ME", {
7
7
  slug: "pylon_mcp-get-me",
8
8
  name: "Get me",
@@ -1 +1 @@
1
- {"version":3,"file":"get-me.cjs","names":["z","action"],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput: z.ZodTypeAny = z.object({});\nexport const PylonMcpGetMeOutput: z.ZodTypeAny = z.object({}).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetMe = action(\"PYLON_MCP_GET_ME\", {\n slug: \"pylon_mcp-get-me\",\n name: \"Get me\",\n description: \"Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.\",\n input: PylonMcpGetMeInput,\n output: PylonMcpGetMeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC3D,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAElI,MAAa,gBAAgBC,eAAAA,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-me.cjs","names":["z","action"],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput = z.object({});\nexport const PylonMcpGetMeOutput = z.record(z.string(), z.unknown()).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetMe = action(\"PYLON_MCP_GET_ME\", {\n slug: \"pylon_mcp-get-me\",\n name: \"Get me\",\n description: \"Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.\",\n input: PylonMcpGetMeInput,\n output: PylonMcpGetMeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC7C,MAAa,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEzI,MAAa,gBAAgBC,eAAAA,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-me.d.ts
4
- declare const PylonMcpGetMeInput: z.ZodTypeAny;
5
- declare const PylonMcpGetMeOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetMe: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetMeInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PylonMcpGetMeOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ declare const pylonMcpGetMe: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { pylonMcpGetMe };
9
9
  //# sourceMappingURL=get-me.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-me.d.cts","names":[],"sources":["../../src/actions/get-me.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAAyB;AAAA,cAC/C,mBAAA,EAAqB,CAAA,CAAE,UAA+F;AAAA,cAEtH,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-me.d.cts","names":[],"sources":["../../src/actions/get-me.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-me.d.ts
4
- declare const PylonMcpGetMeInput: z.ZodTypeAny;
5
- declare const PylonMcpGetMeOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetMe: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetMeInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PylonMcpGetMeOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ declare const pylonMcpGetMe: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { pylonMcpGetMe };
9
9
  //# sourceMappingURL=get-me.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-me.d.mts","names":[],"sources":["../../src/actions/get-me.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAAyB;AAAA,cAC/C,mBAAA,EAAqB,CAAA,CAAE,UAA+F;AAAA,cAEtH,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-me.d.mts","names":[],"sources":["../../src/actions/get-me.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const pylonMcpGetMe = action("PYLON_MCP_GET_ME", {
5
5
  name: "Get me",
6
6
  description: "Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.",
7
7
  input: z.object({}),
8
- output: z.object({}).describe("Full user details including name, email, role, and teams.")
8
+ output: z.record(z.string(), z.unknown()).describe("Full user details including name, email, role, and teams.")
9
9
  });
10
10
  //#endregion
11
11
  export { pylonMcpGetMe };
@@ -1 +1 @@
1
- {"version":3,"file":"get-me.mjs","names":[],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput: z.ZodTypeAny = z.object({});\nexport const PylonMcpGetMeOutput: z.ZodTypeAny = z.object({}).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetMe = action(\"PYLON_MCP_GET_ME\", {\n slug: \"pylon_mcp-get-me\",\n name: \"Get me\",\n description: \"Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.\",\n input: PylonMcpGetMeInput,\n output: PylonMcpGetMeOutput,\n});\n"],"mappings":";;AAOA,MAAa,gBAAgB,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP8C,EAAE,OAAO,CAAC,CAOjD;CACP,QAP+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAO7D;AACV,CAAC"}
1
+ {"version":3,"file":"get-me.mjs","names":[],"sources":["../../src/actions/get-me.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetMeInput = z.object({});\nexport const PylonMcpGetMeOutput = z.record(z.string(), z.unknown()).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetMe = action(\"PYLON_MCP_GET_ME\", {\n slug: \"pylon_mcp-get-me\",\n name: \"Get me\",\n description: \"Get the currently authenticated user's details. Returns the user's name, email, role, and teams. No parameters required.\",\n input: PylonMcpGetMeInput,\n output: PylonMcpGetMeOutput,\n});\n"],"mappings":";;AAOA,MAAa,gBAAgB,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPgC,EAAE,OAAO,CAAC,CAOnC;CACP,QAPiC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAOpE;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-user.ts
4
4
  const PylonMcpGetUserInput = zod.z.object({ user: zod.z.string().describe("The user ID (UUID).") });
5
- const PylonMcpGetUserOutput = zod.z.object({}).describe("Full user details including name, email, role, and teams.");
5
+ const PylonMcpGetUserOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full user details including name, email, role, and teams.");
6
6
  const pylonMcpGetUser = require_action.action("PYLON_MCP_GET_USER", {
7
7
  slug: "pylon_mcp-get-user",
8
8
  name: "Get user",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetUserInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user ID (UUID).\"),\n});\nexport const PylonMcpGetUserOutput: z.ZodTypeAny = z.object({}).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetUser = action(\"PYLON_MCP_GET_USER\", {\n slug: \"pylon_mcp-get-user\",\n name: \"Get user\",\n description: \"Get full details for a Pylon user (team member). Pass the user ID (UUID). Returns user details including name, email, role, and teams.\",\n input: PylonMcpGetUserInput,\n output: PylonMcpGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,EACjD,CAAC;AACD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEpI,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetUserInput = z.object({\n user: z.string().describe(\"The user ID (UUID).\"),\n});\nexport const PylonMcpGetUserOutput = z.record(z.string(), z.unknown()).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetUser = action(\"PYLON_MCP_GET_USER\", {\n slug: \"pylon_mcp-get-user\",\n name: \"Get user\",\n description: \"Get full details for a Pylon user (team member). Pass the user ID (UUID). Returns user details including name, email, role, and teams.\",\n input: PylonMcpGetUserInput,\n output: PylonMcpGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,EACjD,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAE3I,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,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-user.d.ts
4
- declare const PylonMcpGetUserInput: z.ZodTypeAny;
5
- declare const PylonMcpGetUserOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetUserInput: z.ZodObject<{
5
+ user: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PylonMcpGetUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ declare const pylonMcpGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ user: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetUser };
9
13
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAA+F;AAAA,cAExH,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const PylonMcpGetUserInput: z.ZodTypeAny;
5
- declare const PylonMcpGetUserOutput: z.ZodTypeAny;
6
- declare const pylonMcpGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpGetUserInput: z.ZodObject<{
5
+ user: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PylonMcpGetUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ declare const pylonMcpGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ user: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { pylonMcpGetUser };
9
13
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAA+F;AAAA,cAExH,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErB,eAAA,gCAAe,wBAAA"}
@@ -5,7 +5,7 @@ const pylonMcpGetUser = action("PYLON_MCP_GET_USER", {
5
5
  name: "Get user",
6
6
  description: "Get full details for a Pylon user (team member). Pass the user ID (UUID). Returns user details including name, email, role, and teams.",
7
7
  input: z.object({ user: z.string().describe("The user ID (UUID).") }),
8
- output: z.object({}).describe("Full user details including name, email, role, and teams.")
8
+ output: z.record(z.string(), z.unknown()).describe("Full user details including name, email, role, and teams.")
9
9
  });
10
10
  //#endregion
11
11
  export { pylonMcpGetUser };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetUserInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user ID (UUID).\"),\n});\nexport const PylonMcpGetUserOutput: z.ZodTypeAny = z.object({}).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetUser = action(\"PYLON_MCP_GET_USER\", {\n slug: \"pylon_mcp-get-user\",\n name: \"Get user\",\n description: \"Get full details for a Pylon user (team member). Pass the user ID (UUID). Returns user details including name, email, role, and teams.\",\n input: PylonMcpGetUserInput,\n output: PylonMcpGetUserOutput,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,EACjD,CAOS;CACP,QAPiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAO/D;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpGetUserInput = z.object({\n user: z.string().describe(\"The user ID (UUID).\"),\n});\nexport const PylonMcpGetUserOutput = z.record(z.string(), z.unknown()).describe(\"Full user details including name, email, role, and teams.\");\n\nexport const pylonMcpGetUser = action(\"PYLON_MCP_GET_USER\", {\n slug: \"pylon_mcp-get-user\",\n name: \"Get user\",\n description: \"Get full details for a Pylon user (team member). Pass the user ID (UUID). Returns user details including name, email, role, and teams.\",\n input: PylonMcpGetUserInput,\n output: PylonMcpGetUserOutput,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,EACjD,CAOS;CACP,QAPmC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAOtE;AACV,CAAC"}
@@ -12,18 +12,18 @@ const PylonMcpSearchAccountsInput = zod.z.object({
12
12
  custom_field_filters: zod.z.unknown().describe("Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.").optional()
13
13
  });
14
14
  const PylonMcpSearchAccountsOutput = zod.z.object({
15
- count: zod.z.number().int().describe("The number of accounts returned."),
15
+ count: zod.z.number().int().describe("The number of accounts returned.").nullable(),
16
16
  cursor: zod.z.string().describe("Cursor for the next page. Pass this as the cursor input to get more results.").nullable().optional(),
17
17
  accounts: zod.z.array(zod.z.object({
18
- id: zod.z.string().describe("The unique ID of the account."),
19
- name: zod.z.string().describe("The name of the account."),
18
+ id: zod.z.string().describe("The unique ID of the account.").nullable(),
19
+ name: zod.z.string().describe("The name of the account.").nullable(),
20
20
  tags: zod.z.array(zod.z.string()).describe("Tags on the account.").nullable().optional(),
21
21
  domain: zod.z.string().describe("The primary domain of the account.").nullable().optional(),
22
22
  channels: zod.z.array(zod.z.string()).describe("Linked channels in format source:channelId.").nullable().optional(),
23
23
  owner_id: zod.z.string().describe("The owner user ID.").nullable().optional()
24
- })).describe("Lightweight account summaries. Use account://{id} resource for full details."),
25
- has_next_page: zod.z.boolean().describe("Whether there are more results available.")
26
- });
24
+ }).passthrough()).describe("Lightweight account summaries. Use account://{id} resource for full details."),
25
+ has_next_page: zod.z.boolean().describe("Whether there are more results available.").nullable()
26
+ }).passthrough();
27
27
  const pylonMcpSearchAccounts = require_action.action("PYLON_MCP_SEARCH_ACCOUNTS", {
28
28
  slug: "pylon_mcp-search-accounts",
29
29
  name: "Search accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"search-accounts.cjs","names":["z","action"],"sources":["../../src/actions/search-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchAccountsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by account name (partial match).\").optional(),\n tags: z.unknown().describe(\"Filter by tags. Returns accounts containing any of the specified tags.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of accounts to return (default 25, max 100).\").optional(),\n owner: z.string().describe(\"Filter by account owner. Accepts a user ID or name (partial match).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n domain: z.string().describe(\"Filter by domain (accounts containing this domain).\").optional(),\n external_id: z.string().describe(\"Filter by external ID.\").optional(),\n custom_field_filters: z.unknown().describe(\"Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.\").optional(),\n});\nexport const PylonMcpSearchAccountsOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"The number of accounts returned.\"),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n accounts: z.array(z.object({\n id: z.string().describe(\"The unique ID of the account.\"),\n name: z.string().describe(\"The name of the account.\"),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n})).describe(\"Lightweight account summaries. Use account://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\"),\n});\n\nexport const pylonMcpSearchAccounts = action(\"PYLON_MCP_SEARCH_ACCOUNTS\", {\n slug: \"pylon_mcp-search-accounts\",\n name: \"Search accounts\",\n description: \"Search for customer accounts in Pylon. Returns a lightweight summary of accounts matching the specified filters. Supports filtering by custom fields using the custom_field_filters parameter - pass the custom field slug as the field name. For user-type custom fields (e.g. Salesforce AE owner), you can pass a Pylon user name or user ID as the value. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full account details including custom fields, external IDs, and linked channels, use the account resource: account://{accountId}\",\n input: PylonMcpSearchAccountsInput,\n output: PylonMcpSearchAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6DAA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AC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACzF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;AACjF,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-accounts.cjs","names":["z","action"],"sources":["../../src/actions/search-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchAccountsInput = z.object({\n name: z.string().describe(\"Filter by account name (partial match).\").optional(),\n tags: z.unknown().describe(\"Filter by tags. Returns accounts containing any of the specified tags.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of accounts to return (default 25, max 100).\").optional(),\n owner: z.string().describe(\"Filter by account owner. Accepts a user ID or name (partial match).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n domain: z.string().describe(\"Filter by domain (accounts containing this domain).\").optional(),\n external_id: z.string().describe(\"Filter by external ID.\").optional(),\n custom_field_filters: z.unknown().describe(\"Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.\").optional(),\n});\nexport const PylonMcpSearchAccountsOutput = z.object({\n count: z.number().int().describe(\"The number of accounts returned.\").nullable(),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n accounts: z.array(z.object({\n id: z.string().describe(\"The unique ID of the account.\").nullable(),\n name: z.string().describe(\"The name of the account.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n}).passthrough()).describe(\"Lightweight account summaries. Use account://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpSearchAccounts = action(\"PYLON_MCP_SEARCH_ACCOUNTS\", {\n slug: \"pylon_mcp-search-accounts\",\n name: \"Search accounts\",\n description: \"Search for customer accounts in Pylon. Returns a lightweight summary of accounts matching the specified filters. Supports filtering by custom fields using the custom_field_filters parameter - pass the custom field slug as the field name. For user-type custom fields (e.g. Salesforce AE owner), you can pass a Pylon user name or user ID as the value. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full account details including custom fields, external IDs, and linked channels, use the account resource: account://{accountId}\",\n input: PylonMcpSearchAccountsInput,\n output: PylonMcpSearchAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACpE,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS;AAC/Q,CAAC;AACD,MAAa,+BAA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cpSearchAccountsInput: z.ZodTypeAny;
5
- declare const PylonMcpSearchAccountsOutput: z.ZodTypeAny;
6
- declare const pylonMcpSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpSearchAccountsInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodUnknown>;
7
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ owner: z.ZodOptional<z.ZodString>;
9
+ cursor: z.ZodOptional<z.ZodString>;
10
+ domain: z.ZodOptional<z.ZodString>;
11
+ external_id: z.ZodOptional<z.ZodString>;
12
+ custom_field_filters: z.ZodOptional<z.ZodUnknown>;
13
+ }, z.core.$strip>;
14
+ declare const PylonMcpSearchAccountsOutput: z.ZodObject<{
15
+ count: z.ZodNullable<z.ZodNumber>;
16
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ accounts: z.ZodArray<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ channels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>;
25
+ has_next_page: z.ZodNullable<z.ZodBoolean>;
26
+ }, z.core.$loose>;
27
+ declare const pylonMcpSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ name?: string | undefined;
29
+ tags?: unknown;
30
+ limit?: number | undefined;
31
+ owner?: string | undefined;
32
+ cursor?: string | undefined;
33
+ domain?: string | undefined;
34
+ external_id?: string | undefined;
35
+ custom_field_filters?: unknown;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { pylonMcpSearchAccounts };
9
39
  //# sourceMappingURL=search-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-accounts.d.cts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAS1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAY3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-accounts.d.cts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-accounts.d.ts
4
- declare const PylonMcpSearchAccountsInput: z.ZodTypeAny;
5
- declare const PylonMcpSearchAccountsOutput: z.ZodTypeAny;
6
- declare const pylonMcpSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpSearchAccountsInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodUnknown>;
7
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ owner: z.ZodOptional<z.ZodString>;
9
+ cursor: z.ZodOptional<z.ZodString>;
10
+ domain: z.ZodOptional<z.ZodString>;
11
+ external_id: z.ZodOptional<z.ZodString>;
12
+ custom_field_filters: z.ZodOptional<z.ZodUnknown>;
13
+ }, z.core.$strip>;
14
+ declare const PylonMcpSearchAccountsOutput: z.ZodObject<{
15
+ count: z.ZodNullable<z.ZodNumber>;
16
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ accounts: z.ZodArray<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ channels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>;
25
+ has_next_page: z.ZodNullable<z.ZodBoolean>;
26
+ }, z.core.$loose>;
27
+ declare const pylonMcpSearchAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ name?: string | undefined;
29
+ tags?: unknown;
30
+ limit?: number | undefined;
31
+ owner?: string | undefined;
32
+ cursor?: string | undefined;
33
+ domain?: string | undefined;
34
+ external_id?: string | undefined;
35
+ custom_field_filters?: unknown;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { pylonMcpSearchAccounts };
9
39
  //# sourceMappingURL=search-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-accounts.d.mts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAS1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAY3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-accounts.d.mts","names":[],"sources":["../../src/actions/search-accounts.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc5B,sBAAA,gCAAsB,wBAAA"}
@@ -15,18 +15,18 @@ const pylonMcpSearchAccounts = action("PYLON_MCP_SEARCH_ACCOUNTS", {
15
15
  custom_field_filters: z.unknown().describe("Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.").optional()
16
16
  }),
17
17
  output: z.object({
18
- count: z.number().int().describe("The number of accounts returned."),
18
+ count: z.number().int().describe("The number of accounts returned.").nullable(),
19
19
  cursor: z.string().describe("Cursor for the next page. Pass this as the cursor input to get more results.").nullable().optional(),
20
20
  accounts: z.array(z.object({
21
- id: z.string().describe("The unique ID of the account."),
22
- name: z.string().describe("The name of the account."),
21
+ id: z.string().describe("The unique ID of the account.").nullable(),
22
+ name: z.string().describe("The name of the account.").nullable(),
23
23
  tags: z.array(z.string()).describe("Tags on the account.").nullable().optional(),
24
24
  domain: z.string().describe("The primary domain of the account.").nullable().optional(),
25
25
  channels: z.array(z.string()).describe("Linked channels in format source:channelId.").nullable().optional(),
26
26
  owner_id: z.string().describe("The owner user ID.").nullable().optional()
27
- })).describe("Lightweight account summaries. Use account://{id} resource for full details."),
28
- has_next_page: z.boolean().describe("Whether there are more results available.")
29
- })
27
+ }).passthrough()).describe("Lightweight account summaries. Use account://{id} resource for full details."),
28
+ has_next_page: z.boolean().describe("Whether there are more results available.").nullable()
29
+ }).passthrough()
30
30
  });
31
31
  //#endregion
32
32
  export { pylonMcpSearchAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"search-accounts.mjs","names":[],"sources":["../../src/actions/search-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchAccountsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by account name (partial match).\").optional(),\n tags: z.unknown().describe(\"Filter by tags. Returns accounts containing any of the specified tags.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of accounts to return (default 25, max 100).\").optional(),\n owner: z.string().describe(\"Filter by account owner. Accepts a user ID or name (partial match).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n domain: z.string().describe(\"Filter by domain (accounts containing this domain).\").optional(),\n external_id: z.string().describe(\"Filter by external ID.\").optional(),\n custom_field_filters: z.unknown().describe(\"Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.\").optional(),\n});\nexport const PylonMcpSearchAccountsOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"The number of accounts returned.\"),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n accounts: z.array(z.object({\n id: z.string().describe(\"The unique ID of the account.\"),\n name: z.string().describe(\"The name of the account.\"),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n})).describe(\"Lightweight account summaries. Use account://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\"),\n});\n\nexport const pylonMcpSearchAccounts = action(\"PYLON_MCP_SEARCH_ACCOUNTS\", {\n slug: \"pylon_mcp-search-accounts\",\n name: \"Search accounts\",\n description: \"Search for customer accounts in Pylon. Returns a lightweight summary of accounts matching the specified filters. Supports filtering by custom fields using the custom_field_filters parameter - pass the custom field slug as the field name. For user-type custom fields (e.g. Salesforce AE owner), you can pass a Pylon user name or user ID as the value. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full account details including custom fields, external IDs, and linked channels, use the account resource: account://{accountId}\",\n input: PylonMcpSearchAccountsInput,\n output: PylonMcpSearchAccountsOutput,\n});\n"],"mappings":";;AA4BA,MA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EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;EACzF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACjF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"search-accounts.mjs","names":[],"sources":["../../src/actions/search-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchAccountsInput = z.object({\n name: z.string().describe(\"Filter by account name (partial match).\").optional(),\n tags: z.unknown().describe(\"Filter by tags. Returns accounts containing any of the specified tags.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of accounts to return (default 25, max 100).\").optional(),\n owner: z.string().describe(\"Filter by account owner. Accepts a user ID or name (partial match).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n domain: z.string().describe(\"Filter by domain (accounts containing this domain).\").optional(),\n external_id: z.string().describe(\"Filter by external ID.\").optional(),\n custom_field_filters: z.unknown().describe(\"Filter by custom fields. Each filter specifies a custom field slug, operator, and value(s). For user-type fields, pass a Pylon user name or ID as the value - names will be resolved to Pylon user IDs automatically.\").optional(),\n});\nexport const PylonMcpSearchAccountsOutput = z.object({\n count: z.number().int().describe(\"The number of accounts returned.\").nullable(),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n accounts: z.array(z.object({\n id: z.string().describe(\"The unique ID of the account.\").nullable(),\n name: z.string().describe(\"The name of the account.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags on the account.\").nullable().optional(),\n domain: z.string().describe(\"The primary domain of the account.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Linked channels in format source:channelId.\").nullable().optional(),\n owner_id: z.string().describe(\"The owner user ID.\").nullable().optional(),\n}).passthrough()).describe(\"Lightweight account summaries. Use account://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpSearchAccounts = action(\"PYLON_MCP_SEARCH_ACCOUNTS\", {\n slug: \"pylon_mcp-search-accounts\",\n name: \"Search accounts\",\n description: \"Search for customer accounts in Pylon. Returns a lightweight summary of accounts matching the specified filters. Supports filtering by custom fields using the custom_field_filters parameter - pass the custom field slug as the field name. For user-type custom fields (e.g. Salesforce AE owner), you can pass a Pylon user name or user ID as the value. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full account details including custom fields, external IDs, and linked channels, use the account resource: account://{accountId}\",\n input: PylonMcpSearchAccountsInput,\n output: PylonMcpSearchAccountsOutput,\n});\n"],"mappings":";;AA4BA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5ByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACpE,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS;CAC/Q,CAmBS;CACP,QAnB0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,8EAA8E;EACvG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -14,23 +14,23 @@ const PylonMcpSearchIssuesInput = zod.z.object({
14
14
  created_before: zod.z.string().describe("Filter for issues created before this time (RFC3339 format).").optional()
15
15
  });
16
16
  const PylonMcpSearchIssuesOutput = zod.z.object({
17
- count: zod.z.number().int().describe("The number of issues returned."),
17
+ count: zod.z.number().int().describe("The number of issues returned.").nullable(),
18
18
  cursor: zod.z.string().describe("Cursor for the next page. Pass this as the cursor input to get more results.").nullable().optional(),
19
19
  issues: zod.z.array(zod.z.object({
20
- id: zod.z.string().describe("The unique ID of the issue."),
20
+ id: zod.z.string().describe("The unique ID of the issue.").nullable(),
21
21
  tags: zod.z.array(zod.z.string()).describe("Tags on the issue.").nullable().optional(),
22
- type: zod.z.string().describe("The type (Conversation or Ticket)."),
23
- state: zod.z.string().describe("The state of the issue."),
24
- title: zod.z.string().describe("The title of the issue."),
25
- number: zod.z.number().int().describe("The issue number."),
26
- source: zod.z.string().describe("The source of the issue."),
22
+ type: zod.z.string().describe("The type (Conversation or Ticket).").nullable(),
23
+ state: zod.z.string().describe("The state of the issue.").nullable(),
24
+ title: zod.z.string().describe("The title of the issue.").nullable(),
25
+ number: zod.z.number().int().describe("The issue number.").nullable(),
26
+ source: zod.z.string().describe("The source of the issue.").nullable(),
27
27
  account_id: zod.z.string().describe("The associated account ID.").nullable().optional(),
28
- created_at: zod.z.string().describe("When the issue was created."),
28
+ created_at: zod.z.string().describe("When the issue was created.").nullable(),
29
29
  assignee_id: zod.z.string().describe("The assigned user ID.").nullable().optional(),
30
30
  latest_message_time: zod.z.string().describe("Time of the latest message.").nullable().optional()
31
- })).describe("Lightweight issue summaries. Use issue://{id} resource for full details."),
32
- has_next_page: zod.z.boolean().describe("Whether there are more results available.")
33
- });
31
+ }).passthrough()).describe("Lightweight issue summaries. Use issue://{id} resource for full details."),
32
+ has_next_page: zod.z.boolean().describe("Whether there are more results available.").nullable()
33
+ }).passthrough();
34
34
  const pylonMcpSearchIssues = require_action.action("PYLON_MCP_SEARCH_ISSUES", {
35
35
  slug: "pylon_mcp-search-issues",
36
36
  name: "Search issues",
@@ -1 +1 @@
1
- {"version":3,"file":"search-issues.cjs","names":["z","action"],"sources":["../../src/actions/search-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchIssuesInput: z.ZodTypeAny = z.object({\n tags: z.unknown().describe(\"Filter by tags. Returns issues containing any of the specified tags.\").optional(),\n type: z.enum([\"conversation\", \"ticket\"]).describe(\"Filter by issue type.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of issues to return (default 25, max 100).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n states: z.unknown().describe(\"Filter by issue states.\").optional(),\n account: z.string().describe(\"Filter by account. Accepts either an account ID or a name (partial match).\").optional(),\n assignee: z.string().describe(\"Filter by assignee. Accepts either a user ID or a name (partial match).\").optional(),\n requester: z.string().describe(\"Filter by requester. Accepts either a contact ID or a name (partial match).\").optional(),\n created_after: z.string().describe(\"Filter for issues created after this time (RFC3339 format).\").optional(),\n created_before: z.string().describe(\"Filter for issues created before this time (RFC3339 format).\").optional(),\n});\nexport const PylonMcpSearchIssuesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"The number of issues returned.\"),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n issues: z.array(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(\"Lightweight issue summaries. Use issue://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\"),\n});\n\nexport const pylonMcpSearchIssues = action(\"PYLON_MCP_SEARCH_ISSUES\", {\n slug: \"pylon_mcp-search-issues\",\n name: \"Search issues\",\n description: \"Search for issues/tickets in Pylon. Returns a lightweight summary of issues matching the specified filters. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full issue details including body, custom fields, and nested account/assignee/requester info, use the issue resource: issue://{issueId}\",\n input: PylonMcpSearchIssuesInput,\n output: PylonMcpSearchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC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\"zod\";\n\nimport { action } from \"../action\";\n\nexport const PylonMcpSearchIssuesInput = z.object({\n tags: z.unknown().describe(\"Filter by tags. Returns issues containing any of the specified tags.\").optional(),\n type: z.enum([\"conversation\", \"ticket\"]).describe(\"Filter by issue type.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum number of issues to return (default 25, max 100).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from a previous response to get the next page.\").optional(),\n states: z.unknown().describe(\"Filter by issue states.\").optional(),\n account: z.string().describe(\"Filter by account. Accepts either an account ID or a name (partial match).\").optional(),\n assignee: z.string().describe(\"Filter by assignee. Accepts either a user ID or a name (partial match).\").optional(),\n requester: z.string().describe(\"Filter by requester. Accepts either a contact ID or a name (partial match).\").optional(),\n created_after: z.string().describe(\"Filter for issues created after this time (RFC3339 format).\").optional(),\n created_before: z.string().describe(\"Filter for issues created before this time (RFC3339 format).\").optional(),\n});\nexport const PylonMcpSearchIssuesOutput = z.object({\n count: z.number().int().describe(\"The number of issues returned.\").nullable(),\n cursor: z.string().describe(\"Cursor for the next page. Pass this as the cursor input to get more results.\").nullable().optional(),\n issues: z.array(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(\"Lightweight issue summaries. Use issue://{id} resource for full details.\"),\n has_next_page: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n}).passthrough();\n\nexport const pylonMcpSearchIssues = action(\"PYLON_MCP_SEARCH_ISSUES\", {\n slug: \"pylon_mcp-search-issues\",\n name: \"Search issues\",\n description: \"Search for issues/tickets in Pylon. Returns a lightweight summary of issues matching the specified filters. Supports cursor-based pagination - use the returned cursor to fetch additional pages. To get full issue details including body, custom fields, and nested account/assignee/requester info, use the issue resource: issue://{issueId}\",\n input: PylonMcpSearchIssuesInput,\n output: PylonMcpSearchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,O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,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,0EAA0E;CACnG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-issues.d.ts
4
- declare const PylonMcpSearchIssuesInput: z.ZodTypeAny;
5
- declare const PylonMcpSearchIssuesOutput: z.ZodTypeAny;
6
- declare const pylonMcpSearchIssues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PylonMcpSearchIssuesInput: z.ZodObject<{
5
+ tags: z.ZodOptional<z.ZodUnknown>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ conversation: "conversation";
8
+ ticket: "ticket";
9
+ }>>;
10
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
11
+ cursor: z.ZodOptional<z.ZodString>;
12
+ states: z.ZodOptional<z.ZodUnknown>;
13
+ account: z.ZodOptional<z.ZodString>;
14
+ assignee: z.ZodOptional<z.ZodString>;
15
+ requester: z.ZodOptional<z.ZodString>;
16
+ created_after: z.ZodOptional<z.ZodString>;
17
+ created_before: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const PylonMcpSearchIssuesOutput: z.ZodObject<{
20
+ count: z.ZodNullable<z.ZodNumber>;
21
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ issues: z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ type: z.ZodNullable<z.ZodString>;
26
+ state: z.ZodNullable<z.ZodString>;
27
+ title: z.ZodNullable<z.ZodString>;
28
+ number: z.ZodNullable<z.ZodNumber>;
29
+ source: z.ZodNullable<z.ZodString>;
30
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ created_at: z.ZodNullable<z.ZodString>;
32
+ assignee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ latest_message_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>;
35
+ has_next_page: z.ZodNullable<z.ZodBoolean>;
36
+ }, z.core.$loose>;
37
+ declare const pylonMcpSearchIssues: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ tags?: unknown;
39
+ type?: "conversation" | "ticket" | undefined;
40
+ limit?: number | undefined;
41
+ cursor?: string | undefined;
42
+ states?: unknown;
43
+ account?: string | undefined;
44
+ assignee?: string | undefined;
45
+ requester?: string | undefined;
46
+ created_after?: string | undefined;
47
+ created_before?: string | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { pylonMcpSearchIssues };
9
51
  //# sourceMappingURL=search-issues.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-issues.d.cts","names":[],"sources":["../../src/actions/search-issues.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAWxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAiBzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-issues.d.cts","names":[],"sources":["../../src/actions/search-issues.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmB1B,oBAAA,gCAAoB,wBAAA"}