@keystrokehq/reply 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-list.cjs +3 -3
- package/dist/actions/create-list.cjs.map +1 -1
- package/dist/actions/create-list.d.cts +10 -3
- package/dist/actions/create-list.d.cts.map +1 -1
- package/dist/actions/create-list.d.mts +10 -3
- package/dist/actions/create-list.d.mts.map +1 -1
- package/dist/actions/create-list.mjs +3 -3
- package/dist/actions/create-list.mjs.map +1 -1
- package/dist/actions/delete-email-account.cjs +1 -1
- package/dist/actions/delete-email-account.cjs.map +1 -1
- package/dist/actions/delete-email-account.d.cts +7 -3
- package/dist/actions/delete-email-account.d.cts.map +1 -1
- package/dist/actions/delete-email-account.d.mts +7 -3
- package/dist/actions/delete-email-account.d.mts.map +1 -1
- package/dist/actions/delete-email-account.mjs +1 -1
- package/dist/actions/delete-email-account.mjs.map +1 -1
- package/dist/actions/delete-list-by-id.cjs +1 -1
- package/dist/actions/delete-list-by-id.cjs.map +1 -1
- package/dist/actions/delete-list-by-id.d.cts +9 -3
- package/dist/actions/delete-list-by-id.d.cts.map +1 -1
- package/dist/actions/delete-list-by-id.d.mts +9 -3
- package/dist/actions/delete-list-by-id.d.mts.map +1 -1
- package/dist/actions/delete-list-by-id.mjs +1 -1
- package/dist/actions/delete-list-by-id.mjs.map +1 -1
- package/dist/actions/delete-sequence.cjs +1 -1
- package/dist/actions/delete-sequence.cjs.map +1 -1
- package/dist/actions/delete-sequence.d.cts +7 -3
- package/dist/actions/delete-sequence.d.cts.map +1 -1
- package/dist/actions/delete-sequence.d.mts +7 -3
- package/dist/actions/delete-sequence.d.mts.map +1 -1
- package/dist/actions/delete-sequence.mjs +1 -1
- package/dist/actions/delete-sequence.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +7 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +7 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/generate-ulid.cjs +1 -1
- package/dist/actions/generate-ulid.cjs.map +1 -1
- package/dist/actions/generate-ulid.d.cts +9 -3
- package/dist/actions/generate-ulid.d.cts.map +1 -1
- package/dist/actions/generate-ulid.d.mts +9 -3
- package/dist/actions/generate-ulid.d.mts.map +1 -1
- package/dist/actions/generate-ulid.mjs +1 -1
- package/dist/actions/generate-ulid.mjs.map +1 -1
- package/dist/actions/get-all-lists.cjs +4 -4
- package/dist/actions/get-all-lists.cjs.map +1 -1
- package/dist/actions/get-all-lists.d.cts +8 -3
- package/dist/actions/get-all-lists.d.cts.map +1 -1
- package/dist/actions/get-all-lists.d.mts +8 -3
- package/dist/actions/get-all-lists.d.mts.map +1 -1
- package/dist/actions/get-all-lists.mjs +4 -4
- package/dist/actions/get-all-lists.mjs.map +1 -1
- package/dist/actions/get-blacklist-all.cjs +1 -1
- package/dist/actions/get-blacklist-all.cjs.map +1 -1
- package/dist/actions/get-blacklist-all.d.cts +5 -3
- package/dist/actions/get-blacklist-all.d.cts.map +1 -1
- package/dist/actions/get-blacklist-all.d.mts +5 -3
- package/dist/actions/get-blacklist-all.d.mts.map +1 -1
- package/dist/actions/get-blacklist-all.mjs +1 -1
- package/dist/actions/get-blacklist-all.mjs.map +1 -1
- package/dist/actions/get-campaign-schedules-all.cjs +18 -18
- package/dist/actions/get-campaign-schedules-all.cjs.map +1 -1
- package/dist/actions/get-campaign-schedules-all.d.cts +50 -3
- package/dist/actions/get-campaign-schedules-all.d.cts.map +1 -1
- package/dist/actions/get-campaign-schedules-all.d.mts +50 -3
- package/dist/actions/get-campaign-schedules-all.d.mts.map +1 -1
- package/dist/actions/get-campaign-schedules-all.mjs +18 -18
- package/dist/actions/get-campaign-schedules-all.mjs.map +1 -1
- package/dist/actions/get-campaigns-for-contact.cjs +11 -11
- package/dist/actions/get-campaigns-for-contact.cjs.map +1 -1
- package/dist/actions/get-campaigns-for-contact.d.cts +24 -3
- package/dist/actions/get-campaigns-for-contact.d.cts.map +1 -1
- package/dist/actions/get-campaigns-for-contact.d.mts +24 -3
- package/dist/actions/get-campaigns-for-contact.d.mts.map +1 -1
- package/dist/actions/get-campaigns-for-contact.mjs +11 -11
- package/dist/actions/get-campaigns-for-contact.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list-by-id.cjs +12 -12
- package/dist/actions/get-contacts-in-list-by-id.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list-by-id.d.cts +45 -3
- package/dist/actions/get-contacts-in-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list-by-id.d.mts +45 -3
- package/dist/actions/get-contacts-in-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list-by-id.mjs +12 -12
- package/dist/actions/get-contacts-in-list-by-id.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +3 -3
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +10 -3
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +10 -3
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +3 -3
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-templates-list.cjs +6 -6
- package/dist/actions/get-templates-list.cjs.map +1 -1
- package/dist/actions/get-templates-list.d.cts +32 -3
- package/dist/actions/get-templates-list.d.cts.map +1 -1
- package/dist/actions/get-templates-list.d.mts +32 -3
- package/dist/actions/get-templates-list.d.mts.map +1 -1
- package/dist/actions/get-templates-list.mjs +6 -6
- package/dist/actions/get-templates-list.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +10 -10
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +29 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +29 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +10 -10
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-contacts-basic.cjs +12 -12
- package/dist/actions/list-contacts-basic.cjs.map +1 -1
- package/dist/actions/list-contacts-basic.d.cts +43 -3
- package/dist/actions/list-contacts-basic.d.cts.map +1 -1
- package/dist/actions/list-contacts-basic.d.mts +43 -3
- package/dist/actions/list-contacts-basic.d.mts.map +1 -1
- package/dist/actions/list-contacts-basic.mjs +12 -12
- package/dist/actions/list-contacts-basic.mjs.map +1 -1
- package/dist/actions/list-email-accounts.cjs +10 -10
- package/dist/actions/list-email-accounts.cjs.map +1 -1
- package/dist/actions/list-email-accounts.d.cts +24 -3
- package/dist/actions/list-email-accounts.d.cts.map +1 -1
- package/dist/actions/list-email-accounts.d.mts +24 -3
- package/dist/actions/list-email-accounts.d.mts.map +1 -1
- package/dist/actions/list-email-accounts.mjs +10 -10
- package/dist/actions/list-email-accounts.mjs.map +1 -1
- package/dist/actions/mark-contact-as-finished.cjs +1 -1
- package/dist/actions/mark-contact-as-finished.cjs.map +1 -1
- package/dist/actions/mark-contact-as-finished.d.cts +11 -3
- package/dist/actions/mark-contact-as-finished.d.cts.map +1 -1
- package/dist/actions/mark-contact-as-finished.d.mts +11 -3
- package/dist/actions/mark-contact-as-finished.d.mts.map +1 -1
- package/dist/actions/mark-contact-as-finished.mjs +1 -1
- package/dist/actions/mark-contact-as-finished.mjs.map +1 -1
- package/dist/actions/mark-contact-as-replied.cjs +1 -1
- package/dist/actions/mark-contact-as-replied.cjs.map +1 -1
- package/dist/actions/mark-contact-as-replied.d.cts +9 -3
- package/dist/actions/mark-contact-as-replied.d.cts.map +1 -1
- package/dist/actions/mark-contact-as-replied.d.mts +9 -3
- package/dist/actions/mark-contact-as-replied.d.mts.map +1 -1
- package/dist/actions/mark-contact-as-replied.mjs +1 -1
- package/dist/actions/mark-contact-as-replied.mjs.map +1 -1
- package/dist/actions/move-contacts-to-lists.cjs +1 -1
- package/dist/actions/move-contacts-to-lists.cjs.map +1 -1
- package/dist/actions/move-contacts-to-lists.d.cts +11 -3
- package/dist/actions/move-contacts-to-lists.d.cts.map +1 -1
- package/dist/actions/move-contacts-to-lists.d.mts +11 -3
- package/dist/actions/move-contacts-to-lists.d.mts.map +1 -1
- package/dist/actions/move-contacts-to-lists.mjs +1 -1
- package/dist/actions/move-contacts-to-lists.mjs.map +1 -1
- package/dist/actions/remove-domain-from-blacklist.cjs +2 -2
- package/dist/actions/remove-domain-from-blacklist.cjs.map +1 -1
- package/dist/actions/remove-domain-from-blacklist.d.cts +10 -3
- package/dist/actions/remove-domain-from-blacklist.d.cts.map +1 -1
- package/dist/actions/remove-domain-from-blacklist.d.mts +10 -3
- package/dist/actions/remove-domain-from-blacklist.d.mts.map +1 -1
- package/dist/actions/remove-domain-from-blacklist.mjs +2 -2
- package/dist/actions/remove-domain-from-blacklist.mjs.map +1 -1
- package/dist/actions/search-contacts.cjs +5 -5
- package/dist/actions/search-contacts.cjs.map +1 -1
- package/dist/actions/search-contacts.d.cts +34 -3
- package/dist/actions/search-contacts.d.cts.map +1 -1
- package/dist/actions/search-contacts.d.mts +34 -3
- package/dist/actions/search-contacts.d.mts.map +1 -1
- package/dist/actions/search-contacts.mjs +5 -5
- package/dist/actions/search-contacts.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-all-lists.ts
|
|
4
4
|
const ReplyGetAllListsInput = zod.z.object({}).describe("No request parameters required for listing all people lists.");
|
|
5
5
|
const ReplyGetAllLists_ListModelSchema = 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
|
-
});
|
|
9
|
-
const ReplyGetAllListsOutput = zod.z.object({ lists: zod.z.array(ReplyGetAllLists_ListModelSchema).describe("List of available people lists") }).describe("Response schema for retrieving all people lists.");
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the list").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the list").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
|
+
const ReplyGetAllListsOutput = zod.z.object({ lists: zod.z.array(ReplyGetAllLists_ListModelSchema).describe("List of available people lists") }).passthrough().describe("Response schema for retrieving all people lists.");
|
|
10
10
|
const replyGetAllLists = require_action.action("REPLY_GET_ALL_LISTS", {
|
|
11
11
|
slug: "reply-get-all-lists",
|
|
12
12
|
name: "Get All Lists",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetAllListsInput
|
|
1
|
+
{"version":3,"file":"get-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetAllListsInput = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().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,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-lists.d.ts
|
|
4
|
-
declare const ReplyGetAllListsInput: z.
|
|
5
|
-
declare const ReplyGetAllListsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetAllListsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ReplyGetAllListsOutput: z.ZodObject<{
|
|
6
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const replyGetAllLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { replyGetAllLists };
|
|
9
14
|
//# sourceMappingURL=get-all-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-lists.d.cts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-all-lists.d.cts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-lists.d.ts
|
|
4
|
-
declare const ReplyGetAllListsInput: z.
|
|
5
|
-
declare const ReplyGetAllListsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetAllListsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ReplyGetAllListsOutput: z.ZodObject<{
|
|
6
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const replyGetAllLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { replyGetAllLists };
|
|
9
14
|
//# sourceMappingURL=get-all-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-lists.d.mts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-all-lists.d.mts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,15 +3,15 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-all-lists.ts
|
|
4
4
|
const ReplyGetAllListsInput = z.object({}).describe("No request parameters required for listing all people lists.");
|
|
5
5
|
const ReplyGetAllLists_ListModelSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier of the list"),
|
|
7
|
-
name: z.string().describe("Name of the list")
|
|
8
|
-
});
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the list").nullable(),
|
|
7
|
+
name: z.string().describe("Name of the list").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const replyGetAllLists = action("REPLY_GET_ALL_LISTS", {
|
|
10
10
|
slug: "reply-get-all-lists",
|
|
11
11
|
name: "Get All Lists",
|
|
12
12
|
description: "Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.",
|
|
13
13
|
input: ReplyGetAllListsInput,
|
|
14
|
-
output: z.object({ lists: z.array(ReplyGetAllLists_ListModelSchema).describe("List of available people lists") }).describe("Response schema for retrieving all people lists.")
|
|
14
|
+
output: z.object({ lists: z.array(ReplyGetAllLists_ListModelSchema).describe("List of available people lists") }).passthrough().describe("Response schema for retrieving all people lists.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { replyGetAllLists };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().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,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-blacklist-all.ts
|
|
4
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.");
|
|
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').") }).passthrough().describe("Response model for the full blacklist.");
|
|
6
6
|
const replyGetBlacklistAll = require_action.action("REPLY_GET_BLACKLIST_ALL", {
|
|
7
7
|
slug: "reply-get-blacklist-all",
|
|
8
8
|
name: "Get full blacklist of domains and emails",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = 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}).passthrough().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,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACjI,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-blacklist-all.d.ts
|
|
4
|
-
declare const ReplyGetBlacklistAllInput: z.
|
|
5
|
-
declare const ReplyGetBlacklistAllOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetBlacklistAllInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ReplyGetBlacklistAllOutput: z.ZodObject<{
|
|
6
|
+
domains: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { replyGetBlacklistAll };
|
|
9
11
|
//# sourceMappingURL=get-blacklist-all.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-blacklist-all.d.cts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.d.cts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-blacklist-all.d.ts
|
|
4
|
-
declare const ReplyGetBlacklistAllInput: z.
|
|
5
|
-
declare const ReplyGetBlacklistAllOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetBlacklistAllInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ReplyGetBlacklistAllOutput: z.ZodObject<{
|
|
6
|
+
domains: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { replyGetBlacklistAll };
|
|
9
11
|
//# sourceMappingURL=get-blacklist-all.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-blacklist-all.d.mts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-blacklist-all.d.mts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const replyGetBlacklistAll = action("REPLY_GET_BLACKLIST_ALL", {
|
|
|
5
5
|
name: "Get full blacklist of domains and emails",
|
|
6
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
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.")
|
|
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').") }).passthrough().describe("Response model for the full blacklist.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { replyGetBlacklistAll };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = 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}).passthrough().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,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -6,36 +6,36 @@ const ReplyGetCampaignSchedulesAllInput = zod.z.object({
|
|
|
6
6
|
limit: zod.z.number().int().default(50).describe("Maximum number of schedules to return per page.").optional()
|
|
7
7
|
}).describe("Request model for listing all campaign schedules with optional pagination.");
|
|
8
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
|
-
});
|
|
9
|
+
hour: zod.z.number().int().describe("Hour of the time (0-24).").nullable(),
|
|
10
|
+
minute: zod.z.number().int().describe("Minute of the time (0-59).").nullable()
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = zod.z.object({
|
|
13
13
|
toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),
|
|
14
14
|
fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
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."),
|
|
17
|
+
weekDay: zod.z.string().describe("Name of the weekday, e.g., 'Monday'.").nullable(),
|
|
18
|
+
isActive: zod.z.boolean().describe("Whether this day is active in the schedule.").nullable(),
|
|
19
19
|
timeRanges: zod.z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe("List of time ranges for this day.")
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
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."),
|
|
22
|
+
id: zod.z.number().int().describe("Unique identifier for the schedule.").nullable(),
|
|
23
|
+
name: zod.z.string().describe("Name of the schedule.").nullable(),
|
|
24
|
+
isDefault: zod.z.boolean().describe("Indicates if this is the default schedule.").nullable(),
|
|
25
|
+
timezoneId: zod.z.string().describe("Timezone identifier for the schedule.").nullable(),
|
|
26
26
|
mainTimings: zod.z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Primary schedule timings per day."),
|
|
27
27
|
followUpTimings: zod.z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Follow-up schedule timings per day.")
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
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.");
|
|
30
|
+
page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
31
|
+
limit: zod.z.number().int().describe("Number of items per page.").nullable(),
|
|
32
|
+
total: zod.z.number().int().describe("Total number of schedules available.").nullable(),
|
|
33
|
+
has_more: zod.z.boolean().describe("Whether there are more pages available.").nullable()
|
|
34
|
+
}).passthrough().describe("Pagination metadata for the schedules list response.");
|
|
35
35
|
const ReplyGetCampaignSchedulesAllOutput = zod.z.object({
|
|
36
36
|
schedules: zod.z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe("List of campaign schedules (default and user-created)."),
|
|
37
37
|
pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable()
|
|
38
|
-
});
|
|
38
|
+
}).passthrough();
|
|
39
39
|
const replyGetCampaignSchedulesAll = require_action.action("REPLY_GET_CAMPAIGN_SCHEDULES_ALL", {
|
|
40
40
|
slug: "reply-get-campaign-schedules-all",
|
|
41
41
|
name: "Get all campaign schedules",
|
|
@@ -1 +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
|
|
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.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.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\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}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;CACpH,iBAAiBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qCAAqC;AAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;CACtI,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaign-schedules-all.d.ts
|
|
4
|
-
declare const ReplyGetCampaignSchedulesAllInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetCampaignSchedulesAllInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ReplyGetCampaignSchedulesAllOutput: z.ZodObject<{
|
|
9
|
+
schedules: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
timezoneId: z.ZodNullable<z.ZodString>;
|
|
14
|
+
mainTimings: z.ZodArray<z.ZodObject<{
|
|
15
|
+
weekDay: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
timeRanges: z.ZodArray<z.ZodObject<{
|
|
18
|
+
toTime: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
fromTime: z.ZodNullable<z.ZodObject<{
|
|
23
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
followUpTimings: z.ZodArray<z.ZodObject<{
|
|
29
|
+
weekDay: z.ZodNullable<z.ZodString>;
|
|
30
|
+
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
timeRanges: z.ZodArray<z.ZodObject<{
|
|
32
|
+
toTime: z.ZodNullable<z.ZodObject<{
|
|
33
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
fromTime: z.ZodNullable<z.ZodObject<{
|
|
37
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
|
+
declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
page?: number | undefined;
|
|
52
|
+
limit?: number | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { replyGetCampaignSchedulesAll };
|
|
9
56
|
//# sourceMappingURL=get-campaign-schedules-all.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-schedules-all.d.cts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.d.cts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaign-schedules-all.d.ts
|
|
4
|
-
declare const ReplyGetCampaignSchedulesAllInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetCampaignSchedulesAllInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ReplyGetCampaignSchedulesAllOutput: z.ZodObject<{
|
|
9
|
+
schedules: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
timezoneId: z.ZodNullable<z.ZodString>;
|
|
14
|
+
mainTimings: z.ZodArray<z.ZodObject<{
|
|
15
|
+
weekDay: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
timeRanges: z.ZodArray<z.ZodObject<{
|
|
18
|
+
toTime: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
fromTime: z.ZodNullable<z.ZodObject<{
|
|
23
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
followUpTimings: z.ZodArray<z.ZodObject<{
|
|
29
|
+
weekDay: z.ZodNullable<z.ZodString>;
|
|
30
|
+
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
timeRanges: z.ZodArray<z.ZodObject<{
|
|
32
|
+
toTime: z.ZodNullable<z.ZodObject<{
|
|
33
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
fromTime: z.ZodNullable<z.ZodObject<{
|
|
37
|
+
hour: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
minute: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
|
+
declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
page?: number | undefined;
|
|
52
|
+
limit?: number | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { replyGetCampaignSchedulesAll };
|
|
9
56
|
//# sourceMappingURL=get-campaign-schedules-all.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-schedules-all.d.mts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-campaign-schedules-all.d.mts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -6,32 +6,32 @@ const ReplyGetCampaignSchedulesAllInput = z.object({
|
|
|
6
6
|
limit: z.number().int().default(50).describe("Maximum number of schedules to return per page.").optional()
|
|
7
7
|
}).describe("Request model for listing all campaign schedules with optional pagination.");
|
|
8
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
|
-
});
|
|
9
|
+
hour: z.number().int().describe("Hour of the time (0-24).").nullable(),
|
|
10
|
+
minute: z.number().int().describe("Minute of the time (0-59).").nullable()
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({
|
|
13
13
|
toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),
|
|
14
14
|
fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
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."),
|
|
17
|
+
weekDay: z.string().describe("Name of the weekday, e.g., 'Monday'.").nullable(),
|
|
18
|
+
isActive: z.boolean().describe("Whether this day is active in the schedule.").nullable(),
|
|
19
19
|
timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe("List of time ranges for this day.")
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
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."),
|
|
22
|
+
id: z.number().int().describe("Unique identifier for the schedule.").nullable(),
|
|
23
|
+
name: z.string().describe("Name of the schedule.").nullable(),
|
|
24
|
+
isDefault: z.boolean().describe("Indicates if this is the default schedule.").nullable(),
|
|
25
|
+
timezoneId: z.string().describe("Timezone identifier for the schedule.").nullable(),
|
|
26
26
|
mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Primary schedule timings per day."),
|
|
27
27
|
followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe("Follow-up schedule timings per day.")
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
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.");
|
|
30
|
+
page: z.number().int().describe("Current page number.").nullable(),
|
|
31
|
+
limit: z.number().int().describe("Number of items per page.").nullable(),
|
|
32
|
+
total: z.number().int().describe("Total number of schedules available.").nullable(),
|
|
33
|
+
has_more: z.boolean().describe("Whether there are more pages available.").nullable()
|
|
34
|
+
}).passthrough().describe("Pagination metadata for the schedules list response.");
|
|
35
35
|
const replyGetCampaignSchedulesAll = action("REPLY_GET_CAMPAIGN_SCHEDULES_ALL", {
|
|
36
36
|
slug: "reply-get-campaign-schedules-all",
|
|
37
37
|
name: "Get all campaign schedules",
|
|
@@ -40,7 +40,7 @@ const replyGetCampaignSchedulesAll = action("REPLY_GET_CAMPAIGN_SCHEDULES_ALL",
|
|
|
40
40
|
output: z.object({
|
|
41
41
|
schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe("List of campaign schedules (default and user-created)."),
|
|
42
42
|
pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable()
|
|
43
|
-
})
|
|
43
|
+
}).passthrough()
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { replyGetCampaignSchedulesAll };
|
|
@@ -1 +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
|
|
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.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.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\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}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\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,oCAAoC,EAAE,OAAO;CACxD,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,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;CACpH,iBAAiB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qCAAqC;AAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;EACtI,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,21 +7,21 @@ const ReplyGetCampaignsForContactInput = zod.z.object({
|
|
|
7
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
8
|
}).describe("Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.");
|
|
9
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.");
|
|
10
|
+
status: zod.z.string().describe("Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.").nullable(),
|
|
11
|
+
sequenceId: zod.z.number().int().describe("The unique numeric identifier of the sequence (campaign).").nullable(),
|
|
12
|
+
sequenceName: zod.z.string().describe("The human-readable name of the sequence (campaign).").nullable(),
|
|
13
|
+
isSequenceOwner: zod.z.boolean().describe("True if the authenticated user is the owner of this sequence, False otherwise.").nullable()
|
|
14
|
+
}).passthrough().describe("Model representing a sequence (campaign) that a contact belongs to.");
|
|
15
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.");
|
|
16
|
+
page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
17
|
+
limit: zod.z.number().int().describe("Number of items per page.").nullable(),
|
|
18
|
+
total: zod.z.number().int().describe("Total number of campaigns available.").nullable(),
|
|
19
|
+
has_more: zod.z.boolean().describe("Whether there are more pages available.").nullable()
|
|
20
|
+
}).passthrough().describe("Pagination metadata for the campaigns list response.");
|
|
21
21
|
const ReplyGetCampaignsForContactOutput = zod.z.object({
|
|
22
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
23
|
pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable()
|
|
24
|
-
}).describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.");
|
|
24
|
+
}).passthrough().describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.");
|
|
25
25
|
const replyGetCampaignsForContact = require_action.action("REPLY_GET_CAMPAIGNS_FOR_CONTACT", {
|
|
26
26
|
slug: "reply-get-campaigns-for-contact",
|
|
27
27
|
name: "Get Campaigns For Contact",
|
|
@@ -1 +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
|
|
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.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.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\").nullable(),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\").nullable(),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\").nullable(),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\").nullable(),\n}).passthrough().describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput = 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}).passthrough().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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;CAChP,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAA0F;AAEpH,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|