@keystrokehq/persistiq 0.1.2 → 0.1.4
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/actions/add-lead-to-campaign.cjs +3 -3
- package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.cts +4 -4
- package/dist/actions/add-lead-to-campaign.d.mts +4 -4
- package/dist/actions/add-lead-to-campaign.mjs +3 -3
- package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +3 -3
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +3 -3
- package/dist/actions/create-campaign.d.mts +3 -3
- package/dist/actions/create-campaign.mjs +3 -3
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-dnc-domain.cjs +2 -2
- package/dist/actions/create-dnc-domain.cjs.map +1 -1
- package/dist/actions/create-dnc-domain.d.cts +2 -2
- package/dist/actions/create-dnc-domain.d.mts +2 -2
- package/dist/actions/create-dnc-domain.mjs +2 -2
- package/dist/actions/create-dnc-domain.mjs.map +1 -1
- package/dist/actions/create-leads.cjs +4 -4
- package/dist/actions/create-leads.cjs.map +1 -1
- package/dist/actions/create-leads.d.cts +5 -4
- package/dist/actions/create-leads.d.cts.map +1 -1
- package/dist/actions/create-leads.d.mts +5 -4
- package/dist/actions/create-leads.d.mts.map +1 -1
- package/dist/actions/create-leads.mjs +4 -4
- package/dist/actions/create-leads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +4 -4
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +4 -4
- package/dist/actions/list-campaigns.d.mts +4 -4
- package/dist/actions/list-campaigns.mjs +4 -4
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-dnc-domains.cjs +2 -2
- package/dist/actions/list-dnc-domains.cjs.map +1 -1
- package/dist/actions/list-dnc-domains.d.cts +2 -2
- package/dist/actions/list-dnc-domains.d.mts +2 -2
- package/dist/actions/list-dnc-domains.mjs +2 -2
- package/dist/actions/list-dnc-domains.mjs.map +1 -1
- package/dist/actions/list-events.cjs +2 -2
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +2 -2
- package/dist/actions/list-events.d.mts +2 -2
- package/dist/actions/list-events.mjs +2 -2
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-lead-fields.cjs +2 -2
- package/dist/actions/list-lead-fields.cjs.map +1 -1
- package/dist/actions/list-lead-fields.d.cts +2 -2
- package/dist/actions/list-lead-fields.d.mts +2 -2
- package/dist/actions/list-lead-fields.mjs +2 -2
- package/dist/actions/list-lead-fields.mjs.map +1 -1
- package/dist/actions/list-lead-statuses.cjs +2 -2
- package/dist/actions/list-lead-statuses.cjs.map +1 -1
- package/dist/actions/list-lead-statuses.d.cts +2 -2
- package/dist/actions/list-lead-statuses.d.mts +2 -2
- package/dist/actions/list-lead-statuses.mjs +2 -2
- package/dist/actions/list-lead-statuses.mjs.map +1 -1
- package/dist/actions/list-leads.cjs +1 -1
- package/dist/actions/list-leads.cjs.map +1 -1
- package/dist/actions/list-leads.d.cts +1 -1
- package/dist/actions/list-leads.d.mts +1 -1
- package/dist/actions/list-leads.mjs +1 -1
- package/dist/actions/list-leads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +2 -2
- package/dist/actions/list-users.d.mts +2 -2
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/remove-lead-from-campaign.cjs +1 -1
- package/dist/actions/remove-lead-from-campaign.cjs.map +1 -1
- package/dist/actions/remove-lead-from-campaign.d.cts +1 -1
- package/dist/actions/remove-lead-from-campaign.d.mts +1 -1
- package/dist/actions/remove-lead-from-campaign.mjs +1 -1
- package/dist/actions/remove-lead-from-campaign.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-leads.mjs","names":[],"sources":["../../src/actions/create-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqCreateLeadsInput = z.object({\n leads: z.array(z.object({\n email: z.string().describe(\"Lead’s email address\"),\n phone: z.string().describe(\"Lead’s phone number\").optional(),\n title: z.string().describe(\"Lead’s job title\").optional(),\n last_name: z.string().describe(\"Lead’s last name\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Custom field key-value map\").optional(),\n account_id: z.string().describe(\"Account ID to associate lead with\").optional(),\n creator_id: z.string().describe(\"User ID to assign as creator\").optional(),\n first_name: z.string().describe(\"Lead’s first name\").optional(),\n company_name: z.string().describe(\"Lead’s company name\").optional(),\n}).describe(\"Single lead payload.\")).describe(\"List of up to 10 leads to create\"),\n duplicate_lead_action: z.enum([\"error\", \"update\", \"ignore\"]).default(\"error\").describe(\"Behavior when a duplicate email is found: 'error', 'update', or 'ignore'\").optional(),\n}).describe(\"Request model for bulk lead creation.\");\nconst PersistiqCreateLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city\").nullable().optional(),\n email: z.string().describe(\"Lead's email address\").nullable(),\n phone: z.string().describe(\"Lead's phone number\").nullable().optional(),\n state: z.string().describe(\"Lead's state\").nullable().optional(),\n title: z.string().describe(\"Lead's job title\").nullable().optional(),\n source: z.string().describe(\"Lead's source\").nullable().optional(),\n address: z.string().describe(\"Lead's address\").nullable().optional(),\n country: z.string().describe(\"Lead's country\").nullable().optional(),\n revenue: z.string().describe(\"Lead's revenue\").nullable().optional(),\n snippet: z.string().describe(\"Custom snippet 1\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter handle\").nullable().optional(),\n website: z.string().describe(\"Lead's website\").nullable().optional(),\n category: z.string().describe(\"Lead's category\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook URL\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn URL\").nullable().optional(),\n services: z.string().describe(\"Lead's services\").nullable().optional(),\n snippet2: z.string().describe(\"Custom snippet 2\").nullable().optional(),\n snippet3: z.string().describe(\"Custom snippet 3\").nullable().optional(),\n snippet4: z.string().describe(\"Custom snippet 4\").nullable().optional(),\n headcount: z.string().describe(\"Lead's company headcount\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name\").nullable().optional(),\n explanation: z.string().describe(\"Explanation field\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name\").nullable().optional(),\n business_type: z.string().describe(\"Lead's business type\").nullable().optional(),\n salesforce_id: z.string().describe(\"Salesforce ID\").nullable().optional(),\n email_verify_result: z.string().describe(\"Email verification result\").nullable().optional(),\n}).describe(\"Lead data fields returned by the API.\");\nconst PersistiqCreateLeads_LeadSchema = z.object({\n id: z.string().describe(\"Lead's unique ID in PersistIQ\").nullable(),\n data: PersistiqCreateLeads_LeadDataSchema.nullable(),\n status: z.string().describe(\"Lead's status\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead has bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"Owner user ID\").nullable().optional(),\n creator_id: z.string().describe(\"Creator user ID\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent\").nullable().optional(),\n last_sent_at: z.string().describe(\"Last email sent timestamp\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies received\").nullable().optional(),\n}).describe(\"PersistIQ lead object returned by the API.\");\nexport const PersistiqCreateLeadsOutput = z.object({\n leads: z.array(PersistiqCreateLeads_LeadSchema).describe(\"List of created lead records\"),\n errors: z.array(z.unknown()).describe(\"List of errors if any\").nullable().optional(),\n status: z.string().describe(\"Status of the operation\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable(),\n next_page: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).describe(\"Response model after creating leads.\");\n\nexport const persistiqCreateLeads = action(\"PERSISTIQ_CREATE_LEADS\", {\n slug: \"persistiq-create-leads\",\n name: \"Create Leads\",\n description: \"Tool to bulk create up to 10 leads. Use when you have multiple new contacts and need optional duplicate-handling.\",\n input: PersistiqCreateLeadsInput,\n output: PersistiqCreateLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"create-leads.mjs","names":[],"sources":["../../src/actions/create-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqCreateLeadsInput = z.object({\n leads: z.array(z.object({\n email: z.string().describe(\"Lead’s email address\"),\n phone: z.string().describe(\"Lead’s phone number\").optional(),\n title: z.string().describe(\"Lead’s job title\").optional(),\n last_name: z.string().describe(\"Lead’s last name\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Custom field key-value map\").optional(),\n account_id: z.string().describe(\"Account ID to associate lead with\").optional(),\n creator_id: z.string().describe(\"User ID to assign as creator\").optional(),\n first_name: z.string().describe(\"Lead’s first name\").optional(),\n company_name: z.string().describe(\"Lead’s company name\").optional(),\n}).passthrough().describe(\"Single lead payload.\")).describe(\"List of up to 10 leads to create\"),\n duplicate_lead_action: z.enum([\"error\", \"update\", \"ignore\"]).default(\"error\").describe(\"Behavior when a duplicate email is found: 'error', 'update', or 'ignore'\").optional(),\n}).describe(\"Request model for bulk lead creation.\");\nconst PersistiqCreateLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city\").nullable().optional(),\n email: z.string().describe(\"Lead's email address\").nullable(),\n phone: z.string().describe(\"Lead's phone number\").nullable().optional(),\n state: z.string().describe(\"Lead's state\").nullable().optional(),\n title: z.string().describe(\"Lead's job title\").nullable().optional(),\n source: z.string().describe(\"Lead's source\").nullable().optional(),\n address: z.string().describe(\"Lead's address\").nullable().optional(),\n country: z.string().describe(\"Lead's country\").nullable().optional(),\n revenue: z.string().describe(\"Lead's revenue\").nullable().optional(),\n snippet: z.string().describe(\"Custom snippet 1\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter handle\").nullable().optional(),\n website: z.string().describe(\"Lead's website\").nullable().optional(),\n category: z.string().describe(\"Lead's category\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook URL\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn URL\").nullable().optional(),\n services: z.string().describe(\"Lead's services\").nullable().optional(),\n snippet2: z.string().describe(\"Custom snippet 2\").nullable().optional(),\n snippet3: z.string().describe(\"Custom snippet 3\").nullable().optional(),\n snippet4: z.string().describe(\"Custom snippet 4\").nullable().optional(),\n headcount: z.string().describe(\"Lead's company headcount\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name\").nullable().optional(),\n explanation: z.string().describe(\"Explanation field\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name\").nullable().optional(),\n business_type: z.string().describe(\"Lead's business type\").nullable().optional(),\n salesforce_id: z.string().describe(\"Salesforce ID\").nullable().optional(),\n email_verify_result: z.string().describe(\"Email verification result\").nullable().optional(),\n}).passthrough().describe(\"Lead data fields returned by the API.\");\nconst PersistiqCreateLeads_LeadSchema = z.object({\n id: z.string().describe(\"Lead's unique ID in PersistIQ\").nullable(),\n data: PersistiqCreateLeads_LeadDataSchema.nullable(),\n status: z.string().describe(\"Lead's status\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead has bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"Owner user ID\").nullable().optional(),\n creator_id: z.string().describe(\"Creator user ID\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent\").nullable().optional(),\n last_sent_at: z.string().describe(\"Last email sent timestamp\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies received\").nullable().optional(),\n}).passthrough().describe(\"PersistIQ lead object returned by the API.\");\nexport const PersistiqCreateLeadsOutput = z.object({\n leads: z.array(PersistiqCreateLeads_LeadSchema).describe(\"List of created lead records\"),\n errors: z.array(z.unknown()).describe(\"List of errors if any\").nullable().optional(),\n status: z.string().describe(\"Status of the operation\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable(),\n next_page: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating leads.\");\n\nexport const persistiqCreateLeads = action(\"PERSISTIQ_CREATE_LEADS\", {\n slug: \"persistiq-create-leads\",\n name: \"Create Leads\",\n description: \"Tool to bulk create up to 10 leads. Use when you have multiple new contacts and need optional duplicate-handling.\",\n input: PersistiqCreateLeadsInput,\n output: PersistiqCreateLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC5F,uBAAuB,EAAE,KAAK;EAAC;EAAS;EAAU;CAAQ,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,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C,SAAS;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -16,23 +16,23 @@ const PersistiqListCampaigns_StatsSchema = zod.z.object({
|
|
|
16
16
|
prospects_replied: zod.z.number().int().default(0).describe("Number of prospects who replied").nullable().optional(),
|
|
17
17
|
prospects_optedout: zod.z.number().int().default(0).describe("Number of prospects who opted out").nullable().optional(),
|
|
18
18
|
prospects_contacted: zod.z.number().int().default(0).describe("Number of prospects contacted").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const PersistiqListCampaigns_CreatorSchema = zod.z.object({
|
|
21
21
|
id: zod.z.string().describe("Creator's unique ID").nullable(),
|
|
22
22
|
name: zod.z.string().describe("Creator's name").nullable(),
|
|
23
23
|
email: zod.z.string().describe("Creator's email").nullable()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const PersistiqListCampaigns_CampaignSchema = zod.z.object({
|
|
26
26
|
id: zod.z.string().describe("Campaign unique ID").nullable(),
|
|
27
27
|
name: zod.z.string().describe("Campaign name").nullable(),
|
|
28
28
|
stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),
|
|
29
29
|
creator: PersistiqListCampaigns_CreatorSchema.nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const PersistiqListCampaignsOutput = zod.z.object({
|
|
32
32
|
has_more: zod.z.boolean().default(false).describe("Whether there are more pages available").nullable().optional(),
|
|
33
33
|
campaigns: zod.z.array(PersistiqListCampaigns_CampaignSchema).describe("List of campaign objects"),
|
|
34
34
|
next_page: zod.z.string().describe("Next page identifier").nullable().optional()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const persistiqListCampaigns = require_action.action("PERSISTIQ_LIST_CAMPAIGNS", {
|
|
37
37
|
slug: "persistiq-list-campaigns",
|
|
38
38
|
name: "List Campaigns",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n});\nconst PersistiqListCampaigns_CreatorSchema = z.object({\n id: z.string().describe(\"Creator's unique ID\").nullable(),\n name: z.string().describe(\"Creator's name\").nullable(),\n email: z.string().describe(\"Creator's email\").nullable(),\n});\nconst PersistiqListCampaigns_CampaignSchema = z.object({\n id: z.string().describe(\"Campaign unique ID\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n});\nexport const PersistiqListCampaignsOutput = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n});\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC9E,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;
|
|
1
|
+
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n}).passthrough();\nconst PersistiqListCampaigns_CreatorSchema = z.object({\n id: z.string().describe(\"Creator's unique ID\").nullable(),\n name: z.string().describe(\"Creator's name\").nullable(),\n email: z.string().describe(\"Creator's email\").nullable(),\n}).passthrough();\nconst PersistiqListCampaigns_CampaignSchema = z.object({\n id: z.string().describe(\"Campaign unique ID\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n}).passthrough();\nexport const PersistiqListCampaignsOutput = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n}).passthrough();\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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.ZodNumber>>>;
|
|
22
22
|
prospects_optedout: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
23
23
|
prospects_contacted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
id: z.ZodNullable<z.ZodString>;
|
|
27
27
|
name: z.ZodNullable<z.ZodString>;
|
|
28
28
|
email: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const persistiqListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name?: string | undefined;
|
|
35
35
|
page?: number | undefined;
|
|
@@ -21,15 +21,15 @@ declare const PersistiqListCampaignsOutput: z.ZodObject<{
|
|
|
21
21
|
prospects_replied: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
22
22
|
prospects_optedout: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
23
23
|
prospects_contacted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
id: z.ZodNullable<z.ZodString>;
|
|
27
27
|
name: z.ZodNullable<z.ZodString>;
|
|
28
28
|
email: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const persistiqListCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name?: string | undefined;
|
|
35
35
|
page?: number | undefined;
|
|
@@ -16,18 +16,18 @@ const PersistiqListCampaigns_StatsSchema = z.object({
|
|
|
16
16
|
prospects_replied: z.number().int().default(0).describe("Number of prospects who replied").nullable().optional(),
|
|
17
17
|
prospects_optedout: z.number().int().default(0).describe("Number of prospects who opted out").nullable().optional(),
|
|
18
18
|
prospects_contacted: z.number().int().default(0).describe("Number of prospects contacted").nullable().optional()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const PersistiqListCampaigns_CreatorSchema = z.object({
|
|
21
21
|
id: z.string().describe("Creator's unique ID").nullable(),
|
|
22
22
|
name: z.string().describe("Creator's name").nullable(),
|
|
23
23
|
email: z.string().describe("Creator's email").nullable()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const PersistiqListCampaigns_CampaignSchema = z.object({
|
|
26
26
|
id: z.string().describe("Campaign unique ID").nullable(),
|
|
27
27
|
name: z.string().describe("Campaign name").nullable(),
|
|
28
28
|
stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),
|
|
29
29
|
creator: PersistiqListCampaigns_CreatorSchema.nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const persistiqListCampaigns = action("PERSISTIQ_LIST_CAMPAIGNS", {
|
|
32
32
|
slug: "persistiq-list-campaigns",
|
|
33
33
|
name: "List Campaigns",
|
|
@@ -37,7 +37,7 @@ const persistiqListCampaigns = action("PERSISTIQ_LIST_CAMPAIGNS", {
|
|
|
37
37
|
has_more: z.boolean().default(false).describe("Whether there are more pages available").nullable().optional(),
|
|
38
38
|
campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe("List of campaign objects"),
|
|
39
39
|
next_page: z.string().describe("Next page identifier").nullable().optional()
|
|
40
|
-
})
|
|
40
|
+
}).passthrough()
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { persistiqListCampaigns };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n});\nconst PersistiqListCampaigns_CreatorSchema = z.object({\n id: z.string().describe(\"Creator's unique ID\").nullable(),\n name: z.string().describe(\"Creator's name\").nullable(),\n email: z.string().describe(\"Creator's email\").nullable(),\n});\nconst PersistiqListCampaigns_CampaignSchema = z.object({\n id: z.string().describe(\"Campaign unique ID\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n});\nexport const PersistiqListCampaignsOutput = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n});\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC9E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;
|
|
1
|
+
{"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n}).passthrough();\nconst PersistiqListCampaigns_CreatorSchema = z.object({\n id: z.string().describe(\"Creator's unique ID\").nullable(),\n name: z.string().describe(\"Creator's name\").nullable(),\n email: z.string().describe(\"Creator's email\").nullable(),\n}).passthrough();\nconst PersistiqListCampaigns_CampaignSchema = z.object({\n id: z.string().describe(\"Campaign unique ID\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n}).passthrough();\nexport const PersistiqListCampaignsOutput = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n}).passthrough();\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CA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E,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const PersistiqListDncDomains_DncDomainSchema = zod.z.object({
|
|
|
7
7
|
domain: zod.z.string().describe("Domain name marked as Do Not Contact").nullable(),
|
|
8
8
|
created_at: zod.z.string().describe("ISO 8601 timestamp when domain was added to DNC list").nullable(),
|
|
9
9
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated").nullable()
|
|
10
|
-
});
|
|
11
|
-
const PersistiqListDncDomainsOutput = zod.z.object({ domains: zod.z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") });
|
|
10
|
+
}).passthrough();
|
|
11
|
+
const PersistiqListDncDomainsOutput = zod.z.object({ domains: zod.z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") }).passthrough();
|
|
12
12
|
const persistiqListDncDomains = require_action.action("PERSISTIQ_LIST_DNC_DOMAINS", {
|
|
13
13
|
slug: "persistiq-list-dnc-domains",
|
|
14
14
|
name: "List Do Not Contact Domains",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-dnc-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n});\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n});\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-dnc-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n}).passthrough();\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n}).passthrough();\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListDncDomainsOutput: z.ZodObject<{
|
|
|
8
8
|
domain: z.ZodNullable<z.ZodString>;
|
|
9
9
|
created_at: z.ZodNullable<z.ZodString>;
|
|
10
10
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListDncDomains };
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListDncDomainsOutput: z.ZodObject<{
|
|
|
8
8
|
domain: z.ZodNullable<z.ZodString>;
|
|
9
9
|
created_at: z.ZodNullable<z.ZodString>;
|
|
10
10
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListDncDomains };
|
|
@@ -7,13 +7,13 @@ const PersistiqListDncDomains_DncDomainSchema = z.object({
|
|
|
7
7
|
domain: z.string().describe("Domain name marked as Do Not Contact").nullable(),
|
|
8
8
|
created_at: z.string().describe("ISO 8601 timestamp when domain was added to DNC list").nullable(),
|
|
9
9
|
updated_at: z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated").nullable()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const persistiqListDncDomains = action("PERSISTIQ_LIST_DNC_DOMAINS", {
|
|
12
12
|
slug: "persistiq-list-dnc-domains",
|
|
13
13
|
name: "List Do Not Contact Domains",
|
|
14
14
|
description: "Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.",
|
|
15
15
|
input: PersistiqListDncDomainsInput,
|
|
16
|
-
output: z.object({ domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") })
|
|
16
|
+
output: z.object({ domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") }).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { persistiqListDncDomains };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-dnc-domains.mjs","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n});\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n});\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-dnc-domains.mjs","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n}).passthrough();\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n}).passthrough();\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -22,12 +22,12 @@ const PersistiqListEvents_EventSchema = zod.z.object({
|
|
|
22
22
|
campaign: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Campaign object as returned by API (can be null)").nullable().optional(),
|
|
23
23
|
event_at: zod.z.string().describe("ISO8601 timestamp of when the event occurred").nullable(),
|
|
24
24
|
lead_status: zod.z.unknown().describe("Lead status if applicable").nullable().optional()
|
|
25
|
-
}).describe("Model for a single PersistIQ event.");
|
|
25
|
+
}).passthrough().describe("Model for a single PersistIQ event.");
|
|
26
26
|
const PersistiqListEventsOutput = zod.z.object({
|
|
27
27
|
events: zod.z.array(PersistiqListEvents_EventSchema).describe("List of event objects"),
|
|
28
28
|
has_more: zod.z.boolean().default(false).describe("Whether there are more events to fetch").nullable().optional(),
|
|
29
29
|
next_page: zod.z.string().describe("URL to fetch next page of results").nullable().optional()
|
|
30
|
-
}).describe("Response model for listing PersistIQ events.");
|
|
30
|
+
}).passthrough().describe("Response model for listing PersistIQ events.");
|
|
31
31
|
const persistiqListEvents = require_action.action("PERSISTIQ_LIST_EVENTS", {
|
|
32
32
|
slug: "persistiq-list-events",
|
|
33
33
|
name: "List Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).passthrough().describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EA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,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,10 +23,10 @@ declare const PersistiqListEventsOutput: z.ZodObject<{
|
|
|
23
23
|
campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
event_at: z.ZodNullable<z.ZodString>;
|
|
25
25
|
lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
28
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
lead?: string | undefined;
|
|
32
32
|
page?: number | undefined;
|
|
@@ -23,10 +23,10 @@ declare const PersistiqListEventsOutput: z.ZodObject<{
|
|
|
23
23
|
campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
event_at: z.ZodNullable<z.ZodString>;
|
|
25
25
|
lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
28
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
lead?: string | undefined;
|
|
32
32
|
page?: number | undefined;
|
|
@@ -22,7 +22,7 @@ const PersistiqListEvents_EventSchema = z.object({
|
|
|
22
22
|
campaign: z.record(z.string(), z.unknown()).describe("Campaign object as returned by API (can be null)").nullable().optional(),
|
|
23
23
|
event_at: z.string().describe("ISO8601 timestamp of when the event occurred").nullable(),
|
|
24
24
|
lead_status: z.unknown().describe("Lead status if applicable").nullable().optional()
|
|
25
|
-
}).describe("Model for a single PersistIQ event.");
|
|
25
|
+
}).passthrough().describe("Model for a single PersistIQ event.");
|
|
26
26
|
const persistiqListEvents = action("PERSISTIQ_LIST_EVENTS", {
|
|
27
27
|
slug: "persistiq-list-events",
|
|
28
28
|
name: "List Events",
|
|
@@ -32,7 +32,7 @@ const persistiqListEvents = action("PERSISTIQ_LIST_EVENTS", {
|
|
|
32
32
|
events: z.array(PersistiqListEvents_EventSchema).describe("List of event objects"),
|
|
33
33
|
has_more: z.boolean().default(false).describe("Whether there are more events to fetch").nullable().optional(),
|
|
34
34
|
next_page: z.string().describe("URL to fetch next page of results").nullable().optional()
|
|
35
|
-
}).describe("Response model for listing PersistIQ events.")
|
|
35
|
+
}).passthrough().describe("Response model for listing PersistIQ events.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { persistiqListEvents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2B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OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).passthrough().describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mEAAmE;A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AAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const PersistiqListLeadFields_LeadFieldSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Internal name of the lead field").nullable(),
|
|
8
8
|
label: zod.z.string().describe("Display label of the lead field").nullable(),
|
|
9
9
|
data_kind: zod.z.string().describe("Type of the lead field (e.g., string_type)").nullable()
|
|
10
|
-
}).describe("Schema for a PersistIQ lead field.");
|
|
11
|
-
const PersistiqListLeadFieldsOutput = zod.z.object({ lead_fields: zod.z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).describe("Response schema for listing lead fields.");
|
|
10
|
+
}).passthrough().describe("Schema for a PersistIQ lead field.");
|
|
11
|
+
const PersistiqListLeadFieldsOutput = zod.z.object({ lead_fields: zod.z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).passthrough().describe("Response schema for listing lead fields.");
|
|
12
12
|
const persistiqListLeadFields = require_action.action("PERSISTIQ_LIST_LEAD_FIELDS", {
|
|
13
13
|
slug: "persistiq-list-lead-fields",
|
|
14
14
|
name: "List Lead Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-lead-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).passthrough().describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).passthrough().describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
label: z.ZodNullable<z.ZodString>;
|
|
10
10
|
data_kind: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListLeadFields };
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
label: z.ZodNullable<z.ZodString>;
|
|
10
10
|
data_kind: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListLeadFields };
|
|
@@ -7,13 +7,13 @@ const PersistiqListLeadFields_LeadFieldSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Internal name of the lead field").nullable(),
|
|
8
8
|
label: z.string().describe("Display label of the lead field").nullable(),
|
|
9
9
|
data_kind: z.string().describe("Type of the lead field (e.g., string_type)").nullable()
|
|
10
|
-
}).describe("Schema for a PersistIQ lead field.");
|
|
10
|
+
}).passthrough().describe("Schema for a PersistIQ lead field.");
|
|
11
11
|
const persistiqListLeadFields = action("PERSISTIQ_LIST_LEAD_FIELDS", {
|
|
12
12
|
slug: "persistiq-list-lead-fields",
|
|
13
13
|
name: "List Lead Fields",
|
|
14
14
|
description: "Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.",
|
|
15
15
|
input: PersistiqListLeadFieldsInput,
|
|
16
|
-
output: z.object({ lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).describe("Response schema for listing lead fields.")
|
|
16
|
+
output: z.object({ lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).passthrough().describe("Response schema for listing lead fields.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { persistiqListLeadFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-fields.mjs","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-lead-fields.mjs","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).passthrough().describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).passthrough().describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const PersistiqListLeadStatuses_LeadStatusSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the lead status").nullable(),
|
|
8
8
|
"default": zod.z.boolean().describe("Flag indicating if this is the default lead status").nullable().optional(),
|
|
9
9
|
position: zod.z.number().int().describe("Position/order of this status in the pipeline").nullable().optional()
|
|
10
|
-
});
|
|
11
|
-
const PersistiqListLeadStatusesOutput = zod.z.object({ lead_statuses: zod.z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") });
|
|
10
|
+
}).passthrough();
|
|
11
|
+
const PersistiqListLeadStatusesOutput = zod.z.object({ lead_statuses: zod.z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") }).passthrough();
|
|
12
12
|
const persistiqListLeadStatuses = require_action.action("PERSISTIQ_LIST_LEAD_STATUSES", {
|
|
13
13
|
slug: "persistiq-list-lead-statuses",
|
|
14
14
|
name: "List lead statuses",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\").nullable(),\n name: z.string().describe(\"Name of the lead status\").nullable(),\n \"default\": z.boolean().describe(\"Flag indicating if this is the default lead status\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of this status in the pipeline\").nullable().optional(),\n});\nexport const PersistiqListLeadStatusesOutput = z.object({\n lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe(\"List of lead status objects for the company\"),\n});\n\nexport const persistiqListLeadStatuses = action(\"PERSISTIQ_LIST_LEAD_STATUSES\", {\n slug: \"persistiq-list-lead-statuses\",\n name: \"List lead statuses\",\n description: \"Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.\",\n input: PersistiqListLeadStatusesInput,\n output: PersistiqListLeadStatusesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;
|
|
1
|
+
{"version":3,"file":"list-lead-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\").nullable(),\n name: z.string().describe(\"Name of the lead status\").nullable(),\n \"default\": z.boolean().describe(\"Flag indicating if this is the default lead status\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of this status in the pipeline\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadStatusesOutput = z.object({\n lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe(\"List of lead status objects for the company\"),\n}).passthrough();\n\nexport const persistiqListLeadStatuses = action(\"PERSISTIQ_LIST_LEAD_STATUSES\", {\n slug: \"persistiq-list-lead-statuses\",\n name: \"List lead statuses\",\n description: \"Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.\",\n input: PersistiqListLeadStatusesInput,\n output: PersistiqListLeadStatusesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,EAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
10
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListLeadStatuses };
|
|
@@ -8,8 +8,8 @@ declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
10
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { persistiqListLeadStatuses };
|
|
@@ -7,13 +7,13 @@ const PersistiqListLeadStatuses_LeadStatusSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the lead status").nullable(),
|
|
8
8
|
"default": z.boolean().describe("Flag indicating if this is the default lead status").nullable().optional(),
|
|
9
9
|
position: z.number().int().describe("Position/order of this status in the pipeline").nullable().optional()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const persistiqListLeadStatuses = action("PERSISTIQ_LIST_LEAD_STATUSES", {
|
|
12
12
|
slug: "persistiq-list-lead-statuses",
|
|
13
13
|
name: "List lead statuses",
|
|
14
14
|
description: "Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.",
|
|
15
15
|
input: PersistiqListLeadStatusesInput,
|
|
16
|
-
output: z.object({ lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") })
|
|
16
|
+
output: z.object({ lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") }).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { persistiqListLeadStatuses };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-statuses.mjs","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\").nullable(),\n name: z.string().describe(\"Name of the lead status\").nullable(),\n \"default\": z.boolean().describe(\"Flag indicating if this is the default lead status\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of this status in the pipeline\").nullable().optional(),\n});\nexport const PersistiqListLeadStatusesOutput = z.object({\n lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe(\"List of lead status objects for the company\"),\n});\n\nexport const persistiqListLeadStatuses = action(\"PERSISTIQ_LIST_LEAD_STATUSES\", {\n slug: \"persistiq-list-lead-statuses\",\n name: \"List lead statuses\",\n description: \"Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.\",\n input: PersistiqListLeadStatusesInput,\n output: PersistiqListLeadStatusesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;
|
|
1
|
+
{"version":3,"file":"list-lead-statuses.mjs","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\").nullable(),\n name: z.string().describe(\"Name of the lead status\").nullable(),\n \"default\": z.boolean().describe(\"Flag indicating if this is the default lead status\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of this status in the pipeline\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadStatusesOutput = z.object({\n lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe(\"List of lead status objects for the company\"),\n}).passthrough();\n\nexport const persistiqListLeadStatuses = action(\"PERSISTIQ_LIST_LEAD_STATUSES\", {\n slug: \"persistiq-list-lead-statuses\",\n name: \"List lead statuses\",\n description: \"Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.\",\n input: PersistiqListLeadStatusesInput,\n output: PersistiqListLeadStatusesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,EAC3H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -43,7 +43,7 @@ const PersistiqListLeadsOutput = zod.z.object({
|
|
|
43
43
|
status: zod.z.string().describe("Status of the API response.").nullable().optional(),
|
|
44
44
|
has_more: zod.z.boolean().describe("Whether there are more pages of results.").nullable(),
|
|
45
45
|
next_page: zod.z.string().describe("URL or cursor for the next page.").nullable().optional()
|
|
46
|
-
}).describe("Response model for listing leads in PersistIQ.");
|
|
46
|
+
}).passthrough().describe("Response model for listing leads in PersistIQ.");
|
|
47
47
|
const persistiqListLeads = require_action.action("PERSISTIQ_LIST_LEADS", {
|
|
48
48
|
slug: "persistiq-list-leads",
|
|
49
49
|
name: "List Leads",
|