@keystrokehq/persistiq 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/actions/add-lead-to-campaign.cjs +3 -3
  2. package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
  3. package/dist/actions/add-lead-to-campaign.d.cts +4 -4
  4. package/dist/actions/add-lead-to-campaign.d.mts +4 -4
  5. package/dist/actions/add-lead-to-campaign.mjs +3 -3
  6. package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
  7. package/dist/actions/create-campaign.cjs +3 -3
  8. package/dist/actions/create-campaign.cjs.map +1 -1
  9. package/dist/actions/create-campaign.d.cts +3 -3
  10. package/dist/actions/create-campaign.d.mts +3 -3
  11. package/dist/actions/create-campaign.mjs +3 -3
  12. package/dist/actions/create-campaign.mjs.map +1 -1
  13. package/dist/actions/create-dnc-domain.cjs +2 -2
  14. package/dist/actions/create-dnc-domain.cjs.map +1 -1
  15. package/dist/actions/create-dnc-domain.d.cts +2 -2
  16. package/dist/actions/create-dnc-domain.d.mts +2 -2
  17. package/dist/actions/create-dnc-domain.mjs +2 -2
  18. package/dist/actions/create-dnc-domain.mjs.map +1 -1
  19. package/dist/actions/create-leads.cjs +4 -4
  20. package/dist/actions/create-leads.cjs.map +1 -1
  21. package/dist/actions/create-leads.d.cts +5 -4
  22. package/dist/actions/create-leads.d.cts.map +1 -1
  23. package/dist/actions/create-leads.d.mts +5 -4
  24. package/dist/actions/create-leads.d.mts.map +1 -1
  25. package/dist/actions/create-leads.mjs +4 -4
  26. package/dist/actions/create-leads.mjs.map +1 -1
  27. package/dist/actions/list-campaigns.cjs +4 -4
  28. package/dist/actions/list-campaigns.cjs.map +1 -1
  29. package/dist/actions/list-campaigns.d.cts +4 -4
  30. package/dist/actions/list-campaigns.d.mts +4 -4
  31. package/dist/actions/list-campaigns.mjs +4 -4
  32. package/dist/actions/list-campaigns.mjs.map +1 -1
  33. package/dist/actions/list-dnc-domains.cjs +2 -2
  34. package/dist/actions/list-dnc-domains.cjs.map +1 -1
  35. package/dist/actions/list-dnc-domains.d.cts +2 -2
  36. package/dist/actions/list-dnc-domains.d.mts +2 -2
  37. package/dist/actions/list-dnc-domains.mjs +2 -2
  38. package/dist/actions/list-dnc-domains.mjs.map +1 -1
  39. package/dist/actions/list-events.cjs +2 -2
  40. package/dist/actions/list-events.cjs.map +1 -1
  41. package/dist/actions/list-events.d.cts +2 -2
  42. package/dist/actions/list-events.d.mts +2 -2
  43. package/dist/actions/list-events.mjs +2 -2
  44. package/dist/actions/list-events.mjs.map +1 -1
  45. package/dist/actions/list-lead-fields.cjs +2 -2
  46. package/dist/actions/list-lead-fields.cjs.map +1 -1
  47. package/dist/actions/list-lead-fields.d.cts +2 -2
  48. package/dist/actions/list-lead-fields.d.mts +2 -2
  49. package/dist/actions/list-lead-fields.mjs +2 -2
  50. package/dist/actions/list-lead-fields.mjs.map +1 -1
  51. package/dist/actions/list-lead-statuses.cjs +2 -2
  52. package/dist/actions/list-lead-statuses.cjs.map +1 -1
  53. package/dist/actions/list-lead-statuses.d.cts +2 -2
  54. package/dist/actions/list-lead-statuses.d.mts +2 -2
  55. package/dist/actions/list-lead-statuses.mjs +2 -2
  56. package/dist/actions/list-lead-statuses.mjs.map +1 -1
  57. package/dist/actions/list-leads.cjs +1 -1
  58. package/dist/actions/list-leads.cjs.map +1 -1
  59. package/dist/actions/list-leads.d.cts +1 -1
  60. package/dist/actions/list-leads.d.mts +1 -1
  61. package/dist/actions/list-leads.mjs +1 -1
  62. package/dist/actions/list-leads.mjs.map +1 -1
  63. package/dist/actions/list-users.cjs +2 -2
  64. package/dist/actions/list-users.cjs.map +1 -1
  65. package/dist/actions/list-users.d.cts +2 -2
  66. package/dist/actions/list-users.d.mts +2 -2
  67. package/dist/actions/list-users.mjs +2 -2
  68. package/dist/actions/list-users.mjs.map +1 -1
  69. package/dist/actions/remove-lead-from-campaign.cjs +1 -1
  70. package/dist/actions/remove-lead-from-campaign.cjs.map +1 -1
  71. package/dist/actions/remove-lead-from-campaign.d.cts +1 -1
  72. package/dist/actions/remove-lead-from-campaign.d.mts +1 -1
  73. package/dist/actions/remove-lead-from-campaign.mjs +1 -1
  74. package/dist/actions/remove-lead-from-campaign.mjs.map +1 -1
  75. package/dist/catalog.cjs +1 -1
  76. package/dist/catalog.cjs.map +1 -1
  77. package/dist/catalog.d.cts +1 -1
  78. package/dist/catalog.d.mts +1 -1
  79. package/dist/catalog.mjs +1 -1
  80. package/dist/catalog.mjs.map +1 -1
  81. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-leads.cjs","names":["z","action"],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve.\").optional(),\n limit: z.number().int().default(25).describe(\"Max number of leads per page (1-100).\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Filter leads by status; valid values are 'active' or 'archived'.\").optional(),\n updated_after: z.string().describe(\"Return leads updated after this datetime (ISO 8601).\").optional(),\n}).describe(\"Request model for listing leads in PersistIQ.\");\nconst PersistiqListLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city.\").nullable().optional(),\n email: z.string().describe(\"Lead's email address.\").nullable().optional(),\n phone: z.string().describe(\"Lead's phone number.\").nullable().optional(),\n state: z.string().describe(\"Lead's state.\").nullable().optional(),\n title: z.string().describe(\"Lead's job title.\").nullable().optional(),\n source: z.string().describe(\"Lead source.\").nullable().optional(),\n address: z.string().describe(\"Lead's address.\").nullable().optional(),\n country: z.string().describe(\"Lead's country.\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter profile.\").nullable().optional(),\n website: z.string().describe(\"Lead's website.\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook profile.\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry.\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn profile.\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name.\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name.\").nullable().optional(),\n}).passthrough().describe(\"Nested data object containing lead details.\");\nconst PersistiqListLeads_LeadSchema = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\").nullable(),\n data: PersistiqListLeads_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"The status of the lead.\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead's email bounced.\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead opted out.\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the lead owner.\").nullable().optional(),\n creator_id: z.string().describe(\"ID of the user who created the lead.\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent to the lead.\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of the last email sent.\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from the lead.\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadsOutput = z.object({\n leads: z.array(PersistiqListLeads_LeadSchema).describe(\"List of lead objects.\"),\n errors: z.array(z.string()).describe(\"List of errors if any.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more pages of results.\").nullable(),\n next_page: z.string().describe(\"URL or cursor for the next page.\").nullable().optional(),\n}).describe(\"Response model for listing leads in PersistIQ.\");\n\nexport const persistiqListLeads = action(\"PERSISTIQ_LIST_LEADS\", {\n slug: \"persistiq-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads from PersistIQ. Use when you need to fetch a paginated list of leads, optionally filtering by status or updated_after.\",\n input: PersistiqListLeadsInput,\n output: PersistiqListLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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"file":"list-leads.cjs","names":["z","action"],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve.\").optional(),\n limit: z.number().int().default(25).describe(\"Max number of leads per page (1-100).\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Filter leads by status; valid values are 'active' or 'archived'.\").optional(),\n updated_after: z.string().describe(\"Return leads updated after this datetime (ISO 8601).\").optional(),\n}).describe(\"Request model for listing leads in PersistIQ.\");\nconst PersistiqListLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city.\").nullable().optional(),\n email: z.string().describe(\"Lead's email address.\").nullable().optional(),\n phone: z.string().describe(\"Lead's phone number.\").nullable().optional(),\n state: z.string().describe(\"Lead's state.\").nullable().optional(),\n title: z.string().describe(\"Lead's job title.\").nullable().optional(),\n source: z.string().describe(\"Lead source.\").nullable().optional(),\n address: z.string().describe(\"Lead's address.\").nullable().optional(),\n country: z.string().describe(\"Lead's country.\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter profile.\").nullable().optional(),\n website: z.string().describe(\"Lead's website.\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook profile.\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry.\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn profile.\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name.\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name.\").nullable().optional(),\n}).passthrough().describe(\"Nested data object containing lead details.\");\nconst PersistiqListLeads_LeadSchema = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\").nullable(),\n data: PersistiqListLeads_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"The status of the lead.\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead's email bounced.\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead opted out.\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the lead owner.\").nullable().optional(),\n creator_id: z.string().describe(\"ID of the user who created the lead.\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent to the lead.\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of the last email sent.\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from the lead.\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadsOutput = z.object({\n leads: z.array(PersistiqListLeads_LeadSchema).describe(\"List of lead objects.\"),\n errors: z.array(z.string()).describe(\"List of errors if any.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more pages of results.\").nullable(),\n next_page: z.string().describe(\"URL or cursor for the next page.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing leads in PersistIQ.\");\n\nexport const persistiqListLeads = action(\"PERSISTIQ_LIST_LEADS\", {\n slug: \"persistiq-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads from PersistIQ. Use when you need to fetch a paginated list of leads, optionally filtering by status or updated_after.\",\n input: PersistiqListLeadsInput,\n output: PersistiqListLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACtG,CA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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -44,7 +44,7 @@ declare const PersistiqListLeadsOutput: z.ZodObject<{
44
44
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  has_more: z.ZodNullable<z.ZodBoolean>;
46
46
  next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  page?: number | undefined;
50
50
  limit?: number | undefined;
@@ -44,7 +44,7 @@ declare const PersistiqListLeadsOutput: z.ZodObject<{
44
44
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  has_more: z.ZodNullable<z.ZodBoolean>;
46
46
  next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const persistiqListLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  page?: number | undefined;
50
50
  limit?: number | undefined;
@@ -48,7 +48,7 @@ const persistiqListLeads = action("PERSISTIQ_LIST_LEADS", {
48
48
  status: z.string().describe("Status of the API response.").nullable().optional(),
49
49
  has_more: z.boolean().describe("Whether there are more pages of results.").nullable(),
50
50
  next_page: z.string().describe("URL or cursor for the next page.").nullable().optional()
51
- }).describe("Response model for listing leads in PersistIQ.")
51
+ }).passthrough().describe("Response model for listing leads in PersistIQ.")
52
52
  });
53
53
  //#endregion
54
54
  export { persistiqListLeads };
@@ -1 +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.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve.\").optional(),\n limit: z.number().int().default(25).describe(\"Max number of leads per page (1-100).\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Filter leads by status; valid values are 'active' or 'archived'.\").optional(),\n updated_after: z.string().describe(\"Return leads updated after this datetime (ISO 8601).\").optional(),\n}).describe(\"Request model for listing leads in PersistIQ.\");\nconst PersistiqListLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city.\").nullable().optional(),\n email: z.string().describe(\"Lead's email address.\").nullable().optional(),\n phone: z.string().describe(\"Lead's phone number.\").nullable().optional(),\n state: z.string().describe(\"Lead's state.\").nullable().optional(),\n title: z.string().describe(\"Lead's job title.\").nullable().optional(),\n source: z.string().describe(\"Lead source.\").nullable().optional(),\n address: z.string().describe(\"Lead's address.\").nullable().optional(),\n country: z.string().describe(\"Lead's country.\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter profile.\").nullable().optional(),\n website: z.string().describe(\"Lead's website.\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook profile.\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry.\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn profile.\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name.\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name.\").nullable().optional(),\n}).passthrough().describe(\"Nested data object containing lead details.\");\nconst PersistiqListLeads_LeadSchema = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\").nullable(),\n data: PersistiqListLeads_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"The status of the lead.\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead's email bounced.\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead opted out.\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the lead owner.\").nullable().optional(),\n creator_id: z.string().describe(\"ID of the user who created the lead.\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent to the lead.\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of the last email sent.\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from the lead.\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadsOutput = z.object({\n leads: z.array(PersistiqListLeads_LeadSchema).describe(\"List of lead objects.\"),\n errors: z.array(z.string()).describe(\"List of errors if any.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more pages of results.\").nullable(),\n next_page: z.string().describe(\"URL or cursor for the next page.\").nullable().optional(),\n}).describe(\"Response model for listing leads in PersistIQ.\");\n\nexport const persistiqListLeads = action(\"PERSISTIQ_LIST_LEADS\", {\n slug: \"persistiq-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads from PersistIQ. Use when you need to fetch a paginated list of leads, optionally filtering by status or updated_after.\",\n input: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AC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,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,QAbsC,EAAE,OAAO;EAC/C,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,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve.\").optional(),\n limit: z.number().int().default(25).describe(\"Max number of leads per page (1-100).\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Filter leads by status; valid values are 'active' or 'archived'.\").optional(),\n updated_after: z.string().describe(\"Return leads updated after this datetime (ISO 8601).\").optional(),\n}).describe(\"Request model for listing leads in PersistIQ.\");\nconst PersistiqListLeads_LeadDataSchema = z.object({\n city: z.string().describe(\"Lead's city.\").nullable().optional(),\n email: z.string().describe(\"Lead's email address.\").nullable().optional(),\n phone: z.string().describe(\"Lead's phone number.\").nullable().optional(),\n state: z.string().describe(\"Lead's state.\").nullable().optional(),\n title: z.string().describe(\"Lead's job title.\").nullable().optional(),\n source: z.string().describe(\"Lead source.\").nullable().optional(),\n address: z.string().describe(\"Lead's address.\").nullable().optional(),\n country: z.string().describe(\"Lead's country.\").nullable().optional(),\n twitter: z.string().describe(\"Lead's Twitter profile.\").nullable().optional(),\n website: z.string().describe(\"Lead's website.\").nullable().optional(),\n facebook: z.string().describe(\"Lead's Facebook profile.\").nullable().optional(),\n industry: z.string().describe(\"Lead's industry.\").nullable().optional(),\n linkedin: z.string().describe(\"Lead's LinkedIn profile.\").nullable().optional(),\n last_name: z.string().describe(\"Lead's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Lead's first name.\").nullable().optional(),\n company_name: z.string().describe(\"Lead's company name.\").nullable().optional(),\n}).passthrough().describe(\"Nested data object containing lead details.\");\nconst PersistiqListLeads_LeadSchema = z.object({\n id: z.string().describe(\"The unique identifier for the lead.\").nullable(),\n data: PersistiqListLeads_LeadDataSchema.nullable().optional(),\n status: z.string().describe(\"The status of the lead.\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the lead's email bounced.\").nullable().optional(),\n optedout: z.boolean().describe(\"Whether the lead opted out.\").nullable().optional(),\n owner_id: z.string().describe(\"ID of the lead owner.\").nullable().optional(),\n creator_id: z.string().describe(\"ID of the user who created the lead.\").nullable().optional(),\n sent_count: z.number().int().describe(\"Number of emails sent to the lead.\").nullable().optional(),\n last_sent_at: z.string().describe(\"Timestamp of the last email sent.\").nullable().optional(),\n replied_count: z.number().int().describe(\"Number of replies from the lead.\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadsOutput = z.object({\n leads: z.array(PersistiqListLeads_LeadSchema).describe(\"List of lead objects.\"),\n errors: z.array(z.string()).describe(\"List of errors if any.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more pages of results.\").nullable(),\n next_page: z.string().describe(\"URL or cursor for the next page.\").nullable().optional(),\n}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,O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AAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -9,12 +9,12 @@ const PersistiqListUsers_UserSchema = zod.z.object({
9
9
  activated: zod.z.boolean().describe("Whether the user account is activated").nullable().optional(),
10
10
  salesforce_id: zod.z.string().describe("Associated Salesforce ID for the user").nullable().optional(),
11
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.");
12
+ }).passthrough().describe("User object representing a PersistIQ user.");
13
13
  const PersistiqListUsersOutput = zod.z.object({
14
14
  users: zod.z.array(PersistiqListUsers_UserSchema).describe("List of non-archived user objects"),
15
15
  errors: zod.z.array(zod.z.string()).describe("List of errors if any").nullable().optional(),
16
16
  status: zod.z.string().describe("Status of the API response").nullable().optional()
17
- }).describe("Response model for listing users in PersistIQ.");
17
+ }).passthrough().describe("Response model for listing users in PersistIQ.");
18
18
  const persistiqListUsers = require_action.action("PERSISTIQ_LIST_USERS", {
19
19
  slug: "persistiq-list-users",
20
20
  name: "List Users",
@@ -1 +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.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\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.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,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC5J,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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"}
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.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\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}).passthrough().describe(\"User object representing a PersistIQ user.\");\nexport const PersistiqListUsersOutput = 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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC5J,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,10 +10,10 @@ declare const PersistiqListUsersOutput: z.ZodObject<{
10
10
  activated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
11
  salesforce_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  default_mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const persistiqListUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
19
19
  export { persistiqListUsers };
@@ -10,10 +10,10 @@ declare const PersistiqListUsersOutput: z.ZodObject<{
10
10
  activated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
11
  salesforce_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  default_mailbox_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const persistiqListUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
19
19
  export { persistiqListUsers };
@@ -9,7 +9,7 @@ const PersistiqListUsers_UserSchema = z.object({
9
9
  activated: z.boolean().describe("Whether the user account is activated").nullable().optional(),
10
10
  salesforce_id: z.string().describe("Associated Salesforce ID for the user").nullable().optional(),
11
11
  default_mailbox_id: z.string().describe("ID of the user's default mailbox").nullable().optional()
12
- }).describe("User object representing a PersistIQ user.");
12
+ }).passthrough().describe("User object representing a PersistIQ user.");
13
13
  const persistiqListUsers = action("PERSISTIQ_LIST_USERS", {
14
14
  slug: "persistiq-list-users",
15
15
  name: "List Users",
@@ -19,7 +19,7 @@ const persistiqListUsers = action("PERSISTIQ_LIST_USERS", {
19
19
  users: z.array(PersistiqListUsers_UserSchema).describe("List of non-archived user objects"),
20
20
  errors: z.array(z.string()).describe("List of errors if any").nullable().optional(),
21
21
  status: z.string().describe("Status of the API response").nullable().optional()
22
- }).describe("Response model for listing users in PersistIQ.")
22
+ }).passthrough().describe("Response model for listing users in PersistIQ.")
23
23
  });
24
24
  //#endregion
25
25
  export { persistiqListUsers };
@@ -1 +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.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\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.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,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC5J,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,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,QAXsC,EAAE,OAAO;EAC/C,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"}
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.object({}).describe(\"Request model for listing users in PersistIQ.\\nThis endpoint does not require any parameters.\");\nconst PersistiqListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\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}).passthrough().describe(\"User object representing a PersistIQ user.\");\nexport const PersistiqListUsersOutput = 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}).passthrough().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,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC5J,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,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,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const PersistiqRemoveLeadFromCampaignInput = zod.z.object({
8
8
  const PersistiqRemoveLeadFromCampaignOutput = zod.z.object({
9
9
  message: zod.z.string().describe("Optional message returned by the API.").nullable().optional(),
10
10
  status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
11
- });
11
+ }).passthrough();
12
12
  const persistiqRemoveLeadFromCampaign = require_action.action("PERSISTIQ_REMOVE_LEAD_FROM_CAMPAIGN", {
13
13
  slug: "persistiq-remove-lead-from-campaign",
14
14
  name: "Remove Lead From Campaign",
@@ -1 +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.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.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.\").nullable(),\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC/G,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,CAAC,CAAC,SAAS;AAC3F,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.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.\").nullable(),\n}).passthrough();\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC/G,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const PersistiqRemoveLeadFromCampaignInput: z.ZodObject<{
8
8
  declare const PersistiqRemoveLeadFromCampaignOutput: z.ZodObject<{
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  status_code: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const persistiqRemoveLeadFromCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  lead_id: string;
14
14
  campaign_id: string;
@@ -8,7 +8,7 @@ declare const PersistiqRemoveLeadFromCampaignInput: z.ZodObject<{
8
8
  declare const PersistiqRemoveLeadFromCampaignOutput: z.ZodObject<{
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  status_code: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const persistiqRemoveLeadFromCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  lead_id: string;
14
14
  campaign_id: string;
@@ -11,7 +11,7 @@ const persistiqRemoveLeadFromCampaign = action("PERSISTIQ_REMOVE_LEAD_FROM_CAMPA
11
11
  output: z.object({
12
12
  message: z.string().describe("Optional message returned by the API.").nullable().optional(),
13
13
  status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
14
- })
14
+ }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { persistiqRemoveLeadFromCampaign };
@@ -1 +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.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.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.\").nullable(),\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,OAbkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC/G,CAUS;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAOU;AACV,CAAC"}
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.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.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.\").nullable(),\n}).passthrough();\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,OAbkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC/G,CAUS;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const persistiqCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/persistiq",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "PersistIQ API Key",
13
13
  "secret": true,
14
14
  "description": "Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const persistiqCatalog = {\n \"slug\": \"persistiq\",\n \"name\": \"Persistiq\",\n \"description\": \"PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/persistiq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"PersistIQ API Key\",\n \"secret\": true,\n \"description\": \"Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const persistiqCatalog = {\n \"slug\": \"persistiq\",\n \"name\": \"Persistiq\",\n \"description\": \"PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/persistiq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"PersistIQ API Key\",\n \"secret\": true,\n \"description\": \"Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const persistiqCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "PersistIQ API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.";
@@ -9,7 +9,7 @@ declare const persistiqCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "PersistIQ API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const persistiqCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/persistiq",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "PersistIQ API Key",
13
13
  "secret": true,
14
14
  "description": "Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const persistiqCatalog = {\n \"slug\": \"persistiq\",\n \"name\": \"Persistiq\",\n \"description\": \"PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/persistiq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"PersistIQ API Key\",\n \"secret\": true,\n \"description\": \"Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const persistiqCatalog = {\n \"slug\": \"persistiq\",\n \"name\": \"Persistiq\",\n \"description\": \"PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/persistiq\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"PersistIQ API Key\",\n \"secret\": true,\n \"description\": \"Your PersistIQ API key, which grants access to read and write into your account database. This key is company-wide and grants access to all users' data within the company.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/persistiq",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"