@keystrokehq/persistiq 0.1.0

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.
Files changed (146) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-lead-to-campaign.cjs +43 -0
  7. package/dist/actions/add-lead-to-campaign.cjs.map +1 -0
  8. package/dist/actions/add-lead-to-campaign.d.cts +9 -0
  9. package/dist/actions/add-lead-to-campaign.d.cts.map +1 -0
  10. package/dist/actions/add-lead-to-campaign.d.mts +9 -0
  11. package/dist/actions/add-lead-to-campaign.d.mts.map +1 -0
  12. package/dist/actions/add-lead-to-campaign.mjs +42 -0
  13. package/dist/actions/add-lead-to-campaign.mjs.map +1 -0
  14. package/dist/actions/create-campaign.cjs +38 -0
  15. package/dist/actions/create-campaign.cjs.map +1 -0
  16. package/dist/actions/create-campaign.d.cts +9 -0
  17. package/dist/actions/create-campaign.d.cts.map +1 -0
  18. package/dist/actions/create-campaign.d.mts +9 -0
  19. package/dist/actions/create-campaign.d.mts.map +1 -0
  20. package/dist/actions/create-campaign.mjs +37 -0
  21. package/dist/actions/create-campaign.mjs.map +1 -0
  22. package/dist/actions/create-dnc-domain.cjs +24 -0
  23. package/dist/actions/create-dnc-domain.cjs.map +1 -0
  24. package/dist/actions/create-dnc-domain.d.cts +9 -0
  25. package/dist/actions/create-dnc-domain.d.cts.map +1 -0
  26. package/dist/actions/create-dnc-domain.d.mts +9 -0
  27. package/dist/actions/create-dnc-domain.d.mts.map +1 -0
  28. package/dist/actions/create-dnc-domain.mjs +23 -0
  29. package/dist/actions/create-dnc-domain.mjs.map +1 -0
  30. package/dist/actions/create-leads.cjs +81 -0
  31. package/dist/actions/create-leads.cjs.map +1 -0
  32. package/dist/actions/create-leads.d.cts +9 -0
  33. package/dist/actions/create-leads.d.cts.map +1 -0
  34. package/dist/actions/create-leads.d.mts +9 -0
  35. package/dist/actions/create-leads.d.mts.map +1 -0
  36. package/dist/actions/create-leads.mjs +80 -0
  37. package/dist/actions/create-leads.mjs.map +1 -0
  38. package/dist/actions/index.cjs +29 -0
  39. package/dist/actions/index.d.cts +15 -0
  40. package/dist/actions/index.d.mts +15 -0
  41. package/dist/actions/index.mjs +15 -0
  42. package/dist/actions/list-campaigns.cjs +46 -0
  43. package/dist/actions/list-campaigns.cjs.map +1 -0
  44. package/dist/actions/list-campaigns.d.cts +9 -0
  45. package/dist/actions/list-campaigns.d.cts.map +1 -0
  46. package/dist/actions/list-campaigns.d.mts +9 -0
  47. package/dist/actions/list-campaigns.d.mts.map +1 -0
  48. package/dist/actions/list-campaigns.mjs +45 -0
  49. package/dist/actions/list-campaigns.mjs.map +1 -0
  50. package/dist/actions/list-dnc-domains.cjs +22 -0
  51. package/dist/actions/list-dnc-domains.cjs.map +1 -0
  52. package/dist/actions/list-dnc-domains.d.cts +9 -0
  53. package/dist/actions/list-dnc-domains.d.cts.map +1 -0
  54. package/dist/actions/list-dnc-domains.d.mts +9 -0
  55. package/dist/actions/list-dnc-domains.d.mts.map +1 -0
  56. package/dist/actions/list-dnc-domains.mjs +21 -0
  57. package/dist/actions/list-dnc-domains.mjs.map +1 -0
  58. package/dist/actions/list-events.cjs +41 -0
  59. package/dist/actions/list-events.cjs.map +1 -0
  60. package/dist/actions/list-events.d.cts +9 -0
  61. package/dist/actions/list-events.d.cts.map +1 -0
  62. package/dist/actions/list-events.d.mts +9 -0
  63. package/dist/actions/list-events.d.mts.map +1 -0
  64. package/dist/actions/list-events.mjs +40 -0
  65. package/dist/actions/list-events.mjs.map +1 -0
  66. package/dist/actions/list-lead-fields.cjs +22 -0
  67. package/dist/actions/list-lead-fields.cjs.map +1 -0
  68. package/dist/actions/list-lead-fields.d.cts +9 -0
  69. package/dist/actions/list-lead-fields.d.cts.map +1 -0
  70. package/dist/actions/list-lead-fields.d.mts +9 -0
  71. package/dist/actions/list-lead-fields.d.mts.map +1 -0
  72. package/dist/actions/list-lead-fields.mjs +21 -0
  73. package/dist/actions/list-lead-fields.mjs.map +1 -0
  74. package/dist/actions/list-lead-statuses.cjs +22 -0
  75. package/dist/actions/list-lead-statuses.cjs.map +1 -0
  76. package/dist/actions/list-lead-statuses.d.cts +9 -0
  77. package/dist/actions/list-lead-statuses.d.cts.map +1 -0
  78. package/dist/actions/list-lead-statuses.d.mts +9 -0
  79. package/dist/actions/list-lead-statuses.d.mts.map +1 -0
  80. package/dist/actions/list-lead-statuses.mjs +21 -0
  81. package/dist/actions/list-lead-statuses.mjs.map +1 -0
  82. package/dist/actions/list-leads.cjs +57 -0
  83. package/dist/actions/list-leads.cjs.map +1 -0
  84. package/dist/actions/list-leads.d.cts +9 -0
  85. package/dist/actions/list-leads.d.cts.map +1 -0
  86. package/dist/actions/list-leads.d.mts +9 -0
  87. package/dist/actions/list-leads.d.mts.map +1 -0
  88. package/dist/actions/list-leads.mjs +56 -0
  89. package/dist/actions/list-leads.mjs.map +1 -0
  90. package/dist/actions/list-users.cjs +28 -0
  91. package/dist/actions/list-users.cjs.map +1 -0
  92. package/dist/actions/list-users.d.cts +9 -0
  93. package/dist/actions/list-users.d.cts.map +1 -0
  94. package/dist/actions/list-users.d.mts +9 -0
  95. package/dist/actions/list-users.d.mts.map +1 -0
  96. package/dist/actions/list-users.mjs +27 -0
  97. package/dist/actions/list-users.mjs.map +1 -0
  98. package/dist/actions/remove-lead-from-campaign.cjs +22 -0
  99. package/dist/actions/remove-lead-from-campaign.cjs.map +1 -0
  100. package/dist/actions/remove-lead-from-campaign.d.cts +9 -0
  101. package/dist/actions/remove-lead-from-campaign.d.cts.map +1 -0
  102. package/dist/actions/remove-lead-from-campaign.d.mts +9 -0
  103. package/dist/actions/remove-lead-from-campaign.d.mts.map +1 -0
  104. package/dist/actions/remove-lead-from-campaign.mjs +19 -0
  105. package/dist/actions/remove-lead-from-campaign.mjs.map +1 -0
  106. package/dist/actions/update-lead.cjs +28 -0
  107. package/dist/actions/update-lead.cjs.map +1 -0
  108. package/dist/actions/update-lead.d.cts +9 -0
  109. package/dist/actions/update-lead.d.cts.map +1 -0
  110. package/dist/actions/update-lead.d.mts +9 -0
  111. package/dist/actions/update-lead.d.mts.map +1 -0
  112. package/dist/actions/update-lead.mjs +25 -0
  113. package/dist/actions/update-lead.mjs.map +1 -0
  114. package/dist/actions/view-lead.cjs +50 -0
  115. package/dist/actions/view-lead.cjs.map +1 -0
  116. package/dist/actions/view-lead.d.cts +9 -0
  117. package/dist/actions/view-lead.d.cts.map +1 -0
  118. package/dist/actions/view-lead.d.mts +9 -0
  119. package/dist/actions/view-lead.d.mts.map +1 -0
  120. package/dist/actions/view-lead.mjs +49 -0
  121. package/dist/actions/view-lead.mjs.map +1 -0
  122. package/dist/app.cjs +9 -0
  123. package/dist/app.cjs.map +1 -0
  124. package/dist/app.d.cts +5 -0
  125. package/dist/app.d.cts.map +1 -0
  126. package/dist/app.d.mts +5 -0
  127. package/dist/app.d.mts.map +1 -0
  128. package/dist/app.mjs +10 -0
  129. package/dist/app.mjs.map +1 -0
  130. package/dist/catalog.cjs +15 -0
  131. package/dist/catalog.cjs.map +1 -0
  132. package/dist/catalog.d.cts +14 -0
  133. package/dist/catalog.d.cts.map +1 -0
  134. package/dist/catalog.d.mts +14 -0
  135. package/dist/catalog.d.mts.map +1 -0
  136. package/dist/catalog.mjs +15 -0
  137. package/dist/catalog.mjs.map +1 -0
  138. package/dist/execute.cjs +18 -0
  139. package/dist/execute.cjs.map +1 -0
  140. package/dist/execute.mjs +18 -0
  141. package/dist/execute.mjs.map +1 -0
  142. package/dist/index.cjs +34 -0
  143. package/dist/index.d.cts +17 -0
  144. package/dist/index.d.mts +17 -0
  145. package/dist/index.mjs +18 -0
  146. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-lead-fields.d.ts
4
+ declare const PersistiqListLeadFieldsInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadFieldsOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeadFields };
9
+ //# sourceMappingURL=list-lead-fields.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-fields.d.cts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAOrI,6BAAA,EAA+B,CAAA,CAAE,UAES;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-lead-fields.d.ts
4
+ declare const PersistiqListLeadFieldsInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadFieldsOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeadFields };
9
+ //# sourceMappingURL=list-lead-fields.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-fields.d.mts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAOrI,6BAAA,EAA+B,CAAA,CAAE,UAES;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-lead-fields.ts
4
+ const PersistiqListLeadFieldsInput = z.object({}).describe("Request schema for listing lead fields. No parameters required.");
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)")
10
+ }).describe("Schema for a PersistIQ lead field.");
11
+ const persistiqListLeadFields = action("PERSISTIQ_LIST_LEAD_FIELDS", {
12
+ slug: "persistiq-list-lead-fields",
13
+ name: "List Lead Fields",
14
+ description: "Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.",
15
+ input: PersistiqListLeadFieldsInput,
16
+ output: z.object({ lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).describe("Response schema for listing lead fields.")
17
+ });
18
+ //#endregion
19
+ export { persistiqListLeadFields };
20
+
21
+ //# sourceMappingURL=list-lead-fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-fields.mjs","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\"),\n name: z.string().describe(\"Internal name of the lead field\"),\n label: z.string().describe(\"Display label of the lead field\"),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\"),\n}).describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput: z.ZodTypeAny = 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,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACjJ,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-lead-statuses.ts
4
+ const PersistiqListLeadStatusesInput = zod.z.object({}).describe("Request model for listing lead statuses. No parameters required.");
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"),
8
+ "default": zod.z.boolean().describe("Flag indicating if this is the default lead status").nullable().optional(),
9
+ position: zod.z.number().int().describe("Position/order of this status in the pipeline").nullable().optional()
10
+ });
11
+ const PersistiqListLeadStatusesOutput = zod.z.object({ lead_statuses: zod.z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") });
12
+ const persistiqListLeadStatuses = require_action.action("PERSISTIQ_LIST_LEAD_STATUSES", {
13
+ slug: "persistiq-list-lead-statuses",
14
+ name: "List lead statuses",
15
+ description: "Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.",
16
+ input: PersistiqListLeadStatusesInput,
17
+ output: PersistiqListLeadStatusesOutput
18
+ });
19
+ //#endregion
20
+ exports.persistiqListLeadStatuses = persistiqListLeadStatuses;
21
+
22
+ //# sourceMappingURL=list-lead-statuses.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\"),\n name: z.string().describe(\"Name of the lead status\"),\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.ZodTypeAny = 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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACpJ,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-lead-statuses.d.ts
4
+ declare const PersistiqListLeadStatusesInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadStatusesOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeadStatuses };
9
+ //# sourceMappingURL=list-lead-statuses.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-statuses.d.cts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAsG;AAAA,cAOxI,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-lead-statuses.d.ts
4
+ declare const PersistiqListLeadStatusesInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadStatusesOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeadStatuses };
9
+ //# sourceMappingURL=list-lead-statuses.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-statuses.d.mts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAsG;AAAA,cAOxI,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-lead-statuses.ts
4
+ const PersistiqListLeadStatusesInput = z.object({}).describe("Request model for listing lead statuses. No parameters required.");
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"),
8
+ "default": z.boolean().describe("Flag indicating if this is the default lead status").nullable().optional(),
9
+ position: z.number().int().describe("Position/order of this status in the pipeline").nullable().optional()
10
+ });
11
+ const persistiqListLeadStatuses = action("PERSISTIQ_LIST_LEAD_STATUSES", {
12
+ slug: "persistiq-list-lead-statuses",
13
+ name: "List lead statuses",
14
+ description: "Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.",
15
+ input: PersistiqListLeadStatusesInput,
16
+ output: z.object({ lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") })
17
+ });
18
+ //#endregion
19
+ export { persistiqListLeadStatuses };
20
+
21
+ //# sourceMappingURL=list-lead-statuses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-lead-statuses.mjs","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\"),\n name: z.string().describe(\"Name of the lead status\"),\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.ZodTypeAny = 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,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACpJ,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,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,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,EAC3H,CAOU;AACV,CAAC"}
@@ -0,0 +1,57 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-leads.ts
4
+ const PersistiqListLeadsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number to retrieve.").optional(),
6
+ limit: zod.z.number().int().default(25).describe("Max number of leads per page (1-100).").optional(),
7
+ status: zod.z.enum(["active", "archived"]).describe("Filter leads by status; valid values are 'active' or 'archived'.").optional(),
8
+ updated_after: zod.z.string().describe("Return leads updated after this datetime (ISO 8601).").optional()
9
+ }).describe("Request model for listing leads in PersistIQ.");
10
+ const PersistiqListLeads_LeadDataSchema = zod.z.object({
11
+ city: zod.z.string().describe("Lead's city.").nullable().optional(),
12
+ email: zod.z.string().describe("Lead's email address.").nullable().optional(),
13
+ phone: zod.z.string().describe("Lead's phone number.").nullable().optional(),
14
+ state: zod.z.string().describe("Lead's state.").nullable().optional(),
15
+ title: zod.z.string().describe("Lead's job title.").nullable().optional(),
16
+ source: zod.z.string().describe("Lead source.").nullable().optional(),
17
+ address: zod.z.string().describe("Lead's address.").nullable().optional(),
18
+ country: zod.z.string().describe("Lead's country.").nullable().optional(),
19
+ twitter: zod.z.string().describe("Lead's Twitter profile.").nullable().optional(),
20
+ website: zod.z.string().describe("Lead's website.").nullable().optional(),
21
+ facebook: zod.z.string().describe("Lead's Facebook profile.").nullable().optional(),
22
+ industry: zod.z.string().describe("Lead's industry.").nullable().optional(),
23
+ linkedin: zod.z.string().describe("Lead's LinkedIn profile.").nullable().optional(),
24
+ last_name: zod.z.string().describe("Lead's last name.").nullable().optional(),
25
+ first_name: zod.z.string().describe("Lead's first name.").nullable().optional(),
26
+ company_name: zod.z.string().describe("Lead's company name.").nullable().optional()
27
+ }).passthrough().describe("Nested data object containing lead details.");
28
+ const PersistiqListLeads_LeadSchema = zod.z.object({
29
+ id: zod.z.string().describe("The unique identifier for the lead."),
30
+ data: PersistiqListLeads_LeadDataSchema.nullable().optional(),
31
+ status: zod.z.string().describe("The status of the lead.").nullable().optional(),
32
+ bounced: zod.z.boolean().describe("Whether the lead's email bounced.").nullable().optional(),
33
+ optedout: zod.z.boolean().describe("Whether the lead opted out.").nullable().optional(),
34
+ owner_id: zod.z.string().describe("ID of the lead owner.").nullable().optional(),
35
+ creator_id: zod.z.string().describe("ID of the user who created the lead.").nullable().optional(),
36
+ sent_count: zod.z.number().int().describe("Number of emails sent to the lead.").nullable().optional(),
37
+ last_sent_at: zod.z.string().describe("Timestamp of the last email sent.").nullable().optional(),
38
+ replied_count: zod.z.number().int().describe("Number of replies from the lead.").nullable().optional()
39
+ }).passthrough();
40
+ const PersistiqListLeadsOutput = zod.z.object({
41
+ leads: zod.z.array(PersistiqListLeads_LeadSchema).describe("List of lead objects."),
42
+ errors: zod.z.array(zod.z.string()).describe("List of errors if any.").nullable().optional(),
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."),
45
+ next_page: zod.z.string().describe("URL or cursor for the next page.").nullable().optional()
46
+ }).describe("Response model for listing leads in PersistIQ.");
47
+ const persistiqListLeads = require_action.action("PERSISTIQ_LIST_LEADS", {
48
+ slug: "persistiq-list-leads",
49
+ name: "List Leads",
50
+ 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.",
51
+ input: PersistiqListLeadsInput,
52
+ output: PersistiqListLeadsOutput
53
+ });
54
+ //#endregion
55
+ exports.persistiqListLeads = persistiqListLeads;
56
+
57
+ //# sourceMappingURL=list-leads.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\"),\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.ZodTypeAny = 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.\"),\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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,oCAAkDA,IAAA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AAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,uBAAuB;CAC9E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACzE,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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-leads.d.ts
4
+ declare const PersistiqListLeadsInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadsOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeads };
9
+ //# sourceMappingURL=list-leads.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-leads.d.cts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKoB;AAAA,cA+B/C,wBAAA,EAA0B,CAAA,CAAE,UAMoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-leads.d.ts
4
+ declare const PersistiqListLeadsInput: z.ZodTypeAny;
5
+ declare const PersistiqListLeadsOutput: z.ZodTypeAny;
6
+ declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListLeads };
9
+ //# sourceMappingURL=list-leads.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-leads.d.mts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKoB;AAAA,cA+B/C,wBAAA,EAA0B,CAAA,CAAE,UAMoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,56 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-leads.ts
4
+ const PersistiqListLeadsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number to retrieve.").optional(),
6
+ limit: z.number().int().default(25).describe("Max number of leads per page (1-100).").optional(),
7
+ status: z.enum(["active", "archived"]).describe("Filter leads by status; valid values are 'active' or 'archived'.").optional(),
8
+ updated_after: z.string().describe("Return leads updated after this datetime (ISO 8601).").optional()
9
+ }).describe("Request model for listing leads in PersistIQ.");
10
+ const PersistiqListLeads_LeadDataSchema = z.object({
11
+ city: z.string().describe("Lead's city.").nullable().optional(),
12
+ email: z.string().describe("Lead's email address.").nullable().optional(),
13
+ phone: z.string().describe("Lead's phone number.").nullable().optional(),
14
+ state: z.string().describe("Lead's state.").nullable().optional(),
15
+ title: z.string().describe("Lead's job title.").nullable().optional(),
16
+ source: z.string().describe("Lead source.").nullable().optional(),
17
+ address: z.string().describe("Lead's address.").nullable().optional(),
18
+ country: z.string().describe("Lead's country.").nullable().optional(),
19
+ twitter: z.string().describe("Lead's Twitter profile.").nullable().optional(),
20
+ website: z.string().describe("Lead's website.").nullable().optional(),
21
+ facebook: z.string().describe("Lead's Facebook profile.").nullable().optional(),
22
+ industry: z.string().describe("Lead's industry.").nullable().optional(),
23
+ linkedin: z.string().describe("Lead's LinkedIn profile.").nullable().optional(),
24
+ last_name: z.string().describe("Lead's last name.").nullable().optional(),
25
+ first_name: z.string().describe("Lead's first name.").nullable().optional(),
26
+ company_name: z.string().describe("Lead's company name.").nullable().optional()
27
+ }).passthrough().describe("Nested data object containing lead details.");
28
+ const PersistiqListLeads_LeadSchema = z.object({
29
+ id: z.string().describe("The unique identifier for the lead."),
30
+ data: PersistiqListLeads_LeadDataSchema.nullable().optional(),
31
+ status: z.string().describe("The status of the lead.").nullable().optional(),
32
+ bounced: z.boolean().describe("Whether the lead's email bounced.").nullable().optional(),
33
+ optedout: z.boolean().describe("Whether the lead opted out.").nullable().optional(),
34
+ owner_id: z.string().describe("ID of the lead owner.").nullable().optional(),
35
+ creator_id: z.string().describe("ID of the user who created the lead.").nullable().optional(),
36
+ sent_count: z.number().int().describe("Number of emails sent to the lead.").nullable().optional(),
37
+ last_sent_at: z.string().describe("Timestamp of the last email sent.").nullable().optional(),
38
+ replied_count: z.number().int().describe("Number of replies from the lead.").nullable().optional()
39
+ }).passthrough();
40
+ const persistiqListLeads = action("PERSISTIQ_LIST_LEADS", {
41
+ slug: "persistiq-list-leads",
42
+ name: "List Leads",
43
+ 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.",
44
+ input: PersistiqListLeadsInput,
45
+ output: z.object({
46
+ leads: z.array(PersistiqListLeads_LeadSchema).describe("List of lead objects."),
47
+ errors: z.array(z.string()).describe("List of errors if any.").nullable().optional(),
48
+ status: z.string().describe("Status of the API response.").nullable().optional(),
49
+ has_more: z.boolean().describe("Whether there are more pages of results."),
50
+ next_page: z.string().describe("URL or cursor for the next page.").nullable().optional()
51
+ }).describe("Response model for listing leads in PersistIQ.")
52
+ });
53
+ //#endregion
54
+ export { persistiqListLeads };
55
+
56
+ //# sourceMappingURL=list-leads.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-leads.mjs","names":[],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadsInput: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\"),\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.ZodTypeAny = 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.\"),\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,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAA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,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,uBAAuB;EAC9E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-users.ts
4
+ const PersistiqListUsersInput = zod.z.object({}).describe("Request model for listing users in PersistIQ.\nThis endpoint does not require any parameters.");
5
+ const PersistiqListUsers_UserSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the user"),
7
+ name: zod.z.string().describe("Name of the user").nullable().optional(),
8
+ email: zod.z.string().describe("Email address of the user").nullable().optional(),
9
+ activated: zod.z.boolean().describe("Whether the user account is activated").nullable().optional(),
10
+ salesforce_id: zod.z.string().describe("Associated Salesforce ID for the user").nullable().optional(),
11
+ default_mailbox_id: zod.z.string().describe("ID of the user's default mailbox").nullable().optional()
12
+ }).describe("User object representing a PersistIQ user.");
13
+ const PersistiqListUsersOutput = zod.z.object({
14
+ users: zod.z.array(PersistiqListUsers_UserSchema).describe("List of non-archived user objects"),
15
+ errors: zod.z.array(zod.z.string()).describe("List of errors if any").nullable().optional(),
16
+ status: zod.z.string().describe("Status of the API response").nullable().optional()
17
+ }).describe("Response model for listing users in PersistIQ.");
18
+ const persistiqListUsers = require_action.action("PERSISTIQ_LIST_USERS", {
19
+ slug: "persistiq-list-users",
20
+ name: "List Users",
21
+ description: "Tool to list all non-archived users in your company. Use when you need to retrieve user information including id, name, email, activated status, default_mailbox_id, and salesforce_id.",
22
+ input: PersistiqListUsersInput,
23
+ output: PersistiqListUsersOutput
24
+ });
25
+ //#endregion
26
+ exports.persistiqListUsers = persistiqListUsers;
27
+
28
+ //# sourceMappingURL=list-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListUsersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"Name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n activated: z.boolean().describe(\"Whether the user account is activated\").nullable().optional(),\n salesforce_id: z.string().describe(\"Associated Salesforce ID for the user\").nullable().optional(),\n default_mailbox_id: z.string().describe(\"ID of the user's default mailbox\").nullable().optional(),\n}).describe(\"User object representing a PersistIQ user.\");\nexport const PersistiqListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(PersistiqListUsers_UserSchema).describe(\"List of non-archived user 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}).describe(\"Response model for listing users in PersistIQ.\");\n\nexport const persistiqListUsers = action(\"PERSISTIQ_LIST_USERS\", {\n slug: \"persistiq-list-users\",\n name: \"List Users\",\n description: \"Tool to list all non-archived users in your company. Use when you need to retrieve user information including id, name, email, activated status, default_mailbox_id, and salesforce_id.\",\n input: PersistiqListUsersInput,\n output: PersistiqListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC1K,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,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,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,mCAAmC;CAC1F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-users.d.ts
4
+ declare const PersistiqListUsersInput: z.ZodTypeAny;
5
+ declare const PersistiqListUsersOutput: z.ZodTypeAny;
6
+ declare const persistiqListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListUsers };
9
+ //# sourceMappingURL=list-users.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmI;AAAA,cAS9J,wBAAA,EAA0B,CAAA,CAAE,UAIoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-users.d.ts
4
+ declare const PersistiqListUsersInput: z.ZodTypeAny;
5
+ declare const PersistiqListUsersOutput: z.ZodTypeAny;
6
+ declare const persistiqListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqListUsers };
9
+ //# sourceMappingURL=list-users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmI;AAAA,cAS9J,wBAAA,EAA0B,CAAA,CAAE,UAIoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-users.ts
4
+ const PersistiqListUsersInput = z.object({}).describe("Request model for listing users in PersistIQ.\nThis endpoint does not require any parameters.");
5
+ const PersistiqListUsers_UserSchema = z.object({
6
+ id: z.string().describe("Unique identifier of the user"),
7
+ name: z.string().describe("Name of the user").nullable().optional(),
8
+ email: z.string().describe("Email address of the user").nullable().optional(),
9
+ activated: z.boolean().describe("Whether the user account is activated").nullable().optional(),
10
+ salesforce_id: z.string().describe("Associated Salesforce ID for the user").nullable().optional(),
11
+ default_mailbox_id: z.string().describe("ID of the user's default mailbox").nullable().optional()
12
+ }).describe("User object representing a PersistIQ user.");
13
+ const persistiqListUsers = action("PERSISTIQ_LIST_USERS", {
14
+ slug: "persistiq-list-users",
15
+ name: "List Users",
16
+ description: "Tool to list all non-archived users in your company. Use when you need to retrieve user information including id, name, email, activated status, default_mailbox_id, and salesforce_id.",
17
+ input: PersistiqListUsersInput,
18
+ output: z.object({
19
+ users: z.array(PersistiqListUsers_UserSchema).describe("List of non-archived user objects"),
20
+ errors: z.array(z.string()).describe("List of errors if any").nullable().optional(),
21
+ status: z.string().describe("Status of the API response").nullable().optional()
22
+ }).describe("Response model for listing users in PersistIQ.")
23
+ });
24
+ //#endregion
25
+ export { persistiqListUsers };
26
+
27
+ //# sourceMappingURL=list-users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListUsersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"Name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n activated: z.boolean().describe(\"Whether the user account is activated\").nullable().optional(),\n salesforce_id: z.string().describe(\"Associated Salesforce ID for the user\").nullable().optional(),\n default_mailbox_id: z.string().describe(\"ID of the user's default mailbox\").nullable().optional(),\n}).describe(\"User object representing a PersistIQ user.\");\nexport const PersistiqListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(PersistiqListUsers_UserSchema).describe(\"List of non-archived user 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}).describe(\"Response model for listing users in PersistIQ.\");\n\nexport const persistiqListUsers = action(\"PERSISTIQ_LIST_USERS\", {\n slug: \"persistiq-list-users\",\n name: \"List Users\",\n description: \"Tool to list all non-archived users in your company. Use when you need to retrieve user information including id, name, email, activated status, default_mailbox_id, and salesforce_id.\",\n input: PersistiqListUsersInput,\n output: PersistiqListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC1K,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,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,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAOxD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,mCAAmC;EAC1F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/remove-lead-from-campaign.ts
4
+ const PersistiqRemoveLeadFromCampaignInput = zod.z.object({
5
+ lead_id: zod.z.string().describe("The unique identifier of the lead to be removed from the campaign."),
6
+ campaign_id: zod.z.string().describe("The unique identifier of the campaign from which the lead will be removed.")
7
+ });
8
+ const PersistiqRemoveLeadFromCampaignOutput = zod.z.object({
9
+ message: zod.z.string().describe("Optional message returned by the API.").nullable().optional(),
10
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API.")
11
+ });
12
+ const persistiqRemoveLeadFromCampaign = require_action.action("PERSISTIQ_REMOVE_LEAD_FROM_CAMPAIGN", {
13
+ slug: "persistiq-remove-lead-from-campaign",
14
+ name: "Remove Lead From Campaign",
15
+ description: "Tool to remove a lead from a specified campaign. Use when you need to detach a lead from an existing campaign after confirming both IDs.",
16
+ input: PersistiqRemoveLeadFromCampaignInput,
17
+ output: PersistiqRemoveLeadFromCampaignOutput
18
+ });
19
+ //#endregion
20
+ exports.persistiqRemoveLeadFromCampaign = persistiqRemoveLeadFromCampaign;
21
+
22
+ //# sourceMappingURL=remove-lead-from-campaign.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-lead-from-campaign.cjs","names":["z","action"],"sources":["../../src/actions/remove-lead-from-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqRemoveLeadFromCampaignInput: z.ZodTypeAny = z.object({\n lead_id: z.string().describe(\"The unique identifier of the lead to be removed from the campaign.\"),\n campaign_id: z.string().describe(\"The unique identifier of the campaign from which the lead will be removed.\"),\n});\nexport const PersistiqRemoveLeadFromCampaignOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message returned by the API.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\"),\n});\n\nexport const persistiqRemoveLeadFromCampaign = action(\"PERSISTIQ_REMOVE_LEAD_FROM_CAMPAIGN\", {\n slug: \"persistiq-remove-lead-from-campaign\",\n name: \"Remove Lead From Campaign\",\n description: \"Tool to remove a lead from a specified campaign. Use when you need to detach a lead from an existing campaign after confirming both IDs.\",\n input: PersistiqRemoveLeadFromCampaignInput,\n output: PersistiqRemoveLeadFromCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC/G,CAAC;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;AAChF,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-lead-from-campaign.d.ts
4
+ declare const PersistiqRemoveLeadFromCampaignInput: z.ZodTypeAny;
5
+ declare const PersistiqRemoveLeadFromCampaignOutput: z.ZodTypeAny;
6
+ declare const persistiqRemoveLeadFromCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqRemoveLeadFromCampaign };
9
+ //# sourceMappingURL=remove-lead-from-campaign.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-lead-from-campaign.d.cts","names":[],"sources":["../../src/actions/remove-lead-from-campaign.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAGpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-lead-from-campaign.d.ts
4
+ declare const PersistiqRemoveLeadFromCampaignInput: z.ZodTypeAny;
5
+ declare const PersistiqRemoveLeadFromCampaignOutput: z.ZodTypeAny;
6
+ declare const persistiqRemoveLeadFromCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqRemoveLeadFromCampaign };
9
+ //# sourceMappingURL=remove-lead-from-campaign.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-lead-from-campaign.d.mts","names":[],"sources":["../../src/actions/remove-lead-from-campaign.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAGpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const persistiqRemoveLeadFromCampaign = action("PERSISTIQ_REMOVE_LEAD_FROM_CAMPAIGN", {
4
+ slug: "persistiq-remove-lead-from-campaign",
5
+ name: "Remove Lead From Campaign",
6
+ description: "Tool to remove a lead from a specified campaign. Use when you need to detach a lead from an existing campaign after confirming both IDs.",
7
+ input: z.object({
8
+ lead_id: z.string().describe("The unique identifier of the lead to be removed from the campaign."),
9
+ campaign_id: z.string().describe("The unique identifier of the campaign from which the lead will be removed.")
10
+ }),
11
+ output: z.object({
12
+ message: z.string().describe("Optional message returned by the API.").nullable().optional(),
13
+ status_code: z.number().int().describe("HTTP status code returned by the API.")
14
+ })
15
+ });
16
+ //#endregion
17
+ export { persistiqRemoveLeadFromCampaign };
18
+
19
+ //# sourceMappingURL=remove-lead-from-campaign.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-lead-from-campaign.mjs","names":[],"sources":["../../src/actions/remove-lead-from-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqRemoveLeadFromCampaignInput: z.ZodTypeAny = z.object({\n lead_id: z.string().describe(\"The unique identifier of the lead to be removed from the campaign.\"),\n campaign_id: z.string().describe(\"The unique identifier of the campaign from which the lead will be removed.\"),\n});\nexport const PersistiqRemoveLeadFromCampaignOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message returned by the API.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\"),\n});\n\nexport const persistiqRemoveLeadFromCampaign = action(\"PERSISTIQ_REMOVE_LEAD_FROM_CAMPAIGN\", {\n slug: \"persistiq-remove-lead-from-campaign\",\n name: \"Remove Lead From Campaign\",\n description: \"Tool to remove a lead from a specified campaign. Use when you need to detach a lead from an existing campaign after confirming both IDs.\",\n input: PersistiqRemoveLeadFromCampaignInput,\n output: PersistiqRemoveLeadFromCampaignOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC/G,CAUS;CACP,QAViE,EAAE,OAAO;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAChF,CAOU;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-lead.ts
4
+ const PersistiqUpdateLeadInput = zod.z.object({
5
+ email: zod.z.string().describe("Lead's email address").optional(),
6
+ phone: zod.z.string().describe("Lead's phone number").optional(),
7
+ title: zod.z.string().describe("Lead's job title").optional(),
8
+ lead_id: zod.z.string().describe("ID of the lead to update"),
9
+ last_name: zod.z.string().describe("Lead's last name").optional(),
10
+ first_name: zod.z.string().describe("Lead's first name").optional(),
11
+ company_name: zod.z.string().describe("Lead's company name").optional()
12
+ }).describe("Request parameters for updating a PersistIQ lead.");
13
+ const PersistiqUpdateLeadOutput = zod.z.object({
14
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response data wrapper containing status, error, and lead").nullable().optional(),
15
+ error: zod.z.string().describe("Error message if any").nullable().optional(),
16
+ successfull: zod.z.boolean().describe("Whether the operation was successful").nullable().optional()
17
+ }).passthrough().describe("Response model for updated PersistIQ lead.\nThe API returns: {\"data\": {\"status\": \"success\", \"error\": null, \"lead\": {...}}, ...}");
18
+ const persistiqUpdateLead = require_action.action("PERSISTIQ_UPDATE_LEAD", {
19
+ slug: "persistiq-update-lead",
20
+ name: "Update Lead",
21
+ 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.",
22
+ input: PersistiqUpdateLeadInput,
23
+ output: PersistiqUpdateLeadOutput
24
+ });
25
+ //#endregion
26
+ exports.persistiqUpdateLead = persistiqUpdateLead;
27
+
28
+ //# sourceMappingURL=update-lead.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-lead.cjs","names":["z","action"],"sources":["../../src/actions/update-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqUpdateLeadInput: z.ZodTypeAny = 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.ZodTypeAny = 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":";;;AA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PersistiqUpdateLeadInput: z.ZodTypeAny;
5
+ declare const PersistiqUpdateLeadOutput: z.ZodTypeAny;
6
+ declare const persistiqUpdateLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqUpdateLead };
9
+ //# sourceMappingURL=update-lead.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-lead.d.cts","names":[],"sources":["../../src/actions/update-lead.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQuB;AAAA,cACnD,yBAAA,EAA2B,CAAA,CAAE,UAI4H;AAAA,cAEzJ,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-lead.d.ts
4
+ declare const PersistiqUpdateLeadInput: z.ZodTypeAny;
5
+ declare const PersistiqUpdateLeadOutput: z.ZodTypeAny;
6
+ declare const persistiqUpdateLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { persistiqUpdateLead };
9
+ //# sourceMappingURL=update-lead.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-lead.d.mts","names":[],"sources":["../../src/actions/update-lead.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQuB;AAAA,cACnD,yBAAA,EAA2B,CAAA,CAAE,UAI4H;AAAA,cAEzJ,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}