@keystrokehq/sendloop 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 (74) 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-account-info.cjs +27 -0
  7. package/dist/actions/get-account-info.cjs.map +1 -0
  8. package/dist/actions/get-account-info.d.cts +9 -0
  9. package/dist/actions/get-account-info.d.cts.map +1 -0
  10. package/dist/actions/get-account-info.d.mts +9 -0
  11. package/dist/actions/get-account-info.d.mts.map +1 -0
  12. package/dist/actions/get-account-info.mjs +24 -0
  13. package/dist/actions/get-account-info.mjs.map +1 -0
  14. package/dist/actions/get-overall-list-report.cjs +33 -0
  15. package/dist/actions/get-overall-list-report.cjs.map +1 -0
  16. package/dist/actions/get-overall-list-report.d.cts +9 -0
  17. package/dist/actions/get-overall-list-report.d.cts.map +1 -0
  18. package/dist/actions/get-overall-list-report.d.mts +9 -0
  19. package/dist/actions/get-overall-list-report.d.mts.map +1 -0
  20. package/dist/actions/get-overall-list-report.mjs +32 -0
  21. package/dist/actions/get-overall-list-report.mjs.map +1 -0
  22. package/dist/actions/index.cjs +11 -0
  23. package/dist/actions/index.d.cts +6 -0
  24. package/dist/actions/index.d.mts +6 -0
  25. package/dist/actions/index.mjs +6 -0
  26. package/dist/actions/list-campaigns.cjs +40 -0
  27. package/dist/actions/list-campaigns.cjs.map +1 -0
  28. package/dist/actions/list-campaigns.d.cts +9 -0
  29. package/dist/actions/list-campaigns.d.cts.map +1 -0
  30. package/dist/actions/list-campaigns.d.mts +9 -0
  31. package/dist/actions/list-campaigns.d.mts.map +1 -0
  32. package/dist/actions/list-campaigns.mjs +39 -0
  33. package/dist/actions/list-campaigns.mjs.map +1 -0
  34. package/dist/actions/list-lists.cjs +25 -0
  35. package/dist/actions/list-lists.cjs.map +1 -0
  36. package/dist/actions/list-lists.d.cts +9 -0
  37. package/dist/actions/list-lists.d.cts.map +1 -0
  38. package/dist/actions/list-lists.d.mts +9 -0
  39. package/dist/actions/list-lists.d.mts.map +1 -0
  40. package/dist/actions/list-lists.mjs +24 -0
  41. package/dist/actions/list-lists.mjs.map +1 -0
  42. package/dist/actions/list-subscribers.cjs +31 -0
  43. package/dist/actions/list-subscribers.cjs.map +1 -0
  44. package/dist/actions/list-subscribers.d.cts +9 -0
  45. package/dist/actions/list-subscribers.d.cts.map +1 -0
  46. package/dist/actions/list-subscribers.d.mts +9 -0
  47. package/dist/actions/list-subscribers.d.mts.map +1 -0
  48. package/dist/actions/list-subscribers.mjs +30 -0
  49. package/dist/actions/list-subscribers.mjs.map +1 -0
  50. package/dist/app.cjs +9 -0
  51. package/dist/app.cjs.map +1 -0
  52. package/dist/app.d.cts +5 -0
  53. package/dist/app.d.cts.map +1 -0
  54. package/dist/app.d.mts +5 -0
  55. package/dist/app.d.mts.map +1 -0
  56. package/dist/app.mjs +10 -0
  57. package/dist/app.mjs.map +1 -0
  58. package/dist/catalog.cjs +15 -0
  59. package/dist/catalog.cjs.map +1 -0
  60. package/dist/catalog.d.cts +14 -0
  61. package/dist/catalog.d.cts.map +1 -0
  62. package/dist/catalog.d.mts +14 -0
  63. package/dist/catalog.d.mts.map +1 -0
  64. package/dist/catalog.mjs +15 -0
  65. package/dist/catalog.mjs.map +1 -0
  66. package/dist/execute.cjs +18 -0
  67. package/dist/execute.cjs.map +1 -0
  68. package/dist/execute.mjs +18 -0
  69. package/dist/execute.mjs.map +1 -0
  70. package/dist/index.cjs +16 -0
  71. package/dist/index.d.cts +8 -0
  72. package/dist/index.d.mts +8 -0
  73. package/dist/index.mjs +9 -0
  74. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/sendloop
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `sendloop`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 5
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { sendloopGetAccountInfo } from "@keystrokehq/sendloop/actions";
12
+
13
+ export default defineAgent({
14
+ key: "sendloop-agent",
15
+ tools: [sendloopGetAccountInfo],
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.sendloop.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.executeSendloopTool(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":["sendloop","executeSendloopTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendloop } from \"./app\";\nimport { executeSendloopTool } 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 sendloop.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 executeSendloopTool(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 { sendloop } from "./app.mjs";
2
+ import { executeSendloopTool } 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 sendloop.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 executeSendloopTool(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 { sendloop } from \"./app\";\nimport { executeSendloopTool } 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 sendloop.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 executeSendloopTool(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,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-account-info.ts
4
+ const SendloopGetAccountInfoInput = zod.z.object({}).describe("Request model for Sendloop GET account information. No parameters required.");
5
+ const SendloopGetAccountInfoOutput = zod.z.object({
6
+ plan: zod.z.string().describe("Account plan"),
7
+ email: zod.z.string().describe("Account email address"),
8
+ api_key: zod.z.string().describe("API key for the account"),
9
+ currency: zod.z.string().describe("Account currency"),
10
+ timezone: zod.z.string().describe("Timezone for the account"),
11
+ account_id: zod.z.number().int().describe("The account's unique identifier"),
12
+ sender_name: zod.z.string().describe("Default sender name"),
13
+ account_type: zod.z.enum(["paid", "trial"]).describe("Plan type, e.g., 'paid' or 'trial'"),
14
+ company_name: zod.z.string().describe("Name of the company"),
15
+ sender_email: zod.z.string().describe("Default sender email")
16
+ }).describe("Response model for Sendloop GET account information.");
17
+ const sendloopGetAccountInfo = require_action.action("SENDLOOP_GET_ACCOUNT_INFO", {
18
+ slug: "sendloop-get-account-info",
19
+ name: "Get Sendloop Account Information",
20
+ description: "Tool to retrieve account information. Use when you need details about the current Sendloop account.",
21
+ input: SendloopGetAccountInfoInput,
22
+ output: SendloopGetAccountInfoOutput
23
+ });
24
+ //#endregion
25
+ exports.sendloopGetAccountInfo = sendloopGetAccountInfo;
26
+
27
+ //# sourceMappingURL=get-account-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.cjs","names":["z","action"],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopGetAccountInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for Sendloop GET account information. No parameters required.\");\nexport const SendloopGetAccountInfoOutput: z.ZodTypeAny = z.object({\n plan: z.string().describe(\"Account plan\"),\n email: z.string().describe(\"Account email address\"),\n api_key: z.string().describe(\"API key for the account\"),\n currency: z.string().describe(\"Account currency\"),\n timezone: z.string().describe(\"Timezone for the account\"),\n account_id: z.number().int().describe(\"The account's unique identifier\"),\n sender_name: z.string().describe(\"Default sender name\"),\n account_type: z.enum([\"paid\", \"trial\"]).describe(\"Plan type, e.g., 'paid' or 'trial'\"),\n company_name: z.string().describe(\"Name of the company\"),\n sender_email: z.string().describe(\"Default sender email\"),\n}).describe(\"Response model for Sendloop GET account information.\");\n\nexport const sendloopGetAccountInfo = action(\"SENDLOOP_GET_ACCOUNT_INFO\", {\n slug: \"sendloop-get-account-info\",\n name: \"Get Sendloop Account Information\",\n description: \"Tool to retrieve account information. Use when you need details about the current Sendloop account.\",\n input: SendloopGetAccountInfoInput,\n output: SendloopGetAccountInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC5J,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACtD,cAAcA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACvD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,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-account-info.d.ts
4
+ declare const SendloopGetAccountInfoInput: z.ZodTypeAny;
5
+ declare const SendloopGetAccountInfoOutput: z.ZodTypeAny;
6
+ declare const sendloopGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopGetAccountInfo };
9
+ //# sourceMappingURL=get-account-info.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAiH;AAAA,cAChJ,4BAAA,EAA8B,CAAA,CAAE,UAWsB;AAAA,cAEtD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-account-info.d.ts
4
+ declare const SendloopGetAccountInfoInput: z.ZodTypeAny;
5
+ declare const SendloopGetAccountInfoOutput: z.ZodTypeAny;
6
+ declare const sendloopGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopGetAccountInfo };
9
+ //# sourceMappingURL=get-account-info.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAiH;AAAA,cAChJ,4BAAA,EAA8B,CAAA,CAAE,UAWsB;AAAA,cAEtD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendloopGetAccountInfo = action("SENDLOOP_GET_ACCOUNT_INFO", {
4
+ slug: "sendloop-get-account-info",
5
+ name: "Get Sendloop Account Information",
6
+ description: "Tool to retrieve account information. Use when you need details about the current Sendloop account.",
7
+ input: z.object({}).describe("Request model for Sendloop GET account information. No parameters required."),
8
+ output: z.object({
9
+ plan: z.string().describe("Account plan"),
10
+ email: z.string().describe("Account email address"),
11
+ api_key: z.string().describe("API key for the account"),
12
+ currency: z.string().describe("Account currency"),
13
+ timezone: z.string().describe("Timezone for the account"),
14
+ account_id: z.number().int().describe("The account's unique identifier"),
15
+ sender_name: z.string().describe("Default sender name"),
16
+ account_type: z.enum(["paid", "trial"]).describe("Plan type, e.g., 'paid' or 'trial'"),
17
+ company_name: z.string().describe("Name of the company"),
18
+ sender_email: z.string().describe("Default sender email")
19
+ }).describe("Response model for Sendloop GET account information.")
20
+ });
21
+ //#endregion
22
+ export { sendloopGetAccountInfo };
23
+
24
+ //# sourceMappingURL=get-account-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.mjs","names":[],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopGetAccountInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for Sendloop GET account information. No parameters required.\");\nexport const SendloopGetAccountInfoOutput: z.ZodTypeAny = z.object({\n plan: z.string().describe(\"Account plan\"),\n email: z.string().describe(\"Account email address\"),\n api_key: z.string().describe(\"API key for the account\"),\n currency: z.string().describe(\"Account currency\"),\n timezone: z.string().describe(\"Timezone for the account\"),\n account_id: z.number().int().describe(\"The account's unique identifier\"),\n sender_name: z.string().describe(\"Default sender name\"),\n account_type: z.enum([\"paid\", \"trial\"]).describe(\"Plan type, e.g., 'paid' or 'trial'\"),\n company_name: z.string().describe(\"Name of the company\"),\n sender_email: z.string().describe(\"Default sender email\"),\n}).describe(\"Response model for Sendloop GET account information.\");\n\nexport const sendloopGetAccountInfo = action(\"SENDLOOP_GET_ACCOUNT_INFO\", {\n slug: \"sendloop-get-account-info\",\n name: \"Get Sendloop Account Information\",\n description: \"Tool to retrieve account information. Use when you need details about the current Sendloop account.\",\n input: SendloopGetAccountInfoInput,\n output: SendloopGetAccountInfoOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAkBtE;CACP,QAlBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACtD,cAAc,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACvD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC1D,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,33 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-overall-list-report.ts
4
+ const SendloopGetOverallListReportInput = zod.z.object({ ListID: zod.z.number().int().describe("Unique identifier of the subscriber list.") }).describe("Request model for retrieving overall report of a subscriber list.");
5
+ const SendloopGetOverallListReport_OverallListReportDataSchema = zod.z.object({
6
+ ListID: zod.z.number().int().describe("Unique identifier of the subscriber list"),
7
+ ListName: zod.z.string().describe("Name of the subscriber list"),
8
+ Confirmed: zod.z.number().int().describe("Number of confirmed subscribers"),
9
+ Complaints: zod.z.number().int().describe("Number of spam complaints"),
10
+ HardBounces: zod.z.number().int().describe("Number of hard bounces"),
11
+ SoftBounces: zod.z.number().int().describe("Number of soft bounces"),
12
+ Subscribers: zod.z.number().int().describe("Total number of subscribers in the list"),
13
+ TotalOpened: zod.z.number().int().describe("Total number of opens across all campaigns"),
14
+ Unconfirmed: zod.z.number().int().describe("Number of unconfirmed subscribers"),
15
+ TotalClicked: zod.z.number().int().describe("Total number of clicks across all campaigns"),
16
+ Unsubscribes: zod.z.number().int().describe("Number of unsubscribes")
17
+ }).describe("Schema for overall report metrics of a subscriber list.");
18
+ const SendloopGetOverallListReportOutput = zod.z.object({
19
+ data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),
20
+ status: zod.z.enum(["success", "error"]).describe("API call status"),
21
+ message: zod.z.string().describe("Error message if the request failed").nullable().optional()
22
+ }).describe("Response model for retrieving overall report of a subscriber list.");
23
+ const sendloopGetOverallListReport = require_action.action("SENDLOOP_GET_OVERALL_LIST_REPORT", {
24
+ slug: "sendloop-get-overall-list-report",
25
+ name: "Get Overall List Report",
26
+ description: "Tool to retrieve overall report for a subscriber list. Use after sending campaigns to get summary metrics.",
27
+ input: SendloopGetOverallListReportInput,
28
+ output: SendloopGetOverallListReportOutput
29
+ });
30
+ //#endregion
31
+ exports.sendloopGetOverallListReport = sendloopGetOverallListReport;
32
+
33
+ //# sourceMappingURL=get-overall-list-report.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-overall-list-report.cjs","names":["z","action"],"sources":["../../src/actions/get-overall-list-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopGetOverallListReportInput: z.ZodTypeAny = z.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list.\"),\n}).describe(\"Request model for retrieving overall report of a subscriber list.\");\nconst SendloopGetOverallListReport_OverallListReportDataSchema: z.ZodTypeAny = z.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list\"),\n ListName: z.string().describe(\"Name of the subscriber list\"),\n Confirmed: z.number().int().describe(\"Number of confirmed subscribers\"),\n Complaints: z.number().int().describe(\"Number of spam complaints\"),\n HardBounces: z.number().int().describe(\"Number of hard bounces\"),\n SoftBounces: z.number().int().describe(\"Number of soft bounces\"),\n Subscribers: z.number().int().describe(\"Total number of subscribers in the list\"),\n TotalOpened: z.number().int().describe(\"Total number of opens across all campaigns\"),\n Unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers\"),\n TotalClicked: z.number().int().describe(\"Total number of clicks across all campaigns\"),\n Unsubscribes: z.number().int().describe(\"Number of unsubscribes\"),\n}).describe(\"Schema for overall report metrics of a subscriber list.\");\nexport const SendloopGetOverallListReportOutput: z.ZodTypeAny = z.object({\n data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),\n status: z.enum([\"success\", \"error\"]).describe(\"API call status\"),\n message: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).describe(\"Response model for retrieving overall report of a subscriber list.\");\n\nexport const sendloopGetOverallListReport = action(\"SENDLOOP_GET_OVERALL_LIST_REPORT\", {\n slug: \"sendloop-get-overall-list-report\",\n name: \"Get Overall List Report\",\n description: \"Tool to retrieve overall report for a subscriber list. Use after sending campaigns to get summary metrics.\",\n input: SendloopGetOverallListReportInput,\n output: SendloopGetOverallListReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAClE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,iBAAiB;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,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-overall-list-report.d.ts
4
+ declare const SendloopGetOverallListReportInput: z.ZodTypeAny;
5
+ declare const SendloopGetOverallListReportOutput: z.ZodTypeAny;
6
+ declare const sendloopGetOverallListReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopGetOverallListReport };
9
+ //# sourceMappingURL=get-overall-list-report.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-overall-list-report.d.cts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAE8B;AAAA,cAcnE,kCAAA,EAAoC,CAAA,CAAE,UAI8B;AAAA,cAEpE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-overall-list-report.d.ts
4
+ declare const SendloopGetOverallListReportInput: z.ZodTypeAny;
5
+ declare const SendloopGetOverallListReportOutput: z.ZodTypeAny;
6
+ declare const sendloopGetOverallListReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopGetOverallListReport };
9
+ //# sourceMappingURL=get-overall-list-report.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-overall-list-report.d.mts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAE8B;AAAA,cAcnE,kCAAA,EAAoC,CAAA,CAAE,UAI8B;AAAA,cAEpE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-overall-list-report.ts
4
+ const SendloopGetOverallListReportInput = z.object({ ListID: z.number().int().describe("Unique identifier of the subscriber list.") }).describe("Request model for retrieving overall report of a subscriber list.");
5
+ const SendloopGetOverallListReport_OverallListReportDataSchema = z.object({
6
+ ListID: z.number().int().describe("Unique identifier of the subscriber list"),
7
+ ListName: z.string().describe("Name of the subscriber list"),
8
+ Confirmed: z.number().int().describe("Number of confirmed subscribers"),
9
+ Complaints: z.number().int().describe("Number of spam complaints"),
10
+ HardBounces: z.number().int().describe("Number of hard bounces"),
11
+ SoftBounces: z.number().int().describe("Number of soft bounces"),
12
+ Subscribers: z.number().int().describe("Total number of subscribers in the list"),
13
+ TotalOpened: z.number().int().describe("Total number of opens across all campaigns"),
14
+ Unconfirmed: z.number().int().describe("Number of unconfirmed subscribers"),
15
+ TotalClicked: z.number().int().describe("Total number of clicks across all campaigns"),
16
+ Unsubscribes: z.number().int().describe("Number of unsubscribes")
17
+ }).describe("Schema for overall report metrics of a subscriber list.");
18
+ const sendloopGetOverallListReport = action("SENDLOOP_GET_OVERALL_LIST_REPORT", {
19
+ slug: "sendloop-get-overall-list-report",
20
+ name: "Get Overall List Report",
21
+ description: "Tool to retrieve overall report for a subscriber list. Use after sending campaigns to get summary metrics.",
22
+ input: SendloopGetOverallListReportInput,
23
+ output: z.object({
24
+ data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),
25
+ status: z.enum(["success", "error"]).describe("API call status"),
26
+ message: z.string().describe("Error message if the request failed").nullable().optional()
27
+ }).describe("Response model for retrieving overall report of a subscriber list.")
28
+ });
29
+ //#endregion
30
+ export { sendloopGetOverallListReport };
31
+
32
+ //# sourceMappingURL=get-overall-list-report.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-overall-list-report.mjs","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopGetOverallListReportInput: z.ZodTypeAny = z.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list.\"),\n}).describe(\"Request model for retrieving overall report of a subscriber list.\");\nconst SendloopGetOverallListReport_OverallListReportDataSchema: z.ZodTypeAny = z.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list\"),\n ListName: z.string().describe(\"Name of the subscriber list\"),\n Confirmed: z.number().int().describe(\"Number of confirmed subscribers\"),\n Complaints: z.number().int().describe(\"Number of spam complaints\"),\n HardBounces: z.number().int().describe(\"Number of hard bounces\"),\n SoftBounces: z.number().int().describe(\"Number of soft bounces\"),\n Subscribers: z.number().int().describe(\"Total number of subscribers in the list\"),\n TotalOpened: z.number().int().describe(\"Total number of opens across all campaigns\"),\n Unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers\"),\n TotalClicked: z.number().int().describe(\"Total number of clicks across all campaigns\"),\n Unsubscribes: z.number().int().describe(\"Number of unsubscribes\"),\n}).describe(\"Schema for overall report metrics of a subscriber list.\");\nexport const SendloopGetOverallListReportOutput: z.ZodTypeAny = z.object({\n data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),\n status: z.enum([\"success\", \"error\"]).describe(\"API call status\"),\n message: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).describe(\"Response model for retrieving overall report of a subscriber list.\");\n\nexport const sendloopGetOverallListReport = action(\"SENDLOOP_GET_OVERALL_LIST_REPORT\", {\n slug: \"sendloop-get-overall-list-report\",\n name: \"Get Overall List Report\",\n description: \"Tool to retrieve overall report for a subscriber list. Use after sending campaigns to get summary metrics.\",\n input: SendloopGetOverallListReportInput,\n output: SendloopGetOverallListReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2DAAyE,EAAE,OAAO;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;AAClE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAOrE,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8D,EAAE,OAAO;EACvE,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,iBAAiB;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -0,0 +1,11 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_account_info = require("./get-account-info.cjs");
3
+ const require_get_overall_list_report = require("./get-overall-list-report.cjs");
4
+ const require_list_campaigns = require("./list-campaigns.cjs");
5
+ const require_list_lists = require("./list-lists.cjs");
6
+ const require_list_subscribers = require("./list-subscribers.cjs");
7
+ exports.sendloopGetAccountInfo = require_get_account_info.sendloopGetAccountInfo;
8
+ exports.sendloopGetOverallListReport = require_get_overall_list_report.sendloopGetOverallListReport;
9
+ exports.sendloopListCampaigns = require_list_campaigns.sendloopListCampaigns;
10
+ exports.sendloopListLists = require_list_lists.sendloopListLists;
11
+ exports.sendloopListSubscribers = require_list_subscribers.sendloopListSubscribers;
@@ -0,0 +1,6 @@
1
+ import { sendloopGetAccountInfo } from "./get-account-info.cjs";
2
+ import { sendloopGetOverallListReport } from "./get-overall-list-report.cjs";
3
+ import { sendloopListCampaigns } from "./list-campaigns.cjs";
4
+ import { sendloopListLists } from "./list-lists.cjs";
5
+ import { sendloopListSubscribers } from "./list-subscribers.cjs";
6
+ export { sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
@@ -0,0 +1,6 @@
1
+ import { sendloopGetAccountInfo } from "./get-account-info.mjs";
2
+ import { sendloopGetOverallListReport } from "./get-overall-list-report.mjs";
3
+ import { sendloopListCampaigns } from "./list-campaigns.mjs";
4
+ import { sendloopListLists } from "./list-lists.mjs";
5
+ import { sendloopListSubscribers } from "./list-subscribers.mjs";
6
+ export { sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
@@ -0,0 +1,6 @@
1
+ import { sendloopGetAccountInfo } from "./get-account-info.mjs";
2
+ import { sendloopGetOverallListReport } from "./get-overall-list-report.mjs";
3
+ import { sendloopListCampaigns } from "./list-campaigns.mjs";
4
+ import { sendloopListLists } from "./list-lists.mjs";
5
+ import { sendloopListSubscribers } from "./list-subscribers.mjs";
6
+ export { sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-campaigns.ts
4
+ const SendloopListCampaignsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number to retrieve (1-based indexing)").optional(),
6
+ status: zod.z.enum([
7
+ "active",
8
+ "draft",
9
+ "scheduled",
10
+ "archived",
11
+ "all"
12
+ ]).describe("Filter campaigns by status: 'active', 'draft', 'scheduled', 'archived', or 'all'").optional(),
13
+ per_page: zod.z.number().int().default(50).describe("Number of campaigns per page").optional()
14
+ }).describe("Request model for listing Sendloop campaigns with optional status filter and pagination.");
15
+ const SendloopListCampaigns_CampaignSchema = zod.z.object({
16
+ sentDate: zod.z.string().describe("ISO date when the campaign was sent, if sent").nullable().optional(),
17
+ reportURL: zod.z.string().describe("URL to access the campaign report"),
18
+ scheduled: zod.z.string().describe("Whether the campaign is scheduled ('Yes' or 'No')"),
19
+ campaignID: zod.z.string().describe("Unique ID of the campaign"),
20
+ creationDate: zod.z.string().describe("ISO date when the campaign was created"),
21
+ campaignTitle: zod.z.string().describe("Title of the campaign"),
22
+ scheduledDate: zod.z.string().describe("Scheduled date if applicable").nullable().optional(),
23
+ campaignStatus: zod.z.string().describe("Status of the campaign")
24
+ }).describe("Schema for a campaign in the list response.");
25
+ const SendloopListCampaignsOutput = zod.z.object({
26
+ data: zod.z.array(SendloopListCampaigns_CampaignSchema).describe("List of campaigns returned by the API"),
27
+ status: zod.z.string().describe("API response status, e.g., 'SUCCESS'"),
28
+ message: zod.z.string().describe("Additional information or message from the API").nullable().optional()
29
+ }).describe("Response model containing list of campaigns and related metadata.");
30
+ const sendloopListCampaigns = require_action.action("SENDLOOP_LIST_CAMPAIGNS", {
31
+ slug: "sendloop-list-campaigns",
32
+ name: "List Campaigns",
33
+ description: "Tool to list campaigns. Use when you need to filter by campaign status and handle pagination for campaign retrieval.",
34
+ input: SendloopListCampaignsInput,
35
+ output: SendloopListCampaignsOutput
36
+ });
37
+ //#endregion
38
+ exports.sendloopListCampaigns = sendloopListCampaigns;
39
+
40
+ //# sourceMappingURL=list-campaigns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListCampaignsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing)\").optional(),\n status: z.enum([\"active\", \"draft\", \"scheduled\", \"archived\", \"all\"]).describe(\"Filter campaigns by status: 'active', 'draft', 'scheduled', 'archived', or 'all'\").optional(),\n per_page: z.number().int().default(50).describe(\"Number of campaigns per page\").optional(),\n}).describe(\"Request model for listing Sendloop campaigns with optional status filter and pagination.\");\nconst SendloopListCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n sentDate: z.string().describe(\"ISO date when the campaign was sent, if sent\").nullable().optional(),\n reportURL: z.string().describe(\"URL to access the campaign report\"),\n scheduled: z.string().describe(\"Whether the campaign is scheduled ('Yes' or 'No')\"),\n campaignID: z.string().describe(\"Unique ID of the campaign\"),\n creationDate: z.string().describe(\"ISO date when the campaign was created\"),\n campaignTitle: z.string().describe(\"Title of the campaign\"),\n scheduledDate: z.string().describe(\"Scheduled date if applicable\").nullable().optional(),\n campaignStatus: z.string().describe(\"Status of the campaign\"),\n}).describe(\"Schema for a campaign in the list response.\");\nexport const SendloopListCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendloopListCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API\"),\n status: z.string().describe(\"API response status, e.g., 'SUCCESS'\"),\n message: z.string().describe(\"Additional information or message from the API\").nullable().optional(),\n}).describe(\"Response model containing list of campaigns and related metadata.\");\n\nexport const sendloopListCampaigns = action(\"SENDLOOP_LIST_CAMPAIGNS\", {\n slug: \"sendloop-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to filter by campaign status and handle pagination for campaign retrieval.\",\n input: SendloopListCampaignsInput,\n output: SendloopListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC1D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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-campaigns.d.ts
4
+ declare const SendloopListCampaignsInput: z.ZodTypeAny;
5
+ declare const SendloopListCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendloopListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListCampaigns };
9
+ //# sourceMappingURL=list-campaigns.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI4D;AAAA,cAW1F,2BAAA,EAA6B,CAAA,CAAE,UAIoC;AAAA,cAEnE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-campaigns.d.ts
4
+ declare const SendloopListCampaignsInput: z.ZodTypeAny;
5
+ declare const SendloopListCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendloopListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListCampaigns };
9
+ //# sourceMappingURL=list-campaigns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI4D;AAAA,cAW1F,2BAAA,EAA6B,CAAA,CAAE,UAIoC;AAAA,cAEnE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-campaigns.ts
4
+ const SendloopListCampaignsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number to retrieve (1-based indexing)").optional(),
6
+ status: z.enum([
7
+ "active",
8
+ "draft",
9
+ "scheduled",
10
+ "archived",
11
+ "all"
12
+ ]).describe("Filter campaigns by status: 'active', 'draft', 'scheduled', 'archived', or 'all'").optional(),
13
+ per_page: z.number().int().default(50).describe("Number of campaigns per page").optional()
14
+ }).describe("Request model for listing Sendloop campaigns with optional status filter and pagination.");
15
+ const SendloopListCampaigns_CampaignSchema = z.object({
16
+ sentDate: z.string().describe("ISO date when the campaign was sent, if sent").nullable().optional(),
17
+ reportURL: z.string().describe("URL to access the campaign report"),
18
+ scheduled: z.string().describe("Whether the campaign is scheduled ('Yes' or 'No')"),
19
+ campaignID: z.string().describe("Unique ID of the campaign"),
20
+ creationDate: z.string().describe("ISO date when the campaign was created"),
21
+ campaignTitle: z.string().describe("Title of the campaign"),
22
+ scheduledDate: z.string().describe("Scheduled date if applicable").nullable().optional(),
23
+ campaignStatus: z.string().describe("Status of the campaign")
24
+ }).describe("Schema for a campaign in the list response.");
25
+ const sendloopListCampaigns = action("SENDLOOP_LIST_CAMPAIGNS", {
26
+ slug: "sendloop-list-campaigns",
27
+ name: "List Campaigns",
28
+ description: "Tool to list campaigns. Use when you need to filter by campaign status and handle pagination for campaign retrieval.",
29
+ input: SendloopListCampaignsInput,
30
+ output: z.object({
31
+ data: z.array(SendloopListCampaigns_CampaignSchema).describe("List of campaigns returned by the API"),
32
+ status: z.string().describe("API response status, e.g., 'SUCCESS'"),
33
+ message: z.string().describe("Additional information or message from the API").nullable().optional()
34
+ }).describe("Response model containing list of campaigns and related metadata.")
35
+ });
36
+ //#endregion
37
+ export { sendloopListCampaigns };
38
+
39
+ //# sourceMappingURL=list-campaigns.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListCampaignsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing)\").optional(),\n status: z.enum([\"active\", \"draft\", \"scheduled\", \"archived\", \"all\"]).describe(\"Filter campaigns by status: 'active', 'draft', 'scheduled', 'archived', or 'all'\").optional(),\n per_page: z.number().int().default(50).describe(\"Number of campaigns per page\").optional(),\n}).describe(\"Request model for listing Sendloop campaigns with optional status filter and pagination.\");\nconst SendloopListCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n sentDate: z.string().describe(\"ISO date when the campaign was sent, if sent\").nullable().optional(),\n reportURL: z.string().describe(\"URL to access the campaign report\"),\n scheduled: z.string().describe(\"Whether the campaign is scheduled ('Yes' or 'No')\"),\n campaignID: z.string().describe(\"Unique ID of the campaign\"),\n creationDate: z.string().describe(\"ISO date when the campaign was created\"),\n campaignTitle: z.string().describe(\"Title of the campaign\"),\n scheduledDate: z.string().describe(\"Scheduled date if applicable\").nullable().optional(),\n campaignStatus: z.string().describe(\"Status of the campaign\"),\n}).describe(\"Schema for a campaign in the list response.\");\nexport const SendloopListCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendloopListCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API\"),\n status: z.string().describe(\"API response status, e.g., 'SUCCESS'\"),\n message: z.string().describe(\"Additional information or message from the API\").nullable().optional(),\n}).describe(\"Response model containing list of campaigns and related metadata.\");\n\nexport const sendloopListCampaigns = action(\"SENDLOOP_LIST_CAMPAIGNS\", {\n slug: \"sendloop-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to filter by campaign status and handle pagination for campaign retrieval.\",\n input: SendloopListCampaignsInput,\n output: SendloopListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uCAAqD,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC1D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAOzD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-lists.ts
4
+ const SendloopListListsInput = zod.z.object({}).describe("Request model for listing subscriber lists. No parameters required.");
5
+ const SendloopListLists_ListInfoSchema = zod.z.object({
6
+ name: zod.z.string().describe("Programmatic name of the mailing list"),
7
+ list_id: zod.z.number().int().describe("Unique ID of the mailing list"),
8
+ opt_in_mode: zod.z.string().describe("Opt-in mode for the list (e.g., 'single', 'double')").nullable().optional(),
9
+ subscribers_count: zod.z.number().int().describe("Total number of subscribers in this list")
10
+ }).describe("Schema for a subscriber list returned by Sendloop.");
11
+ const SendloopListListsOutput = zod.z.object({
12
+ lists: zod.z.array(SendloopListLists_ListInfoSchema).describe("List of subscriber lists"),
13
+ total_count: zod.z.number().int().describe("Total number of lists returned")
14
+ }).describe("Response model containing a list of subscriber lists.");
15
+ const sendloopListLists = require_action.action("SENDLOOP_LIST_LISTS", {
16
+ slug: "sendloop-list-lists",
17
+ name: "List SendLoop Lists",
18
+ description: "Tool to retrieve subscriber lists. Use when you need to get all mailing lists.",
19
+ input: SendloopListListsInput,
20
+ output: SendloopListListsOutput
21
+ });
22
+ //#endregion
23
+ exports.sendloopListLists = sendloopListLists;
24
+
25
+ //# sourceMappingURL=list-lists.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListListsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing subscriber lists. No parameters required.\");\nconst SendloopListLists_ListInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Programmatic name of the mailing list\"),\n list_id: z.number().int().describe(\"Unique ID of the mailing list\"),\n opt_in_mode: z.string().describe(\"Opt-in mode for the list (e.g., 'single', 'double')\").nullable().optional(),\n subscribers_count: z.number().int().describe(\"Total number of subscribers in this list\"),\n}).describe(\"Schema for a subscriber list returned by Sendloop.\");\nexport const SendloopListListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(SendloopListLists_ListInfoSchema).describe(\"List of subscriber lists\"),\n total_count: z.number().int().describe(\"Total number of lists returned\"),\n}).describe(\"Response model containing a list of subscriber lists.\");\n\nexport const sendloopListLists = action(\"SENDLOOP_LIST_LISTS\", {\n slug: \"sendloop-list-lists\",\n name: \"List SendLoop Lists\",\n description: \"Tool to retrieve subscriber lists. Use when you need to get all mailing lists.\",\n input: SendloopListListsInput,\n output: SendloopListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC/I,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AACzE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,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/list-lists.d.ts
4
+ declare const SendloopListListsInput: z.ZodTypeAny;
5
+ declare const SendloopListListsOutput: z.ZodTypeAny;
6
+ declare const sendloopListLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListLists };
9
+ //# sourceMappingURL=list-lists.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyG;AAAA,cAOnI,uBAAA,EAAyB,CAAA,CAAE,UAG4B;AAAA,cAEvD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-lists.d.ts
4
+ declare const SendloopListListsInput: z.ZodTypeAny;
5
+ declare const SendloopListListsOutput: z.ZodTypeAny;
6
+ declare const sendloopListLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListLists };
9
+ //# sourceMappingURL=list-lists.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAyG;AAAA,cAOnI,uBAAA,EAAyB,CAAA,CAAE,UAG4B;AAAA,cAEvD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-lists.ts
4
+ const SendloopListListsInput = z.object({}).describe("Request model for listing subscriber lists. No parameters required.");
5
+ const SendloopListLists_ListInfoSchema = z.object({
6
+ name: z.string().describe("Programmatic name of the mailing list"),
7
+ list_id: z.number().int().describe("Unique ID of the mailing list"),
8
+ opt_in_mode: z.string().describe("Opt-in mode for the list (e.g., 'single', 'double')").nullable().optional(),
9
+ subscribers_count: z.number().int().describe("Total number of subscribers in this list")
10
+ }).describe("Schema for a subscriber list returned by Sendloop.");
11
+ const sendloopListLists = action("SENDLOOP_LIST_LISTS", {
12
+ slug: "sendloop-list-lists",
13
+ name: "List SendLoop Lists",
14
+ description: "Tool to retrieve subscriber lists. Use when you need to get all mailing lists.",
15
+ input: SendloopListListsInput,
16
+ output: z.object({
17
+ lists: z.array(SendloopListLists_ListInfoSchema).describe("List of subscriber lists"),
18
+ total_count: z.number().int().describe("Total number of lists returned")
19
+ }).describe("Response model containing a list of subscriber lists.")
20
+ });
21
+ //#endregion
22
+ export { sendloopListLists };
23
+
24
+ //# sourceMappingURL=list-lists.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListListsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing subscriber lists. No parameters required.\");\nconst SendloopListLists_ListInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Programmatic name of the mailing list\"),\n list_id: z.number().int().describe(\"Unique ID of the mailing list\"),\n opt_in_mode: z.string().describe(\"Opt-in mode for the list (e.g., 'single', 'double')\").nullable().optional(),\n subscribers_count: z.number().int().describe(\"Total number of subscribers in this list\"),\n}).describe(\"Schema for a subscriber list returned by Sendloop.\");\nexport const SendloopListListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(SendloopListLists_ListInfoSchema).describe(\"List of subscriber lists\"),\n total_count: z.number().int().describe(\"Total number of lists returned\"),\n}).describe(\"Response model containing a list of subscriber lists.\");\n\nexport const sendloopListLists = action(\"SENDLOOP_LIST_LISTS\", {\n slug: \"sendloop-list-lists\",\n name: \"List SendLoop Lists\",\n description: \"Tool to retrieve subscriber lists. Use when you need to get all mailing lists.\",\n input: SendloopListListsInput,\n output: SendloopListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC/I,MAAM,mCAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAMhE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACzE,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-subscribers.ts
4
+ const SendloopListSubscribersInput = zod.z.object({
5
+ list_id: zod.z.string().describe("Unique identifier of the subscriber list to retrieve subscribers from"),
6
+ segment_id: zod.z.string().describe("Optional segment ID to filter subscribers by segment").optional(),
7
+ start_index: zod.z.number().int().default(0).describe("Starting index for pagination (0-based). Defaults to 0").optional()
8
+ }).describe("Request model for listing subscribers in a SendLoop list.");
9
+ const SendloopListSubscribers_SubscriberEntrySchema = zod.z.object({
10
+ name: zod.z.string().describe("Name of the subscriber").nullable().optional(),
11
+ email: zod.z.string().describe("Email address of the subscriber"),
12
+ status: zod.z.string().describe("Subscription status of the subscriber").nullable().optional(),
13
+ subscriber_id: zod.z.number().int().describe("Unique identifier of the subscriber"),
14
+ subscription_date: zod.z.string().describe("Timestamp when the subscriber was added").nullable().optional()
15
+ }).describe("Schema for a subscriber returned by SendLoop.");
16
+ const SendloopListSubscribersOutput = zod.z.object({
17
+ data: zod.z.array(SendloopListSubscribers_SubscriberEntrySchema).describe("List of subscribers for the specified list"),
18
+ success: zod.z.boolean().describe("Indicates if the API call was successful"),
19
+ total_count: zod.z.number().int().describe("Total number of subscribers matching the query")
20
+ }).describe("Response schema for listing subscribers.");
21
+ const sendloopListSubscribers = require_action.action("SENDLOOP_LIST_SUBSCRIBERS", {
22
+ slug: "sendloop-list-subscribers",
23
+ name: "List SendLoop Subscribers",
24
+ description: "Tool to list subscribers in a specified SendLoop list with pagination. Use when you need to retrieve subscribers for a given list ID, optionally filtering by segment and using start index for pagination.",
25
+ input: SendloopListSubscribersInput,
26
+ output: SendloopListSubscribersOutput
27
+ });
28
+ //#endregion
29
+ exports.sendloopListSubscribers = sendloopListSubscribers;
30
+
31
+ //# sourceMappingURL=list-subscribers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/list-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListSubscribersInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"Unique identifier of the subscriber list to retrieve subscribers from\"),\n segment_id: z.string().describe(\"Optional segment ID to filter subscribers by segment\").optional(),\n start_index: z.number().int().default(0).describe(\"Starting index for pagination (0-based). Defaults to 0\").optional(),\n}).describe(\"Request model for listing subscribers in a SendLoop list.\");\nconst SendloopListSubscribers_SubscriberEntrySchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the subscriber\").nullable().optional(),\n email: z.string().describe(\"Email address of the subscriber\"),\n status: z.string().describe(\"Subscription status of the subscriber\").nullable().optional(),\n subscriber_id: z.number().int().describe(\"Unique identifier of the subscriber\"),\n subscription_date: z.string().describe(\"Timestamp when the subscriber was added\").nullable().optional(),\n}).describe(\"Schema for a subscriber returned by SendLoop.\");\nexport const SendloopListSubscribersOutput: z.ZodTypeAny = z.object({\n data: z.array(SendloopListSubscribers_SubscriberEntrySchema).describe(\"List of subscribers for the specified list\"),\n success: z.boolean().describe(\"Indicates if the API call was successful\"),\n total_count: z.number().int().describe(\"Total number of subscribers matching the query\"),\n}).describe(\"Response schema for listing subscribers.\");\n\nexport const sendloopListSubscribers = action(\"SENDLOOP_LIST_SUBSCRIBERS\", {\n slug: \"sendloop-list-subscribers\",\n name: \"List SendLoop Subscribers\",\n description: \"Tool to list subscribers in a specified SendLoop list with pagination. Use when you need to retrieve subscribers for a given list ID, optionally filtering by segment and using start index for pagination.\",\n input: SendloopListSubscribersInput,\n output: SendloopListSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACzF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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-subscribers.d.ts
4
+ declare const SendloopListSubscribersInput: z.ZodTypeAny;
5
+ declare const SendloopListSubscribersOutput: z.ZodTypeAny;
6
+ declare const sendloopListSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListSubscribers };
9
+ //# sourceMappingURL=list-subscribers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscribers.d.cts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAI2B;AAAA,cAQ3D,6BAAA,EAA+B,CAAA,CAAE,UAIS;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-subscribers.d.ts
4
+ declare const SendloopListSubscribersInput: z.ZodTypeAny;
5
+ declare const SendloopListSubscribersOutput: z.ZodTypeAny;
6
+ declare const sendloopListSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendloopListSubscribers };
9
+ //# sourceMappingURL=list-subscribers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscribers.d.mts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAI2B;AAAA,cAQ3D,6BAAA,EAA+B,CAAA,CAAE,UAIS;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-subscribers.ts
4
+ const SendloopListSubscribersInput = z.object({
5
+ list_id: z.string().describe("Unique identifier of the subscriber list to retrieve subscribers from"),
6
+ segment_id: z.string().describe("Optional segment ID to filter subscribers by segment").optional(),
7
+ start_index: z.number().int().default(0).describe("Starting index for pagination (0-based). Defaults to 0").optional()
8
+ }).describe("Request model for listing subscribers in a SendLoop list.");
9
+ const SendloopListSubscribers_SubscriberEntrySchema = z.object({
10
+ name: z.string().describe("Name of the subscriber").nullable().optional(),
11
+ email: z.string().describe("Email address of the subscriber"),
12
+ status: z.string().describe("Subscription status of the subscriber").nullable().optional(),
13
+ subscriber_id: z.number().int().describe("Unique identifier of the subscriber"),
14
+ subscription_date: z.string().describe("Timestamp when the subscriber was added").nullable().optional()
15
+ }).describe("Schema for a subscriber returned by SendLoop.");
16
+ const sendloopListSubscribers = action("SENDLOOP_LIST_SUBSCRIBERS", {
17
+ slug: "sendloop-list-subscribers",
18
+ name: "List SendLoop Subscribers",
19
+ description: "Tool to list subscribers in a specified SendLoop list with pagination. Use when you need to retrieve subscribers for a given list ID, optionally filtering by segment and using start index for pagination.",
20
+ input: SendloopListSubscribersInput,
21
+ output: z.object({
22
+ data: z.array(SendloopListSubscribers_SubscriberEntrySchema).describe("List of subscribers for the specified list"),
23
+ success: z.boolean().describe("Indicates if the API call was successful"),
24
+ total_count: z.number().int().describe("Total number of subscribers matching the query")
25
+ }).describe("Response schema for listing subscribers.")
26
+ });
27
+ //#endregion
28
+ export { sendloopListSubscribers };
29
+
30
+ //# sourceMappingURL=list-subscribers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscribers.mjs","names":[],"sources":["../../src/actions/list-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendloopListSubscribersInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"Unique identifier of the subscriber list to retrieve subscribers from\"),\n segment_id: z.string().describe(\"Optional segment ID to filter subscribers by segment\").optional(),\n start_index: z.number().int().default(0).describe(\"Starting index for pagination (0-based). Defaults to 0\").optional(),\n}).describe(\"Request model for listing subscribers in a SendLoop list.\");\nconst SendloopListSubscribers_SubscriberEntrySchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the subscriber\").nullable().optional(),\n email: z.string().describe(\"Email address of the subscriber\"),\n status: z.string().describe(\"Subscription status of the subscriber\").nullable().optional(),\n subscriber_id: z.number().int().describe(\"Unique identifier of the subscriber\"),\n subscription_date: z.string().describe(\"Timestamp when the subscriber was added\").nullable().optional(),\n}).describe(\"Schema for a subscriber returned by SendLoop.\");\nexport const SendloopListSubscribersOutput: z.ZodTypeAny = z.object({\n data: z.array(SendloopListSubscribers_SubscriberEntrySchema).describe(\"List of subscribers for the specified list\"),\n success: z.boolean().describe(\"Indicates if the API call was successful\"),\n total_count: z.number().int().describe(\"Total number of subscribers matching the query\"),\n}).describe(\"Response schema for listing subscribers.\");\n\nexport const sendloopListSubscribers = action(\"SENDLOOP_LIST_SUBSCRIBERS\", {\n slug: \"sendloop-list-subscribers\",\n name: \"List SendLoop Subscribers\",\n description: \"Tool to list subscribers in a specified SendLoop list with pagination. Use when you need to retrieve subscribers for a given list ID, optionally filtering by segment and using start index for pagination.\",\n input: SendloopListSubscribersInput,\n output: SendloopListSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC9E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAO3D,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACzF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const sendloop = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "sendloop",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.sendloop = sendloop;
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 sendloop = defineApp({\n slug: \"sendloop\",\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 sendloop: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendloop };
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 sendloop: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendloop };
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 sendloop = defineApp({
4
+ slug: "sendloop",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { sendloop };
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 sendloop = defineApp({\n slug: \"sendloop\",\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 sendloopCatalog = {
4
+ "slug": "sendloop",
5
+ "name": "Sendloop",
6
+ "description": "Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.",
7
+ "category": "Email Newsletters",
8
+ "logo": "https://logos.composio.dev/api/sendloop",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.sendloopCatalog = sendloopCatalog;
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 sendloopCatalog = {\n \"slug\": \"sendloop\",\n \"name\": \"Sendloop\",\n \"description\": \"Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendloop\",\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 sendloopCatalog: {
4
+ readonly slug: "sendloop";
5
+ readonly name: "Sendloop";
6
+ readonly description: "Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.";
7
+ readonly category: "Email Newsletters";
8
+ readonly logo: "https://logos.composio.dev/api/sendloop";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendloopCatalog };
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 sendloopCatalog: {
4
+ readonly slug: "sendloop";
5
+ readonly name: "Sendloop";
6
+ readonly description: "Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.";
7
+ readonly category: "Email Newsletters";
8
+ readonly logo: "https://logos.composio.dev/api/sendloop";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendloopCatalog };
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 sendloopCatalog = {
4
+ "slug": "sendloop",
5
+ "name": "Sendloop",
6
+ "description": "Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.",
7
+ "category": "Email Newsletters",
8
+ "logo": "https://logos.composio.dev/api/sendloop",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { sendloopCatalog };
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 sendloopCatalog = {\n \"slug\": \"sendloop\",\n \"name\": \"Sendloop\",\n \"description\": \"Sendloop is an all-in-one email marketing solution for SaaS, e-commerce, application, and small business owners.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendloop\",\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 = "sendloop";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendloopTool(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.executeSendloopTool = executeSendloopTool;
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 = \"sendloop\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendloopTool(\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 = "sendloop";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendloopTool(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 { executeSendloopTool };
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 = \"sendloop\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendloopTool(\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,16 @@
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_account_info = require("./actions/get-account-info.cjs");
5
+ const require_get_overall_list_report = require("./actions/get-overall-list-report.cjs");
6
+ const require_list_campaigns = require("./actions/list-campaigns.cjs");
7
+ const require_list_lists = require("./actions/list-lists.cjs");
8
+ const require_list_subscribers = require("./actions/list-subscribers.cjs");
9
+ require("./actions/index.cjs");
10
+ exports.sendloop = require_app.sendloop;
11
+ exports.sendloopCatalog = require_catalog.sendloopCatalog;
12
+ exports.sendloopGetAccountInfo = require_get_account_info.sendloopGetAccountInfo;
13
+ exports.sendloopGetOverallListReport = require_get_overall_list_report.sendloopGetOverallListReport;
14
+ exports.sendloopListCampaigns = require_list_campaigns.sendloopListCampaigns;
15
+ exports.sendloopListLists = require_list_lists.sendloopListLists;
16
+ exports.sendloopListSubscribers = require_list_subscribers.sendloopListSubscribers;
@@ -0,0 +1,8 @@
1
+ import { sendloopGetAccountInfo } from "./actions/get-account-info.cjs";
2
+ import { sendloopGetOverallListReport } from "./actions/get-overall-list-report.cjs";
3
+ import { sendloopListCampaigns } from "./actions/list-campaigns.cjs";
4
+ import { sendloopListLists } from "./actions/list-lists.cjs";
5
+ import { sendloopListSubscribers } from "./actions/list-subscribers.cjs";
6
+ import { sendloop } from "./app.cjs";
7
+ import { sendloopCatalog } from "./catalog.cjs";
8
+ export { sendloop, sendloopCatalog, sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
@@ -0,0 +1,8 @@
1
+ import { sendloopGetAccountInfo } from "./actions/get-account-info.mjs";
2
+ import { sendloopGetOverallListReport } from "./actions/get-overall-list-report.mjs";
3
+ import { sendloopListCampaigns } from "./actions/list-campaigns.mjs";
4
+ import { sendloopListLists } from "./actions/list-lists.mjs";
5
+ import { sendloopListSubscribers } from "./actions/list-subscribers.mjs";
6
+ import { sendloop } from "./app.mjs";
7
+ import { sendloopCatalog } from "./catalog.mjs";
8
+ export { sendloop, sendloopCatalog, sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
package/dist/index.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import { sendloop } from "./app.mjs";
2
+ import { sendloopCatalog } from "./catalog.mjs";
3
+ import { sendloopGetAccountInfo } from "./actions/get-account-info.mjs";
4
+ import { sendloopGetOverallListReport } from "./actions/get-overall-list-report.mjs";
5
+ import { sendloopListCampaigns } from "./actions/list-campaigns.mjs";
6
+ import { sendloopListLists } from "./actions/list-lists.mjs";
7
+ import { sendloopListSubscribers } from "./actions/list-subscribers.mjs";
8
+ import "./actions/index.mjs";
9
+ export { sendloop, sendloopCatalog, sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/sendloop",
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/sendloop"
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
+ }