@keystrokehq/reply 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-list.cjs +19 -0
- package/dist/actions/create-list.cjs.map +1 -0
- package/dist/actions/create-list.d.cts +9 -0
- package/dist/actions/create-list.d.cts.map +1 -0
- package/dist/actions/create-list.d.mts +9 -0
- package/dist/actions/create-list.d.mts.map +1 -0
- package/dist/actions/create-list.mjs +16 -0
- package/dist/actions/create-list.mjs.map +1 -0
- package/dist/actions/delete-email-account.cjs +16 -0
- package/dist/actions/delete-email-account.cjs.map +1 -0
- package/dist/actions/delete-email-account.d.cts +9 -0
- package/dist/actions/delete-email-account.d.cts.map +1 -0
- package/dist/actions/delete-email-account.d.mts +9 -0
- package/dist/actions/delete-email-account.d.mts.map +1 -0
- package/dist/actions/delete-email-account.mjs +13 -0
- package/dist/actions/delete-email-account.mjs.map +1 -0
- package/dist/actions/delete-list-by-id.cjs +16 -0
- package/dist/actions/delete-list-by-id.cjs.map +1 -0
- package/dist/actions/delete-list-by-id.d.cts +9 -0
- package/dist/actions/delete-list-by-id.d.cts.map +1 -0
- package/dist/actions/delete-list-by-id.d.mts +9 -0
- package/dist/actions/delete-list-by-id.d.mts.map +1 -0
- package/dist/actions/delete-list-by-id.mjs +13 -0
- package/dist/actions/delete-list-by-id.mjs.map +1 -0
- package/dist/actions/delete-sequence.cjs +16 -0
- package/dist/actions/delete-sequence.cjs.map +1 -0
- package/dist/actions/delete-sequence.d.cts +9 -0
- package/dist/actions/delete-sequence.d.cts.map +1 -0
- package/dist/actions/delete-sequence.d.mts +9 -0
- package/dist/actions/delete-sequence.d.mts.map +1 -0
- package/dist/actions/delete-sequence.mjs +13 -0
- package/dist/actions/delete-sequence.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +16 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +13 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/generate-ulid.cjs +16 -0
- package/dist/actions/generate-ulid.cjs.map +1 -0
- package/dist/actions/generate-ulid.d.cts +9 -0
- package/dist/actions/generate-ulid.d.cts.map +1 -0
- package/dist/actions/generate-ulid.d.mts +9 -0
- package/dist/actions/generate-ulid.d.mts.map +1 -0
- package/dist/actions/generate-ulid.mjs +13 -0
- package/dist/actions/generate-ulid.mjs.map +1 -0
- package/dist/actions/get-all-lists.cjs +20 -0
- package/dist/actions/get-all-lists.cjs.map +1 -0
- package/dist/actions/get-all-lists.d.cts +9 -0
- package/dist/actions/get-all-lists.d.cts.map +1 -0
- package/dist/actions/get-all-lists.d.mts +9 -0
- package/dist/actions/get-all-lists.d.mts.map +1 -0
- package/dist/actions/get-all-lists.mjs +19 -0
- package/dist/actions/get-all-lists.mjs.map +1 -0
- package/dist/actions/get-blacklist-all.cjs +16 -0
- package/dist/actions/get-blacklist-all.cjs.map +1 -0
- package/dist/actions/get-blacklist-all.d.cts +9 -0
- package/dist/actions/get-blacklist-all.d.cts.map +1 -0
- package/dist/actions/get-blacklist-all.d.mts +9 -0
- package/dist/actions/get-blacklist-all.d.mts.map +1 -0
- package/dist/actions/get-blacklist-all.mjs +13 -0
- package/dist/actions/get-blacklist-all.mjs.map +1 -0
- package/dist/actions/get-campaign-schedules-all.cjs +49 -0
- package/dist/actions/get-campaign-schedules-all.cjs.map +1 -0
- package/dist/actions/get-campaign-schedules-all.d.cts +9 -0
- package/dist/actions/get-campaign-schedules-all.d.cts.map +1 -0
- package/dist/actions/get-campaign-schedules-all.d.mts +9 -0
- package/dist/actions/get-campaign-schedules-all.d.mts.map +1 -0
- package/dist/actions/get-campaign-schedules-all.mjs +48 -0
- package/dist/actions/get-campaign-schedules-all.mjs.map +1 -0
- package/dist/actions/get-campaigns-for-contact.cjs +35 -0
- package/dist/actions/get-campaigns-for-contact.cjs.map +1 -0
- package/dist/actions/get-campaigns-for-contact.d.cts +9 -0
- package/dist/actions/get-campaigns-for-contact.d.cts.map +1 -0
- package/dist/actions/get-campaigns-for-contact.d.mts +9 -0
- package/dist/actions/get-campaigns-for-contact.d.mts.map +1 -0
- package/dist/actions/get-campaigns-for-contact.mjs +34 -0
- package/dist/actions/get-campaigns-for-contact.mjs.map +1 -0
- package/dist/actions/get-contacts-in-list-by-id.cjs +57 -0
- package/dist/actions/get-contacts-in-list-by-id.cjs.map +1 -0
- package/dist/actions/get-contacts-in-list-by-id.d.cts +9 -0
- package/dist/actions/get-contacts-in-list-by-id.d.cts.map +1 -0
- package/dist/actions/get-contacts-in-list-by-id.d.mts +9 -0
- package/dist/actions/get-contacts-in-list-by-id.d.mts.map +1 -0
- package/dist/actions/get-contacts-in-list-by-id.mjs +56 -0
- package/dist/actions/get-contacts-in-list-by-id.mjs.map +1 -0
- package/dist/actions/get-list-by-id.cjs +19 -0
- package/dist/actions/get-list-by-id.cjs.map +1 -0
- package/dist/actions/get-list-by-id.d.cts +9 -0
- package/dist/actions/get-list-by-id.d.cts.map +1 -0
- package/dist/actions/get-list-by-id.d.mts +9 -0
- package/dist/actions/get-list-by-id.d.mts.map +1 -0
- package/dist/actions/get-list-by-id.mjs +16 -0
- package/dist/actions/get-list-by-id.mjs.map +1 -0
- package/dist/actions/get-templates-list.cjs +28 -0
- package/dist/actions/get-templates-list.cjs.map +1 -0
- package/dist/actions/get-templates-list.d.cts +9 -0
- package/dist/actions/get-templates-list.d.cts.map +1 -0
- package/dist/actions/get-templates-list.d.mts +9 -0
- package/dist/actions/get-templates-list.d.mts.map +1 -0
- package/dist/actions/get-templates-list.mjs +27 -0
- package/dist/actions/get-templates-list.mjs.map +1 -0
- package/dist/actions/index.cjs +43 -0
- package/dist/actions/index.d.cts +22 -0
- package/dist/actions/index.d.mts +22 -0
- package/dist/actions/index.mjs +22 -0
- package/dist/actions/list-campaigns.cjs +38 -0
- package/dist/actions/list-campaigns.cjs.map +1 -0
- package/dist/actions/list-campaigns.d.cts +9 -0
- package/dist/actions/list-campaigns.d.cts.map +1 -0
- package/dist/actions/list-campaigns.d.mts +9 -0
- package/dist/actions/list-campaigns.d.mts.map +1 -0
- package/dist/actions/list-campaigns.mjs +37 -0
- package/dist/actions/list-campaigns.mjs.map +1 -0
- package/dist/actions/list-contacts-basic.cjs +56 -0
- package/dist/actions/list-contacts-basic.cjs.map +1 -0
- package/dist/actions/list-contacts-basic.d.cts +9 -0
- package/dist/actions/list-contacts-basic.d.cts.map +1 -0
- package/dist/actions/list-contacts-basic.d.mts +9 -0
- package/dist/actions/list-contacts-basic.d.mts.map +1 -0
- package/dist/actions/list-contacts-basic.mjs +55 -0
- package/dist/actions/list-contacts-basic.mjs.map +1 -0
- package/dist/actions/list-email-accounts.cjs +35 -0
- package/dist/actions/list-email-accounts.cjs.map +1 -0
- package/dist/actions/list-email-accounts.d.cts +9 -0
- package/dist/actions/list-email-accounts.d.cts.map +1 -0
- package/dist/actions/list-email-accounts.d.mts +9 -0
- package/dist/actions/list-email-accounts.d.mts.map +1 -0
- package/dist/actions/list-email-accounts.mjs +34 -0
- package/dist/actions/list-email-accounts.mjs.map +1 -0
- package/dist/actions/mark-contact-as-finished.cjs +19 -0
- package/dist/actions/mark-contact-as-finished.cjs.map +1 -0
- package/dist/actions/mark-contact-as-finished.d.cts +9 -0
- package/dist/actions/mark-contact-as-finished.d.cts.map +1 -0
- package/dist/actions/mark-contact-as-finished.d.mts +9 -0
- package/dist/actions/mark-contact-as-finished.d.mts.map +1 -0
- package/dist/actions/mark-contact-as-finished.mjs +16 -0
- package/dist/actions/mark-contact-as-finished.mjs.map +1 -0
- package/dist/actions/mark-contact-as-replied.cjs +19 -0
- package/dist/actions/mark-contact-as-replied.cjs.map +1 -0
- package/dist/actions/mark-contact-as-replied.d.cts +9 -0
- package/dist/actions/mark-contact-as-replied.d.cts.map +1 -0
- package/dist/actions/mark-contact-as-replied.d.mts +9 -0
- package/dist/actions/mark-contact-as-replied.d.mts.map +1 -0
- package/dist/actions/mark-contact-as-replied.mjs +16 -0
- package/dist/actions/mark-contact-as-replied.mjs.map +1 -0
- package/dist/actions/move-contacts-to-lists.cjs +19 -0
- package/dist/actions/move-contacts-to-lists.cjs.map +1 -0
- package/dist/actions/move-contacts-to-lists.d.cts +9 -0
- package/dist/actions/move-contacts-to-lists.d.cts.map +1 -0
- package/dist/actions/move-contacts-to-lists.d.mts +9 -0
- package/dist/actions/move-contacts-to-lists.d.mts.map +1 -0
- package/dist/actions/move-contacts-to-lists.mjs +16 -0
- package/dist/actions/move-contacts-to-lists.mjs.map +1 -0
- package/dist/actions/remove-domain-from-blacklist.cjs +19 -0
- package/dist/actions/remove-domain-from-blacklist.cjs.map +1 -0
- package/dist/actions/remove-domain-from-blacklist.d.cts +9 -0
- package/dist/actions/remove-domain-from-blacklist.d.cts.map +1 -0
- package/dist/actions/remove-domain-from-blacklist.d.mts +9 -0
- package/dist/actions/remove-domain-from-blacklist.d.mts.map +1 -0
- package/dist/actions/remove-domain-from-blacklist.mjs +16 -0
- package/dist/actions/remove-domain-from-blacklist.mjs.map +1 -0
- package/dist/actions/search-contacts.cjs +43 -0
- package/dist/actions/search-contacts.cjs.map +1 -0
- package/dist/actions/search-contacts.d.cts +9 -0
- package/dist/actions/search-contacts.d.cts.map +1 -0
- package/dist/actions/search-contacts.d.mts +9 -0
- package/dist/actions/search-contacts.d.mts.map +1 -0
- package/dist/actions/search-contacts.mjs +42 -0
- package/dist/actions/search-contacts.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +48 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.mjs +25 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-lists.mjs","names":[],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetAllListsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\"),\n name: z.string().describe(\"Name of the list\"),\n});\nexport const ReplyGetAllListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).describe(\"Response schema for retrieving all people lists.\");\n\nexport const replyGetAllLists = action(\"REPLY_GET_ALL_LISTS\", {\n slug: \"reply-get-all-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.\",\n input: ReplyGetAllListsInput,\n output: ReplyGetAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACvI,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC;AAKD,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-blacklist-all.ts
|
|
4
|
+
const ReplyGetBlacklistAllInput = zod.z.object({}).describe("Request model for retrieving all blacklisted domains and emails.");
|
|
5
|
+
const ReplyGetBlacklistAllOutput = zod.z.object({ domains: zod.z.array(zod.z.string()).describe("List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').") }).describe("Response model for the full blacklist.");
|
|
6
|
+
const replyGetBlacklistAll = require_action.action("REPLY_GET_BLACKLIST_ALL", {
|
|
7
|
+
slug: "reply-get-blacklist-all",
|
|
8
|
+
name: "Get full blacklist of domains and emails",
|
|
9
|
+
description: "Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.",
|
|
10
|
+
input: ReplyGetBlacklistAllInput,
|
|
11
|
+
output: ReplyGetBlacklistAllOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.replyGetBlacklistAll = replyGetBlacklistAll;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-blacklist-all.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.cjs","names":["z","action"],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetBlacklistAllInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput: z.ZodTypeAny = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC/I,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-blacklist-all.d.ts
|
|
4
|
+
declare const ReplyGetBlacklistAllInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetBlacklistAllOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetBlacklistAll };
|
|
9
|
+
//# sourceMappingURL=get-blacklist-all.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.d.cts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAsG;AAAA,cACnI,0BAAA,EAA4B,CAAA,CAAE,UAEU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-blacklist-all.d.ts
|
|
4
|
+
declare const ReplyGetBlacklistAllInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetBlacklistAllOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetBlacklistAll };
|
|
9
|
+
//# sourceMappingURL=get-blacklist-all.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.d.mts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAsG;AAAA,cACnI,0BAAA,EAA4B,CAAA,CAAE,UAEU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const replyGetBlacklistAll = action("REPLY_GET_BLACKLIST_ALL", {
|
|
4
|
+
slug: "reply-get-blacklist-all",
|
|
5
|
+
name: "Get full blacklist of domains and emails",
|
|
6
|
+
description: "Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.",
|
|
7
|
+
input: z.object({}).describe("Request model for retrieving all blacklisted domains and emails."),
|
|
8
|
+
output: z.object({ domains: z.array(z.string()).describe("List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').") }).describe("Response model for the full blacklist.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { replyGetBlacklistAll };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-blacklist-all.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.mjs","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetBlacklistAllInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput: z.ZodTypeAny = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEASpE;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-campaign-schedules-all.ts
|
|
4
|
+
const ReplyGetCampaignSchedulesAllInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number to retrieve (1-based indexing).").optional(),
|
|
6
|
+
limit: zod.z.number().int().default(50).describe("Maximum number of schedules to return per page.").optional()
|
|
7
|
+
}).describe("Request model for listing all campaign schedules with optional pagination.");
|
|
8
|
+
const ReplyGetCampaignSchedulesAll_TimeModelSchema = zod.z.object({
|
|
9
|
+
hour: zod.z.number().int().describe("Hour of the time (0-24)."),
|
|
10
|
+
minute: zod.z.number().int().describe("Minute of the time (0-59).")
|
|
11
|
+
});
|
|
12
|
+
const ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = zod.z.object({
|
|
13
|
+
toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),
|
|
14
|
+
fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable()
|
|
15
|
+
});
|
|
16
|
+
const ReplyGetCampaignSchedulesAll_DayTimingModelSchema = zod.z.object({
|
|
17
|
+
weekDay: zod.z.string().describe("Name of the weekday, e.g., 'Monday'."),
|
|
18
|
+
isActive: zod.z.boolean().describe("Whether this day is active in the schedule."),
|
|
19
|
+
timeRanges: zod.z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe("List of time ranges for this day.")
|
|
20
|
+
});
|
|
21
|
+
const ReplyGetCampaignSchedulesAll_ScheduleModelSchema = zod.z.object({
|
|
22
|
+
id: zod.z.number().int().describe("Unique identifier for the schedule."),
|
|
23
|
+
name: zod.z.string().describe("Name of the schedule."),
|
|
24
|
+
isDefault: zod.z.boolean().describe("Indicates if this is the default schedule."),
|
|
25
|
+
timezoneId: zod.z.string().describe("Timezone identifier for the schedule."),
|
|
26
|
+
mainTimings: zod.z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Primary schedule timings per day."),
|
|
27
|
+
followUpTimings: zod.z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Follow-up schedule timings per day.")
|
|
28
|
+
});
|
|
29
|
+
const ReplyGetCampaignSchedulesAll_PaginationInfoSchema = zod.z.object({
|
|
30
|
+
page: zod.z.number().int().describe("Current page number."),
|
|
31
|
+
limit: zod.z.number().int().describe("Number of items per page."),
|
|
32
|
+
total: zod.z.number().int().describe("Total number of schedules available."),
|
|
33
|
+
has_more: zod.z.boolean().describe("Whether there are more pages available.")
|
|
34
|
+
}).describe("Pagination metadata for the schedules list response.");
|
|
35
|
+
const ReplyGetCampaignSchedulesAllOutput = zod.z.object({
|
|
36
|
+
schedules: zod.z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe("List of campaign schedules (default and user-created)."),
|
|
37
|
+
pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable()
|
|
38
|
+
});
|
|
39
|
+
const replyGetCampaignSchedulesAll = require_action.action("REPLY_GET_CAMPAIGN_SCHEDULES_ALL", {
|
|
40
|
+
slug: "reply-get-campaign-schedules-all",
|
|
41
|
+
name: "Get all campaign schedules",
|
|
42
|
+
description: "Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.",
|
|
43
|
+
input: ReplyGetCampaignSchedulesAllInput,
|
|
44
|
+
output: ReplyGetCampaignSchedulesAllOutput
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
exports.replyGetCampaignSchedulesAll = replyGetCampaignSchedulesAll;
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=get-campaign-schedules-all.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignSchedulesAllInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema: z.ZodTypeAny = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\"),\n minute: z.number().int().describe(\"Minute of the time (0-59).\"),\n});\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema: z.ZodTypeAny = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n});\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema: z.ZodTypeAny = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\"),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\"),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n});\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\"),\n name: z.string().describe(\"Name of the schedule.\"),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\"),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\"),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n});\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n limit: z.number().int().describe(\"Number of items per page.\"),\n total: z.number().int().describe(\"Total number of schedules available.\"),\n has_more: z.boolean().describe(\"Whether there are more pages available.\"),\n}).describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput: z.ZodTypeAny = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n});\n\nexport const replyGetCampaignSchedulesAll = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;AAChE,CAAC;AACD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC;AACD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC5E,YAAYA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;AACrH,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,aAAaA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;CACpH,iBAAiBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qCAAqC;AAC5H,CAAC;AACD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACvE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC1E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;CACtI,YAAY,kDAAkD,SAAS;AACzE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaign-schedules-all.d.ts
|
|
4
|
+
declare const ReplyGetCampaignSchedulesAllInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetCampaignSchedulesAllOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetCampaignSchedulesAll };
|
|
9
|
+
//# sourceMappingURL=get-campaign-schedules-all.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.d.cts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGuC;AAAA,cA4B5E,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaign-schedules-all.d.ts
|
|
4
|
+
declare const ReplyGetCampaignSchedulesAllInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetCampaignSchedulesAllOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetCampaignSchedulesAll };
|
|
9
|
+
//# sourceMappingURL=get-campaign-schedules-all.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.d.mts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGuC;AAAA,cA4B5E,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-campaign-schedules-all.ts
|
|
4
|
+
const ReplyGetCampaignSchedulesAllInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page number to retrieve (1-based indexing).").optional(),
|
|
6
|
+
limit: z.number().int().default(50).describe("Maximum number of schedules to return per page.").optional()
|
|
7
|
+
}).describe("Request model for listing all campaign schedules with optional pagination.");
|
|
8
|
+
const ReplyGetCampaignSchedulesAll_TimeModelSchema = z.object({
|
|
9
|
+
hour: z.number().int().describe("Hour of the time (0-24)."),
|
|
10
|
+
minute: z.number().int().describe("Minute of the time (0-59).")
|
|
11
|
+
});
|
|
12
|
+
const ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({
|
|
13
|
+
toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),
|
|
14
|
+
fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable()
|
|
15
|
+
});
|
|
16
|
+
const ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({
|
|
17
|
+
weekDay: z.string().describe("Name of the weekday, e.g., 'Monday'."),
|
|
18
|
+
isActive: z.boolean().describe("Whether this day is active in the schedule."),
|
|
19
|
+
timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe("List of time ranges for this day.")
|
|
20
|
+
});
|
|
21
|
+
const ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({
|
|
22
|
+
id: z.number().int().describe("Unique identifier for the schedule."),
|
|
23
|
+
name: z.string().describe("Name of the schedule."),
|
|
24
|
+
isDefault: z.boolean().describe("Indicates if this is the default schedule."),
|
|
25
|
+
timezoneId: z.string().describe("Timezone identifier for the schedule."),
|
|
26
|
+
mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Primary schedule timings per day."),
|
|
27
|
+
followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Follow-up schedule timings per day.")
|
|
28
|
+
});
|
|
29
|
+
const ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({
|
|
30
|
+
page: z.number().int().describe("Current page number."),
|
|
31
|
+
limit: z.number().int().describe("Number of items per page."),
|
|
32
|
+
total: z.number().int().describe("Total number of schedules available."),
|
|
33
|
+
has_more: z.boolean().describe("Whether there are more pages available.")
|
|
34
|
+
}).describe("Pagination metadata for the schedules list response.");
|
|
35
|
+
const replyGetCampaignSchedulesAll = action("REPLY_GET_CAMPAIGN_SCHEDULES_ALL", {
|
|
36
|
+
slug: "reply-get-campaign-schedules-all",
|
|
37
|
+
name: "Get all campaign schedules",
|
|
38
|
+
description: "Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.",
|
|
39
|
+
input: ReplyGetCampaignSchedulesAllInput,
|
|
40
|
+
output: z.object({
|
|
41
|
+
schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe("List of campaign schedules (default and user-created)."),
|
|
42
|
+
pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable()
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
//#endregion
|
|
46
|
+
export { replyGetCampaignSchedulesAll };
|
|
47
|
+
|
|
48
|
+
//# sourceMappingURL=get-campaign-schedules-all.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.mjs","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignSchedulesAllInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema: z.ZodTypeAny = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\"),\n minute: z.number().int().describe(\"Minute of the time (0-59).\"),\n});\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema: z.ZodTypeAny = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n});\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema: z.ZodTypeAny = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\"),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\"),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n});\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\"),\n name: z.string().describe(\"Name of the schedule.\"),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\"),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\"),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n});\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n limit: z.number().int().describe(\"Number of items per page.\"),\n total: z.number().int().describe(\"Total number of schedules available.\"),\n has_more: z.boolean().describe(\"Whether there are more pages available.\"),\n}).describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput: z.ZodTypeAny = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n});\n\nexport const replyGetCampaignSchedulesAll = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;AAChE,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC5E,YAAY,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;AACrH,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;CACpH,iBAAiB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qCAAqC;AAC5H,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACvE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC1E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAMlE,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;EACtI,YAAY,kDAAkD,SAAS;CACzE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-campaigns-for-contact.ts
|
|
4
|
+
const ReplyGetCampaignsForContactInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number to retrieve (1-based indexing).").optional(),
|
|
6
|
+
limit: zod.z.number().int().default(50).describe("Maximum number of campaigns to return per page.").optional(),
|
|
7
|
+
contactId: zod.z.number().int().describe("The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.")
|
|
8
|
+
}).describe("Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.");
|
|
9
|
+
const ReplyGetCampaignsForContact_SequenceModelSchema = zod.z.object({
|
|
10
|
+
status: zod.z.string().describe("Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'."),
|
|
11
|
+
sequenceId: zod.z.number().int().describe("The unique numeric identifier of the sequence (campaign)."),
|
|
12
|
+
sequenceName: zod.z.string().describe("The human-readable name of the sequence (campaign)."),
|
|
13
|
+
isSequenceOwner: zod.z.boolean().describe("True if the authenticated user is the owner of this sequence, False otherwise.")
|
|
14
|
+
}).describe("Model representing a sequence (campaign) that a contact belongs to.");
|
|
15
|
+
const ReplyGetCampaignsForContact_PaginationInfoSchema = zod.z.object({
|
|
16
|
+
page: zod.z.number().int().describe("Current page number."),
|
|
17
|
+
limit: zod.z.number().int().describe("Number of items per page."),
|
|
18
|
+
total: zod.z.number().int().describe("Total number of campaigns available."),
|
|
19
|
+
has_more: zod.z.boolean().describe("Whether there are more pages available.")
|
|
20
|
+
}).describe("Pagination metadata for the campaigns list response.");
|
|
21
|
+
const ReplyGetCampaignsForContactOutput = zod.z.object({
|
|
22
|
+
campaigns: zod.z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe("List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist."),
|
|
23
|
+
pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable()
|
|
24
|
+
}).describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.");
|
|
25
|
+
const replyGetCampaignsForContact = require_action.action("REPLY_GET_CAMPAIGNS_FOR_CONTACT", {
|
|
26
|
+
slug: "reply-get-campaigns-for-contact",
|
|
27
|
+
name: "Get Campaigns For Contact",
|
|
28
|
+
description: "Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.",
|
|
29
|
+
input: ReplyGetCampaignsForContactInput,
|
|
30
|
+
output: ReplyGetCampaignsForContactOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.replyGetCampaignsForContact = replyGetCampaignsForContact;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-campaigns-for-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignsForContactInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\"),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\"),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\"),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\"),\n}).describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n limit: z.number().int().describe(\"Number of items per page.\"),\n total: z.number().int().describe(\"Total number of campaigns available.\"),\n has_more: z.boolean().describe(\"Whether there are more pages available.\"),\n}).describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput: z.ZodTypeAny = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: ReplyGetCampaignsForContactInput,\n output: ReplyGetCampaignsForContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H;AAClK,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACvF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF;AACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACvE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC1E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;CAChP,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAEtG,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaigns-for-contact.d.ts
|
|
4
|
+
declare const ReplyGetCampaignsForContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetCampaignsForContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetCampaignsForContact };
|
|
9
|
+
//# sourceMappingURL=get-campaigns-for-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.d.cts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIoD;AAAA,cAaxF,iCAAA,EAAmC,CAAA,CAAE,UAGqD;AAAA,cAE1F,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-campaigns-for-contact.d.ts
|
|
4
|
+
declare const ReplyGetCampaignsForContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetCampaignsForContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetCampaignsForContact };
|
|
9
|
+
//# sourceMappingURL=get-campaigns-for-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.d.mts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIoD;AAAA,cAaxF,iCAAA,EAAmC,CAAA,CAAE,UAGqD;AAAA,cAE1F,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-campaigns-for-contact.ts
|
|
4
|
+
const ReplyGetCampaignsForContactInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page number to retrieve (1-based indexing).").optional(),
|
|
6
|
+
limit: z.number().int().default(50).describe("Maximum number of campaigns to return per page.").optional(),
|
|
7
|
+
contactId: z.number().int().describe("The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.")
|
|
8
|
+
}).describe("Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.");
|
|
9
|
+
const ReplyGetCampaignsForContact_SequenceModelSchema = z.object({
|
|
10
|
+
status: z.string().describe("Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'."),
|
|
11
|
+
sequenceId: z.number().int().describe("The unique numeric identifier of the sequence (campaign)."),
|
|
12
|
+
sequenceName: z.string().describe("The human-readable name of the sequence (campaign)."),
|
|
13
|
+
isSequenceOwner: z.boolean().describe("True if the authenticated user is the owner of this sequence, False otherwise.")
|
|
14
|
+
}).describe("Model representing a sequence (campaign) that a contact belongs to.");
|
|
15
|
+
const ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({
|
|
16
|
+
page: z.number().int().describe("Current page number."),
|
|
17
|
+
limit: z.number().int().describe("Number of items per page."),
|
|
18
|
+
total: z.number().int().describe("Total number of campaigns available."),
|
|
19
|
+
has_more: z.boolean().describe("Whether there are more pages available.")
|
|
20
|
+
}).describe("Pagination metadata for the campaigns list response.");
|
|
21
|
+
const replyGetCampaignsForContact = action("REPLY_GET_CAMPAIGNS_FOR_CONTACT", {
|
|
22
|
+
slug: "reply-get-campaigns-for-contact",
|
|
23
|
+
name: "Get Campaigns For Contact",
|
|
24
|
+
description: "Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.",
|
|
25
|
+
input: ReplyGetCampaignsForContactInput,
|
|
26
|
+
output: z.object({
|
|
27
|
+
campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe("List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist."),
|
|
28
|
+
pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable()
|
|
29
|
+
}).describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { replyGetCampaignsForContact };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-campaigns-for-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.mjs","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignsForContactInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\"),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\"),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\"),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\"),\n}).describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n limit: z.number().int().describe(\"Number of items per page.\"),\n total: z.number().int().describe(\"Total number of campaigns available.\"),\n has_more: z.boolean().describe(\"Whether there are more pages available.\"),\n}).describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput: z.ZodTypeAny = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: ReplyGetCampaignsForContactInput,\n output: ReplyGetCampaignsForContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H;AAClK,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAgE,EAAE,OAAO;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACvF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF;AACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACvE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AAC1E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAMlE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;EAChP,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,0FAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-contacts-in-list-by-id.ts
|
|
4
|
+
const ReplyGetContactsInListByIdInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number for pagination (default is 1)").optional(),
|
|
6
|
+
limit: zod.z.number().int().default(20).describe("Number of contacts per page (default is 20, max is 100)").optional(),
|
|
7
|
+
list_id: zod.z.string().describe("Unique identifier of the list to retrieve contacts from")
|
|
8
|
+
}).describe("Request model for retrieving contacts in a specific list by its ID.");
|
|
9
|
+
const ReplyGetContactsInListById_CustomFieldSchema = zod.z.object({
|
|
10
|
+
key: zod.z.string().describe("Custom field key"),
|
|
11
|
+
value: zod.z.string().describe("Custom field value")
|
|
12
|
+
});
|
|
13
|
+
const ReplyGetContactsInListById_ContactSchema = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("Unique identifier of the contact"),
|
|
15
|
+
city: zod.z.string().describe("Contact's city").nullable().optional(),
|
|
16
|
+
email: zod.z.string().describe("Contact's email address"),
|
|
17
|
+
notes: zod.z.string().describe("Notes associated with the contact").nullable().optional(),
|
|
18
|
+
phone: zod.z.string().describe("Contact's phone number").nullable().optional(),
|
|
19
|
+
state: zod.z.string().describe("Contact's state").nullable().optional(),
|
|
20
|
+
title: zod.z.string().describe("Contact's job title").nullable().optional(),
|
|
21
|
+
domain: zod.z.string().describe("Contact's company domain").nullable().optional(),
|
|
22
|
+
company: zod.z.string().describe("Contact's company name").nullable().optional(),
|
|
23
|
+
country: zod.z.string().describe("Contact's country").nullable().optional(),
|
|
24
|
+
fullName: zod.z.string().describe("Contact's full name").nullable().optional(),
|
|
25
|
+
industry: zod.z.string().describe("Industry of the contact's company").nullable().optional(),
|
|
26
|
+
lastName: zod.z.string().describe("Contact's last name").nullable().optional(),
|
|
27
|
+
firstName: zod.z.string().describe("Contact's first name").nullable().optional(),
|
|
28
|
+
addingDate: zod.z.string().describe("Date when the contact was added").nullable().optional(),
|
|
29
|
+
timeZoneId: zod.z.string().describe("Contact's time zone ID").nullable().optional(),
|
|
30
|
+
companySize: zod.z.string().describe("Size of the contact's company").nullable().optional(),
|
|
31
|
+
phoneStatus: zod.z.string().describe("Status of the phone number").nullable().optional(),
|
|
32
|
+
customFields: zod.z.array(ReplyGetContactsInListById_CustomFieldSchema).describe("Custom fields associated with the contact").nullable().optional(),
|
|
33
|
+
linkedInProfile: zod.z.string().describe("URL to the contact's LinkedIn profile").nullable().optional(),
|
|
34
|
+
linkedInRecruiter: zod.z.string().describe("URL to the contact's LinkedIn Recruiter profile").nullable().optional(),
|
|
35
|
+
linkedInSalesNavigator: zod.z.string().describe("URL to the contact's LinkedIn Sales Navigator profile").nullable().optional()
|
|
36
|
+
});
|
|
37
|
+
const ReplyGetContactsInListById_PaginationSchema = zod.z.object({
|
|
38
|
+
limit: zod.z.number().int().describe("Number of items per page"),
|
|
39
|
+
pages: zod.z.number().int().describe("Total number of pages"),
|
|
40
|
+
total: zod.z.number().int().describe("Total number of contacts"),
|
|
41
|
+
currentPage: zod.z.number().int().describe("Current page number")
|
|
42
|
+
});
|
|
43
|
+
const ReplyGetContactsInListByIdOutput = zod.z.object({
|
|
44
|
+
data: zod.z.array(ReplyGetContactsInListById_ContactSchema).describe("List of contacts in the specified list"),
|
|
45
|
+
pagination: ReplyGetContactsInListById_PaginationSchema.nullable()
|
|
46
|
+
});
|
|
47
|
+
const replyGetContactsInListById = require_action.action("REPLY_GET_CONTACTS_IN_LIST_BY_ID", {
|
|
48
|
+
slug: "reply-get-contacts-in-list-by-id",
|
|
49
|
+
name: "Get Contacts in List by ID",
|
|
50
|
+
description: "Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.",
|
|
51
|
+
input: ReplyGetContactsInListByIdInput,
|
|
52
|
+
output: ReplyGetContactsInListByIdOutput
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
exports.replyGetContactsInListById = replyGetContactsInListById;
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=get-contacts-in-list-by-id.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetContactsInListByIdInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Number of contacts per page (default is 20, max is 100)\").optional(),\n list_id: z.string().describe(\"Unique identifier of the list to retrieve contacts from\"),\n}).describe(\"Request model for retrieving contacts in a specific list by its ID.\");\nconst ReplyGetContactsInListById_CustomFieldSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Custom field key\"),\n value: z.string().describe(\"Custom field value\"),\n});\nconst ReplyGetContactsInListById_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\"),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\"),\n notes: z.string().describe(\"Notes associated with the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"Contact's state\").nullable().optional(),\n title: z.string().describe(\"Contact's job title\").nullable().optional(),\n domain: z.string().describe(\"Contact's company domain\").nullable().optional(),\n company: z.string().describe(\"Contact's company name\").nullable().optional(),\n country: z.string().describe(\"Contact's country\").nullable().optional(),\n fullName: z.string().describe(\"Contact's full name\").nullable().optional(),\n industry: z.string().describe(\"Industry of the contact's company\").nullable().optional(),\n lastName: z.string().describe(\"Contact's last name\").nullable().optional(),\n firstName: z.string().describe(\"Contact's first name\").nullable().optional(),\n addingDate: z.string().describe(\"Date when the contact was added\").nullable().optional(),\n timeZoneId: z.string().describe(\"Contact's time zone ID\").nullable().optional(),\n companySize: z.string().describe(\"Size of the contact's company\").nullable().optional(),\n phoneStatus: z.string().describe(\"Status of the phone number\").nullable().optional(),\n customFields: z.array(ReplyGetContactsInListById_CustomFieldSchema).describe(\"Custom fields associated with the contact\").nullable().optional(),\n linkedInProfile: z.string().describe(\"URL to the contact's LinkedIn profile\").nullable().optional(),\n linkedInRecruiter: z.string().describe(\"URL to the contact's LinkedIn Recruiter profile\").nullable().optional(),\n linkedInSalesNavigator: z.string().describe(\"URL to the contact's LinkedIn Sales Navigator profile\").nullable().optional(),\n});\nconst ReplyGetContactsInListById_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n pages: z.number().int().describe(\"Total number of pages\"),\n total: z.number().int().describe(\"Total number of contacts\"),\n currentPage: z.number().int().describe(\"Current page number\"),\n});\nexport const ReplyGetContactsInListByIdOutput: z.ZodTypeAny = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n});\n\nexport const replyGetContactsInListById = action(\"REPLY_GET_CONTACTS_IN_LIST_BY_ID\", {\n slug: \"reply-get-contacts-in-list-by-id\",\n name: \"Get Contacts in List by ID\",\n description: \"Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.\",\n input: ReplyGetContactsInListByIdInput,\n output: ReplyGetContactsInListByIdOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contacts-in-list-by-id.d.ts
|
|
4
|
+
declare const ReplyGetContactsInListByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetContactsInListByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetContactsInListById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetContactsInListById };
|
|
9
|
+
//# sourceMappingURL=get-contacts-in-list-by-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIkC;AAAA,cAmCrE,gCAAA,EAAkC,CAAA,CAAE,UAG/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contacts-in-list-by-id.d.ts
|
|
4
|
+
declare const ReplyGetContactsInListByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetContactsInListByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetContactsInListById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetContactsInListById };
|
|
9
|
+
//# sourceMappingURL=get-contacts-in-list-by-id.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list-by-id.d.mts","names":[],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIkC;AAAA,cAmCrE,gCAAA,EAAkC,CAAA,CAAE,UAG/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-contacts-in-list-by-id.ts
|
|
4
|
+
const ReplyGetContactsInListByIdInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page number for pagination (default is 1)").optional(),
|
|
6
|
+
limit: z.number().int().default(20).describe("Number of contacts per page (default is 20, max is 100)").optional(),
|
|
7
|
+
list_id: z.string().describe("Unique identifier of the list to retrieve contacts from")
|
|
8
|
+
}).describe("Request model for retrieving contacts in a specific list by its ID.");
|
|
9
|
+
const ReplyGetContactsInListById_CustomFieldSchema = z.object({
|
|
10
|
+
key: z.string().describe("Custom field key"),
|
|
11
|
+
value: z.string().describe("Custom field value")
|
|
12
|
+
});
|
|
13
|
+
const ReplyGetContactsInListById_ContactSchema = z.object({
|
|
14
|
+
id: z.string().describe("Unique identifier of the contact"),
|
|
15
|
+
city: z.string().describe("Contact's city").nullable().optional(),
|
|
16
|
+
email: z.string().describe("Contact's email address"),
|
|
17
|
+
notes: z.string().describe("Notes associated with the contact").nullable().optional(),
|
|
18
|
+
phone: z.string().describe("Contact's phone number").nullable().optional(),
|
|
19
|
+
state: z.string().describe("Contact's state").nullable().optional(),
|
|
20
|
+
title: z.string().describe("Contact's job title").nullable().optional(),
|
|
21
|
+
domain: z.string().describe("Contact's company domain").nullable().optional(),
|
|
22
|
+
company: z.string().describe("Contact's company name").nullable().optional(),
|
|
23
|
+
country: z.string().describe("Contact's country").nullable().optional(),
|
|
24
|
+
fullName: z.string().describe("Contact's full name").nullable().optional(),
|
|
25
|
+
industry: z.string().describe("Industry of the contact's company").nullable().optional(),
|
|
26
|
+
lastName: z.string().describe("Contact's last name").nullable().optional(),
|
|
27
|
+
firstName: z.string().describe("Contact's first name").nullable().optional(),
|
|
28
|
+
addingDate: z.string().describe("Date when the contact was added").nullable().optional(),
|
|
29
|
+
timeZoneId: z.string().describe("Contact's time zone ID").nullable().optional(),
|
|
30
|
+
companySize: z.string().describe("Size of the contact's company").nullable().optional(),
|
|
31
|
+
phoneStatus: z.string().describe("Status of the phone number").nullable().optional(),
|
|
32
|
+
customFields: z.array(ReplyGetContactsInListById_CustomFieldSchema).describe("Custom fields associated with the contact").nullable().optional(),
|
|
33
|
+
linkedInProfile: z.string().describe("URL to the contact's LinkedIn profile").nullable().optional(),
|
|
34
|
+
linkedInRecruiter: z.string().describe("URL to the contact's LinkedIn Recruiter profile").nullable().optional(),
|
|
35
|
+
linkedInSalesNavigator: z.string().describe("URL to the contact's LinkedIn Sales Navigator profile").nullable().optional()
|
|
36
|
+
});
|
|
37
|
+
const ReplyGetContactsInListById_PaginationSchema = z.object({
|
|
38
|
+
limit: z.number().int().describe("Number of items per page"),
|
|
39
|
+
pages: z.number().int().describe("Total number of pages"),
|
|
40
|
+
total: z.number().int().describe("Total number of contacts"),
|
|
41
|
+
currentPage: z.number().int().describe("Current page number")
|
|
42
|
+
});
|
|
43
|
+
const replyGetContactsInListById = action("REPLY_GET_CONTACTS_IN_LIST_BY_ID", {
|
|
44
|
+
slug: "reply-get-contacts-in-list-by-id",
|
|
45
|
+
name: "Get Contacts in List by ID",
|
|
46
|
+
description: "Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.",
|
|
47
|
+
input: ReplyGetContactsInListByIdInput,
|
|
48
|
+
output: z.object({
|
|
49
|
+
data: z.array(ReplyGetContactsInListById_ContactSchema).describe("List of contacts in the specified list"),
|
|
50
|
+
pagination: ReplyGetContactsInListById_PaginationSchema.nullable()
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { replyGetContactsInListById };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=get-contacts-in-list-by-id.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list-by-id.mjs","names":[],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetContactsInListByIdInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Number of contacts per page (default is 20, max is 100)\").optional(),\n list_id: z.string().describe(\"Unique identifier of the list to retrieve contacts from\"),\n}).describe(\"Request model for retrieving contacts in a specific list by its ID.\");\nconst ReplyGetContactsInListById_CustomFieldSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Custom field key\"),\n value: z.string().describe(\"Custom field value\"),\n});\nconst ReplyGetContactsInListById_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact\"),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\"),\n notes: z.string().describe(\"Notes associated with the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"Contact's state\").nullable().optional(),\n title: z.string().describe(\"Contact's job title\").nullable().optional(),\n domain: z.string().describe(\"Contact's company domain\").nullable().optional(),\n company: z.string().describe(\"Contact's company name\").nullable().optional(),\n country: z.string().describe(\"Contact's country\").nullable().optional(),\n fullName: z.string().describe(\"Contact's full name\").nullable().optional(),\n industry: z.string().describe(\"Industry of the contact's company\").nullable().optional(),\n lastName: z.string().describe(\"Contact's last name\").nullable().optional(),\n firstName: z.string().describe(\"Contact's first name\").nullable().optional(),\n addingDate: z.string().describe(\"Date when the contact was added\").nullable().optional(),\n timeZoneId: z.string().describe(\"Contact's time zone ID\").nullable().optional(),\n companySize: z.string().describe(\"Size of the contact's company\").nullable().optional(),\n phoneStatus: z.string().describe(\"Status of the phone number\").nullable().optional(),\n customFields: z.array(ReplyGetContactsInListById_CustomFieldSchema).describe(\"Custom fields associated with the contact\").nullable().optional(),\n linkedInProfile: z.string().describe(\"URL to the contact's LinkedIn profile\").nullable().optional(),\n linkedInRecruiter: z.string().describe(\"URL to the contact's LinkedIn Recruiter profile\").nullable().optional(),\n linkedInSalesNavigator: z.string().describe(\"URL to the contact's LinkedIn Sales Navigator profile\").nullable().optional(),\n});\nconst ReplyGetContactsInListById_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n pages: z.number().int().describe(\"Total number of pages\"),\n total: z.number().int().describe(\"Total number of contacts\"),\n currentPage: z.number().int().describe(\"Current page number\"),\n});\nexport const ReplyGetContactsInListByIdOutput: z.ZodTypeAny = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n});\n\nexport const replyGetContactsInListById = action(\"REPLY_GET_CONTACTS_IN_LIST_BY_ID\", {\n slug: \"reply-get-contacts-in-list-by-id\",\n name: \"Get Contacts in List by ID\",\n description: \"Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.\",\n input: ReplyGetContactsInListByIdInput,\n output: ReplyGetContactsInListByIdOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-list-by-id.ts
|
|
4
|
+
const ReplyGetListByIdInput = zod.z.object({ list_id: zod.z.number().int().describe("Unique identifier of the list to retrieve") }).describe("Request model for retrieving a specific people list by its ID.");
|
|
5
|
+
const ReplyGetListByIdOutput = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the list"),
|
|
7
|
+
name: zod.z.string().describe("Name of the list")
|
|
8
|
+
}).describe("Response schema for retrieving a specific people list.");
|
|
9
|
+
const replyGetListById = require_action.action("REPLY_GET_LIST_BY_ID", {
|
|
10
|
+
slug: "reply-get-list-by-id",
|
|
11
|
+
name: "Get List by ID",
|
|
12
|
+
description: "Tool to return a specific people list by its ID. Use after you know the list ID and need its details.",
|
|
13
|
+
input: ReplyGetListByIdInput,
|
|
14
|
+
output: ReplyGetListByIdOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.replyGetListById = replyGetListById;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-list-by-id.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetListByIdInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve\"),\n}).describe(\"Request model for retrieving a specific people list by its ID.\");\nexport const ReplyGetListByIdOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\"),\n name: z.string().describe(\"Name of the list\"),\n}).describe(\"Response schema for retrieving a specific people list.\");\n\nexport const replyGetListById = action(\"REPLY_GET_LIST_BY_ID\", {\n slug: \"reply-get-list-by-id\",\n name: \"Get List by ID\",\n description: \"Tool to return a specific people list by its ID. Use after you know the list ID and need its details.\",\n input: ReplyGetListByIdInput,\n output: ReplyGetListByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,mBAAmBC,eAAAA,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-list-by-id.d.ts
|
|
4
|
+
declare const ReplyGetListByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ReplyGetListByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const replyGetListById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { replyGetListById };
|
|
9
|
+
//# sourceMappingURL=get-list-by-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEuC;AAAA,cAChE,sBAAA,EAAwB,CAAA,CAAE,UAG8B;AAAA,cAExD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|