@keystrokehq/sendloop 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-account-info.cjs +11 -11
- package/dist/actions/get-account-info.cjs.map +1 -1
- package/dist/actions/get-account-info.d.cts +17 -3
- package/dist/actions/get-account-info.d.cts.map +1 -1
- package/dist/actions/get-account-info.d.mts +17 -3
- package/dist/actions/get-account-info.d.mts.map +1 -1
- package/dist/actions/get-account-info.mjs +11 -11
- package/dist/actions/get-account-info.mjs.map +1 -1
- package/dist/actions/get-overall-list-report.cjs +14 -14
- package/dist/actions/get-overall-list-report.cjs.map +1 -1
- package/dist/actions/get-overall-list-report.d.cts +26 -3
- package/dist/actions/get-overall-list-report.d.cts.map +1 -1
- package/dist/actions/get-overall-list-report.d.mts +26 -3
- package/dist/actions/get-overall-list-report.d.mts.map +1 -1
- package/dist/actions/get-overall-list-report.mjs +14 -14
- package/dist/actions/get-overall-list-report.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +9 -9
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +30 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +30 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +9 -9
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-lists.cjs +6 -6
- package/dist/actions/list-lists.cjs.map +1 -1
- package/dist/actions/list-lists.d.cts +11 -3
- package/dist/actions/list-lists.d.cts.map +1 -1
- package/dist/actions/list-lists.d.mts +11 -3
- package/dist/actions/list-lists.d.mts.map +1 -1
- package/dist/actions/list-lists.mjs +6 -6
- package/dist/actions/list-lists.mjs.map +1 -1
- package/dist/actions/list-subscribers.cjs +6 -6
- package/dist/actions/list-subscribers.cjs.map +1 -1
- package/dist/actions/list-subscribers.d.cts +21 -3
- package/dist/actions/list-subscribers.d.cts.map +1 -1
- package/dist/actions/list-subscribers.d.mts +21 -3
- package/dist/actions/list-subscribers.d.mts.map +1 -1
- package/dist/actions/list-subscribers.mjs +6 -6
- package/dist/actions/list-subscribers.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +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:
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendloop.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await 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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +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:
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendloop.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await 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"}
|
|
@@ -3,17 +3,17 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-account-info.ts
|
|
4
4
|
const SendloopGetAccountInfoInput = zod.z.object({}).describe("Request model for Sendloop GET account information. No parameters required.");
|
|
5
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.");
|
|
6
|
+
plan: zod.z.string().describe("Account plan").nullable(),
|
|
7
|
+
email: zod.z.string().describe("Account email address").nullable(),
|
|
8
|
+
api_key: zod.z.string().describe("API key for the account").nullable(),
|
|
9
|
+
currency: zod.z.string().describe("Account currency").nullable(),
|
|
10
|
+
timezone: zod.z.string().describe("Timezone for the account").nullable(),
|
|
11
|
+
account_id: zod.z.number().int().describe("The account's unique identifier").nullable(),
|
|
12
|
+
sender_name: zod.z.string().describe("Default sender name").nullable(),
|
|
13
|
+
account_type: zod.z.enum(["paid", "trial"]).describe("Plan type, e.g., 'paid' or 'trial'").nullable(),
|
|
14
|
+
company_name: zod.z.string().describe("Name of the company").nullable(),
|
|
15
|
+
sender_email: zod.z.string().describe("Default sender email").nullable()
|
|
16
|
+
}).passthrough().describe("Response model for Sendloop GET account information.");
|
|
17
17
|
const sendloopGetAccountInfo = require_action.action("SENDLOOP_GET_ACCOUNT_INFO", {
|
|
18
18
|
slug: "sendloop-get-account-info",
|
|
19
19
|
name: "Get Sendloop Account Information",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for Sendloop GET account information. No parameters required.\");\nexport const SendloopGetAccountInfoOutput = z.object({\n plan: z.string().describe(\"Account plan\").nullable(),\n email: z.string().describe(\"Account email address\").nullable(),\n api_key: z.string().describe(\"API key for the account\").nullable(),\n currency: z.string().describe(\"Account currency\").nullable(),\n timezone: z.string().describe(\"Timezone for the account\").nullable(),\n account_id: z.number().int().describe(\"The account's unique identifier\").nullable(),\n sender_name: z.string().describe(\"Default sender name\").nullable(),\n account_type: z.enum([\"paid\", \"trial\"]).describe(\"Plan type, e.g., 'paid' or 'trial'\").nullable(),\n company_name: z.string().describe(\"Name of the company\").nullable(),\n sender_email: z.string().describe(\"Default sender email\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC9I,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account-info.d.ts
|
|
4
|
-
declare const SendloopGetAccountInfoInput: z.
|
|
5
|
-
declare const SendloopGetAccountInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendloopGetAccountInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendloopGetAccountInfoOutput: z.ZodObject<{
|
|
6
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8
|
+
api_key: z.ZodNullable<z.ZodString>;
|
|
9
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
10
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
11
|
+
account_id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
sender_name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
account_type: z.ZodNullable<z.ZodEnum<{
|
|
14
|
+
paid: "paid";
|
|
15
|
+
trial: "trial";
|
|
16
|
+
}>>;
|
|
17
|
+
company_name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
sender_email: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const sendloopGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { sendloopGetAccountInfo };
|
|
9
23
|
//# sourceMappingURL=get-account-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account-info.d.ts
|
|
4
|
-
declare const SendloopGetAccountInfoInput: z.
|
|
5
|
-
declare const SendloopGetAccountInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendloopGetAccountInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendloopGetAccountInfoOutput: z.ZodObject<{
|
|
6
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8
|
+
api_key: z.ZodNullable<z.ZodString>;
|
|
9
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
10
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
11
|
+
account_id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
sender_name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
account_type: z.ZodNullable<z.ZodEnum<{
|
|
14
|
+
paid: "paid";
|
|
15
|
+
trial: "trial";
|
|
16
|
+
}>>;
|
|
17
|
+
company_name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
sender_email: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const sendloopGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { sendloopGetAccountInfo };
|
|
9
23
|
//# sourceMappingURL=get-account-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,17 +6,17 @@ const sendloopGetAccountInfo = action("SENDLOOP_GET_ACCOUNT_INFO", {
|
|
|
6
6
|
description: "Tool to retrieve account information. Use when you need details about the current Sendloop account.",
|
|
7
7
|
input: z.object({}).describe("Request model for Sendloop GET account information. No parameters required."),
|
|
8
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.")
|
|
9
|
+
plan: z.string().describe("Account plan").nullable(),
|
|
10
|
+
email: z.string().describe("Account email address").nullable(),
|
|
11
|
+
api_key: z.string().describe("API key for the account").nullable(),
|
|
12
|
+
currency: z.string().describe("Account currency").nullable(),
|
|
13
|
+
timezone: z.string().describe("Timezone for the account").nullable(),
|
|
14
|
+
account_id: z.number().int().describe("The account's unique identifier").nullable(),
|
|
15
|
+
sender_name: z.string().describe("Default sender name").nullable(),
|
|
16
|
+
account_type: z.enum(["paid", "trial"]).describe("Plan type, e.g., 'paid' or 'trial'").nullable(),
|
|
17
|
+
company_name: z.string().describe("Name of the company").nullable(),
|
|
18
|
+
sender_email: z.string().describe("Default sender email").nullable()
|
|
19
|
+
}).passthrough().describe("Response model for Sendloop GET account information.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sendloopGetAccountInfo };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for Sendloop GET account information. No parameters required.\");\nexport const SendloopGetAccountInfoOutput = z.object({\n plan: z.string().describe(\"Account plan\").nullable(),\n email: z.string().describe(\"Account email address\").nullable(),\n api_key: z.string().describe(\"API key for the account\").nullable(),\n currency: z.string().describe(\"Account currency\").nullable(),\n timezone: z.string().describe(\"Timezone for the account\").nullable(),\n account_id: z.number().int().describe(\"The account's unique identifier\").nullable(),\n sender_name: z.string().describe(\"Default sender name\").nullable(),\n account_type: z.enum([\"paid\", \"trial\"]).describe(\"Plan type, e.g., 'paid' or 'trial'\").nullable(),\n company_name: z.string().describe(\"Name of the company\").nullable(),\n sender_email: z.string().describe(\"Default sender email\").nullable(),\n}).passthrough().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,OAlByC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAkBxD;CACP,QAlB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjE,cAAc,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -3,23 +3,23 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-overall-list-report.ts
|
|
4
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
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.");
|
|
6
|
+
ListID: zod.z.number().int().describe("Unique identifier of the subscriber list").nullable(),
|
|
7
|
+
ListName: zod.z.string().describe("Name of the subscriber list").nullable(),
|
|
8
|
+
Confirmed: zod.z.number().int().describe("Number of confirmed subscribers").nullable(),
|
|
9
|
+
Complaints: zod.z.number().int().describe("Number of spam complaints").nullable(),
|
|
10
|
+
HardBounces: zod.z.number().int().describe("Number of hard bounces").nullable(),
|
|
11
|
+
SoftBounces: zod.z.number().int().describe("Number of soft bounces").nullable(),
|
|
12
|
+
Subscribers: zod.z.number().int().describe("Total number of subscribers in the list").nullable(),
|
|
13
|
+
TotalOpened: zod.z.number().int().describe("Total number of opens across all campaigns").nullable(),
|
|
14
|
+
Unconfirmed: zod.z.number().int().describe("Number of unconfirmed subscribers").nullable(),
|
|
15
|
+
TotalClicked: zod.z.number().int().describe("Total number of clicks across all campaigns").nullable(),
|
|
16
|
+
Unsubscribes: zod.z.number().int().describe("Number of unsubscribes").nullable()
|
|
17
|
+
}).passthrough().describe("Schema for overall report metrics of a subscriber list.");
|
|
18
18
|
const SendloopGetOverallListReportOutput = zod.z.object({
|
|
19
19
|
data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),
|
|
20
|
-
status: zod.z.enum(["success", "error"]).describe("API call status"),
|
|
20
|
+
status: zod.z.enum(["success", "error"]).describe("API call status").nullable(),
|
|
21
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.");
|
|
22
|
+
}).passthrough().describe("Response model for retrieving overall report of a subscriber list.");
|
|
23
23
|
const sendloopGetOverallListReport = require_action.action("SENDLOOP_GET_OVERALL_LIST_REPORT", {
|
|
24
24
|
slug: "sendloop-get-overall-list-report",
|
|
25
25
|
name: "Get Overall List Report",
|
|
@@ -1 +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
|
|
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.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.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list\").nullable(),\n ListName: z.string().describe(\"Name of the subscriber list\").nullable(),\n Confirmed: z.number().int().describe(\"Number of confirmed subscribers\").nullable(),\n Complaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n HardBounces: z.number().int().describe(\"Number of hard bounces\").nullable(),\n SoftBounces: z.number().int().describe(\"Number of soft bounces\").nullable(),\n Subscribers: z.number().int().describe(\"Total number of subscribers in the list\").nullable(),\n TotalOpened: z.number().int().describe(\"Total number of opens across all campaigns\").nullable(),\n Unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers\").nullable(),\n TotalClicked: z.number().int().describe(\"Total number of clicks across all campaigns\").nullable(),\n Unsubscribes: z.number().int().describe(\"Number of unsubscribes\").nullable(),\n}).passthrough().describe(\"Schema for overall report metrics of a subscriber list.\");\nexport const SendloopGetOverallListReportOutput = z.object({\n data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),\n status: z.enum([\"success\", \"error\"]).describe(\"API call status\").nullable(),\n message: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().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,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-overall-list-report.d.ts
|
|
4
|
-
declare const SendloopGetOverallListReportInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopGetOverallListReportInput: z.ZodObject<{
|
|
5
|
+
ListID: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendloopGetOverallListReportOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
ListID: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
ListName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
Confirmed: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
Complaints: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
HardBounces: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
SoftBounces: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
Subscribers: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
TotalOpened: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
Unconfirmed: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
TotalClicked: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
Unsubscribes: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
22
|
+
error: "error";
|
|
23
|
+
success: "success";
|
|
24
|
+
}>>;
|
|
25
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const sendloopGetOverallListReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
ListID: number;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { sendloopGetOverallListReport };
|
|
9
32
|
//# sourceMappingURL=get-overall-list-report.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-overall-list-report.d.cts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.d.cts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-overall-list-report.d.ts
|
|
4
|
-
declare const SendloopGetOverallListReportInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopGetOverallListReportInput: z.ZodObject<{
|
|
5
|
+
ListID: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendloopGetOverallListReportOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
ListID: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
ListName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
Confirmed: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
Complaints: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
HardBounces: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
SoftBounces: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
Subscribers: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
TotalOpened: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
Unconfirmed: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
TotalClicked: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
Unsubscribes: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
22
|
+
error: "error";
|
|
23
|
+
success: "success";
|
|
24
|
+
}>>;
|
|
25
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const sendloopGetOverallListReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
ListID: number;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { sendloopGetOverallListReport };
|
|
9
32
|
//# sourceMappingURL=get-overall-list-report.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-overall-list-report.d.mts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.d.mts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -3,18 +3,18 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-overall-list-report.ts
|
|
4
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
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.");
|
|
6
|
+
ListID: z.number().int().describe("Unique identifier of the subscriber list").nullable(),
|
|
7
|
+
ListName: z.string().describe("Name of the subscriber list").nullable(),
|
|
8
|
+
Confirmed: z.number().int().describe("Number of confirmed subscribers").nullable(),
|
|
9
|
+
Complaints: z.number().int().describe("Number of spam complaints").nullable(),
|
|
10
|
+
HardBounces: z.number().int().describe("Number of hard bounces").nullable(),
|
|
11
|
+
SoftBounces: z.number().int().describe("Number of soft bounces").nullable(),
|
|
12
|
+
Subscribers: z.number().int().describe("Total number of subscribers in the list").nullable(),
|
|
13
|
+
TotalOpened: z.number().int().describe("Total number of opens across all campaigns").nullable(),
|
|
14
|
+
Unconfirmed: z.number().int().describe("Number of unconfirmed subscribers").nullable(),
|
|
15
|
+
TotalClicked: z.number().int().describe("Total number of clicks across all campaigns").nullable(),
|
|
16
|
+
Unsubscribes: z.number().int().describe("Number of unsubscribes").nullable()
|
|
17
|
+
}).passthrough().describe("Schema for overall report metrics of a subscriber list.");
|
|
18
18
|
const sendloopGetOverallListReport = action("SENDLOOP_GET_OVERALL_LIST_REPORT", {
|
|
19
19
|
slug: "sendloop-get-overall-list-report",
|
|
20
20
|
name: "Get Overall List Report",
|
|
@@ -22,9 +22,9 @@ const sendloopGetOverallListReport = action("SENDLOOP_GET_OVERALL_LIST_REPORT",
|
|
|
22
22
|
input: SendloopGetOverallListReportInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),
|
|
25
|
-
status: z.enum(["success", "error"]).describe("API call status"),
|
|
25
|
+
status: z.enum(["success", "error"]).describe("API call status").nullable(),
|
|
26
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.")
|
|
27
|
+
}).passthrough().describe("Response model for retrieving overall report of a subscriber list.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { sendloopGetOverallListReport };
|
|
@@ -1 +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
|
|
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.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.object({\n ListID: z.number().int().describe(\"Unique identifier of the subscriber list\").nullable(),\n ListName: z.string().describe(\"Name of the subscriber list\").nullable(),\n Confirmed: z.number().int().describe(\"Number of confirmed subscribers\").nullable(),\n Complaints: z.number().int().describe(\"Number of spam complaints\").nullable(),\n HardBounces: z.number().int().describe(\"Number of hard bounces\").nullable(),\n SoftBounces: z.number().int().describe(\"Number of soft bounces\").nullable(),\n Subscribers: z.number().int().describe(\"Total number of subscribers in the list\").nullable(),\n TotalOpened: z.number().int().describe(\"Total number of opens across all campaigns\").nullable(),\n Unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers\").nullable(),\n TotalClicked: z.number().int().describe(\"Total number of clicks across all campaigns\").nullable(),\n Unsubscribes: z.number().int().describe(\"Number of unsubscribes\").nullable(),\n}).passthrough().describe(\"Schema for overall report metrics of a subscriber list.\");\nexport const SendloopGetOverallListReportOutput = z.object({\n data: SendloopGetOverallListReport_OverallListReportDataSchema.nullable().optional(),\n status: z.enum([\"success\", \"error\"]).describe(\"API call status\").nullable(),\n message: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().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,oCAAoC,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2DAA2D,EAAE,OAAO;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAOnF,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -14,19 +14,19 @@ const SendloopListCampaignsInput = zod.z.object({
|
|
|
14
14
|
}).describe("Request model for listing Sendloop campaigns with optional status filter and pagination.");
|
|
15
15
|
const SendloopListCampaigns_CampaignSchema = zod.z.object({
|
|
16
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"),
|
|
17
|
+
reportURL: zod.z.string().describe("URL to access the campaign report").nullable(),
|
|
18
|
+
scheduled: zod.z.string().describe("Whether the campaign is scheduled ('Yes' or 'No')").nullable(),
|
|
19
|
+
campaignID: zod.z.string().describe("Unique ID of the campaign").nullable(),
|
|
20
|
+
creationDate: zod.z.string().describe("ISO date when the campaign was created").nullable(),
|
|
21
|
+
campaignTitle: zod.z.string().describe("Title of the campaign").nullable(),
|
|
22
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.");
|
|
23
|
+
campaignStatus: zod.z.string().describe("Status of the campaign").nullable()
|
|
24
|
+
}).passthrough().describe("Schema for a campaign in the list response.");
|
|
25
25
|
const SendloopListCampaignsOutput = zod.z.object({
|
|
26
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'"),
|
|
27
|
+
status: zod.z.string().describe("API response status, e.g., 'SUCCESS'").nullable(),
|
|
28
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.");
|
|
29
|
+
}).passthrough().describe("Response model containing list of campaigns and related metadata.");
|
|
30
30
|
const sendloopListCampaigns = require_action.action("SENDLOOP_LIST_CAMPAIGNS", {
|
|
31
31
|
slug: "sendloop-list-campaigns",
|
|
32
32
|
name: "List Campaigns",
|
|
@@ -1 +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
|
|
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.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.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\").nullable(),\n scheduled: z.string().describe(\"Whether the campaign is scheduled ('Yes' or 'No')\").nullable(),\n campaignID: z.string().describe(\"Unique ID of the campaign\").nullable(),\n creationDate: z.string().describe(\"ISO date when the campaign was created\").nullable(),\n campaignTitle: z.string().describe(\"Title of the campaign\").nullable(),\n scheduledDate: z.string().describe(\"Scheduled date if applicable\").nullable().optional(),\n campaignStatus: z.string().describe(\"Status of the campaign\").nullable(),\n}).passthrough().describe(\"Schema for a campaign in the list response.\");\nexport const SendloopListCampaignsOutput = 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'\").nullable(),\n message: z.string().describe(\"Additional information or message from the API\").nullable().optional(),\n}).passthrough().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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-campaigns.d.ts
|
|
4
|
-
declare const SendloopListCampaignsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopListCampaignsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
active: "active";
|
|
8
|
+
draft: "draft";
|
|
9
|
+
scheduled: "scheduled";
|
|
10
|
+
archived: "archived";
|
|
11
|
+
all: "all";
|
|
12
|
+
}>>;
|
|
13
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const SendloopListCampaignsOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodArray<z.ZodObject<{
|
|
17
|
+
sentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
reportURL: z.ZodNullable<z.ZodString>;
|
|
19
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
20
|
+
campaignID: z.ZodNullable<z.ZodString>;
|
|
21
|
+
creationDate: z.ZodNullable<z.ZodString>;
|
|
22
|
+
campaignTitle: z.ZodNullable<z.ZodString>;
|
|
23
|
+
scheduledDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
campaignStatus: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
status: z.ZodNullable<z.ZodString>;
|
|
27
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const sendloopListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
page?: number | undefined;
|
|
31
|
+
status?: "active" | "draft" | "scheduled" | "archived" | "all" | undefined;
|
|
32
|
+
per_page?: number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { sendloopListCampaigns };
|
|
9
36
|
//# sourceMappingURL=list-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-campaigns.d.ts
|
|
4
|
-
declare const SendloopListCampaignsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopListCampaignsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
active: "active";
|
|
8
|
+
draft: "draft";
|
|
9
|
+
scheduled: "scheduled";
|
|
10
|
+
archived: "archived";
|
|
11
|
+
all: "all";
|
|
12
|
+
}>>;
|
|
13
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const SendloopListCampaignsOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodArray<z.ZodObject<{
|
|
17
|
+
sentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
reportURL: z.ZodNullable<z.ZodString>;
|
|
19
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
20
|
+
campaignID: z.ZodNullable<z.ZodString>;
|
|
21
|
+
creationDate: z.ZodNullable<z.ZodString>;
|
|
22
|
+
campaignTitle: z.ZodNullable<z.ZodString>;
|
|
23
|
+
scheduledDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
campaignStatus: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
status: z.ZodNullable<z.ZodString>;
|
|
27
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const sendloopListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
page?: number | undefined;
|
|
31
|
+
status?: "active" | "draft" | "scheduled" | "archived" | "all" | undefined;
|
|
32
|
+
per_page?: number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { sendloopListCampaigns };
|
|
9
36
|
//# sourceMappingURL=list-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -14,14 +14,14 @@ const SendloopListCampaignsInput = z.object({
|
|
|
14
14
|
}).describe("Request model for listing Sendloop campaigns with optional status filter and pagination.");
|
|
15
15
|
const SendloopListCampaigns_CampaignSchema = z.object({
|
|
16
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"),
|
|
17
|
+
reportURL: z.string().describe("URL to access the campaign report").nullable(),
|
|
18
|
+
scheduled: z.string().describe("Whether the campaign is scheduled ('Yes' or 'No')").nullable(),
|
|
19
|
+
campaignID: z.string().describe("Unique ID of the campaign").nullable(),
|
|
20
|
+
creationDate: z.string().describe("ISO date when the campaign was created").nullable(),
|
|
21
|
+
campaignTitle: z.string().describe("Title of the campaign").nullable(),
|
|
22
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.");
|
|
23
|
+
campaignStatus: z.string().describe("Status of the campaign").nullable()
|
|
24
|
+
}).passthrough().describe("Schema for a campaign in the list response.");
|
|
25
25
|
const sendloopListCampaigns = action("SENDLOOP_LIST_CAMPAIGNS", {
|
|
26
26
|
slug: "sendloop-list-campaigns",
|
|
27
27
|
name: "List Campaigns",
|
|
@@ -29,9 +29,9 @@ const sendloopListCampaigns = action("SENDLOOP_LIST_CAMPAIGNS", {
|
|
|
29
29
|
input: SendloopListCampaignsInput,
|
|
30
30
|
output: z.object({
|
|
31
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'"),
|
|
32
|
+
status: z.string().describe("API response status, e.g., 'SUCCESS'").nullable(),
|
|
33
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.")
|
|
34
|
+
}).passthrough().describe("Response model containing list of campaigns and related metadata.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { sendloopListCampaigns };
|
|
@@ -1 +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
|
|
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.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.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\").nullable(),\n scheduled: z.string().describe(\"Whether the campaign is scheduled ('Yes' or 'No')\").nullable(),\n campaignID: z.string().describe(\"Unique ID of the campaign\").nullable(),\n creationDate: z.string().describe(\"ISO date when the campaign was created\").nullable(),\n campaignTitle: z.string().describe(\"Title of the campaign\").nullable(),\n scheduledDate: z.string().describe(\"Scheduled date if applicable\").nullable().optional(),\n campaignStatus: z.string().describe(\"Status of the campaign\").nullable(),\n}).passthrough().describe(\"Schema for a campaign in the list response.\");\nexport const SendloopListCampaignsOutput = 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'\").nullable(),\n message: z.string().describe(\"Additional information or message from the API\").nullable().optional(),\n}).passthrough().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,6BAA6B,EAAE,OAAO;CACjD,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,uCAAuC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAOvE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-lists.ts
|
|
4
4
|
const SendloopListListsInput = zod.z.object({}).describe("Request model for listing subscriber lists. No parameters required.");
|
|
5
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"),
|
|
6
|
+
name: zod.z.string().describe("Programmatic name of the mailing list").nullable(),
|
|
7
|
+
list_id: zod.z.number().int().describe("Unique ID of the mailing list").nullable(),
|
|
8
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.");
|
|
9
|
+
subscribers_count: zod.z.number().int().describe("Total number of subscribers in this list").nullable()
|
|
10
|
+
}).passthrough().describe("Schema for a subscriber list returned by Sendloop.");
|
|
11
11
|
const SendloopListListsOutput = zod.z.object({
|
|
12
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.");
|
|
13
|
+
total_count: zod.z.number().int().describe("Total number of lists returned").nullable()
|
|
14
|
+
}).passthrough().describe("Response model containing a list of subscriber lists.");
|
|
15
15
|
const sendloopListLists = require_action.action("SENDLOOP_LIST_LISTS", {
|
|
16
16
|
slug: "sendloop-list-lists",
|
|
17
17
|
name: "List SendLoop Lists",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for listing subscriber lists. No parameters required.\");\nconst SendloopListLists_ListInfoSchema = z.object({\n name: z.string().describe(\"Programmatic name of the mailing list\").nullable(),\n list_id: z.number().int().describe(\"Unique ID of the mailing list\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Schema for a subscriber list returned by Sendloop.\");\nexport const SendloopListListsOutput = 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\").nullable(),\n}).passthrough().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,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjI,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,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,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lists.d.ts
|
|
4
|
-
declare const SendloopListListsInput: z.
|
|
5
|
-
declare const SendloopListListsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendloopListListsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendloopListListsOutput: z.ZodObject<{
|
|
6
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
list_id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
opt_in_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
subscribers_count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const sendloopListLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { sendloopListLists };
|
|
9
17
|
//# sourceMappingURL=list-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lists.d.ts
|
|
4
|
-
declare const SendloopListListsInput: z.
|
|
5
|
-
declare const SendloopListListsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendloopListListsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendloopListListsOutput: z.ZodObject<{
|
|
6
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
list_id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
opt_in_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
subscribers_count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const sendloopListLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { sendloopListLists };
|
|
9
17
|
//# sourceMappingURL=list-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,11 +3,11 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-lists.ts
|
|
4
4
|
const SendloopListListsInput = z.object({}).describe("Request model for listing subscriber lists. No parameters required.");
|
|
5
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"),
|
|
6
|
+
name: z.string().describe("Programmatic name of the mailing list").nullable(),
|
|
7
|
+
list_id: z.number().int().describe("Unique ID of the mailing list").nullable(),
|
|
8
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.");
|
|
9
|
+
subscribers_count: z.number().int().describe("Total number of subscribers in this list").nullable()
|
|
10
|
+
}).passthrough().describe("Schema for a subscriber list returned by Sendloop.");
|
|
11
11
|
const sendloopListLists = action("SENDLOOP_LIST_LISTS", {
|
|
12
12
|
slug: "sendloop-list-lists",
|
|
13
13
|
name: "List SendLoop Lists",
|
|
@@ -15,8 +15,8 @@ const sendloopListLists = action("SENDLOOP_LIST_LISTS", {
|
|
|
15
15
|
input: SendloopListListsInput,
|
|
16
16
|
output: z.object({
|
|
17
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.")
|
|
18
|
+
total_count: z.number().int().describe("Total number of lists returned").nullable()
|
|
19
|
+
}).passthrough().describe("Response model containing a list of subscriber lists.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sendloopListLists };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for listing subscriber lists. No parameters required.\");\nconst SendloopListLists_ListInfoSchema = z.object({\n name: z.string().describe(\"Programmatic name of the mailing list\").nullable(),\n list_id: z.number().int().describe(\"Unique ID of the mailing list\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Schema for a subscriber list returned by Sendloop.\");\nexport const SendloopListListsOutput = 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\").nullable(),\n}).passthrough().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,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjI,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -8,16 +8,16 @@ const SendloopListSubscribersInput = zod.z.object({
|
|
|
8
8
|
}).describe("Request model for listing subscribers in a SendLoop list.");
|
|
9
9
|
const SendloopListSubscribers_SubscriberEntrySchema = zod.z.object({
|
|
10
10
|
name: zod.z.string().describe("Name of the subscriber").nullable().optional(),
|
|
11
|
-
email: zod.z.string().describe("Email address of the subscriber"),
|
|
11
|
+
email: zod.z.string().describe("Email address of the subscriber").nullable(),
|
|
12
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"),
|
|
13
|
+
subscriber_id: zod.z.number().int().describe("Unique identifier of the subscriber").nullable(),
|
|
14
14
|
subscription_date: zod.z.string().describe("Timestamp when the subscriber was added").nullable().optional()
|
|
15
|
-
}).describe("Schema for a subscriber returned by SendLoop.");
|
|
15
|
+
}).passthrough().describe("Schema for a subscriber returned by SendLoop.");
|
|
16
16
|
const SendloopListSubscribersOutput = zod.z.object({
|
|
17
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.");
|
|
18
|
+
success: zod.z.boolean().describe("Indicates if the API call was successful").nullable(),
|
|
19
|
+
total_count: zod.z.number().int().describe("Total number of subscribers matching the query").nullable()
|
|
20
|
+
}).passthrough().describe("Response schema for listing subscribers.");
|
|
21
21
|
const sendloopListSubscribers = require_action.action("SENDLOOP_LIST_SUBSCRIBERS", {
|
|
22
22
|
slug: "sendloop-list-subscribers",
|
|
23
23
|
name: "List SendLoop Subscribers",
|
|
@@ -1 +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
|
|
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.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.object({\n name: z.string().describe(\"Name of the subscriber\").nullable().optional(),\n email: z.string().describe(\"Email address of the subscriber\").nullable(),\n status: z.string().describe(\"Subscription status of the subscriber\").nullable().optional(),\n subscriber_id: z.number().int().describe(\"Unique identifier of the subscriber\").nullable(),\n subscription_date: z.string().describe(\"Timestamp when the subscriber was added\").nullable().optional(),\n}).passthrough().describe(\"Schema for a subscriber returned by SendLoop.\");\nexport const SendloopListSubscribersOutput = 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\").nullable(),\n total_count: z.number().int().describe(\"Total number of subscribers matching the query\").nullable(),\n}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,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,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-subscribers.d.ts
|
|
4
|
-
declare const SendloopListSubscribersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopListSubscribersInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodString;
|
|
6
|
+
segment_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
start_index: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SendloopListSubscribersOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodArray<z.ZodObject<{
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
subscriber_id: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
subscription_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const sendloopListSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
list_id: string;
|
|
22
|
+
segment_id?: string | undefined;
|
|
23
|
+
start_index?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendloopListSubscribers };
|
|
9
27
|
//# sourceMappingURL=list-subscribers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscribers.d.cts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-subscribers.d.cts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-subscribers.d.ts
|
|
4
|
-
declare const SendloopListSubscribersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendloopListSubscribersInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodString;
|
|
6
|
+
segment_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
start_index: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SendloopListSubscribersOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodArray<z.ZodObject<{
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
subscriber_id: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
subscription_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const sendloopListSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
list_id: string;
|
|
22
|
+
segment_id?: string | undefined;
|
|
23
|
+
start_index?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendloopListSubscribers };
|
|
9
27
|
//# sourceMappingURL=list-subscribers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscribers.d.mts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-subscribers.d.mts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -8,11 +8,11 @@ const SendloopListSubscribersInput = z.object({
|
|
|
8
8
|
}).describe("Request model for listing subscribers in a SendLoop list.");
|
|
9
9
|
const SendloopListSubscribers_SubscriberEntrySchema = z.object({
|
|
10
10
|
name: z.string().describe("Name of the subscriber").nullable().optional(),
|
|
11
|
-
email: z.string().describe("Email address of the subscriber"),
|
|
11
|
+
email: z.string().describe("Email address of the subscriber").nullable(),
|
|
12
12
|
status: z.string().describe("Subscription status of the subscriber").nullable().optional(),
|
|
13
|
-
subscriber_id: z.number().int().describe("Unique identifier of the subscriber"),
|
|
13
|
+
subscriber_id: z.number().int().describe("Unique identifier of the subscriber").nullable(),
|
|
14
14
|
subscription_date: z.string().describe("Timestamp when the subscriber was added").nullable().optional()
|
|
15
|
-
}).describe("Schema for a subscriber returned by SendLoop.");
|
|
15
|
+
}).passthrough().describe("Schema for a subscriber returned by SendLoop.");
|
|
16
16
|
const sendloopListSubscribers = action("SENDLOOP_LIST_SUBSCRIBERS", {
|
|
17
17
|
slug: "sendloop-list-subscribers",
|
|
18
18
|
name: "List SendLoop Subscribers",
|
|
@@ -20,9 +20,9 @@ const sendloopListSubscribers = action("SENDLOOP_LIST_SUBSCRIBERS", {
|
|
|
20
20
|
input: SendloopListSubscribersInput,
|
|
21
21
|
output: z.object({
|
|
22
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.")
|
|
23
|
+
success: z.boolean().describe("Indicates if the API call was successful").nullable(),
|
|
24
|
+
total_count: z.number().int().describe("Total number of subscribers matching the query").nullable()
|
|
25
|
+
}).passthrough().describe("Response schema for listing subscribers.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { sendloopListSubscribers };
|
|
@@ -1 +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
|
|
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.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.object({\n name: z.string().describe(\"Name of the subscriber\").nullable().optional(),\n email: z.string().describe(\"Email address of the subscriber\").nullable(),\n status: z.string().describe(\"Subscription status of the subscriber\").nullable().optional(),\n subscriber_id: z.number().int().describe(\"Unique identifier of the subscriber\").nullable(),\n subscription_date: z.string().describe(\"Timestamp when the subscriber was added\").nullable().optional(),\n}).passthrough().describe(\"Schema for a subscriber returned by SendLoop.\");\nexport const SendloopListSubscribersOutput = 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\").nullable(),\n total_count: z.number().int().describe(\"Total number of subscribers matching the query\").nullable(),\n}).passthrough().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,+BAA+B,EAAE,OAAO;CACnD,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,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAOzE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const sendloopCatalog = {
|
|
|
7
7
|
"category": "Email Newsletters",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/sendloop",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Sendloop API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key used for authenticating requests to the Sendloop API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.sendloopCatalog = sendloopCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +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;
|
|
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendloop API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Sendloop API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const sendloopCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/sendloop";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Sendloop API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key used for authenticating requests to the Sendloop API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { sendloopCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const sendloopCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/sendloop";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Sendloop API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key used for authenticating requests to the Sendloop API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { sendloopCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const sendloopCatalog = {
|
|
|
7
7
|
"category": "Email Newsletters",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/sendloop",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Sendloop API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key used for authenticating requests to the Sendloop API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { sendloopCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +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;
|
|
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendloop API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Sendloop API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sendloop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|