@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
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaigns-for-contact.d.ts
|
|
4
|
-
declare const ReplyGetCampaignsForContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetCampaignsForContactInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
contactId: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ReplyGetCampaignsForContactOutput: z.ZodObject<{
|
|
10
|
+
campaigns: z.ZodArray<z.ZodObject<{
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
sequenceId: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
sequenceName: z.ZodNullable<z.ZodString>;
|
|
14
|
+
isSequenceOwner: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
contactId: number;
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { replyGetCampaignsForContact };
|
|
9
30
|
//# sourceMappingURL=get-campaigns-for-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns-for-contact.d.cts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.d.cts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaigns-for-contact.d.ts
|
|
4
|
-
declare const ReplyGetCampaignsForContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetCampaignsForContactInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
contactId: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ReplyGetCampaignsForContactOutput: z.ZodObject<{
|
|
10
|
+
campaigns: z.ZodArray<z.ZodObject<{
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
sequenceId: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
sequenceName: z.ZodNullable<z.ZodString>;
|
|
14
|
+
isSequenceOwner: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
contactId: number;
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { replyGetCampaignsForContact };
|
|
9
30
|
//# sourceMappingURL=get-campaigns-for-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns-for-contact.d.mts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-campaigns-for-contact.d.mts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -7,17 +7,17 @@ const ReplyGetCampaignsForContactInput = z.object({
|
|
|
7
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
8
|
}).describe("Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.");
|
|
9
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.");
|
|
10
|
+
status: z.string().describe("Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.").nullable(),
|
|
11
|
+
sequenceId: z.number().int().describe("The unique numeric identifier of the sequence (campaign).").nullable(),
|
|
12
|
+
sequenceName: z.string().describe("The human-readable name of the sequence (campaign).").nullable(),
|
|
13
|
+
isSequenceOwner: 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 = 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.");
|
|
16
|
+
page: z.number().int().describe("Current page number.").nullable(),
|
|
17
|
+
limit: z.number().int().describe("Number of items per page.").nullable(),
|
|
18
|
+
total: z.number().int().describe("Total number of campaigns available.").nullable(),
|
|
19
|
+
has_more: z.boolean().describe("Whether there are more pages available.").nullable()
|
|
20
|
+
}).passthrough().describe("Pagination metadata for the campaigns list response.");
|
|
21
21
|
const replyGetCampaignsForContact = action("REPLY_GET_CAMPAIGNS_FOR_CONTACT", {
|
|
22
22
|
slug: "reply-get-campaigns-for-contact",
|
|
23
23
|
name: "Get Campaigns For Contact",
|
|
@@ -26,7 +26,7 @@ const replyGetCampaignsForContact = action("REPLY_GET_CAMPAIGNS_FOR_CONTACT", {
|
|
|
26
26
|
output: z.object({
|
|
27
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
28
|
pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable()
|
|
29
|
-
}).describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.")
|
|
29
|
+
}).passthrough().describe("Response model for GetCampaignsForContact containing all sequences a contact belongs to.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { replyGetCampaignsForContact };
|
|
@@ -1 +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
|
|
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.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,mCAAmC,EAAE,OAAO;CACvD,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,kDAAkD,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;EAChP,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAOhB;AACV,CAAC"}
|
|
@@ -7,13 +7,13 @@ const ReplyGetContactsInListByIdInput = zod.z.object({
|
|
|
7
7
|
list_id: zod.z.string().describe("Unique identifier of the list to retrieve contacts from")
|
|
8
8
|
}).describe("Request model for retrieving contacts in a specific list by its ID.");
|
|
9
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
|
-
});
|
|
10
|
+
key: zod.z.string().describe("Custom field key").nullable(),
|
|
11
|
+
value: zod.z.string().describe("Custom field value").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ReplyGetContactsInListById_ContactSchema = zod.z.object({
|
|
14
|
-
id: zod.z.string().describe("Unique identifier of the contact"),
|
|
14
|
+
id: zod.z.string().describe("Unique identifier of the contact").nullable(),
|
|
15
15
|
city: zod.z.string().describe("Contact's city").nullable().optional(),
|
|
16
|
-
email: zod.z.string().describe("Contact's email address"),
|
|
16
|
+
email: zod.z.string().describe("Contact's email address").nullable(),
|
|
17
17
|
notes: zod.z.string().describe("Notes associated with the contact").nullable().optional(),
|
|
18
18
|
phone: zod.z.string().describe("Contact's phone number").nullable().optional(),
|
|
19
19
|
state: zod.z.string().describe("Contact's state").nullable().optional(),
|
|
@@ -33,17 +33,17 @@ const ReplyGetContactsInListById_ContactSchema = zod.z.object({
|
|
|
33
33
|
linkedInProfile: zod.z.string().describe("URL to the contact's LinkedIn profile").nullable().optional(),
|
|
34
34
|
linkedInRecruiter: zod.z.string().describe("URL to the contact's LinkedIn Recruiter profile").nullable().optional(),
|
|
35
35
|
linkedInSalesNavigator: zod.z.string().describe("URL to the contact's LinkedIn Sales Navigator profile").nullable().optional()
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
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
|
-
});
|
|
38
|
+
limit: zod.z.number().int().describe("Number of items per page").nullable(),
|
|
39
|
+
pages: zod.z.number().int().describe("Total number of pages").nullable(),
|
|
40
|
+
total: zod.z.number().int().describe("Total number of contacts").nullable(),
|
|
41
|
+
currentPage: zod.z.number().int().describe("Current page number").nullable()
|
|
42
|
+
}).passthrough();
|
|
43
43
|
const ReplyGetContactsInListByIdOutput = zod.z.object({
|
|
44
44
|
data: zod.z.array(ReplyGetContactsInListById_ContactSchema).describe("List of contacts in the specified list"),
|
|
45
45
|
pagination: ReplyGetContactsInListById_PaginationSchema.nullable()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const replyGetContactsInListById = require_action.action("REPLY_GET_CONTACTS_IN_LIST_BY_ID", {
|
|
48
48
|
slug: "reply-get-contacts-in-list-by-id",
|
|
49
49
|
name: "Get Contacts in List by ID",
|
|
@@ -1 +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
|
|
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.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.object({\n key: z.string().describe(\"Custom field key\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable(),\n}).passthrough();\nconst ReplyGetContactsInListById_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\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}).passthrough();\nconst ReplyGetContactsInListById_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages\").nullable(),\n total: z.number().int().describe(\"Total number of contacts\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nexport const ReplyGetContactsInListByIdOutput = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n}).passthrough();\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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"}
|
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts-in-list-by-id.d.ts
|
|
4
|
-
declare const ReplyGetContactsInListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetContactsInListByIdInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
list_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ReplyGetContactsInListByIdOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
email: z.ZodNullable<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
addingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
timeZoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
companySize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
phoneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
customFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
30
|
+
key: z.ZodNullable<z.ZodString>;
|
|
31
|
+
value: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
linkedInProfile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
linkedInRecruiter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
linkedInSalesNavigator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
38
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
pages: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
41
|
+
currentPage: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
|
+
declare const replyGetContactsInListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
|
+
list_id: string;
|
|
46
|
+
page?: number | undefined;
|
|
47
|
+
limit?: number | undefined;
|
|
48
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
49
|
//#endregion
|
|
8
50
|
export { replyGetContactsInListById };
|
|
9
51
|
//# sourceMappingURL=get-contacts-in-list-by-id.d.cts.map
|
|
@@ -1 +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,
|
|
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,EAA+B,CAAA,CAAA,SAAA;;;;;cAuC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts-in-list-by-id.d.ts
|
|
4
|
-
declare const ReplyGetContactsInListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetContactsInListByIdInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
list_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ReplyGetContactsInListByIdOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
email: z.ZodNullable<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
addingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
timeZoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
companySize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
phoneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
customFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
30
|
+
key: z.ZodNullable<z.ZodString>;
|
|
31
|
+
value: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
linkedInProfile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
linkedInRecruiter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
linkedInSalesNavigator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
38
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
pages: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
41
|
+
currentPage: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
|
+
declare const replyGetContactsInListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
|
+
list_id: string;
|
|
46
|
+
page?: number | undefined;
|
|
47
|
+
limit?: number | undefined;
|
|
48
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
49
|
//#endregion
|
|
8
50
|
export { replyGetContactsInListById };
|
|
9
51
|
//# sourceMappingURL=get-contacts-in-list-by-id.d.mts.map
|
|
@@ -1 +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,
|
|
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,EAA+B,CAAA,CAAA,SAAA;;;;;cAuC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -7,13 +7,13 @@ const ReplyGetContactsInListByIdInput = z.object({
|
|
|
7
7
|
list_id: z.string().describe("Unique identifier of the list to retrieve contacts from")
|
|
8
8
|
}).describe("Request model for retrieving contacts in a specific list by its ID.");
|
|
9
9
|
const ReplyGetContactsInListById_CustomFieldSchema = z.object({
|
|
10
|
-
key: z.string().describe("Custom field key"),
|
|
11
|
-
value: z.string().describe("Custom field value")
|
|
12
|
-
});
|
|
10
|
+
key: z.string().describe("Custom field key").nullable(),
|
|
11
|
+
value: z.string().describe("Custom field value").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ReplyGetContactsInListById_ContactSchema = z.object({
|
|
14
|
-
id: z.string().describe("Unique identifier of the contact"),
|
|
14
|
+
id: z.string().describe("Unique identifier of the contact").nullable(),
|
|
15
15
|
city: z.string().describe("Contact's city").nullable().optional(),
|
|
16
|
-
email: z.string().describe("Contact's email address"),
|
|
16
|
+
email: z.string().describe("Contact's email address").nullable(),
|
|
17
17
|
notes: z.string().describe("Notes associated with the contact").nullable().optional(),
|
|
18
18
|
phone: z.string().describe("Contact's phone number").nullable().optional(),
|
|
19
19
|
state: z.string().describe("Contact's state").nullable().optional(),
|
|
@@ -33,13 +33,13 @@ const ReplyGetContactsInListById_ContactSchema = z.object({
|
|
|
33
33
|
linkedInProfile: z.string().describe("URL to the contact's LinkedIn profile").nullable().optional(),
|
|
34
34
|
linkedInRecruiter: z.string().describe("URL to the contact's LinkedIn Recruiter profile").nullable().optional(),
|
|
35
35
|
linkedInSalesNavigator: z.string().describe("URL to the contact's LinkedIn Sales Navigator profile").nullable().optional()
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
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
|
-
});
|
|
38
|
+
limit: z.number().int().describe("Number of items per page").nullable(),
|
|
39
|
+
pages: z.number().int().describe("Total number of pages").nullable(),
|
|
40
|
+
total: z.number().int().describe("Total number of contacts").nullable(),
|
|
41
|
+
currentPage: z.number().int().describe("Current page number").nullable()
|
|
42
|
+
}).passthrough();
|
|
43
43
|
const replyGetContactsInListById = action("REPLY_GET_CONTACTS_IN_LIST_BY_ID", {
|
|
44
44
|
slug: "reply-get-contacts-in-list-by-id",
|
|
45
45
|
name: "Get Contacts in List by ID",
|
|
@@ -48,7 +48,7 @@ const replyGetContactsInListById = action("REPLY_GET_CONTACTS_IN_LIST_BY_ID", {
|
|
|
48
48
|
output: z.object({
|
|
49
49
|
data: z.array(ReplyGetContactsInListById_ContactSchema).describe("List of contacts in the specified list"),
|
|
50
50
|
pagination: ReplyGetContactsInListById_PaginationSchema.nullable()
|
|
51
|
-
})
|
|
51
|
+
}).passthrough()
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { replyGetContactsInListById };
|
|
@@ -1 +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
|
|
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.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.object({\n key: z.string().describe(\"Custom field key\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable(),\n}).passthrough();\nconst ReplyGetContactsInListById_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\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}).passthrough();\nconst ReplyGetContactsInListById_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages\").nullable(),\n total: z.number().int().describe(\"Total number of contacts\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nexport const ReplyGetContactsInListByIdOutput = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n}).passthrough();\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":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,6BAA6B,OAAO,oCAAoC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC;EACzG,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-list-by-id.ts
|
|
4
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
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.");
|
|
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().describe("Response schema for retrieving a specific people list.");
|
|
9
9
|
const replyGetListById = require_action.action("REPLY_GET_LIST_BY_ID", {
|
|
10
10
|
slug: "reply-get-list-by-id",
|
|
11
11
|
name: "Get List by ID",
|
|
@@ -1 +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
|
|
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.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.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().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,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,mBAAmBC,eAAAA,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-by-id.d.ts
|
|
4
|
-
declare const ReplyGetListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetListByIdInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ReplyGetListByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const replyGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
list_id: number;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { replyGetListById };
|
|
9
16
|
//# sourceMappingURL=get-list-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-by-id.d.ts
|
|
4
|
-
declare const ReplyGetListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ReplyGetListByIdInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ReplyGetListByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const replyGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
list_id: number;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { replyGetListById };
|
|
9
16
|
//# sourceMappingURL=get-list-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.d.mts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-by-id.d.mts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const replyGetListById = action("REPLY_GET_LIST_BY_ID", {
|
|
|
6
6
|
description: "Tool to return a specific people list by its ID. Use after you know the list ID and need its details.",
|
|
7
7
|
input: z.object({ list_id: z.number().int().describe("Unique identifier of the list to retrieve") }).describe("Request model for retrieving a specific people list by its ID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the list"),
|
|
10
|
-
name: z.string().describe("Name of the list")
|
|
11
|
-
}).describe("Response schema for retrieving a specific people list.")
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the list").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the list").nullable()
|
|
11
|
+
}).passthrough().describe("Response schema for retrieving a specific people list.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { replyGetListById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.mjs","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetListByIdInput
|
|
1
|
+
{"version":3,"file":"get-list-by-id.mjs","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetListByIdInput = 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.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().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":";;AAYA,MAAa,mBAAmB,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAChF,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -3,18 +3,18 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-templates-list.ts
|
|
4
4
|
const ReplyGetTemplatesListInput = zod.z.object({}).describe("Request model for retrieving all user, team, and community templates.");
|
|
5
5
|
const ReplyGetTemplatesList_TemplateSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique template identifier."),
|
|
7
|
-
body: zod.z.string().describe("Body content of the template."),
|
|
8
|
-
name: zod.z.string().describe("Name of the template."),
|
|
9
|
-
subject: zod.z.string().describe("Subject of the template."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique template identifier.").nullable(),
|
|
7
|
+
body: zod.z.string().describe("Body content of the template.").nullable(),
|
|
8
|
+
name: zod.z.string().describe("Name of the template.").nullable(),
|
|
9
|
+
subject: zod.z.string().describe("Subject of the template.").nullable(),
|
|
10
10
|
categoryId: zod.z.number().int().describe("Category ID of the template.").nullable().optional()
|
|
11
|
-
}).describe("Model representing a template.");
|
|
11
|
+
}).passthrough().describe("Model representing a template.");
|
|
12
12
|
const ReplyGetTemplatesListOutput = zod.z.object({
|
|
13
13
|
orgTemplates: zod.z.array(ReplyGetTemplatesList_TemplateSchema).describe("List of templates shared within the organization.").nullable().optional(),
|
|
14
14
|
teamTemplates: zod.z.array(ReplyGetTemplatesList_TemplateSchema).describe("List of templates shared within the user's team."),
|
|
15
15
|
userTemplates: zod.z.array(ReplyGetTemplatesList_TemplateSchema).describe("List of templates created by the current authenticated user."),
|
|
16
16
|
communityTemplates: zod.z.array(ReplyGetTemplatesList_TemplateSchema).describe("List of publicly available community templates.")
|
|
17
|
-
}).describe("Response model for list of templates.");
|
|
17
|
+
}).passthrough().describe("Response model for list of templates.");
|
|
18
18
|
const replyGetTemplatesList = require_action.action("REPLY_GET_TEMPLATES_LIST", {
|
|
19
19
|
slug: "reply-get-templates-list",
|
|
20
20
|
name: "Get templates list",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-templates-list.cjs","names":["z","action"],"sources":["../../src/actions/get-templates-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetTemplatesListInput
|
|
1
|
+
{"version":3,"file":"get-templates-list.cjs","names":["z","action"],"sources":["../../src/actions/get-templates-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetTemplatesListInput = z.object({}).describe(\"Request model for retrieving all user, team, and community templates.\");\nconst ReplyGetTemplatesList_TemplateSchema = z.object({\n id: z.number().int().describe(\"Unique template identifier.\").nullable(),\n body: z.string().describe(\"Body content of the template.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n subject: z.string().describe(\"Subject of the template.\").nullable(),\n categoryId: z.number().int().describe(\"Category ID of the template.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a template.\");\nexport const ReplyGetTemplatesListOutput = z.object({\n orgTemplates: z.array(ReplyGetTemplatesList_TemplateSchema).describe(\"List of templates shared within the organization.\").nullable().optional(),\n teamTemplates: z.array(ReplyGetTemplatesList_TemplateSchema).describe(\"List of templates shared within the user's team.\"),\n userTemplates: z.array(ReplyGetTemplatesList_TemplateSchema).describe(\"List of templates created by the current authenticated user.\"),\n communityTemplates: z.array(ReplyGetTemplatesList_TemplateSchema).describe(\"List of publicly available community templates.\"),\n}).passthrough().describe(\"Response model for list of templates.\");\n\nexport const replyGetTemplatesList = action(\"REPLY_GET_TEMPLATES_LIST\", {\n slug: \"reply-get-templates-list\",\n name: \"Get templates list\",\n description: \"Retrieves all email templates from Reply.io, including user-created, team-shared, organization-wide, and community templates. Use this to browse available templates before sending emails or creating campaigns. No parameters required - returns all accessible templates for the authenticated user.\",\n input: ReplyGetTemplatesListInput,\n output: ReplyGetTemplatesListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACvI,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,cAAcA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,eAAeA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kDAAkD;CACxH,eAAeA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8DAA8D;CACpI,oBAAoBA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iDAAiD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|