@keystrokehq/persistiq 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.cjs +1 -1
- package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.cts +41 -3
- package/dist/actions/add-lead-to-campaign.d.cts.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.mts +41 -3
- package/dist/actions/add-lead-to-campaign.d.mts.map +1 -1
- package/dist/actions/add-lead-to-campaign.mjs +1 -1
- package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +2 -2
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +26 -3
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +26 -3
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +2 -2
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-dnc-domain.cjs +3 -3
- package/dist/actions/create-dnc-domain.cjs.map +1 -1
- package/dist/actions/create-dnc-domain.d.cts +14 -3
- package/dist/actions/create-dnc-domain.d.cts.map +1 -1
- package/dist/actions/create-dnc-domain.d.mts +14 -3
- package/dist/actions/create-dnc-domain.d.mts.map +1 -1
- package/dist/actions/create-dnc-domain.mjs +3 -3
- 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 +79 -3
- package/dist/actions/create-leads.d.cts.map +1 -1
- package/dist/actions/create-leads.d.mts +79 -3
- 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 +5 -5
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +36 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +36 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +5 -5
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-dnc-domains.cjs +4 -4
- package/dist/actions/list-dnc-domains.cjs.map +1 -1
- package/dist/actions/list-dnc-domains.d.cts +10 -3
- package/dist/actions/list-dnc-domains.d.cts.map +1 -1
- package/dist/actions/list-dnc-domains.d.mts +10 -3
- package/dist/actions/list-dnc-domains.d.mts.map +1 -1
- package/dist/actions/list-dnc-domains.mjs +4 -4
- package/dist/actions/list-dnc-domains.mjs.map +1 -1
- package/dist/actions/list-events.cjs +3 -3
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +36 -3
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +36 -3
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +3 -3
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-lead-fields.cjs +4 -4
- package/dist/actions/list-lead-fields.cjs.map +1 -1
- package/dist/actions/list-lead-fields.d.cts +10 -3
- package/dist/actions/list-lead-fields.d.cts.map +1 -1
- package/dist/actions/list-lead-fields.d.mts +10 -3
- package/dist/actions/list-lead-fields.d.mts.map +1 -1
- package/dist/actions/list-lead-fields.mjs +4 -4
- 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 +10 -3
- package/dist/actions/list-lead-statuses.d.cts.map +1 -1
- package/dist/actions/list-lead-statuses.d.mts +10 -3
- package/dist/actions/list-lead-statuses.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/list-leads.cjs.map +1 -1
- package/dist/actions/list-leads.d.cts +50 -3
- package/dist/actions/list-leads.d.cts.map +1 -1
- package/dist/actions/list-leads.d.mts +50 -3
- package/dist/actions/list-leads.d.mts.map +1 -1
- package/dist/actions/list-leads.mjs +2 -2
- package/dist/actions/list-leads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -1
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +14 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +14 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -1
- 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 +12 -3
- package/dist/actions/remove-lead-from-campaign.d.cts.map +1 -1
- package/dist/actions/remove-lead-from-campaign.d.mts +12 -3
- package/dist/actions/remove-lead-from-campaign.d.mts.map +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/actions/update-lead.cjs.map +1 -1
- package/dist/actions/update-lead.d.cts +23 -3
- package/dist/actions/update-lead.d.cts.map +1 -1
- package/dist/actions/update-lead.d.mts +23 -3
- package/dist/actions/update-lead.d.mts.map +1 -1
- package/dist/actions/update-lead.mjs.map +1 -1
- package/dist/actions/view-lead.cjs +2 -2
- package/dist/actions/view-lead.cjs.map +1 -1
- package/dist/actions/view-lead.d.cts +39 -3
- package/dist/actions/view-lead.d.cts.map +1 -1
- package/dist/actions/view-lead.d.mts +39 -3
- package/dist/actions/view-lead.d.mts.map +1 -1
- package/dist/actions/view-lead.mjs +2 -2
- package/dist/actions/view-lead.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +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
|
|
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,SAAS,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IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events.d.ts
|
|
4
|
-
declare const PersistiqListEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListEventsInput: z.ZodObject<{
|
|
5
|
+
lead: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
user: z.ZodOptional<z.ZodString>;
|
|
8
|
+
group: z.ZodOptional<z.ZodString>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
end_at: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
campaign: z.ZodOptional<z.ZodString>;
|
|
12
|
+
start_at: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const PersistiqListEventsOutput: z.ZodObject<{
|
|
15
|
+
events: z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
diff: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
18
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
19
|
+
lead: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
22
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
event_at: z.ZodNullable<z.ZodString>;
|
|
25
|
+
lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
lead?: string | undefined;
|
|
32
|
+
page?: number | undefined;
|
|
33
|
+
user?: string | undefined;
|
|
34
|
+
group?: string | undefined;
|
|
35
|
+
limit?: number | undefined;
|
|
36
|
+
end_at?: number | undefined;
|
|
37
|
+
campaign?: string | undefined;
|
|
38
|
+
start_at?: number | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { persistiqListEvents };
|
|
9
42
|
//# sourceMappingURL=list-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events.d.ts
|
|
4
|
-
declare const PersistiqListEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListEventsInput: z.ZodObject<{
|
|
5
|
+
lead: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
user: z.ZodOptional<z.ZodString>;
|
|
8
|
+
group: z.ZodOptional<z.ZodString>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
end_at: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
campaign: z.ZodOptional<z.ZodString>;
|
|
12
|
+
start_at: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const PersistiqListEventsOutput: z.ZodObject<{
|
|
15
|
+
events: z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
diff: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
18
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
19
|
+
lead: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
22
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
event_at: z.ZodNullable<z.ZodString>;
|
|
25
|
+
lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
lead?: string | undefined;
|
|
32
|
+
page?: number | undefined;
|
|
33
|
+
user?: string | undefined;
|
|
34
|
+
group?: string | undefined;
|
|
35
|
+
limit?: number | undefined;
|
|
36
|
+
end_at?: number | undefined;
|
|
37
|
+
campaign?: string | undefined;
|
|
38
|
+
start_at?: number | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { persistiqListEvents };
|
|
9
42
|
//# sourceMappingURL=list-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -12,15 +12,15 @@ const PersistiqListEventsInput = z.object({
|
|
|
12
12
|
start_at: z.number().int().describe("Only return events after this Unix timestamp (seconds since epoch)").optional()
|
|
13
13
|
}).describe("Request model for listing PersistIQ events with optional filters.");
|
|
14
14
|
const PersistiqListEvents_EventSchema = z.object({
|
|
15
|
-
id: z.string().describe("Unique event ID"),
|
|
15
|
+
id: z.string().describe("Unique event ID").nullable(),
|
|
16
16
|
diff: z.unknown().describe("Diff information for update events").nullable().optional(),
|
|
17
|
-
kind: z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)"),
|
|
17
|
+
kind: z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)").nullable(),
|
|
18
18
|
lead: z.record(z.string(), z.unknown()).describe("Lead object as returned by API (can be null)").nullable().optional(),
|
|
19
19
|
user: z.record(z.string(), z.unknown()).describe("User object as returned by API (can be null)").nullable().optional(),
|
|
20
20
|
params: z.unknown().describe("Additional parameters for the event").nullable().optional(),
|
|
21
21
|
user_id: z.string().describe("ID of the user who performed the event").nullable().optional(),
|
|
22
22
|
campaign: z.record(z.string(), z.unknown()).describe("Campaign object as returned by API (can be null)").nullable().optional(),
|
|
23
|
-
event_at: z.string().describe("ISO8601 timestamp of when the event occurred"),
|
|
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
25
|
}).describe("Model for a single PersistIQ event.");
|
|
26
26
|
const persistiqListEvents = action("PERSISTIQ_LIST_EVENTS", {
|
|
@@ -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
|
|
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,2BAA2B,C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AAE,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;AAOjD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuC,EAAE,OAAO;EAChD,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,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,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-lead-fields.ts
|
|
4
4
|
const PersistiqListLeadFieldsInput = zod.z.object({}).describe("Request schema for listing lead fields. No parameters required.");
|
|
5
5
|
const PersistiqListLeadFields_LeadFieldSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the lead field"),
|
|
7
|
-
name: zod.z.string().describe("Internal name of the lead field"),
|
|
8
|
-
label: zod.z.string().describe("Display label of the lead field"),
|
|
9
|
-
data_kind: zod.z.string().describe("Type of the lead field (e.g., string_type)")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the lead field").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Internal name of the lead field").nullable(),
|
|
8
|
+
label: zod.z.string().describe("Display label of the lead field").nullable(),
|
|
9
|
+
data_kind: zod.z.string().describe("Type of the lead field (e.g., string_type)").nullable()
|
|
10
10
|
}).describe("Schema for a PersistIQ lead field.");
|
|
11
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.");
|
|
12
12
|
const persistiqListLeadFields = require_action.action("PERSISTIQ_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
|
|
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;AAChD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lead-fields.d.ts
|
|
4
|
-
declare const PersistiqListLeadFieldsInput: z.
|
|
5
|
-
declare const PersistiqListLeadFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
|
|
6
|
+
lead_fields: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
label: z.ZodNullable<z.ZodString>;
|
|
10
|
+
data_kind: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { persistiqListLeadFields };
|
|
9
16
|
//# sourceMappingURL=list-lead-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-fields.d.cts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-lead-fields.d.cts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lead-fields.d.ts
|
|
4
|
-
declare const PersistiqListLeadFieldsInput: z.
|
|
5
|
-
declare const PersistiqListLeadFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
|
|
6
|
+
lead_fields: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
label: z.ZodNullable<z.ZodString>;
|
|
10
|
+
data_kind: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { persistiqListLeadFields };
|
|
9
16
|
//# sourceMappingURL=list-lead-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-fields.d.mts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-lead-fields.d.mts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,10 +3,10 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-lead-fields.ts
|
|
4
4
|
const PersistiqListLeadFieldsInput = z.object({}).describe("Request schema for listing lead fields. No parameters required.");
|
|
5
5
|
const PersistiqListLeadFields_LeadFieldSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the lead field"),
|
|
7
|
-
name: z.string().describe("Internal name of the lead field"),
|
|
8
|
-
label: z.string().describe("Display label of the lead field"),
|
|
9
|
-
data_kind: z.string().describe("Type of the lead field (e.g., string_type)")
|
|
6
|
+
id: z.string().describe("Unique identifier of the lead field").nullable(),
|
|
7
|
+
name: z.string().describe("Internal name of the lead field").nullable(),
|
|
8
|
+
label: z.string().describe("Display label of the lead field").nullable(),
|
|
9
|
+
data_kind: z.string().describe("Type of the lead field (e.g., string_type)").nullable()
|
|
10
10
|
}).describe("Schema for a PersistIQ lead field.");
|
|
11
11
|
const persistiqListLeadFields = action("PERSISTIQ_LIST_LEAD_FIELDS", {
|
|
12
12
|
slug: "persistiq-list-lead-fields",
|
|
@@ -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
|
|
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;AAKhD,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,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-lead-statuses.ts
|
|
4
4
|
const PersistiqListLeadStatusesInput = zod.z.object({}).describe("Request model for listing lead statuses. No parameters required.");
|
|
5
5
|
const PersistiqListLeadStatuses_LeadStatusSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier for the lead status"),
|
|
7
|
-
name: zod.z.string().describe("Name of the lead status"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the lead status").nullable(),
|
|
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
10
|
});
|
|
@@ -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
|
|
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;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,EAC3H,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lead-statuses.d.ts
|
|
4
|
-
declare const PersistiqListLeadStatusesInput: z.
|
|
5
|
-
declare const PersistiqListLeadStatusesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadStatusesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
|
|
6
|
+
lead_statuses: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { persistiqListLeadStatuses };
|
|
9
16
|
//# sourceMappingURL=list-lead-statuses.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-statuses.d.cts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-lead-statuses.d.cts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lead-statuses.d.ts
|
|
4
|
-
declare const PersistiqListLeadStatusesInput: z.
|
|
5
|
-
declare const PersistiqListLeadStatusesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadStatusesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
|
|
6
|
+
lead_statuses: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { persistiqListLeadStatuses };
|
|
9
16
|
//# sourceMappingURL=list-lead-statuses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lead-statuses.d.mts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-lead-statuses.d.mts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-lead-statuses.ts
|
|
4
4
|
const PersistiqListLeadStatusesInput = z.object({}).describe("Request model for listing lead statuses. No parameters required.");
|
|
5
5
|
const PersistiqListLeadStatuses_LeadStatusSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier for the lead status"),
|
|
7
|
-
name: z.string().describe("Name of the lead status"),
|
|
6
|
+
id: z.string().describe("Unique identifier for the lead status").nullable(),
|
|
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
|
});
|
|
@@ -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
|
|
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;AAKD,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,CAOU;AACV,CAAC"}
|
|
@@ -26,7 +26,7 @@ const PersistiqListLeads_LeadDataSchema = zod.z.object({
|
|
|
26
26
|
company_name: zod.z.string().describe("Lead's company name.").nullable().optional()
|
|
27
27
|
}).passthrough().describe("Nested data object containing lead details.");
|
|
28
28
|
const PersistiqListLeads_LeadSchema = zod.z.object({
|
|
29
|
-
id: zod.z.string().describe("The unique identifier for the lead."),
|
|
29
|
+
id: zod.z.string().describe("The unique identifier for the lead.").nullable(),
|
|
30
30
|
data: PersistiqListLeads_LeadDataSchema.nullable().optional(),
|
|
31
31
|
status: zod.z.string().describe("The status of the lead.").nullable().optional(),
|
|
32
32
|
bounced: zod.z.boolean().describe("Whether the lead's email bounced.").nullable().optional(),
|
|
@@ -41,7 +41,7 @@ const PersistiqListLeadsOutput = zod.z.object({
|
|
|
41
41
|
leads: zod.z.array(PersistiqListLeads_LeadSchema).describe("List of lead objects."),
|
|
42
42
|
errors: zod.z.array(zod.z.string()).describe("List of errors if any.").nullable().optional(),
|
|
43
43
|
status: zod.z.string().describe("Status of the API response.").nullable().optional(),
|
|
44
|
-
has_more: zod.z.boolean().describe("Whether there are more pages of results."),
|
|
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
46
|
}).describe("Response model for listing leads in PersistIQ.");
|
|
47
47
|
const persistiqListLeads = require_action.action("PERSISTIQ_LIST_LEADS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-leads.cjs","names":["z","action"],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadsInput
|
|
1
|
+
{"version":3,"file":"list-leads.cjs","names":["z","action"],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve.\").optional(),\n limit: z.number().int().default(25).describe(\"Max number of leads per page (1-100).\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Filter leads by status; valid values are 'active' or 'archived'.\").optional(),\n updated_after: z.string().describe(\"Return leads updated after this datetime (ISO 8601).\").optional(),\n}).describe(\"Request model for listing leads in PersistIQ.\");\nconst PersistiqListLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city.\").nullable().optional(),\n email: z.string().describe(\"Lead's email address.\").nullable().optional(),\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 source.\").nullable().optional(),\n address: z.string().describe(\"Lead's address.\").nullable().optional(),\n country: z.string().describe(\"Lead's country.\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter profile.\").nullable().optional(),\n website: z.string().describe(\"Lead's website.\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook profile.\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry.\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn profile.\").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 company_name: z.string().describe(\"Lead's company name.\").nullable().optional(),\n}).passthrough().describe(\"Nested data object containing lead details.\");\nconst PersistiqListLeads_LeadSchema = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\").nullable(),\n data: PersistiqListLeads_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"The status of the lead.\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead's email bounced.\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead opted out.\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the lead owner.\").nullable().optional(),\n creator_id: z.string().describe(\"ID of the user who created the lead.\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent to the lead.\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of the last email sent.\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from the lead.\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadsOutput = z.object({\n leads: z.array(PersistiqListLeads_LeadSchema).describe(\"List of lead objects.\"),\n errors: z.array(z.string()).describe(\"List of errors if any.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more pages of results.\").nullable(),\n next_page: z.string().describe(\"URL or cursor for the next page.\").nullable().optional(),\n}).describe(\"Response model for listing leads in PersistIQ.\");\n\nexport const persistiqListLeads = action(\"PERSISTIQ_LIST_LEADS\", {\n slug: \"persistiq-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads from PersistIQ. Use when you need to fetch a paginated list of leads, optionally filtering by status or updated_after.\",\n input: PersistiqListLeadsInput,\n output: PersistiqListLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,E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AAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-leads.d.ts
|
|
4
|
-
declare const PersistiqListLeadsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
active: "active";
|
|
9
|
+
archived: "archived";
|
|
10
|
+
}>>;
|
|
11
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const PersistiqListLeadsOutput: z.ZodObject<{
|
|
14
|
+
leads: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
linkedin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
bounced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
+
optedout: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
creator_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
sent_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
last_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
replied_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
46
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
|
+
page?: number | undefined;
|
|
50
|
+
limit?: number | undefined;
|
|
51
|
+
status?: "active" | "archived" | undefined;
|
|
52
|
+
updated_after?: string | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { persistiqListLeads };
|
|
9
56
|
//# sourceMappingURL=list-leads.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-leads.d.cts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-leads.d.cts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-leads.d.ts
|
|
4
|
-
declare const PersistiqListLeadsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersistiqListLeadsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
active: "active";
|
|
9
|
+
archived: "archived";
|
|
10
|
+
}>>;
|
|
11
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const PersistiqListLeadsOutput: z.ZodObject<{
|
|
14
|
+
leads: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
linkedin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
bounced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
+
optedout: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
creator_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
sent_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
last_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
replied_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
46
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
|
+
page?: number | undefined;
|
|
50
|
+
limit?: number | undefined;
|
|
51
|
+
status?: "active" | "archived" | undefined;
|
|
52
|
+
updated_after?: string | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { persistiqListLeads };
|
|
9
56
|
//# sourceMappingURL=list-leads.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-leads.d.mts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-leads.d.mts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|