@keystrokehq/sendloop 0.1.5 → 0.1.6
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 +1 -0
- package/dist/actions/get-account-info.cjs.map +1 -1
- package/dist/actions/get-account-info.d.cts +3 -13
- package/dist/actions/get-account-info.d.cts.map +1 -1
- package/dist/actions/get-account-info.d.mts +3 -13
- package/dist/actions/get-account-info.d.mts.map +1 -1
- package/dist/actions/get-account-info.mjs +1 -0
- package/dist/actions/get-account-info.mjs.map +1 -1
- package/dist/actions/get-overall-list-report.cjs +1 -0
- package/dist/actions/get-overall-list-report.cjs.map +1 -1
- package/dist/actions/get-overall-list-report.d.cts +3 -15
- package/dist/actions/get-overall-list-report.d.cts.map +1 -1
- package/dist/actions/get-overall-list-report.d.mts +3 -15
- package/dist/actions/get-overall-list-report.d.mts.map +1 -1
- package/dist/actions/get-overall-list-report.mjs +1 -0
- package/dist/actions/get-overall-list-report.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -17
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -17
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-lists.cjs +1 -0
- package/dist/actions/list-lists.cjs.map +1 -1
- package/dist/actions/list-lists.d.cts +3 -13
- package/dist/actions/list-lists.d.cts.map +1 -1
- package/dist/actions/list-lists.d.mts +3 -13
- package/dist/actions/list-lists.d.mts.map +1 -1
- package/dist/actions/list-lists.mjs +1 -0
- package/dist/actions/list-lists.mjs.map +1 -1
- package/dist/actions/list-subscribers.cjs +1 -0
- package/dist/actions/list-subscribers.cjs.map +1 -1
- package/dist/actions/list-subscribers.d.cts +3 -17
- package/dist/actions/list-subscribers.d.cts.map +1 -1
- package/dist/actions/list-subscribers.d.mts +3 -17
- package/dist/actions/list-subscribers.d.mts.map +1 -1
- package/dist/actions/list-subscribers.mjs +1 -0
- package/dist/actions/list-subscribers.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["sendloop","executeSendloopTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendloop.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendloop.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +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.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":"
|
|
1
|
+
{"version":3,"file":"get-account-info.cjs","names":["z","action"],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopGetAccountInfoInput,\n typeof SendloopGetAccountInfoOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-account-info.d.ts
|
|
@@ -17,19 +19,7 @@ declare const SendloopGetAccountInfoOutput: z.ZodObject<{
|
|
|
17
19
|
company_name: z.ZodNullable<z.ZodString>;
|
|
18
20
|
sender_email: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendloopGetAccountInfo:
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendloopGetAccountInfo: AppAction<typeof SendloopGetAccountInfoInput, typeof SendloopGetAccountInfoOutput, typeof sendloop.credential>;
|
|
33
23
|
//#endregion
|
|
34
24
|
export { sendloopGetAccountInfo };
|
|
35
25
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-account-info.d.ts
|
|
@@ -17,19 +19,7 @@ declare const SendloopGetAccountInfoOutput: z.ZodObject<{
|
|
|
17
19
|
company_name: z.ZodNullable<z.ZodString>;
|
|
18
20
|
sender_email: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendloopGetAccountInfo:
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendloopGetAccountInfo: AppAction<typeof SendloopGetAccountInfoInput, typeof SendloopGetAccountInfoOutput, typeof sendloop.credential>;
|
|
33
23
|
//#endregion
|
|
34
24
|
export { sendloopGetAccountInfo };
|
|
35
25
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-account-info.mjs","names":[],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopGetAccountInfoInput,\n typeof SendloopGetAccountInfoOutput,\n typeof sendloop.credential\n> = 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":";;;AAoBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtByC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAsBxD;CACP,QAtB0C,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,sDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.cjs","names":["z","action"],"sources":["../../src/actions/get-overall-list-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopGetOverallListReportInput,\n typeof SendloopGetOverallListReportOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-overall-list-report.d.ts
|
|
@@ -24,21 +26,7 @@ declare const SendloopGetOverallListReportOutput: z.ZodObject<{
|
|
|
24
26
|
}>>;
|
|
25
27
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sendloopGetOverallListReport:
|
|
28
|
-
ListID: number;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const sendloopGetOverallListReport: AppAction<typeof SendloopGetOverallListReportInput, typeof SendloopGetOverallListReportOutput, typeof sendloop.credential>;
|
|
42
30
|
//#endregion
|
|
43
31
|
export { sendloopGetOverallListReport };
|
|
44
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":"
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.d.cts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-overall-list-report.d.ts
|
|
@@ -24,21 +26,7 @@ declare const SendloopGetOverallListReportOutput: z.ZodObject<{
|
|
|
24
26
|
}>>;
|
|
25
27
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sendloopGetOverallListReport:
|
|
28
|
-
ListID: number;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const sendloopGetOverallListReport: AppAction<typeof SendloopGetOverallListReportInput, typeof SendloopGetOverallListReportOutput, typeof sendloop.credential>;
|
|
42
30
|
//#endregion
|
|
43
31
|
export { sendloopGetOverallListReport };
|
|
44
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":"
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.d.mts","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-overall-list-report.mjs","names":[],"sources":["../../src/actions/get-overall-list-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopGetOverallListReportInput,\n typeof SendloopGetOverallListReportOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfgD,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,oEAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListCampaignsInput,\n typeof SendloopListCampaignsOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-campaigns.d.ts
|
|
@@ -26,23 +28,7 @@ declare const SendloopListCampaignsOutput: z.ZodObject<{
|
|
|
26
28
|
status: z.ZodNullable<z.ZodString>;
|
|
27
29
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const sendloopListCampaigns:
|
|
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<"sendloop", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const sendloopListCampaigns: AppAction<typeof SendloopListCampaignsInput, typeof SendloopListCampaignsOutput, typeof sendloop.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { sendloopListCampaigns };
|
|
48
34
|
//# sourceMappingURL=list-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-campaigns.d.ts
|
|
@@ -26,23 +28,7 @@ declare const SendloopListCampaignsOutput: z.ZodObject<{
|
|
|
26
28
|
status: z.ZodNullable<z.ZodString>;
|
|
27
29
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const sendloopListCampaigns:
|
|
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<"sendloop", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const sendloopListCampaigns: AppAction<typeof SendloopListCampaignsInput, typeof SendloopListCampaignsOutput, typeof sendloop.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { sendloopListCampaigns };
|
|
48
34
|
//# sourceMappingURL=list-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListCampaignsInput,\n typeof SendloopListCampaignsOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,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,mEAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListListsInput,\n typeof SendloopListListsOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-lists.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SendloopListListsOutput: z.ZodObject<{
|
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendloopListLists:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendloopListLists: AppAction<typeof SendloopListListsInput, typeof SendloopListListsOutput, typeof sendloop.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { sendloopListLists };
|
|
29
19
|
//# sourceMappingURL=list-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-lists.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SendloopListListsOutput: z.ZodObject<{
|
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendloopListLists:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendloopListLists: AppAction<typeof SendloopListListsInput, typeof SendloopListListsOutput, typeof sendloop.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { sendloopListLists };
|
|
29
19
|
//# sourceMappingURL=list-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListListsInput,\n typeof SendloopListListsOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,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,uDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/list-subscribers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListSubscribersInput,\n typeof SendloopListSubscribersOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-subscribers.d.ts
|
|
@@ -17,23 +19,7 @@ declare const SendloopListSubscribersOutput: z.ZodObject<{
|
|
|
17
19
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
20
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendloopListSubscribers:
|
|
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<"sendloop", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendloopListSubscribers: AppAction<typeof SendloopListSubscribersInput, typeof SendloopListSubscribersOutput, typeof sendloop.credential>;
|
|
37
23
|
//#endregion
|
|
38
24
|
export { sendloopListSubscribers };
|
|
39
25
|
//# sourceMappingURL=list-subscribers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscribers.d.cts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscribers.d.cts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendloop } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-subscribers.d.ts
|
|
@@ -17,23 +19,7 @@ declare const SendloopListSubscribersOutput: z.ZodObject<{
|
|
|
17
19
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
20
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendloopListSubscribers:
|
|
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<"sendloop", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendloop", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendloopListSubscribers: AppAction<typeof SendloopListSubscribersInput, typeof SendloopListSubscribersOutput, typeof sendloop.credential>;
|
|
37
23
|
//#endregion
|
|
38
24
|
export { sendloopListSubscribers };
|
|
39
25
|
//# sourceMappingURL=list-subscribers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscribers.d.mts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscribers.d.mts","names":[],"sources":["../../src/actions/list-subscribers.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-subscribers.mjs","names":[],"sources":["../../src/actions/list-subscribers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendloop } from \"../app\";\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: AppAction<\n typeof SendloopListSubscribersInput,\n typeof SendloopListSubscribersOutput,\n typeof sendloop.credential\n> = 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":";;;;AAMA,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,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,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,0CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const sendloop = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "sendloop",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.sendloop = sendloop;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendloop = defineApp({\n slug: \"sendloop\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendloop: KeystrokeApp<\"sendloop\", typeof credential> = defineApp({\n slug: \"sendloop\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const sendloop: KeystrokeApp<"sendloop", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { sendloop };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const sendloop: KeystrokeApp<"sendloop", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { sendloop };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendloop = defineApp({\n slug: \"sendloop\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendloop: KeystrokeApp<\"sendloop\", typeof credential> = defineApp({\n slug: \"sendloop\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { sendloop } from "./app.cjs";
|
|
1
2
|
import { sendloopGetAccountInfo } from "./actions/get-account-info.cjs";
|
|
2
3
|
import { sendloopGetOverallListReport } from "./actions/get-overall-list-report.cjs";
|
|
3
4
|
import { sendloopListCampaigns } from "./actions/list-campaigns.cjs";
|
|
4
5
|
import { sendloopListLists } from "./actions/list-lists.cjs";
|
|
5
6
|
import { sendloopListSubscribers } from "./actions/list-subscribers.cjs";
|
|
6
|
-
import { sendloop } from "./app.cjs";
|
|
7
7
|
import { sendloopCatalog } from "./catalog.cjs";
|
|
8
8
|
export { sendloop, sendloopCatalog, sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { sendloop } from "./app.mjs";
|
|
1
2
|
import { sendloopGetAccountInfo } from "./actions/get-account-info.mjs";
|
|
2
3
|
import { sendloopGetOverallListReport } from "./actions/get-overall-list-report.mjs";
|
|
3
4
|
import { sendloopListCampaigns } from "./actions/list-campaigns.mjs";
|
|
4
5
|
import { sendloopListLists } from "./actions/list-lists.mjs";
|
|
5
6
|
import { sendloopListSubscribers } from "./actions/list-subscribers.mjs";
|
|
6
|
-
import { sendloop } from "./app.mjs";
|
|
7
7
|
import { sendloopCatalog } from "./catalog.mjs";
|
|
8
8
|
export { sendloop, sendloopCatalog, sendloopGetAccountInfo, sendloopGetOverallListReport, sendloopListCampaigns, sendloopListLists, sendloopListSubscribers };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sendloop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|