@keystrokehq/sendlane 0.1.0

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 (82) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-campaigns.cjs +48 -0
  7. package/dist/actions/get-campaigns.cjs.map +1 -0
  8. package/dist/actions/get-campaigns.d.cts +9 -0
  9. package/dist/actions/get-campaigns.d.cts.map +1 -0
  10. package/dist/actions/get-campaigns.d.mts +9 -0
  11. package/dist/actions/get-campaigns.d.mts.map +1 -0
  12. package/dist/actions/get-campaigns.mjs +47 -0
  13. package/dist/actions/get-campaigns.mjs.map +1 -0
  14. package/dist/actions/get-custom-fields.cjs +27 -0
  15. package/dist/actions/get-custom-fields.cjs.map +1 -0
  16. package/dist/actions/get-custom-fields.d.cts +9 -0
  17. package/dist/actions/get-custom-fields.d.cts.map +1 -0
  18. package/dist/actions/get-custom-fields.d.mts +9 -0
  19. package/dist/actions/get-custom-fields.d.mts.map +1 -0
  20. package/dist/actions/get-custom-fields.mjs +26 -0
  21. package/dist/actions/get-custom-fields.mjs.map +1 -0
  22. package/dist/actions/get-lists.cjs +45 -0
  23. package/dist/actions/get-lists.cjs.map +1 -0
  24. package/dist/actions/get-lists.d.cts +9 -0
  25. package/dist/actions/get-lists.d.cts.map +1 -0
  26. package/dist/actions/get-lists.d.mts +9 -0
  27. package/dist/actions/get-lists.d.mts.map +1 -0
  28. package/dist/actions/get-lists.mjs +44 -0
  29. package/dist/actions/get-lists.mjs.map +1 -0
  30. package/dist/actions/index.cjs +13 -0
  31. package/dist/actions/index.d.cts +7 -0
  32. package/dist/actions/index.d.mts +7 -0
  33. package/dist/actions/index.mjs +7 -0
  34. package/dist/actions/list-delete.cjs +16 -0
  35. package/dist/actions/list-delete.cjs.map +1 -0
  36. package/dist/actions/list-delete.d.cts +9 -0
  37. package/dist/actions/list-delete.d.cts.map +1 -0
  38. package/dist/actions/list-delete.d.mts +9 -0
  39. package/dist/actions/list-delete.d.mts.map +1 -0
  40. package/dist/actions/list-delete.mjs +13 -0
  41. package/dist/actions/list-delete.mjs.map +1 -0
  42. package/dist/actions/post-list.cjs +24 -0
  43. package/dist/actions/post-list.cjs.map +1 -0
  44. package/dist/actions/post-list.d.cts +9 -0
  45. package/dist/actions/post-list.d.cts.map +1 -0
  46. package/dist/actions/post-list.d.mts +9 -0
  47. package/dist/actions/post-list.d.mts.map +1 -0
  48. package/dist/actions/post-list.mjs +23 -0
  49. package/dist/actions/post-list.mjs.map +1 -0
  50. package/dist/actions/tag-create.cjs +22 -0
  51. package/dist/actions/tag-create.cjs.map +1 -0
  52. package/dist/actions/tag-create.d.cts +9 -0
  53. package/dist/actions/tag-create.d.cts.map +1 -0
  54. package/dist/actions/tag-create.d.mts +9 -0
  55. package/dist/actions/tag-create.d.mts.map +1 -0
  56. package/dist/actions/tag-create.mjs +21 -0
  57. package/dist/actions/tag-create.mjs.map +1 -0
  58. package/dist/app.cjs +9 -0
  59. package/dist/app.cjs.map +1 -0
  60. package/dist/app.d.cts +5 -0
  61. package/dist/app.d.cts.map +1 -0
  62. package/dist/app.d.mts +5 -0
  63. package/dist/app.d.mts.map +1 -0
  64. package/dist/app.mjs +10 -0
  65. package/dist/app.mjs.map +1 -0
  66. package/dist/catalog.cjs +15 -0
  67. package/dist/catalog.cjs.map +1 -0
  68. package/dist/catalog.d.cts +14 -0
  69. package/dist/catalog.d.cts.map +1 -0
  70. package/dist/catalog.d.mts +14 -0
  71. package/dist/catalog.d.mts.map +1 -0
  72. package/dist/catalog.mjs +15 -0
  73. package/dist/catalog.mjs.map +1 -0
  74. package/dist/execute.cjs +18 -0
  75. package/dist/execute.cjs.map +1 -0
  76. package/dist/execute.mjs +18 -0
  77. package/dist/execute.mjs.map +1 -0
  78. package/dist/index.cjs +18 -0
  79. package/dist/index.d.cts +9 -0
  80. package/dist/index.d.mts +9 -0
  81. package/dist/index.mjs +10 -0
  82. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/sendlane
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `sendlane`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 6
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { sendlaneGetCampaigns } from "@keystrokehq/sendlane/actions";
12
+
13
+ export default defineAgent({
14
+ key: "sendlane-agent",
15
+ tools: [sendlaneGetCampaigns],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.sendlane.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeSendlaneTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["sendlane","executeSendlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } 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 sendlane.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 executeSendlaneTool(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"}
@@ -0,0 +1,21 @@
1
+ import { sendlane } from "./app.mjs";
2
+ import { executeSendlaneTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return sendlane.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeSendlaneTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } 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 sendlane.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 executeSendlaneTool(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"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-campaigns.ts
4
+ const SendlaneGetCampaignsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number for paginated results (default is 1)").optional(),
6
+ per_page: zod.z.number().int().describe("Number of campaigns per page (default is 100)").optional()
7
+ }).describe("Request model for retrieving email campaigns with optional pagination.");
8
+ const SendlaneGetCampaigns_CampaignSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Unique campaign identifier"),
10
+ name: zod.z.string().describe("Name of the campaign"),
11
+ status: zod.z.string().describe("Status of the campaign (e.g., 'Draft', 'Sent')").nullable().optional(),
12
+ sent_at: zod.z.string().describe("Actual send time").nullable().optional(),
13
+ automation: zod.z.string().describe("Associated automation").nullable().optional(),
14
+ created_at: zod.z.string().describe("Timestamp when the campaign was created"),
15
+ updated_at: zod.z.string().describe("Timestamp when the campaign was last updated"),
16
+ scheduled_at: zod.z.string().describe("Scheduled send time").nullable().optional()
17
+ }).describe("Represents an email campaign in Sendlane.");
18
+ const SendlaneGetCampaigns_PaginationMetaSchema = zod.z.object({
19
+ to: zod.z.number().int().describe("Ending index of results on this page").nullable().optional(),
20
+ from: zod.z.number().int().describe("Starting index of results on this page").nullable().optional(),
21
+ path: zod.z.string().describe("Base path for pagination URLs"),
22
+ total: zod.z.number().int().describe("Total number of campaigns available"),
23
+ per_page: zod.z.number().int().describe("Number of items per page"),
24
+ last_page: zod.z.number().int().describe("Total number of pages available"),
25
+ current_page: zod.z.number().int().describe("Current page number")
26
+ }).describe("Metadata about pagination state and totals.");
27
+ const SendlaneGetCampaigns_PaginationLinksSchema = zod.z.object({
28
+ last: zod.z.string().describe("URL to the last page").nullable().optional(),
29
+ next: zod.z.string().describe("URL to the next page").nullable().optional(),
30
+ prev: zod.z.string().describe("URL to the previous page").nullable().optional(),
31
+ first: zod.z.string().describe("URL to the first page").nullable().optional()
32
+ }).describe("Pagination links for navigating through campaign pages.");
33
+ const SendlaneGetCampaignsOutput = zod.z.object({
34
+ data: zod.z.array(SendlaneGetCampaigns_CampaignSchema).describe("Array of campaign objects"),
35
+ meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),
36
+ links: SendlaneGetCampaigns_PaginationLinksSchema.nullable()
37
+ }).describe("Response model for retrieving campaigns list with pagination metadata.");
38
+ const sendlaneGetCampaigns = require_action.action("SENDLANE_GET_CAMPAIGNS", {
39
+ slug: "sendlane-get-campaigns",
40
+ name: "Get Campaigns",
41
+ description: "Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.",
42
+ input: SendlaneGetCampaignsInput,
43
+ output: SendlaneGetCampaignsOutput
44
+ });
45
+ //#endregion
46
+ exports.sendlaneGetCampaigns = sendlaneGetCampaigns;
47
+
48
+ //# sourceMappingURL=get-campaigns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCampaignsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\"),\n name: z.string().describe(\"Name of the campaign\"),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\"),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\"),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\"),\n total: z.number().int().describe(\"Total number of campaigns available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n last_page: z.number().int().describe(\"Total number of pages available\"),\n current_page: z.number().int().describe(\"Current page number\"),\n}).describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput,\n output: SendlaneGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC/D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;CACvF,MAAM,0CAA0C,SAAS;CACzD,OAAO,2CAA2C,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-campaigns.d.ts
4
+ declare const SendlaneGetCampaignsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetCampaigns };
9
+ //# sourceMappingURL=get-campaigns.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG2C;AAAA,cA0BxE,0BAAA,EAA4B,CAAA,CAAE,UAI0C;AAAA,cAExE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-campaigns.d.ts
4
+ declare const SendlaneGetCampaignsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetCampaigns };
9
+ //# sourceMappingURL=get-campaigns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG2C;AAAA,cA0BxE,0BAAA,EAA4B,CAAA,CAAE,UAI0C;AAAA,cAExE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-campaigns.ts
4
+ const SendlaneGetCampaignsInput = z.object({
5
+ page: z.number().int().describe("Page number for paginated results (default is 1)").optional(),
6
+ per_page: z.number().int().describe("Number of campaigns per page (default is 100)").optional()
7
+ }).describe("Request model for retrieving email campaigns with optional pagination.");
8
+ const SendlaneGetCampaigns_CampaignSchema = z.object({
9
+ id: z.number().int().describe("Unique campaign identifier"),
10
+ name: z.string().describe("Name of the campaign"),
11
+ status: z.string().describe("Status of the campaign (e.g., 'Draft', 'Sent')").nullable().optional(),
12
+ sent_at: z.string().describe("Actual send time").nullable().optional(),
13
+ automation: z.string().describe("Associated automation").nullable().optional(),
14
+ created_at: z.string().describe("Timestamp when the campaign was created"),
15
+ updated_at: z.string().describe("Timestamp when the campaign was last updated"),
16
+ scheduled_at: z.string().describe("Scheduled send time").nullable().optional()
17
+ }).describe("Represents an email campaign in Sendlane.");
18
+ const SendlaneGetCampaigns_PaginationMetaSchema = z.object({
19
+ to: z.number().int().describe("Ending index of results on this page").nullable().optional(),
20
+ from: z.number().int().describe("Starting index of results on this page").nullable().optional(),
21
+ path: z.string().describe("Base path for pagination URLs"),
22
+ total: z.number().int().describe("Total number of campaigns available"),
23
+ per_page: z.number().int().describe("Number of items per page"),
24
+ last_page: z.number().int().describe("Total number of pages available"),
25
+ current_page: z.number().int().describe("Current page number")
26
+ }).describe("Metadata about pagination state and totals.");
27
+ const SendlaneGetCampaigns_PaginationLinksSchema = z.object({
28
+ last: z.string().describe("URL to the last page").nullable().optional(),
29
+ next: z.string().describe("URL to the next page").nullable().optional(),
30
+ prev: z.string().describe("URL to the previous page").nullable().optional(),
31
+ first: z.string().describe("URL to the first page").nullable().optional()
32
+ }).describe("Pagination links for navigating through campaign pages.");
33
+ const sendlaneGetCampaigns = action("SENDLANE_GET_CAMPAIGNS", {
34
+ slug: "sendlane-get-campaigns",
35
+ name: "Get Campaigns",
36
+ description: "Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.",
37
+ input: SendlaneGetCampaignsInput,
38
+ output: z.object({
39
+ data: z.array(SendlaneGetCampaigns_CampaignSchema).describe("Array of campaign objects"),
40
+ meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),
41
+ links: SendlaneGetCampaigns_PaginationLinksSchema.nullable()
42
+ }).describe("Response model for retrieving campaigns list with pagination metadata.")
43
+ });
44
+ //#endregion
45
+ export { sendlaneGetCampaigns };
46
+
47
+ //# sourceMappingURL=get-campaigns.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCampaignsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\"),\n name: z.string().describe(\"Name of the campaign\"),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\"),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\"),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\"),\n total: z.number().int().describe(\"Total number of campaigns available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n last_page: z.number().int().describe(\"Total number of pages available\"),\n current_page: z.number().int().describe(\"Current page number\"),\n}).describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput,\n output: SendlaneGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC/D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAOrE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;EACvF,MAAM,0CAA0C,SAAS;EACzD,OAAO,2CAA2C,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-custom-fields.ts
4
+ const SendlaneGetCustomFieldsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number for pagination. If not specified, defaults to page 1").optional(),
6
+ per_page: zod.z.number().int().describe("Number of results per page. If not specified, the API uses its default limit").optional()
7
+ }).describe("Request model for retrieving custom fields.");
8
+ const SendlaneGetCustomFields_CustomFieldSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Custom field ID"),
10
+ tag: zod.z.string().describe("Tag used for the custom field"),
11
+ name: zod.z.string().describe("Name of the custom field"),
12
+ created_at: zod.z.string().describe("Creation datetime"),
13
+ field_type: zod.z.string().describe("Type of the custom field"),
14
+ updated_at: zod.z.string().describe("Last update datetime")
15
+ }).describe("Represents a custom field in Sendlane.");
16
+ const SendlaneGetCustomFieldsOutput = zod.z.object({ data: zod.z.array(SendlaneGetCustomFields_CustomFieldSchema).describe("List of custom field objects") }).describe("Response model for retrieving custom fields.");
17
+ const sendlaneGetCustomFields = require_action.action("SENDLANE_GET_CUSTOM_FIELDS", {
18
+ slug: "sendlane-get-custom-fields",
19
+ name: "Get Custom Fields",
20
+ description: "Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.",
21
+ input: SendlaneGetCustomFieldsInput,
22
+ output: SendlaneGetCustomFieldsOutput
23
+ });
24
+ //#endregion
25
+ exports.sendlaneGetCustomFields = sendlaneGetCustomFields;
26
+
27
+ //# sourceMappingURL=get-custom-fields.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCustomFieldsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Custom field ID\"),\n tag: z.string().describe(\"Tag used for the custom field\"),\n name: z.string().describe(\"Name of the custom field\"),\n created_at: z.string().describe(\"Creation datetime\"),\n field_type: z.string().describe(\"Type of the custom field\"),\n updated_at: z.string().describe(\"Last update datetime\"),\n}).describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: SendlaneGetCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACxD,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-custom-fields.d.ts
4
+ declare const SendlaneGetCustomFieldsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetCustomFieldsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetCustomFields };
9
+ //# sourceMappingURL=get-custom-fields.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGa;AAAA,cAS7C,6BAAA,EAA+B,CAAA,CAAE,UAEa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-custom-fields.d.ts
4
+ declare const SendlaneGetCustomFieldsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetCustomFieldsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetCustomFields };
9
+ //# sourceMappingURL=get-custom-fields.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGa;AAAA,cAS7C,6BAAA,EAA+B,CAAA,CAAE,UAEa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-custom-fields.ts
4
+ const SendlaneGetCustomFieldsInput = z.object({
5
+ page: z.number().int().describe("Page number for pagination. If not specified, defaults to page 1").optional(),
6
+ per_page: z.number().int().describe("Number of results per page. If not specified, the API uses its default limit").optional()
7
+ }).describe("Request model for retrieving custom fields.");
8
+ const SendlaneGetCustomFields_CustomFieldSchema = z.object({
9
+ id: z.number().int().describe("Custom field ID"),
10
+ tag: z.string().describe("Tag used for the custom field"),
11
+ name: z.string().describe("Name of the custom field"),
12
+ created_at: z.string().describe("Creation datetime"),
13
+ field_type: z.string().describe("Type of the custom field"),
14
+ updated_at: z.string().describe("Last update datetime")
15
+ }).describe("Represents a custom field in Sendlane.");
16
+ const sendlaneGetCustomFields = action("SENDLANE_GET_CUSTOM_FIELDS", {
17
+ slug: "sendlane-get-custom-fields",
18
+ name: "Get Custom Fields",
19
+ description: "Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.",
20
+ input: SendlaneGetCustomFieldsInput,
21
+ output: z.object({ data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe("List of custom field objects") }).describe("Response model for retrieving custom fields.")
22
+ });
23
+ //#endregion
24
+ export { sendlaneGetCustomFields };
25
+
26
+ //# sourceMappingURL=get-custom-fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCustomFieldsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Custom field ID\"),\n tag: z.string().describe(\"Tag used for the custom field\"),\n name: z.string().describe(\"Name of the custom field\"),\n created_at: z.string().describe(\"Creation datetime\"),\n field_type: z.string().describe(\"Type of the custom field\"),\n updated_at: z.string().describe(\"Last update datetime\"),\n}).describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: SendlaneGetCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACxD,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,45 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-lists.ts
4
+ const SendlaneGetListsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number for paginated results (default is 1)").optional(),
6
+ per_page: zod.z.number().int().describe("Number of lists per page (default is 1000)").optional()
7
+ }).describe("Request model for retrieving all mailing lists. Supports optional pagination.");
8
+ const SendlaneGetLists_ListItemSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Unique list identifier"),
10
+ name: zod.z.string().describe("Name of the contact list"),
11
+ status: zod.z.string().describe("List status (e.g., Active)").nullable().optional(),
12
+ flagged: zod.z.boolean().describe("Whether the list is flagged").nullable().optional(),
13
+ created_at: zod.z.string().describe("Timestamp when the list was created"),
14
+ description: zod.z.string().describe("List description").nullable().optional()
15
+ }).describe("Represents a single mailing list in Sendlane.");
16
+ const SendlaneGetLists_PaginationMetaSchema = zod.z.object({
17
+ to: zod.z.number().int().describe("Index of last item on current page").nullable().optional(),
18
+ from: zod.z.number().int().describe("Index of first item on current page").nullable().optional(),
19
+ total: zod.z.number().int().describe("Total number of lists available"),
20
+ per_page: zod.z.number().int().describe("Number of items per page"),
21
+ last_page: zod.z.number().int().describe("Last page number"),
22
+ current_page: zod.z.number().int().describe("Current page number")
23
+ }).describe("Pagination metadata for the current result set.");
24
+ const SendlaneGetLists_PaginationLinksSchema = zod.z.object({
25
+ last: zod.z.string().describe("URL for the last page").nullable().optional(),
26
+ next: zod.z.string().describe("URL for the next page").nullable().optional(),
27
+ prev: zod.z.string().describe("URL for the previous page").nullable().optional(),
28
+ first: zod.z.string().describe("URL for the first page").nullable().optional()
29
+ }).describe("Pagination links for navigating through results.");
30
+ const SendlaneGetListsOutput = zod.z.object({
31
+ data: zod.z.array(SendlaneGetLists_ListItemSchema).describe("Array of mailing list objects"),
32
+ meta: SendlaneGetLists_PaginationMetaSchema.nullable(),
33
+ links: SendlaneGetLists_PaginationLinksSchema.nullable()
34
+ }).describe("Response model for retrieving all mailing lists.");
35
+ const sendlaneGetLists = require_action.action("SENDLANE_GET_LISTS", {
36
+ slug: "sendlane-get-lists",
37
+ name: "Get Lists",
38
+ description: "Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.",
39
+ input: SendlaneGetListsInput,
40
+ output: SendlaneGetListsOutput
41
+ });
42
+ //#endregion
43
+ exports.sendlaneGetLists = sendlaneGetLists;
44
+
45
+ //# sourceMappingURL=get-lists.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetListsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique list identifier\"),\n name: z.string().describe(\"Name of the contact list\"),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\"),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n last_page: z.number().int().describe(\"Last page number\"),\n current_page: z.number().int().describe(\"Current page number\"),\n}).describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACvD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC/D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;CACvF,MAAM,sCAAsC,SAAS;CACrD,OAAO,uCAAuC,SAAS;AACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-lists.d.ts
4
+ declare const SendlaneGetListsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetListsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetLists };
9
+ //# sourceMappingURL=get-lists.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGsD;AAAA,cAuB/E,sBAAA,EAAwB,CAAA,CAAE,UAIwB;AAAA,cAElD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-lists.d.ts
4
+ declare const SendlaneGetListsInput: z.ZodTypeAny;
5
+ declare const SendlaneGetListsOutput: z.ZodTypeAny;
6
+ declare const sendlaneGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneGetLists };
9
+ //# sourceMappingURL=get-lists.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGsD;AAAA,cAuB/E,sBAAA,EAAwB,CAAA,CAAE,UAIwB;AAAA,cAElD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,44 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-lists.ts
4
+ const SendlaneGetListsInput = z.object({
5
+ page: z.number().int().describe("Page number for paginated results (default is 1)").optional(),
6
+ per_page: z.number().int().describe("Number of lists per page (default is 1000)").optional()
7
+ }).describe("Request model for retrieving all mailing lists. Supports optional pagination.");
8
+ const SendlaneGetLists_ListItemSchema = z.object({
9
+ id: z.number().int().describe("Unique list identifier"),
10
+ name: z.string().describe("Name of the contact list"),
11
+ status: z.string().describe("List status (e.g., Active)").nullable().optional(),
12
+ flagged: z.boolean().describe("Whether the list is flagged").nullable().optional(),
13
+ created_at: z.string().describe("Timestamp when the list was created"),
14
+ description: z.string().describe("List description").nullable().optional()
15
+ }).describe("Represents a single mailing list in Sendlane.");
16
+ const SendlaneGetLists_PaginationMetaSchema = z.object({
17
+ to: z.number().int().describe("Index of last item on current page").nullable().optional(),
18
+ from: z.number().int().describe("Index of first item on current page").nullable().optional(),
19
+ total: z.number().int().describe("Total number of lists available"),
20
+ per_page: z.number().int().describe("Number of items per page"),
21
+ last_page: z.number().int().describe("Last page number"),
22
+ current_page: z.number().int().describe("Current page number")
23
+ }).describe("Pagination metadata for the current result set.");
24
+ const SendlaneGetLists_PaginationLinksSchema = z.object({
25
+ last: z.string().describe("URL for the last page").nullable().optional(),
26
+ next: z.string().describe("URL for the next page").nullable().optional(),
27
+ prev: z.string().describe("URL for the previous page").nullable().optional(),
28
+ first: z.string().describe("URL for the first page").nullable().optional()
29
+ }).describe("Pagination links for navigating through results.");
30
+ const sendlaneGetLists = action("SENDLANE_GET_LISTS", {
31
+ slug: "sendlane-get-lists",
32
+ name: "Get Lists",
33
+ description: "Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.",
34
+ input: SendlaneGetListsInput,
35
+ output: z.object({
36
+ data: z.array(SendlaneGetLists_ListItemSchema).describe("Array of mailing list objects"),
37
+ meta: SendlaneGetLists_PaginationMetaSchema.nullable(),
38
+ links: SendlaneGetLists_PaginationLinksSchema.nullable()
39
+ }).describe("Response model for retrieving all mailing lists.")
40
+ });
41
+ //#endregion
42
+ export { sendlaneGetLists };
43
+
44
+ //# sourceMappingURL=get-lists.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetListsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique list identifier\"),\n name: z.string().describe(\"Name of the contact list\"),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\"),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n last_page: z.number().int().describe(\"Last page number\"),\n current_page: z.number().int().describe(\"Current page number\"),\n}).describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACvD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC/D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAO9D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;EACvF,MAAM,sCAAsC,SAAS;EACrD,OAAO,uCAAuC,SAAS;CACzD,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_campaigns = require("./get-campaigns.cjs");
3
+ const require_get_custom_fields = require("./get-custom-fields.cjs");
4
+ const require_get_lists = require("./get-lists.cjs");
5
+ const require_list_delete = require("./list-delete.cjs");
6
+ const require_post_list = require("./post-list.cjs");
7
+ const require_tag_create = require("./tag-create.cjs");
8
+ exports.sendlaneGetCampaigns = require_get_campaigns.sendlaneGetCampaigns;
9
+ exports.sendlaneGetCustomFields = require_get_custom_fields.sendlaneGetCustomFields;
10
+ exports.sendlaneGetLists = require_get_lists.sendlaneGetLists;
11
+ exports.sendlaneListDelete = require_list_delete.sendlaneListDelete;
12
+ exports.sendlanePostList = require_post_list.sendlanePostList;
13
+ exports.sendlaneTagCreate = require_tag_create.sendlaneTagCreate;
@@ -0,0 +1,7 @@
1
+ import { sendlaneGetCampaigns } from "./get-campaigns.cjs";
2
+ import { sendlaneGetCustomFields } from "./get-custom-fields.cjs";
3
+ import { sendlaneGetLists } from "./get-lists.cjs";
4
+ import { sendlaneListDelete } from "./list-delete.cjs";
5
+ import { sendlanePostList } from "./post-list.cjs";
6
+ import { sendlaneTagCreate } from "./tag-create.cjs";
7
+ export { sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
@@ -0,0 +1,7 @@
1
+ import { sendlaneGetCampaigns } from "./get-campaigns.mjs";
2
+ import { sendlaneGetCustomFields } from "./get-custom-fields.mjs";
3
+ import { sendlaneGetLists } from "./get-lists.mjs";
4
+ import { sendlaneListDelete } from "./list-delete.mjs";
5
+ import { sendlanePostList } from "./post-list.mjs";
6
+ import { sendlaneTagCreate } from "./tag-create.mjs";
7
+ export { sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
@@ -0,0 +1,7 @@
1
+ import { sendlaneGetCampaigns } from "./get-campaigns.mjs";
2
+ import { sendlaneGetCustomFields } from "./get-custom-fields.mjs";
3
+ import { sendlaneGetLists } from "./get-lists.mjs";
4
+ import { sendlaneListDelete } from "./list-delete.mjs";
5
+ import { sendlanePostList } from "./post-list.mjs";
6
+ import { sendlaneTagCreate } from "./tag-create.mjs";
7
+ export { sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-delete.ts
4
+ const SendlaneListDeleteInput = zod.z.object({ list_id: zod.z.number().int().describe("ID of the mailing list to delete.") }).describe("Request schema for deleting a list.");
5
+ const SendlaneListDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response schema for delete list operation.");
6
+ const sendlaneListDelete = require_action.action("SENDLANE_LIST_DELETE", {
7
+ slug: "sendlane-list-delete",
8
+ name: "Delete List",
9
+ description: "Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.",
10
+ input: SendlaneListDeleteInput,
11
+ output: SendlaneListDeleteOutput
12
+ });
13
+ //#endregion
14
+ exports.sendlaneListDelete = sendlaneListDelete;
15
+
16
+ //# sourceMappingURL=list-delete.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-delete.cjs","names":["z","action"],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneListDeleteInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-delete.d.ts
4
+ declare const SendlaneListDeleteInput: z.ZodTypeAny;
5
+ declare const SendlaneListDeleteOutput: z.ZodTypeAny;
6
+ declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneListDelete };
9
+ //# sourceMappingURL=list-delete.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-delete.d.cts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEU;AAAA,cACrC,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-delete.d.ts
4
+ declare const SendlaneListDeleteInput: z.ZodTypeAny;
5
+ declare const SendlaneListDeleteOutput: z.ZodTypeAny;
6
+ declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneListDelete };
9
+ //# sourceMappingURL=list-delete.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-delete.d.mts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEU;AAAA,cACrC,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendlaneListDelete = action("SENDLANE_LIST_DELETE", {
4
+ slug: "sendlane-list-delete",
5
+ name: "Delete List",
6
+ description: "Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.",
7
+ input: z.object({ list_id: z.number().int().describe("ID of the mailing list to delete.") }).describe("Request schema for deleting a list."),
8
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response schema for delete list operation.")
9
+ });
10
+ //#endregion
11
+ export { sendlaneListDelete };
12
+
13
+ //# sourceMappingURL=list-delete.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-delete.mjs","names":[],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneListDeleteInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/post-list.ts
4
+ const SendlanePostListInput = zod.z.object({ name: zod.z.string().describe("The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').") }).describe("Request schema for creating a new list.");
5
+ const SendlanePostList_PostListResponseDataSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Unique identifier of the new list."),
7
+ name: zod.z.string().describe("Name of the list."),
8
+ status: zod.z.string().describe("List status (e.g., Active).").nullable().optional(),
9
+ flagged: zod.z.boolean().describe("Whether the list is flagged.").nullable().optional(),
10
+ created_at: zod.z.string().describe("Timestamp of creation."),
11
+ description: zod.z.string().describe("List description.").nullable().optional()
12
+ }).describe("Details of the created list.");
13
+ const SendlanePostListOutput = zod.z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).describe("Response schema for creating a list.");
14
+ const sendlanePostList = require_action.action("SENDLANE_POST_LIST", {
15
+ slug: "sendlane-post-list",
16
+ name: "Create List",
17
+ description: "Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.",
18
+ input: SendlanePostListInput,
19
+ output: SendlanePostListOutput
20
+ });
21
+ //#endregion
22
+ exports.sendlanePostList = sendlanePostList;
23
+
24
+ //# sourceMappingURL=post-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-list.cjs","names":["z","action"],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlanePostListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\"),\n name: z.string().describe(\"Name of the list.\"),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\"),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).describe(\"Details of the created list.\");\nexport const SendlanePostListOutput: z.ZodTypeAny = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/post-list.d.ts
4
+ declare const SendlanePostListInput: z.ZodTypeAny;
5
+ declare const SendlanePostListOutput: z.ZodTypeAny;
6
+ declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlanePostList };
9
+ //# sourceMappingURL=post-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-list.d.cts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEgB;AAAA,cASzC,sBAAA,EAAwB,CAAA,CAAE,UAEY;AAAA,cAEtC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/post-list.d.ts
4
+ declare const SendlanePostListInput: z.ZodTypeAny;
5
+ declare const SendlanePostListOutput: z.ZodTypeAny;
6
+ declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlanePostList };
9
+ //# sourceMappingURL=post-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-list.d.mts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEgB;AAAA,cASzC,sBAAA,EAAwB,CAAA,CAAE,UAEY;AAAA,cAEtC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/post-list.ts
4
+ const SendlanePostListInput = z.object({ name: z.string().describe("The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').") }).describe("Request schema for creating a new list.");
5
+ const SendlanePostList_PostListResponseDataSchema = z.object({
6
+ id: z.number().int().describe("Unique identifier of the new list."),
7
+ name: z.string().describe("Name of the list."),
8
+ status: z.string().describe("List status (e.g., Active).").nullable().optional(),
9
+ flagged: z.boolean().describe("Whether the list is flagged.").nullable().optional(),
10
+ created_at: z.string().describe("Timestamp of creation."),
11
+ description: z.string().describe("List description.").nullable().optional()
12
+ }).describe("Details of the created list.");
13
+ const sendlanePostList = action("SENDLANE_POST_LIST", {
14
+ slug: "sendlane-post-list",
15
+ name: "Create List",
16
+ description: "Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.",
17
+ input: SendlanePostListInput,
18
+ output: z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).describe("Response schema for creating a list.")
19
+ });
20
+ //#endregion
21
+ export { sendlanePostList };
22
+
23
+ //# sourceMappingURL=post-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-list.mjs","names":[],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlanePostListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\"),\n name: z.string().describe(\"Name of the list.\"),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\"),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).describe(\"Details of the created list.\");\nexport const SendlanePostListOutput: z.ZodTypeAny = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/tag-create.ts
4
+ const SendlaneTagCreateInput = zod.z.object({ name: zod.z.string().describe("Name for the new tag.") }).describe("Request schema for creating a tag.");
5
+ const SendlaneTagCreate_TagDataSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Unique tag identifier."),
7
+ name: zod.z.string().describe("Name of the tag."),
8
+ created_at: zod.z.string().describe("Timestamp when the tag was created."),
9
+ audience_count: zod.z.number().int().default(0).describe("Number of contacts with this tag.").nullable().optional()
10
+ }).describe("Tag object returned after creation.");
11
+ const SendlaneTagCreateOutput = zod.z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).describe("Response schema for tag creation.");
12
+ const sendlaneTagCreate = require_action.action("SENDLANE_TAG_CREATE", {
13
+ slug: "sendlane-tag-create",
14
+ name: "Create Tag",
15
+ description: "Tool to create a new tag. Use when you need to segment subscribers using labels.",
16
+ input: SendlaneTagCreateInput,
17
+ output: SendlaneTagCreateOutput
18
+ });
19
+ //#endregion
20
+ exports.sendlaneTagCreate = sendlaneTagCreate;
21
+
22
+ //# sourceMappingURL=tag-create.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-create.cjs","names":["z","action"],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneTagCreateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\"),\n name: z.string().describe(\"Name of the tag.\"),\n created_at: z.string().describe(\"Timestamp when the tag was created.\"),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput: z.ZodTypeAny = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/tag-create.d.ts
4
+ declare const SendlaneTagCreateInput: z.ZodTypeAny;
5
+ declare const SendlaneTagCreateOutput: z.ZodTypeAny;
6
+ declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneTagCreate };
9
+ //# sourceMappingURL=tag-create.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-create.d.cts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEU;AAAA,cAOpC,uBAAA,EAAyB,CAAA,CAAE,UAEQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/tag-create.d.ts
4
+ declare const SendlaneTagCreateInput: z.ZodTypeAny;
5
+ declare const SendlaneTagCreateOutput: z.ZodTypeAny;
6
+ declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendlaneTagCreate };
9
+ //# sourceMappingURL=tag-create.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-create.d.mts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEU;AAAA,cAOpC,uBAAA,EAAyB,CAAA,CAAE,UAEQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/tag-create.ts
4
+ const SendlaneTagCreateInput = z.object({ name: z.string().describe("Name for the new tag.") }).describe("Request schema for creating a tag.");
5
+ const SendlaneTagCreate_TagDataSchema = z.object({
6
+ id: z.number().int().describe("Unique tag identifier."),
7
+ name: z.string().describe("Name of the tag."),
8
+ created_at: z.string().describe("Timestamp when the tag was created."),
9
+ audience_count: z.number().int().default(0).describe("Number of contacts with this tag.").nullable().optional()
10
+ }).describe("Tag object returned after creation.");
11
+ const sendlaneTagCreate = action("SENDLANE_TAG_CREATE", {
12
+ slug: "sendlane-tag-create",
13
+ name: "Create Tag",
14
+ description: "Tool to create a new tag. Use when you need to segment subscribers using labels.",
15
+ input: SendlaneTagCreateInput,
16
+ output: z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).describe("Response schema for tag creation.")
17
+ });
18
+ //#endregion
19
+ export { sendlaneTagCreate };
20
+
21
+ //# sourceMappingURL=tag-create.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-create.mjs","names":[],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneTagCreateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\"),\n name: z.string().describe(\"Name of the tag.\"),\n created_at: z.string().describe(\"Timestamp when the tag was created.\"),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput: z.ZodTypeAny = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const sendlane = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "sendlane",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.sendlane = sendlane;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendlane = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendlane: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendlane };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendlane: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendlane };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const sendlane = defineApp({
4
+ slug: "sendlane",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { sendlane };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendlane = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const sendlaneCatalog = {
4
+ "slug": "sendlane",
5
+ "name": "Sendlane",
6
+ "description": "Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.",
7
+ "category": "Marketing Automation",
8
+ "logo": "https://logos.composio.dev/api/sendlane",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.sendlaneCatalog = sendlaneCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const sendlaneCatalog: {
4
+ readonly slug: "sendlane";
5
+ readonly name: "Sendlane";
6
+ readonly description: "Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.";
7
+ readonly category: "Marketing Automation";
8
+ readonly logo: "https://logos.composio.dev/api/sendlane";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendlaneCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const sendlaneCatalog: {
4
+ readonly slug: "sendlane";
5
+ readonly name: "Sendlane";
6
+ readonly description: "Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.";
7
+ readonly category: "Marketing Automation";
8
+ readonly logo: "https://logos.composio.dev/api/sendlane";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendlaneCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const sendlaneCatalog = {
4
+ "slug": "sendlane",
5
+ "name": "Sendlane",
6
+ "description": "Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.",
7
+ "category": "Marketing Automation",
8
+ "logo": "https://logos.composio.dev/api/sendlane",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { sendlaneCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "sendlane";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendlaneTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeSendlaneTool = executeSendlaneTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendlane\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendlaneTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "sendlane";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendlaneTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeSendlaneTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendlane\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendlaneTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,18 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_get_campaigns = require("./actions/get-campaigns.cjs");
5
+ const require_get_custom_fields = require("./actions/get-custom-fields.cjs");
6
+ const require_get_lists = require("./actions/get-lists.cjs");
7
+ const require_list_delete = require("./actions/list-delete.cjs");
8
+ const require_post_list = require("./actions/post-list.cjs");
9
+ const require_tag_create = require("./actions/tag-create.cjs");
10
+ require("./actions/index.cjs");
11
+ exports.sendlane = require_app.sendlane;
12
+ exports.sendlaneCatalog = require_catalog.sendlaneCatalog;
13
+ exports.sendlaneGetCampaigns = require_get_campaigns.sendlaneGetCampaigns;
14
+ exports.sendlaneGetCustomFields = require_get_custom_fields.sendlaneGetCustomFields;
15
+ exports.sendlaneGetLists = require_get_lists.sendlaneGetLists;
16
+ exports.sendlaneListDelete = require_list_delete.sendlaneListDelete;
17
+ exports.sendlanePostList = require_post_list.sendlanePostList;
18
+ exports.sendlaneTagCreate = require_tag_create.sendlaneTagCreate;
@@ -0,0 +1,9 @@
1
+ import { sendlaneGetCampaigns } from "./actions/get-campaigns.cjs";
2
+ import { sendlaneGetCustomFields } from "./actions/get-custom-fields.cjs";
3
+ import { sendlaneGetLists } from "./actions/get-lists.cjs";
4
+ import { sendlaneListDelete } from "./actions/list-delete.cjs";
5
+ import { sendlanePostList } from "./actions/post-list.cjs";
6
+ import { sendlaneTagCreate } from "./actions/tag-create.cjs";
7
+ import { sendlane } from "./app.cjs";
8
+ import { sendlaneCatalog } from "./catalog.cjs";
9
+ export { sendlane, sendlaneCatalog, sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
@@ -0,0 +1,9 @@
1
+ import { sendlaneGetCampaigns } from "./actions/get-campaigns.mjs";
2
+ import { sendlaneGetCustomFields } from "./actions/get-custom-fields.mjs";
3
+ import { sendlaneGetLists } from "./actions/get-lists.mjs";
4
+ import { sendlaneListDelete } from "./actions/list-delete.mjs";
5
+ import { sendlanePostList } from "./actions/post-list.mjs";
6
+ import { sendlaneTagCreate } from "./actions/tag-create.mjs";
7
+ import { sendlane } from "./app.mjs";
8
+ import { sendlaneCatalog } from "./catalog.mjs";
9
+ export { sendlane, sendlaneCatalog, sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
package/dist/index.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { sendlane } from "./app.mjs";
2
+ import { sendlaneCatalog } from "./catalog.mjs";
3
+ import { sendlaneGetCampaigns } from "./actions/get-campaigns.mjs";
4
+ import { sendlaneGetCustomFields } from "./actions/get-custom-fields.mjs";
5
+ import { sendlaneGetLists } from "./actions/get-lists.mjs";
6
+ import { sendlaneListDelete } from "./actions/list-delete.mjs";
7
+ import { sendlanePostList } from "./actions/post-list.mjs";
8
+ import { sendlaneTagCreate } from "./actions/tag-create.mjs";
9
+ import "./actions/index.mjs";
10
+ export { sendlane, sendlaneCatalog, sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/sendlane",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/sendlane"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }