@keystrokehq/persistiq 0.1.0 → 0.1.3

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 (119) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-lead-to-campaign.cjs +4 -4
  4. package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
  5. package/dist/actions/add-lead-to-campaign.d.cts +41 -3
  6. package/dist/actions/add-lead-to-campaign.d.cts.map +1 -1
  7. package/dist/actions/add-lead-to-campaign.d.mts +41 -3
  8. package/dist/actions/add-lead-to-campaign.d.mts.map +1 -1
  9. package/dist/actions/add-lead-to-campaign.mjs +4 -4
  10. package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
  11. package/dist/actions/create-campaign.cjs +5 -5
  12. package/dist/actions/create-campaign.cjs.map +1 -1
  13. package/dist/actions/create-campaign.d.cts +26 -3
  14. package/dist/actions/create-campaign.d.cts.map +1 -1
  15. package/dist/actions/create-campaign.d.mts +26 -3
  16. package/dist/actions/create-campaign.d.mts.map +1 -1
  17. package/dist/actions/create-campaign.mjs +5 -5
  18. package/dist/actions/create-campaign.mjs.map +1 -1
  19. package/dist/actions/create-dnc-domain.cjs +5 -5
  20. package/dist/actions/create-dnc-domain.cjs.map +1 -1
  21. package/dist/actions/create-dnc-domain.d.cts +14 -3
  22. package/dist/actions/create-dnc-domain.d.cts.map +1 -1
  23. package/dist/actions/create-dnc-domain.d.mts +14 -3
  24. package/dist/actions/create-dnc-domain.d.mts.map +1 -1
  25. package/dist/actions/create-dnc-domain.mjs +5 -5
  26. package/dist/actions/create-dnc-domain.mjs.map +1 -1
  27. package/dist/actions/create-leads.cjs +8 -8
  28. package/dist/actions/create-leads.cjs.map +1 -1
  29. package/dist/actions/create-leads.d.cts +80 -3
  30. package/dist/actions/create-leads.d.cts.map +1 -1
  31. package/dist/actions/create-leads.d.mts +80 -3
  32. package/dist/actions/create-leads.d.mts.map +1 -1
  33. package/dist/actions/create-leads.mjs +8 -8
  34. package/dist/actions/create-leads.mjs.map +1 -1
  35. package/dist/actions/list-campaigns.cjs +9 -9
  36. package/dist/actions/list-campaigns.cjs.map +1 -1
  37. package/dist/actions/list-campaigns.d.cts +36 -3
  38. package/dist/actions/list-campaigns.d.cts.map +1 -1
  39. package/dist/actions/list-campaigns.d.mts +36 -3
  40. package/dist/actions/list-campaigns.d.mts.map +1 -1
  41. package/dist/actions/list-campaigns.mjs +9 -9
  42. package/dist/actions/list-campaigns.mjs.map +1 -1
  43. package/dist/actions/list-dnc-domains.cjs +6 -6
  44. package/dist/actions/list-dnc-domains.cjs.map +1 -1
  45. package/dist/actions/list-dnc-domains.d.cts +10 -3
  46. package/dist/actions/list-dnc-domains.d.cts.map +1 -1
  47. package/dist/actions/list-dnc-domains.d.mts +10 -3
  48. package/dist/actions/list-dnc-domains.d.mts.map +1 -1
  49. package/dist/actions/list-dnc-domains.mjs +6 -6
  50. package/dist/actions/list-dnc-domains.mjs.map +1 -1
  51. package/dist/actions/list-events.cjs +5 -5
  52. package/dist/actions/list-events.cjs.map +1 -1
  53. package/dist/actions/list-events.d.cts +36 -3
  54. package/dist/actions/list-events.d.cts.map +1 -1
  55. package/dist/actions/list-events.d.mts +36 -3
  56. package/dist/actions/list-events.d.mts.map +1 -1
  57. package/dist/actions/list-events.mjs +5 -5
  58. package/dist/actions/list-events.mjs.map +1 -1
  59. package/dist/actions/list-lead-fields.cjs +6 -6
  60. package/dist/actions/list-lead-fields.cjs.map +1 -1
  61. package/dist/actions/list-lead-fields.d.cts +10 -3
  62. package/dist/actions/list-lead-fields.d.cts.map +1 -1
  63. package/dist/actions/list-lead-fields.d.mts +10 -3
  64. package/dist/actions/list-lead-fields.d.mts.map +1 -1
  65. package/dist/actions/list-lead-fields.mjs +6 -6
  66. package/dist/actions/list-lead-fields.mjs.map +1 -1
  67. package/dist/actions/list-lead-statuses.cjs +4 -4
  68. package/dist/actions/list-lead-statuses.cjs.map +1 -1
  69. package/dist/actions/list-lead-statuses.d.cts +10 -3
  70. package/dist/actions/list-lead-statuses.d.cts.map +1 -1
  71. package/dist/actions/list-lead-statuses.d.mts +10 -3
  72. package/dist/actions/list-lead-statuses.d.mts.map +1 -1
  73. package/dist/actions/list-lead-statuses.mjs +4 -4
  74. package/dist/actions/list-lead-statuses.mjs.map +1 -1
  75. package/dist/actions/list-leads.cjs +3 -3
  76. package/dist/actions/list-leads.cjs.map +1 -1
  77. package/dist/actions/list-leads.d.cts +50 -3
  78. package/dist/actions/list-leads.d.cts.map +1 -1
  79. package/dist/actions/list-leads.d.mts +50 -3
  80. package/dist/actions/list-leads.d.mts.map +1 -1
  81. package/dist/actions/list-leads.mjs +3 -3
  82. package/dist/actions/list-leads.mjs.map +1 -1
  83. package/dist/actions/list-users.cjs +3 -3
  84. package/dist/actions/list-users.cjs.map +1 -1
  85. package/dist/actions/list-users.d.cts +14 -3
  86. package/dist/actions/list-users.d.cts.map +1 -1
  87. package/dist/actions/list-users.d.mts +14 -3
  88. package/dist/actions/list-users.d.mts.map +1 -1
  89. package/dist/actions/list-users.mjs +3 -3
  90. package/dist/actions/list-users.mjs.map +1 -1
  91. package/dist/actions/remove-lead-from-campaign.cjs +2 -2
  92. package/dist/actions/remove-lead-from-campaign.cjs.map +1 -1
  93. package/dist/actions/remove-lead-from-campaign.d.cts +12 -3
  94. package/dist/actions/remove-lead-from-campaign.d.cts.map +1 -1
  95. package/dist/actions/remove-lead-from-campaign.d.mts +12 -3
  96. package/dist/actions/remove-lead-from-campaign.d.mts.map +1 -1
  97. package/dist/actions/remove-lead-from-campaign.mjs +2 -2
  98. package/dist/actions/remove-lead-from-campaign.mjs.map +1 -1
  99. package/dist/actions/update-lead.cjs.map +1 -1
  100. package/dist/actions/update-lead.d.cts +23 -3
  101. package/dist/actions/update-lead.d.cts.map +1 -1
  102. package/dist/actions/update-lead.d.mts +23 -3
  103. package/dist/actions/update-lead.d.mts.map +1 -1
  104. package/dist/actions/update-lead.mjs.map +1 -1
  105. package/dist/actions/view-lead.cjs +2 -2
  106. package/dist/actions/view-lead.cjs.map +1 -1
  107. package/dist/actions/view-lead.d.cts +39 -3
  108. package/dist/actions/view-lead.d.cts.map +1 -1
  109. package/dist/actions/view-lead.d.mts +39 -3
  110. package/dist/actions/view-lead.d.mts.map +1 -1
  111. package/dist/actions/view-lead.mjs +2 -2
  112. package/dist/actions/view-lead.mjs.map +1 -1
  113. package/dist/catalog.cjs +7 -1
  114. package/dist/catalog.cjs.map +1 -1
  115. package/dist/catalog.d.cts +8 -0
  116. package/dist/catalog.d.mts +8 -0
  117. package/dist/catalog.mjs +7 -1
  118. package/dist/catalog.mjs.map +1 -1
  119. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema: z.ZodTypeAny = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n});\nconst PersistiqListCampaigns_CreatorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Creator's unique ID\"),\n name: z.string().describe(\"Creator's name\"),\n email: z.string().describe(\"Creator's email\"),\n});\nconst PersistiqListCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Campaign unique ID\"),\n name: z.string().describe(\"Campaign name\"),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n});\nexport const PersistiqListCampaignsOutput: z.ZodTypeAny = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n});\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC9E,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,iBAAiB,EAAE,OAAO,CAAC,CAAC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Ae;CACzC,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC;AAOD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwD,EAAE,OAAO;EACjE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListCampaignsInput = z.object({\n name: z.string().describe(\"Filter campaigns by campaign name (partial, case-insensitive match)\").optional(),\n page: z.number().int().describe(\"Page number for pagination (starting at 1)\").optional(),\n limit: z.number().int().describe(\"Number of records per page (max 100)\").optional(),\n lead_id: z.string().describe(\"Filter campaigns by associated lead ID\").optional(),\n owner_id: z.string().describe(\"Filter campaigns by owner user ID\").optional(),\n});\nconst PersistiqListCampaigns_StatsSchema = z.object({\n total_prospects: z.number().int().default(0).describe(\"Total number of prospects\").nullable().optional(),\n prospects_opened: z.number().int().default(0).describe(\"Number of prospects who opened\").nullable().optional(),\n prospects_bounced: z.number().int().default(0).describe(\"Number of bounced prospects\").nullable().optional(),\n prospects_reached: z.number().int().default(0).describe(\"Number of prospects reached\").nullable().optional(),\n prospects_replied: z.number().int().default(0).describe(\"Number of prospects who replied\").nullable().optional(),\n prospects_optedout: z.number().int().default(0).describe(\"Number of prospects who opted out\").nullable().optional(),\n prospects_contacted: z.number().int().default(0).describe(\"Number of prospects contacted\").nullable().optional(),\n}).passthrough();\nconst PersistiqListCampaigns_CreatorSchema = z.object({\n id: z.string().describe(\"Creator's unique ID\").nullable(),\n name: z.string().describe(\"Creator's name\").nullable(),\n email: z.string().describe(\"Creator's email\").nullable(),\n}).passthrough();\nconst PersistiqListCampaigns_CampaignSchema = z.object({\n id: z.string().describe(\"Campaign unique ID\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n stats: PersistiqListCampaigns_StatsSchema.nullable().optional(),\n creator: PersistiqListCampaigns_CreatorSchema.nullable().optional(),\n}).passthrough();\nexport const PersistiqListCampaignsOutput = z.object({\n has_more: z.boolean().default(false).describe(\"Whether there are more pages available\").nullable().optional(),\n campaigns: z.array(PersistiqListCampaigns_CampaignSchema).describe(\"List of campaign objects\"),\n next_page: z.string().describe(\"Next page identifier\").nullable().optional(),\n}).passthrough();\n\nexport const persistiqListCampaigns = action(\"PERSISTIQ_LIST_CAMPAIGNS\", {\n slug: \"persistiq-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list campaigns. Use when you need to fetch multiple campaigns with optional filters and pagination after setting up your filter criteria.\",\n input: PersistiqListCampaignsInput,\n output: PersistiqListCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC9E,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,iBAAiB,E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EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/list-dnc-domains.ts
4
4
  const PersistiqListDncDomainsInput = zod.z.object({}).describe("No parameters required for listing DNC domains.");
5
5
  const PersistiqListDncDomains_DncDomainSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the DNC domain record"),
7
- domain: zod.z.string().describe("Domain name marked as Do Not Contact"),
8
- created_at: zod.z.string().describe("ISO 8601 timestamp when domain was added to DNC list"),
9
- updated_at: zod.z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated")
10
- });
11
- const PersistiqListDncDomainsOutput = zod.z.object({ domains: zod.z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") });
6
+ id: zod.z.string().describe("Unique identifier for the DNC domain record").nullable(),
7
+ domain: zod.z.string().describe("Domain name marked as Do Not Contact").nullable(),
8
+ created_at: zod.z.string().describe("ISO 8601 timestamp when domain was added to DNC list").nullable(),
9
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated").nullable()
10
+ }).passthrough();
11
+ const PersistiqListDncDomainsOutput = zod.z.object({ domains: zod.z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") }).passthrough();
12
12
  const persistiqListDncDomains = require_action.action("PERSISTIQ_LIST_DNC_DOMAINS", {
13
13
  slug: "persistiq-list-dnc-domains",
14
14
  name: "List Do Not Contact Domains",
@@ -1 +1 @@
1
- {"version":3,"file":"list-dnc-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput: z.ZodTypeAny = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\"),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\"),\n});\nexport const PersistiqListDncDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n});\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACjI,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-dnc-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n}).passthrough();\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n}).passthrough();\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-dnc-domains.d.ts
4
- declare const PersistiqListDncDomainsInput: z.ZodTypeAny;
5
- declare const PersistiqListDncDomainsOutput: z.ZodTypeAny;
6
- declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersistiqListDncDomainsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListDncDomainsOutput: z.ZodObject<{
6
+ domains: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ domain: z.ZodNullable<z.ZodString>;
9
+ created_at: z.ZodNullable<z.ZodString>;
10
+ updated_at: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListDncDomains };
9
16
  //# sourceMappingURL=list-dnc-domains.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-dnc-domains.d.cts","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqF;AAAA,cAOrH,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-dnc-domains.d.cts","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-dnc-domains.d.ts
4
- declare const PersistiqListDncDomainsInput: z.ZodTypeAny;
5
- declare const PersistiqListDncDomainsOutput: z.ZodTypeAny;
6
- declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersistiqListDncDomainsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListDncDomainsOutput: z.ZodObject<{
6
+ domains: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ domain: z.ZodNullable<z.ZodString>;
9
+ created_at: z.ZodNullable<z.ZodString>;
10
+ updated_at: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListDncDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListDncDomains };
9
16
  //# sourceMappingURL=list-dnc-domains.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-dnc-domains.d.mts","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqF;AAAA,cAOrH,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-dnc-domains.d.mts","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/list-dnc-domains.ts
4
4
  const PersistiqListDncDomainsInput = z.object({}).describe("No parameters required for listing DNC domains.");
5
5
  const PersistiqListDncDomains_DncDomainSchema = z.object({
6
- id: z.string().describe("Unique identifier for the DNC domain record"),
7
- domain: z.string().describe("Domain name marked as Do Not Contact"),
8
- created_at: z.string().describe("ISO 8601 timestamp when domain was added to DNC list"),
9
- updated_at: z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated")
10
- });
6
+ id: z.string().describe("Unique identifier for the DNC domain record").nullable(),
7
+ domain: z.string().describe("Domain name marked as Do Not Contact").nullable(),
8
+ created_at: z.string().describe("ISO 8601 timestamp when domain was added to DNC list").nullable(),
9
+ updated_at: z.string().describe("ISO 8601 timestamp when DNC domain entry was last updated").nullable()
10
+ }).passthrough();
11
11
  const persistiqListDncDomains = action("PERSISTIQ_LIST_DNC_DOMAINS", {
12
12
  slug: "persistiq-list-dnc-domains",
13
13
  name: "List Do Not Contact Domains",
14
14
  description: "Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.",
15
15
  input: PersistiqListDncDomainsInput,
16
- output: z.object({ domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") })
16
+ output: z.object({ domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe("List of Do Not Contact domains") }).passthrough()
17
17
  });
18
18
  //#endregion
19
19
  export { persistiqListDncDomains };
@@ -1 +1 @@
1
- {"version":3,"file":"list-dnc-domains.mjs","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput: z.ZodTypeAny = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\"),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\"),\n});\nexport const PersistiqListDncDomainsOutput: z.ZodTypeAny = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n});\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACjI,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC;AAKD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-dnc-domains.mjs","names":[],"sources":["../../src/actions/list-dnc-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListDncDomainsInput = z.object({}).describe(\"No parameters required for listing DNC domains.\");\nconst PersistiqListDncDomains_DncDomainSchema = z.object({\n id: z.string().describe(\"Unique identifier for the DNC domain record\").nullable(),\n domain: z.string().describe(\"Domain name marked as Do Not Contact\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when domain was added to DNC list\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when DNC domain entry was last updated\").nullable(),\n}).passthrough();\nexport const PersistiqListDncDomainsOutput = z.object({\n domains: z.array(PersistiqListDncDomains_DncDomainSchema).describe(\"List of Do Not Contact domains\"),\n}).passthrough();\n\nexport const persistiqListDncDomains = action(\"PERSISTIQ_LIST_DNC_DOMAINS\", {\n slug: \"persistiq-list-dnc-domains\",\n name: \"List Do Not Contact Domains\",\n description: \"Tool to list Do Not Contact domains. Use when you need to retrieve all domains marked as DNC.\",\n input: PersistiqListDncDomainsInput,\n output: PersistiqListDncDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -12,22 +12,22 @@ const PersistiqListEventsInput = zod.z.object({
12
12
  start_at: zod.z.number().int().describe("Only return events after this Unix timestamp (seconds since epoch)").optional()
13
13
  }).describe("Request model for listing PersistIQ events with optional filters.");
14
14
  const PersistiqListEvents_EventSchema = zod.z.object({
15
- id: zod.z.string().describe("Unique event ID"),
15
+ id: zod.z.string().describe("Unique event ID").nullable(),
16
16
  diff: zod.z.unknown().describe("Diff information for update events").nullable().optional(),
17
- kind: zod.z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)"),
17
+ kind: zod.z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)").nullable(),
18
18
  lead: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Lead object as returned by API (can be null)").nullable().optional(),
19
19
  user: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User object as returned by API (can be null)").nullable().optional(),
20
20
  params: zod.z.unknown().describe("Additional parameters for the event").nullable().optional(),
21
21
  user_id: zod.z.string().describe("ID of the user who performed the event").nullable().optional(),
22
22
  campaign: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Campaign object as returned by API (can be null)").nullable().optional(),
23
- event_at: zod.z.string().describe("ISO8601 timestamp of when the event occurred"),
23
+ event_at: zod.z.string().describe("ISO8601 timestamp of when the event occurred").nullable(),
24
24
  lead_status: zod.z.unknown().describe("Lead status if applicable").nullable().optional()
25
- }).describe("Model for a single PersistIQ event.");
25
+ }).passthrough().describe("Model for a single PersistIQ event.");
26
26
  const PersistiqListEventsOutput = zod.z.object({
27
27
  events: zod.z.array(PersistiqListEvents_EventSchema).describe("List of event objects"),
28
28
  has_more: zod.z.boolean().default(false).describe("Whether there are more events to fetch").nullable().optional(),
29
29
  next_page: zod.z.string().describe("URL to fetch next page of results").nullable().optional()
30
- }).describe("Response model for listing PersistIQ events.");
30
+ }).passthrough().describe("Response model for listing PersistIQ events.");
31
31
  const persistiqListEvents = require_action.action("PERSISTIQ_LIST_EVENTS", {
32
32
  slug: "persistiq-list-events",
33
33
  name: "List Events",
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput: z.ZodTypeAny = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique event ID\"),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\"),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\"),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput: z.ZodTypeAny = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAA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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).passthrough().describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,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A,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-events.d.ts
4
- declare const PersistiqListEventsInput: z.ZodTypeAny;
5
- declare const PersistiqListEventsOutput: z.ZodTypeAny;
6
- declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersistiqListEventsInput: z.ZodObject<{
5
+ lead: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ user: z.ZodOptional<z.ZodString>;
8
+ group: z.ZodOptional<z.ZodString>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ end_at: z.ZodOptional<z.ZodNumber>;
11
+ campaign: z.ZodOptional<z.ZodString>;
12
+ start_at: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const PersistiqListEventsOutput: z.ZodObject<{
15
+ events: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ diff: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
18
+ kind: z.ZodNullable<z.ZodString>;
19
+ lead: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
22
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
+ event_at: z.ZodNullable<z.ZodString>;
25
+ lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$loose>>;
27
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>;
30
+ declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ lead?: string | undefined;
32
+ page?: number | undefined;
33
+ user?: string | undefined;
34
+ group?: string | undefined;
35
+ limit?: number | undefined;
36
+ end_at?: number | undefined;
37
+ campaign?: string | undefined;
38
+ start_at?: number | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { persistiqListEvents };
9
42
  //# sourceMappingURL=list-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UASuC;AAAA,cAanE,yBAAA,EAA2B,CAAA,CAAE,UAIiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-events.d.ts
4
- declare const PersistiqListEventsInput: z.ZodTypeAny;
5
- declare const PersistiqListEventsOutput: z.ZodTypeAny;
6
- declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PersistiqListEventsInput: z.ZodObject<{
5
+ lead: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ user: z.ZodOptional<z.ZodString>;
8
+ group: z.ZodOptional<z.ZodString>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ end_at: z.ZodOptional<z.ZodNumber>;
11
+ campaign: z.ZodOptional<z.ZodString>;
12
+ start_at: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const PersistiqListEventsOutput: z.ZodObject<{
15
+ events: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ diff: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
18
+ kind: z.ZodNullable<z.ZodString>;
19
+ lead: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ user: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
22
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ campaign: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
+ event_at: z.ZodNullable<z.ZodString>;
25
+ lead_status: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$loose>>;
27
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ next_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>;
30
+ declare const persistiqListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ lead?: string | undefined;
32
+ page?: number | undefined;
33
+ user?: string | undefined;
34
+ group?: string | undefined;
35
+ limit?: number | undefined;
36
+ end_at?: number | undefined;
37
+ campaign?: string | undefined;
38
+ start_at?: number | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { persistiqListEvents };
9
42
  //# sourceMappingURL=list-events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UASuC;AAAA,cAanE,yBAAA,EAA2B,CAAA,CAAE,UAIiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -12,17 +12,17 @@ const PersistiqListEventsInput = z.object({
12
12
  start_at: z.number().int().describe("Only return events after this Unix timestamp (seconds since epoch)").optional()
13
13
  }).describe("Request model for listing PersistIQ events with optional filters.");
14
14
  const PersistiqListEvents_EventSchema = z.object({
15
- id: z.string().describe("Unique event ID"),
15
+ id: z.string().describe("Unique event ID").nullable(),
16
16
  diff: z.unknown().describe("Diff information for update events").nullable().optional(),
17
- kind: z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)"),
17
+ kind: z.string().describe("Event type/kind (e.g., campaign_created, campaign_lead_created)").nullable(),
18
18
  lead: z.record(z.string(), z.unknown()).describe("Lead object as returned by API (can be null)").nullable().optional(),
19
19
  user: z.record(z.string(), z.unknown()).describe("User object as returned by API (can be null)").nullable().optional(),
20
20
  params: z.unknown().describe("Additional parameters for the event").nullable().optional(),
21
21
  user_id: z.string().describe("ID of the user who performed the event").nullable().optional(),
22
22
  campaign: z.record(z.string(), z.unknown()).describe("Campaign object as returned by API (can be null)").nullable().optional(),
23
- event_at: z.string().describe("ISO8601 timestamp of when the event occurred"),
23
+ event_at: z.string().describe("ISO8601 timestamp of when the event occurred").nullable(),
24
24
  lead_status: z.unknown().describe("Lead status if applicable").nullable().optional()
25
- }).describe("Model for a single PersistIQ event.");
25
+ }).passthrough().describe("Model for a single PersistIQ event.");
26
26
  const persistiqListEvents = action("PERSISTIQ_LIST_EVENTS", {
27
27
  slug: "persistiq-list-events",
28
28
  name: "List Events",
@@ -32,7 +32,7 @@ const persistiqListEvents = action("PERSISTIQ_LIST_EVENTS", {
32
32
  events: z.array(PersistiqListEvents_EventSchema).describe("List of event objects"),
33
33
  has_more: z.boolean().default(false).describe("Whether there are more events to fetch").nullable().optional(),
34
34
  next_page: z.string().describe("URL to fetch next page of results").nullable().optional()
35
- }).describe("Response model for listing PersistIQ events.")
35
+ }).passthrough().describe("Response model for listing PersistIQ events.")
36
36
  });
37
37
  //#endregion
38
38
  export { persistiqListEvents };
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput: z.ZodTypeAny = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique event ID\"),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\"),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\"),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput: z.ZodTypeAny = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kCA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E,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListEventsInput = z.object({\n lead: z.string().describe(\"Only return events related to this lead (UUID)\").optional(),\n page: z.number().int().describe(\"Page of results to return\").optional(),\n user: z.string().describe(\"Only return events performed by this user (UUID)\").optional(),\n group: z.string().describe(\"Only return events belonging to this group (UUID)\").optional(),\n limit: z.number().int().describe(\"Number of results per page (max 100)\").optional(),\n end_at: z.number().int().describe(\"Only return events before this Unix timestamp (seconds since epoch)\").optional(),\n campaign: z.string().describe(\"Only return events from this campaign (UUID)\").optional(),\n start_at: z.number().int().describe(\"Only return events after this Unix timestamp (seconds since epoch)\").optional(),\n}).describe(\"Request model for listing PersistIQ events with optional filters.\");\nconst PersistiqListEvents_EventSchema = z.object({\n id: z.string().describe(\"Unique event ID\").nullable(),\n diff: z.unknown().describe(\"Diff information for update events\").nullable().optional(),\n kind: z.string().describe(\"Event type/kind (e.g., campaign_created, campaign_lead_created)\").nullable(),\n lead: z.record(z.string(), z.unknown()).describe(\"Lead object as returned by API (can be null)\").nullable().optional(),\n user: z.record(z.string(), z.unknown()).describe(\"User object as returned by API (can be null)\").nullable().optional(),\n params: z.unknown().describe(\"Additional parameters for the event\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who performed the event\").nullable().optional(),\n campaign: z.record(z.string(), z.unknown()).describe(\"Campaign object as returned by API (can be null)\").nullable().optional(),\n event_at: z.string().describe(\"ISO8601 timestamp of when the event occurred\").nullable(),\n lead_status: z.unknown().describe(\"Lead status if applicable\").nullable().optional(),\n}).passthrough().describe(\"Model for a single PersistIQ event.\");\nexport const PersistiqListEventsOutput = z.object({\n events: z.array(PersistiqListEvents_EventSchema).describe(\"List of event objects\"),\n has_more: z.boolean().default(false).describe(\"Whether there are more events to fetch\").nullable().optional(),\n next_page: z.string().describe(\"URL to fetch next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PersistIQ events.\");\n\nexport const persistiqListEvents = action(\"PERSISTIQ_LIST_EVENTS\", {\n slug: \"persistiq-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve a list of PersistIQ events. Use when you need to fetch events filtered by group, campaign, lead, user, or time range.\",\n input: PersistiqListEventsInput,\n output: PersistiqListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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AAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/list-lead-fields.ts
4
4
  const PersistiqListLeadFieldsInput = zod.z.object({}).describe("Request schema for listing lead fields. No parameters required.");
5
5
  const PersistiqListLeadFields_LeadFieldSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the lead field"),
7
- name: zod.z.string().describe("Internal name of the lead field"),
8
- label: zod.z.string().describe("Display label of the lead field"),
9
- data_kind: zod.z.string().describe("Type of the lead field (e.g., string_type)")
10
- }).describe("Schema for a PersistIQ lead field.");
11
- const PersistiqListLeadFieldsOutput = zod.z.object({ lead_fields: zod.z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).describe("Response schema for listing lead fields.");
6
+ id: zod.z.string().describe("Unique identifier of the lead field").nullable(),
7
+ name: zod.z.string().describe("Internal name of the lead field").nullable(),
8
+ label: zod.z.string().describe("Display label of the lead field").nullable(),
9
+ data_kind: zod.z.string().describe("Type of the lead field (e.g., string_type)").nullable()
10
+ }).passthrough().describe("Schema for a PersistIQ lead field.");
11
+ const PersistiqListLeadFieldsOutput = zod.z.object({ lead_fields: zod.z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).passthrough().describe("Response schema for listing lead fields.");
12
12
  const persistiqListLeadFields = require_action.action("PERSISTIQ_LIST_LEAD_FIELDS", {
13
13
  slug: "persistiq-list-lead-fields",
14
14
  name: "List Lead Fields",
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput: z.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,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACjJ,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-lead-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).passthrough().describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).passthrough().describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-lead-fields.d.ts
4
- declare const PersistiqListLeadFieldsInput: z.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]>;
4
+ declare const PersistiqListLeadFieldsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
6
+ lead_fields: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ label: z.ZodNullable<z.ZodString>;
10
+ data_kind: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListLeadFields };
9
16
  //# sourceMappingURL=list-lead-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-fields.d.cts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAOrI,6BAAA,EAA+B,CAAA,CAAE,UAES;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-lead-fields.d.cts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-lead-fields.d.ts
4
- declare const PersistiqListLeadFieldsInput: z.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]>;
4
+ declare const PersistiqListLeadFieldsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListLeadFieldsOutput: z.ZodObject<{
6
+ lead_fields: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ label: z.ZodNullable<z.ZodString>;
10
+ data_kind: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListLeadFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListLeadFields };
9
16
  //# sourceMappingURL=list-lead-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-fields.d.mts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAOrI,6BAAA,EAA+B,CAAA,CAAE,UAES;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-lead-fields.d.mts","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/list-lead-fields.ts
4
4
  const PersistiqListLeadFieldsInput = z.object({}).describe("Request schema for listing lead fields. No parameters required.");
5
5
  const PersistiqListLeadFields_LeadFieldSchema = z.object({
6
- id: z.string().describe("Unique identifier of the lead field"),
7
- name: z.string().describe("Internal name of the lead field"),
8
- label: z.string().describe("Display label of the lead field"),
9
- data_kind: z.string().describe("Type of the lead field (e.g., string_type)")
10
- }).describe("Schema for a PersistIQ lead field.");
6
+ id: z.string().describe("Unique identifier of the lead field").nullable(),
7
+ name: z.string().describe("Internal name of the lead field").nullable(),
8
+ label: z.string().describe("Display label of the lead field").nullable(),
9
+ data_kind: z.string().describe("Type of the lead field (e.g., string_type)").nullable()
10
+ }).passthrough().describe("Schema for a PersistIQ lead field.");
11
11
  const persistiqListLeadFields = action("PERSISTIQ_LIST_LEAD_FIELDS", {
12
12
  slug: "persistiq-list-lead-fields",
13
13
  name: "List Lead Fields",
14
14
  description: "Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.",
15
15
  input: PersistiqListLeadFieldsInput,
16
- output: z.object({ lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).describe("Response schema for listing lead fields.")
16
+ output: z.object({ lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe("List of lead fields") }).passthrough().describe("Response schema for listing lead fields.")
17
17
  });
18
18
  //#endregion
19
19
  export { persistiqListLeadFields };
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-fields.mjs","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput: z.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"}
1
+ {"version":3,"file":"list-lead-fields.mjs","names":[],"sources":["../../src/actions/list-lead-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadFieldsInput = z.object({}).describe(\"Request schema for listing lead fields. No parameters required.\");\nconst PersistiqListLeadFields_LeadFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lead field\").nullable(),\n name: z.string().describe(\"Internal name of the lead field\").nullable(),\n label: z.string().describe(\"Display label of the lead field\").nullable(),\n data_kind: z.string().describe(\"Type of the lead field (e.g., string_type)\").nullable(),\n}).passthrough().describe(\"Schema for a PersistIQ lead field.\");\nexport const PersistiqListLeadFieldsOutput = z.object({\n lead_fields: z.array(PersistiqListLeadFields_LeadFieldSchema).describe(\"List of lead fields\"),\n}).passthrough().describe(\"Response schema for listing lead fields.\");\n\nexport const persistiqListLeadFields = action(\"PERSISTIQ_LIST_LEAD_FIELDS\", {\n slug: \"persistiq-list-lead-fields\",\n name: \"List Lead Fields\",\n description: \"Tool to list all lead fields for your company. Use when you need to retrieve available custom lead fields.\",\n input: PersistiqListLeadFieldsInput,\n output: PersistiqListLeadFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACnI,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qBAAqB,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/list-lead-statuses.ts
4
4
  const PersistiqListLeadStatusesInput = zod.z.object({}).describe("Request model for listing lead statuses. No parameters required.");
5
5
  const PersistiqListLeadStatuses_LeadStatusSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the lead status"),
7
- name: zod.z.string().describe("Name of the lead status"),
6
+ id: zod.z.string().describe("Unique identifier for the lead status").nullable(),
7
+ name: zod.z.string().describe("Name of the lead status").nullable(),
8
8
  "default": zod.z.boolean().describe("Flag indicating if this is the default lead status").nullable().optional(),
9
9
  position: zod.z.number().int().describe("Position/order of this status in the pipeline").nullable().optional()
10
- });
11
- const PersistiqListLeadStatusesOutput = zod.z.object({ lead_statuses: zod.z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") });
10
+ }).passthrough();
11
+ const PersistiqListLeadStatusesOutput = zod.z.object({ lead_statuses: zod.z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe("List of lead status objects for the company") }).passthrough();
12
12
  const persistiqListLeadStatuses = require_action.action("PERSISTIQ_LIST_LEAD_STATUSES", {
13
13
  slug: "persistiq-list-lead-statuses",
14
14
  name: "List lead statuses",
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput: z.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"}
1
+ {"version":3,"file":"list-lead-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-lead-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersistiqListLeadStatusesInput = z.object({}).describe(\"Request model for listing lead statuses. No parameters required.\");\nconst PersistiqListLeadStatuses_LeadStatusSchema = z.object({\n id: z.string().describe(\"Unique identifier for the lead status\").nullable(),\n name: z.string().describe(\"Name of the lead status\").nullable(),\n \"default\": z.boolean().describe(\"Flag indicating if this is the default lead status\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of this status in the pipeline\").nullable().optional(),\n}).passthrough();\nexport const PersistiqListLeadStatusesOutput = z.object({\n lead_statuses: z.array(PersistiqListLeadStatuses_LeadStatusSchema).describe(\"List of lead status objects for the company\"),\n}).passthrough();\n\nexport const persistiqListLeadStatuses = action(\"PERSISTIQ_LIST_LEAD_STATUSES\", {\n slug: \"persistiq-list-lead-statuses\",\n name: \"List lead statuses\",\n description: \"Tool to retrieve all lead statuses for your company. Use when you need to list available lead statuses after confirming authentication with PersistIQ.\",\n input: PersistiqListLeadStatusesInput,\n output: PersistiqListLeadStatusesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,EAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-lead-statuses.d.ts
4
- declare const PersistiqListLeadStatusesInput: z.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]>;
4
+ declare const PersistiqListLeadStatusesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
6
+ lead_statuses: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListLeadStatuses };
9
16
  //# sourceMappingURL=list-lead-statuses.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-lead-statuses.d.cts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAsG;AAAA,cAOxI,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-lead-statuses.d.cts","names":[],"sources":["../../src/actions/list-lead-statuses.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-lead-statuses.d.ts
4
- declare const PersistiqListLeadStatusesInput: z.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]>;
4
+ declare const PersistiqListLeadStatusesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PersistiqListLeadStatusesOutput: z.ZodObject<{
6
+ lead_statuses: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const persistiqListLeadStatuses: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { persistiqListLeadStatuses };
9
16
  //# sourceMappingURL=list-lead-statuses.d.mts.map