@keystrokehq/persistiq 0.1.5 → 0.1.6
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 -0
- package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.cts +3 -22
- package/dist/actions/add-lead-to-campaign.d.cts.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.mts +3 -22
- package/dist/actions/add-lead-to-campaign.d.mts.map +1 -1
- package/dist/actions/add-lead-to-campaign.mjs +1 -0
- package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +1 -0
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +3 -16
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +3 -16
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +1 -0
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-dnc-domain.cjs +1 -0
- package/dist/actions/create-dnc-domain.cjs.map +1 -1
- package/dist/actions/create-dnc-domain.d.cts +3 -15
- package/dist/actions/create-dnc-domain.d.cts.map +1 -1
- package/dist/actions/create-dnc-domain.d.mts +3 -15
- package/dist/actions/create-dnc-domain.d.mts.map +1 -1
- package/dist/actions/create-dnc-domain.mjs +1 -0
- package/dist/actions/create-dnc-domain.mjs.map +1 -1
- package/dist/actions/create-leads.cjs +1 -0
- package/dist/actions/create-leads.cjs.map +1 -1
- package/dist/actions/create-leads.d.cts +3 -27
- package/dist/actions/create-leads.d.cts.map +1 -1
- package/dist/actions/create-leads.d.mts +3 -27
- package/dist/actions/create-leads.d.mts.map +1 -1
- package/dist/actions/create-leads.mjs +1 -0
- package/dist/actions/create-leads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -19
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -19
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-dnc-domains.cjs +1 -0
- package/dist/actions/list-dnc-domains.cjs.map +1 -1
- package/dist/actions/list-dnc-domains.d.cts +3 -13
- package/dist/actions/list-dnc-domains.d.cts.map +1 -1
- package/dist/actions/list-dnc-domains.d.mts +3 -13
- package/dist/actions/list-dnc-domains.d.mts.map +1 -1
- package/dist/actions/list-dnc-domains.mjs +1 -0
- package/dist/actions/list-dnc-domains.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -22
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -22
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-lead-fields.cjs +1 -0
- package/dist/actions/list-lead-fields.cjs.map +1 -1
- package/dist/actions/list-lead-fields.d.cts +3 -13
- package/dist/actions/list-lead-fields.d.cts.map +1 -1
- package/dist/actions/list-lead-fields.d.mts +3 -13
- package/dist/actions/list-lead-fields.d.mts.map +1 -1
- package/dist/actions/list-lead-fields.mjs +1 -0
- package/dist/actions/list-lead-fields.mjs.map +1 -1
- package/dist/actions/list-lead-statuses.cjs +1 -0
- package/dist/actions/list-lead-statuses.cjs.map +1 -1
- package/dist/actions/list-lead-statuses.d.cts +3 -13
- package/dist/actions/list-lead-statuses.d.cts.map +1 -1
- package/dist/actions/list-lead-statuses.d.mts +3 -13
- package/dist/actions/list-lead-statuses.d.mts.map +1 -1
- package/dist/actions/list-lead-statuses.mjs +1 -0
- package/dist/actions/list-lead-statuses.mjs.map +1 -1
- package/dist/actions/list-leads.cjs +1 -0
- package/dist/actions/list-leads.cjs.map +1 -1
- package/dist/actions/list-leads.d.cts +3 -18
- package/dist/actions/list-leads.d.cts.map +1 -1
- package/dist/actions/list-leads.d.mts +3 -18
- package/dist/actions/list-leads.d.mts.map +1 -1
- package/dist/actions/list-leads.mjs +1 -0
- package/dist/actions/list-leads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -13
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -13
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/remove-lead-from-campaign.cjs +1 -0
- package/dist/actions/remove-lead-from-campaign.cjs.map +1 -1
- package/dist/actions/remove-lead-from-campaign.d.cts +3 -16
- package/dist/actions/remove-lead-from-campaign.d.cts.map +1 -1
- package/dist/actions/remove-lead-from-campaign.d.mts +3 -16
- package/dist/actions/remove-lead-from-campaign.d.mts.map +1 -1
- package/dist/actions/remove-lead-from-campaign.mjs +1 -0
- package/dist/actions/remove-lead-from-campaign.mjs.map +1 -1
- package/dist/actions/update-lead.cjs +1 -0
- package/dist/actions/update-lead.cjs.map +1 -1
- package/dist/actions/update-lead.d.cts +3 -21
- package/dist/actions/update-lead.d.cts.map +1 -1
- package/dist/actions/update-lead.d.mts +3 -21
- package/dist/actions/update-lead.d.mts.map +1 -1
- package/dist/actions/update-lead.mjs +1 -0
- package/dist/actions/update-lead.mjs.map +1 -1
- package/dist/actions/view-lead.cjs +1 -0
- package/dist/actions/view-lead.cjs.map +1 -1
- package/dist/actions/view-lead.d.cts +3 -15
- package/dist/actions/view-lead.d.cts.map +1 -1
- package/dist/actions/view-lead.d.mts +3 -15
- package/dist/actions/view-lead.d.mts.map +1 -1
- package/dist/actions/view-lead.mjs +1 -0
- package/dist/actions/view-lead.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-lead.mjs","names":[],"sources":["../../src/actions/update-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqUpdateLeadInput = z.object({\n email: z.string().describe(\"Lead's email address\").optional(),\n phone: z.string().describe(\"Lead's phone number\").optional(),\n title: z.string().describe(\"Lead's job title\").optional(),\n lead_id: z.string().describe(\"ID of the lead to update\"),\n last_name: z.string().describe(\"Lead's last name\").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(\"Request parameters for updating a PersistIQ lead.\");\nexport const PersistiqUpdateLeadOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data wrapper containing status, error, and lead\").nullable().optional(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated PersistIQ lead.\\nThe API returns: {\\\"data\\\": {\\\"status\\\": \\\"success\\\", \\\"error\\\": null, \\\"lead\\\": {...}}, ...}\");\n\nexport const persistiqUpdateLead = action(\"PERSISTIQ_UPDATE_LEAD\", {\n slug: \"persistiq-update-lead\",\n name: \"Update Lead\",\n description: \"Tool to update a lead's information. Use when you need to modify fields (status, tags, or custom attributes) of an existing lead. Call after confirming the lead_id.\",\n input: PersistiqUpdateLeadInput,\n output: PersistiqUpdateLeadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-lead.mjs","names":[],"sources":["../../src/actions/update-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persistiq } from \"../app\";\n\nexport const PersistiqUpdateLeadInput = z.object({\n email: z.string().describe(\"Lead's email address\").optional(),\n phone: z.string().describe(\"Lead's phone number\").optional(),\n title: z.string().describe(\"Lead's job title\").optional(),\n lead_id: z.string().describe(\"ID of the lead to update\"),\n last_name: z.string().describe(\"Lead's last name\").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(\"Request parameters for updating a PersistIQ lead.\");\nexport const PersistiqUpdateLeadOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data wrapper containing status, error, and lead\").nullable().optional(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated PersistIQ lead.\\nThe API returns: {\\\"data\\\": {\\\"status\\\": \\\"success\\\", \\\"error\\\": null, \\\"lead\\\": {...}}, ...}\");\n\nexport const persistiqUpdateLead: AppAction<\n typeof PersistiqUpdateLeadInput,\n typeof PersistiqUpdateLeadOutput,\n typeof persistiq.credential\n> = action(\"PERSISTIQ_UPDATE_LEAD\", {\n slug: \"persistiq-update-lead\",\n name: \"Update Lead\",\n description: \"Tool to update a lead's information. Use when you need to modify fields (status, tags, or custom attributes) of an existing lead. Call after confirming the lead_id.\",\n input: PersistiqUpdateLeadInput,\n output: PersistiqUpdateLeadOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,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,mDAeH;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-lead.cjs","names":["z","action"],"sources":["../../src/actions/view-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqViewLeadInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to retrieve\"),\n}).describe(\"Request parameters for retrieving a single PersistIQ lead by ID.\");\nconst PersistiqViewLead_LeadDataSchema = z.object({\n city: z.string().describe(\"City of the lead\").nullable().optional(),\n email: z.string().describe(\"Email address of the lead\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the lead\").nullable().optional(),\n state: z.string().describe(\"State of the lead\").nullable().optional(),\n title: z.string().describe(\"Job title of the lead\").nullable().optional(),\n source: z.string().describe(\"Source of the lead\").nullable().optional(),\n address: z.string().describe(\"Address of the lead\").nullable().optional(),\n country: z.string().describe(\"Country of the lead\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the lead\").nullable().optional(),\n website: z.string().describe(\"Website of the lead\").nullable().optional(),\n facebook: z.string().describe(\"Facebook URL of the lead\").nullable().optional(),\n industry: z.string().describe(\"Industry of the lead\").nullable().optional(),\n linkedin: z.string().describe(\"LinkedIn URL of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the lead\").nullable().optional(),\n}).passthrough().describe(\"Nested data fields for a lead.\");\nconst PersistiqViewLead_LeadSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead\").nullable(),\n data: PersistiqViewLead_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the lead (e.g., 'open')\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this lead have bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the user who owns the lead\").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 this lead\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of last email sent\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from this lead\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned by the PersistIQ API.\");\nexport const PersistiqViewLeadOutput = z.object({\n lead: PersistiqViewLead_LeadSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable(),\n}).passthrough().describe(\"Response for viewing a single PersistIQ lead.\");\n\nexport const persistiqViewLead = action(\"PERSISTIQ_VIEW_LEAD\", {\n slug: \"persistiq-view-lead\",\n name: \"View Lead\",\n description: \"Tool to retrieve a lead by its ID. Use when you have the lead ID and need its detailed information.\",\n input: PersistiqViewLeadInput,\n output: PersistiqViewLeadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-lead.cjs","names":["z","action"],"sources":["../../src/actions/view-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persistiq } from \"../app\";\n\nexport const PersistiqViewLeadInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to retrieve\"),\n}).describe(\"Request parameters for retrieving a single PersistIQ lead by ID.\");\nconst PersistiqViewLead_LeadDataSchema = z.object({\n city: z.string().describe(\"City of the lead\").nullable().optional(),\n email: z.string().describe(\"Email address of the lead\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the lead\").nullable().optional(),\n state: z.string().describe(\"State of the lead\").nullable().optional(),\n title: z.string().describe(\"Job title of the lead\").nullable().optional(),\n source: z.string().describe(\"Source of the lead\").nullable().optional(),\n address: z.string().describe(\"Address of the lead\").nullable().optional(),\n country: z.string().describe(\"Country of the lead\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the lead\").nullable().optional(),\n website: z.string().describe(\"Website of the lead\").nullable().optional(),\n facebook: z.string().describe(\"Facebook URL of the lead\").nullable().optional(),\n industry: z.string().describe(\"Industry of the lead\").nullable().optional(),\n linkedin: z.string().describe(\"LinkedIn URL of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the lead\").nullable().optional(),\n}).passthrough().describe(\"Nested data fields for a lead.\");\nconst PersistiqViewLead_LeadSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead\").nullable(),\n data: PersistiqViewLead_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the lead (e.g., 'open')\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this lead have bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the user who owns the lead\").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 this lead\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of last email sent\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from this lead\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned by the PersistIQ API.\");\nexport const PersistiqViewLeadOutput = z.object({\n lead: PersistiqViewLead_LeadSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable(),\n}).passthrough().describe(\"Response for viewing a single PersistIQ lead.\");\n\nexport const persistiqViewLead: AppAction<\n typeof PersistiqViewLeadInput,\n typeof PersistiqViewLeadOutput,\n typeof persistiq.credential\n> = action(\"PERSISTIQ_VIEW_LEAD\", {\n slug: \"persistiq-view-lead\",\n name: \"View Lead\",\n description: \"Tool to retrieve a lead by its ID. Use when you have the lead ID and need its detailed information.\",\n input: PersistiqViewLeadInput,\n output: PersistiqViewLeadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IA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AS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persistiq } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/view-lead.d.ts
|
|
@@ -37,21 +39,7 @@ declare const PersistiqViewLeadOutput: z.ZodObject<{
|
|
|
37
39
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
status: z.ZodNullable<z.ZodString>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const persistiqViewLead:
|
|
41
|
-
lead_id: string;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persistiq", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persistiq", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
42
|
+
declare const persistiqViewLead: AppAction<typeof PersistiqViewLeadInput, typeof PersistiqViewLeadOutput, typeof persistiq.credential>;
|
|
55
43
|
//#endregion
|
|
56
44
|
export { persistiqViewLead };
|
|
57
45
|
//# sourceMappingURL=view-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-lead.d.cts","names":[],"sources":["../../src/actions/view-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-lead.d.cts","names":[],"sources":["../../src/actions/view-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persistiq } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/view-lead.d.ts
|
|
@@ -37,21 +39,7 @@ declare const PersistiqViewLeadOutput: z.ZodObject<{
|
|
|
37
39
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
status: z.ZodNullable<z.ZodString>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const persistiqViewLead:
|
|
41
|
-
lead_id: string;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persistiq", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persistiq", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
42
|
+
declare const persistiqViewLead: AppAction<typeof PersistiqViewLeadInput, typeof PersistiqViewLeadOutput, typeof persistiq.credential>;
|
|
55
43
|
//#endregion
|
|
56
44
|
export { persistiqViewLead };
|
|
57
45
|
//# sourceMappingURL=view-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-lead.d.mts","names":[],"sources":["../../src/actions/view-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-lead.d.mts","names":[],"sources":["../../src/actions/view-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-lead.mjs","names":[],"sources":["../../src/actions/view-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqViewLeadInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to retrieve\"),\n}).describe(\"Request parameters for retrieving a single PersistIQ lead by ID.\");\nconst PersistiqViewLead_LeadDataSchema = z.object({\n city: z.string().describe(\"City of the lead\").nullable().optional(),\n email: z.string().describe(\"Email address of the lead\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the lead\").nullable().optional(),\n state: z.string().describe(\"State of the lead\").nullable().optional(),\n title: z.string().describe(\"Job title of the lead\").nullable().optional(),\n source: z.string().describe(\"Source of the lead\").nullable().optional(),\n address: z.string().describe(\"Address of the lead\").nullable().optional(),\n country: z.string().describe(\"Country of the lead\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the lead\").nullable().optional(),\n website: z.string().describe(\"Website of the lead\").nullable().optional(),\n facebook: z.string().describe(\"Facebook URL of the lead\").nullable().optional(),\n industry: z.string().describe(\"Industry of the lead\").nullable().optional(),\n linkedin: z.string().describe(\"LinkedIn URL of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the lead\").nullable().optional(),\n}).passthrough().describe(\"Nested data fields for a lead.\");\nconst PersistiqViewLead_LeadSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead\").nullable(),\n data: PersistiqViewLead_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the lead (e.g., 'open')\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this lead have bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the user who owns the lead\").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 this lead\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of last email sent\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from this lead\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned by the PersistIQ API.\");\nexport const PersistiqViewLeadOutput = z.object({\n lead: PersistiqViewLead_LeadSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable(),\n}).passthrough().describe(\"Response for viewing a single PersistIQ lead.\");\n\nexport const persistiqViewLead = action(\"PERSISTIQ_VIEW_LEAD\", {\n slug: \"persistiq-view-lead\",\n name: \"View Lead\",\n description: \"Tool to retrieve a lead by its ID. Use when you have the lead ID and need its detailed information.\",\n input: PersistiqViewLeadInput,\n output: PersistiqViewLeadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-lead.mjs","names":[],"sources":["../../src/actions/view-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persistiq } from \"../app\";\n\nexport const PersistiqViewLeadInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to retrieve\"),\n}).describe(\"Request parameters for retrieving a single PersistIQ lead by ID.\");\nconst PersistiqViewLead_LeadDataSchema = z.object({\n city: z.string().describe(\"City of the lead\").nullable().optional(),\n email: z.string().describe(\"Email address of the lead\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the lead\").nullable().optional(),\n state: z.string().describe(\"State of the lead\").nullable().optional(),\n title: z.string().describe(\"Job title of the lead\").nullable().optional(),\n source: z.string().describe(\"Source of the lead\").nullable().optional(),\n address: z.string().describe(\"Address of the lead\").nullable().optional(),\n country: z.string().describe(\"Country of the lead\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the lead\").nullable().optional(),\n website: z.string().describe(\"Website of the lead\").nullable().optional(),\n facebook: z.string().describe(\"Facebook URL of the lead\").nullable().optional(),\n industry: z.string().describe(\"Industry of the lead\").nullable().optional(),\n linkedin: z.string().describe(\"LinkedIn URL of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the lead\").nullable().optional(),\n}).passthrough().describe(\"Nested data fields for a lead.\");\nconst PersistiqViewLead_LeadSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead\").nullable(),\n data: PersistiqViewLead_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the lead (e.g., 'open')\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this lead have bounced\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead has opted out\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the user who owns the lead\").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 this lead\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of last email sent\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from this lead\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned by the PersistIQ API.\");\nexport const PersistiqViewLeadOutput = z.object({\n lead: PersistiqViewLead_LeadSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable(),\n}).passthrough().describe(\"Response for viewing a single PersistIQ lead.\");\n\nexport const persistiqViewLead: AppAction<\n typeof PersistiqViewLeadInput,\n typeof PersistiqViewLeadOutput,\n typeof persistiq.credential\n> = action(\"PERSISTIQ_VIEW_LEAD\", {\n slug: \"persistiq-view-lead\",\n name: \"View Lead\",\n description: \"Tool to retrieve a lead by its ID. Use when you have the lead ID and need its detailed information.\",\n input: PersistiqViewLeadInput,\n output: PersistiqViewLeadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SA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E,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqC,EAAE,OAAO;EAC9C,MAAM,6BAA6B,SAAS;EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const persistiq = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "persistiq",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.persistiq = persistiq;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const persistiq = defineApp({\n slug: \"persistiq\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const persistiq: KeystrokeApp<\"persistiq\", typeof credential> = defineApp({\n slug: \"persistiq\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const persistiq: KeystrokeApp<"persistiq", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { persistiq };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const persistiq: KeystrokeApp<"persistiq", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { persistiq };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const persistiq = defineApp({\n slug: \"persistiq\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const persistiq: KeystrokeApp<\"persistiq\", typeof credential> = defineApp({\n slug: \"persistiq\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { persistiq } from "./app.cjs";
|
|
1
2
|
import { persistiqAddLeadToCampaign } from "./actions/add-lead-to-campaign.cjs";
|
|
2
3
|
import { persistiqCreateCampaign } from "./actions/create-campaign.cjs";
|
|
3
4
|
import { persistiqCreateDncDomain } from "./actions/create-dnc-domain.cjs";
|
|
@@ -12,6 +13,5 @@ import { persistiqListUsers } from "./actions/list-users.cjs";
|
|
|
12
13
|
import { persistiqRemoveLeadFromCampaign } from "./actions/remove-lead-from-campaign.cjs";
|
|
13
14
|
import { persistiqUpdateLead } from "./actions/update-lead.cjs";
|
|
14
15
|
import { persistiqViewLead } from "./actions/view-lead.cjs";
|
|
15
|
-
import { persistiq } from "./app.cjs";
|
|
16
16
|
import { persistiqCatalog } from "./catalog.cjs";
|
|
17
17
|
export { persistiq, persistiqAddLeadToCampaign, persistiqCatalog, persistiqCreateCampaign, persistiqCreateDncDomain, persistiqCreateLeads, persistiqListCampaigns, persistiqListDncDomains, persistiqListEvents, persistiqListLeadFields, persistiqListLeadStatuses, persistiqListLeads, persistiqListUsers, persistiqRemoveLeadFromCampaign, persistiqUpdateLead, persistiqViewLead };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { persistiq } from "./app.mjs";
|
|
1
2
|
import { persistiqAddLeadToCampaign } from "./actions/add-lead-to-campaign.mjs";
|
|
2
3
|
import { persistiqCreateCampaign } from "./actions/create-campaign.mjs";
|
|
3
4
|
import { persistiqCreateDncDomain } from "./actions/create-dnc-domain.mjs";
|
|
@@ -12,6 +13,5 @@ import { persistiqListUsers } from "./actions/list-users.mjs";
|
|
|
12
13
|
import { persistiqRemoveLeadFromCampaign } from "./actions/remove-lead-from-campaign.mjs";
|
|
13
14
|
import { persistiqUpdateLead } from "./actions/update-lead.mjs";
|
|
14
15
|
import { persistiqViewLead } from "./actions/view-lead.mjs";
|
|
15
|
-
import { persistiq } from "./app.mjs";
|
|
16
16
|
import { persistiqCatalog } from "./catalog.mjs";
|
|
17
17
|
export { persistiq, persistiqAddLeadToCampaign, persistiqCatalog, persistiqCreateCampaign, persistiqCreateDncDomain, persistiqCreateLeads, persistiqListCampaigns, persistiqListDncDomains, persistiqListEvents, persistiqListLeadFields, persistiqListLeadStatuses, persistiqListLeads, persistiqListUsers, persistiqRemoveLeadFromCampaign, persistiqUpdateLead, persistiqViewLead };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/persistiq",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|