@keystrokehq/phantombuster 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 (429) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.cjs +3 -3
  4. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  5. package/dist/actions/abort-agent-v1.d.cts +12 -3
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +12 -3
  8. package/dist/actions/abort-agent-v1.d.mts.map +1 -1
  9. package/dist/actions/abort-agent-v1.mjs +3 -3
  10. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  11. package/dist/actions/delete-agent.cjs +3 -3
  12. package/dist/actions/delete-agent.cjs.map +1 -1
  13. package/dist/actions/delete-agent.d.cts +14 -3
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +14 -3
  16. package/dist/actions/delete-agent.d.mts.map +1 -1
  17. package/dist/actions/delete-agent.mjs +3 -3
  18. package/dist/actions/delete-agent.mjs.map +1 -1
  19. package/dist/actions/delete-lead-objects.cjs +1 -1
  20. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  21. package/dist/actions/delete-lead-objects.d.cts +13 -3
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +13 -3
  24. package/dist/actions/delete-lead-objects.d.mts.map +1 -1
  25. package/dist/actions/delete-lead-objects.mjs +1 -1
  26. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  27. package/dist/actions/delete-leads-many.cjs +1 -1
  28. package/dist/actions/delete-leads-many.cjs.map +1 -1
  29. package/dist/actions/delete-leads-many.d.cts +11 -3
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +11 -3
  32. package/dist/actions/delete-leads-many.d.mts.map +1 -1
  33. package/dist/actions/delete-leads-many.mjs +1 -1
  34. package/dist/actions/delete-leads-many.mjs.map +1 -1
  35. package/dist/actions/delete-list.cjs +1 -1
  36. package/dist/actions/delete-list.cjs.map +1 -1
  37. package/dist/actions/delete-list.d.cts +11 -3
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +11 -3
  40. package/dist/actions/delete-list.d.mts.map +1 -1
  41. package/dist/actions/delete-list.mjs +1 -1
  42. package/dist/actions/delete-list.mjs.map +1 -1
  43. package/dist/actions/delete-script.cjs +3 -3
  44. package/dist/actions/delete-script.cjs.map +1 -1
  45. package/dist/actions/delete-script.d.cts +21 -3
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +21 -3
  48. package/dist/actions/delete-script.d.mts.map +1 -1
  49. package/dist/actions/delete-script.mjs +3 -3
  50. package/dist/actions/delete-script.mjs.map +1 -1
  51. package/dist/actions/get-agent-containers.cjs +2 -2
  52. package/dist/actions/get-agent-containers.cjs.map +1 -1
  53. package/dist/actions/get-agent-containers.d.cts +20 -3
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +20 -3
  56. package/dist/actions/get-agent-containers.d.mts.map +1 -1
  57. package/dist/actions/get-agent-containers.mjs +2 -2
  58. package/dist/actions/get-agent-containers.mjs.map +1 -1
  59. package/dist/actions/get-agent-output.cjs +4 -4
  60. package/dist/actions/get-agent-output.cjs.map +1 -1
  61. package/dist/actions/get-agent-output.d.cts +36 -3
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +36 -3
  64. package/dist/actions/get-agent-output.d.mts.map +1 -1
  65. package/dist/actions/get-agent-output.mjs +4 -4
  66. package/dist/actions/get-agent-output.mjs.map +1 -1
  67. package/dist/actions/get-agent.cjs +26 -26
  68. package/dist/actions/get-agent.cjs.map +1 -1
  69. package/dist/actions/get-agent.d.cts +198 -3
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +198 -3
  72. package/dist/actions/get-agent.d.mts.map +1 -1
  73. package/dist/actions/get-agent.mjs +26 -26
  74. package/dist/actions/get-agent.mjs.map +1 -1
  75. package/dist/actions/get-agents-fetch-all.cjs +4 -4
  76. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  77. package/dist/actions/get-agents-fetch-all.d.cts +29 -3
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +29 -3
  80. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
  81. package/dist/actions/get-agents-fetch-all.mjs +4 -4
  82. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  83. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
  84. package/dist/actions/get-agents-fetch-deleted.d.cts +3 -3
  85. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  86. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -3
  87. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
  88. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
  89. package/dist/actions/get-branches-diff.cjs.map +1 -1
  90. package/dist/actions/get-branches-diff.d.cts +9 -3
  91. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  92. package/dist/actions/get-branches-diff.d.mts +9 -3
  93. package/dist/actions/get-branches-diff.d.mts.map +1 -1
  94. package/dist/actions/get-branches-diff.mjs.map +1 -1
  95. package/dist/actions/get-branches-fetch-all.cjs +4 -4
  96. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  97. package/dist/actions/get-branches-fetch-all.d.cts +11 -3
  98. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  99. package/dist/actions/get-branches-fetch-all.d.mts +11 -3
  100. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
  101. package/dist/actions/get-branches-fetch-all.mjs +4 -4
  102. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  103. package/dist/actions/get-containers-fetch-all.cjs +8 -8
  104. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  105. package/dist/actions/get-containers-fetch-all.d.cts +21 -3
  106. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  107. package/dist/actions/get-containers-fetch-all.d.mts +21 -3
  108. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
  109. package/dist/actions/get-containers-fetch-all.mjs +8 -8
  110. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  111. package/dist/actions/get-leads-by-list.cjs +1 -1
  112. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  113. package/dist/actions/get-leads-by-list.d.cts +33 -3
  114. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  115. package/dist/actions/get-leads-by-list.d.mts +33 -3
  116. package/dist/actions/get-leads-by-list.d.mts.map +1 -1
  117. package/dist/actions/get-leads-by-list.mjs +1 -1
  118. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  119. package/dist/actions/get-location-ip.cjs +1 -1
  120. package/dist/actions/get-location-ip.cjs.map +1 -1
  121. package/dist/actions/get-location-ip.d.cts +9 -3
  122. package/dist/actions/get-location-ip.d.cts.map +1 -1
  123. package/dist/actions/get-location-ip.d.mts +9 -3
  124. package/dist/actions/get-location-ip.d.mts.map +1 -1
  125. package/dist/actions/get-location-ip.mjs +1 -1
  126. package/dist/actions/get-location-ip.mjs.map +1 -1
  127. package/dist/actions/get-org-storage-lists-fetch-all.cjs +5 -5
  128. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  129. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +13 -3
  130. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
  131. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +13 -3
  132. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
  133. package/dist/actions/get-org-storage-lists-fetch-all.mjs +5 -5
  134. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  135. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
  136. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  137. package/dist/actions/get-orgs-export-agent-usage.d.cts +11 -3
  138. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
  139. package/dist/actions/get-orgs-export-agent-usage.d.mts +11 -3
  140. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
  141. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
  142. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  143. package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
  144. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  145. package/dist/actions/get-orgs-export-container-usage.d.cts +11 -3
  146. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
  147. package/dist/actions/get-orgs-export-container-usage.d.mts +11 -3
  148. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
  149. package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
  150. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  151. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -1
  152. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  153. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -3
  154. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
  155. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -3
  156. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
  157. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
  158. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  159. package/dist/actions/get-orgs-fetch-resources.cjs +33 -33
  160. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  161. package/dist/actions/get-orgs-fetch-resources.d.cts +48 -3
  162. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  163. package/dist/actions/get-orgs-fetch-resources.d.mts +48 -3
  164. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
  165. package/dist/actions/get-orgs-fetch-resources.mjs +33 -33
  166. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  167. package/dist/actions/get-orgs-fetch-running-containers.cjs +7 -7
  168. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  169. package/dist/actions/get-orgs-fetch-running-containers.d.cts +11 -3
  170. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
  171. package/dist/actions/get-orgs-fetch-running-containers.d.mts +11 -3
  172. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
  173. package/dist/actions/get-orgs-fetch-running-containers.mjs +7 -7
  174. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  175. package/dist/actions/get-orgs-fetch.cjs +3 -3
  176. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  177. package/dist/actions/get-orgs-fetch.d.cts +9 -3
  178. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  179. package/dist/actions/get-orgs-fetch.d.mts +9 -3
  180. package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
  181. package/dist/actions/get-orgs-fetch.mjs +3 -3
  182. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  183. package/dist/actions/get-script-by-name.cjs +3 -3
  184. package/dist/actions/get-script-by-name.cjs.map +1 -1
  185. package/dist/actions/get-script-by-name.d.cts +23 -3
  186. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  187. package/dist/actions/get-script-by-name.d.mts +23 -3
  188. package/dist/actions/get-script-by-name.d.mts.map +1 -1
  189. package/dist/actions/get-script-by-name.mjs +3 -3
  190. package/dist/actions/get-script-by-name.mjs.map +1 -1
  191. package/dist/actions/get-script.cjs +13 -13
  192. package/dist/actions/get-script.cjs.map +1 -1
  193. package/dist/actions/get-script.d.cts +65 -3
  194. package/dist/actions/get-script.d.cts.map +1 -1
  195. package/dist/actions/get-script.d.mts +65 -3
  196. package/dist/actions/get-script.d.mts.map +1 -1
  197. package/dist/actions/get-script.mjs +13 -13
  198. package/dist/actions/get-script.mjs.map +1 -1
  199. package/dist/actions/get-scripts-code.cjs +1 -1
  200. package/dist/actions/get-scripts-code.cjs.map +1 -1
  201. package/dist/actions/get-scripts-code.d.cts +20 -3
  202. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  203. package/dist/actions/get-scripts-code.d.mts +20 -3
  204. package/dist/actions/get-scripts-code.d.mts.map +1 -1
  205. package/dist/actions/get-scripts-code.mjs +1 -1
  206. package/dist/actions/get-scripts-code.mjs.map +1 -1
  207. package/dist/actions/get-scripts-fetch-all.cjs +9 -9
  208. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  209. package/dist/actions/get-scripts-fetch-all.d.cts +13 -3
  210. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  211. package/dist/actions/get-scripts-fetch-all.d.mts +13 -3
  212. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
  213. package/dist/actions/get-scripts-fetch-all.mjs +9 -9
  214. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  215. package/dist/actions/get-user.cjs +7 -7
  216. package/dist/actions/get-user.cjs.map +1 -1
  217. package/dist/actions/get-user.d.cts +22 -3
  218. package/dist/actions/get-user.d.cts.map +1 -1
  219. package/dist/actions/get-user.d.mts +22 -3
  220. package/dist/actions/get-user.d.mts.map +1 -1
  221. package/dist/actions/get-user.mjs +7 -7
  222. package/dist/actions/get-user.mjs.map +1 -1
  223. package/dist/actions/post-agents-unschedule-all.cjs +1 -1
  224. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  225. package/dist/actions/post-agents-unschedule-all.d.cts +3 -3
  226. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  227. package/dist/actions/post-agents-unschedule-all.d.mts +3 -3
  228. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  229. package/dist/actions/post-agents-unschedule-all.mjs +1 -1
  230. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  231. package/dist/actions/post-ai-completions.cjs +8 -8
  232. package/dist/actions/post-ai-completions.cjs.map +1 -1
  233. package/dist/actions/post-ai-completions.d.cts +31 -3
  234. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  235. package/dist/actions/post-ai-completions.d.mts +31 -3
  236. package/dist/actions/post-ai-completions.d.mts.map +1 -1
  237. package/dist/actions/post-ai-completions.mjs +8 -8
  238. package/dist/actions/post-ai-completions.mjs.map +1 -1
  239. package/dist/actions/post-branches-create.cjs +3 -3
  240. package/dist/actions/post-branches-create.cjs.map +1 -1
  241. package/dist/actions/post-branches-create.d.cts +12 -3
  242. package/dist/actions/post-branches-create.d.cts.map +1 -1
  243. package/dist/actions/post-branches-create.d.mts +12 -3
  244. package/dist/actions/post-branches-create.d.mts.map +1 -1
  245. package/dist/actions/post-branches-create.mjs +3 -3
  246. package/dist/actions/post-branches-create.mjs.map +1 -1
  247. package/dist/actions/post-branches-delete.cjs +3 -3
  248. package/dist/actions/post-branches-delete.cjs.map +1 -1
  249. package/dist/actions/post-branches-delete.d.cts +12 -3
  250. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  251. package/dist/actions/post-branches-delete.d.mts +12 -3
  252. package/dist/actions/post-branches-delete.d.mts.map +1 -1
  253. package/dist/actions/post-branches-delete.mjs +3 -3
  254. package/dist/actions/post-branches-delete.mjs.map +1 -1
  255. package/dist/actions/post-hcaptcha.cjs +1 -1
  256. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  257. package/dist/actions/post-hcaptcha.d.cts +16 -3
  258. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  259. package/dist/actions/post-hcaptcha.d.mts +16 -3
  260. package/dist/actions/post-hcaptcha.d.mts.map +1 -1
  261. package/dist/actions/post-hcaptcha.mjs +1 -1
  262. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  263. package/dist/actions/post-identities-generate-token.cjs +4 -4
  264. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  265. package/dist/actions/post-identities-generate-token.d.cts +7 -3
  266. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  267. package/dist/actions/post-identities-generate-token.d.mts +7 -3
  268. package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
  269. package/dist/actions/post-identities-generate-token.mjs +4 -4
  270. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  271. package/dist/actions/post-org-storage-leads-save-many.cjs +14 -14
  272. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  273. package/dist/actions/post-org-storage-leads-save-many.d.cts +132 -3
  274. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
  275. package/dist/actions/post-org-storage-leads-save-many.d.mts +132 -3
  276. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
  277. package/dist/actions/post-org-storage-leads-save-many.mjs +14 -14
  278. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  279. package/dist/actions/post-recaptcha.cjs +1 -1
  280. package/dist/actions/post-recaptcha.cjs.map +1 -1
  281. package/dist/actions/post-recaptcha.d.cts +21 -3
  282. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  283. package/dist/actions/post-recaptcha.d.mts +21 -3
  284. package/dist/actions/post-recaptcha.d.mts.map +1 -1
  285. package/dist/actions/post-recaptcha.mjs +1 -1
  286. package/dist/actions/post-recaptcha.mjs.map +1 -1
  287. package/dist/actions/post-scripts-visibility.cjs +1 -1
  288. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  289. package/dist/actions/post-scripts-visibility.d.cts +21 -3
  290. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  291. package/dist/actions/post-scripts-visibility.d.mts +21 -3
  292. package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
  293. package/dist/actions/post-scripts-visibility.mjs +1 -1
  294. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  295. package/dist/actions/release-branch.cjs +2 -2
  296. package/dist/actions/release-branch.cjs.map +1 -1
  297. package/dist/actions/release-branch.d.cts +14 -3
  298. package/dist/actions/release-branch.d.cts.map +1 -1
  299. package/dist/actions/release-branch.d.mts +14 -3
  300. package/dist/actions/release-branch.d.mts.map +1 -1
  301. package/dist/actions/release-branch.mjs +2 -2
  302. package/dist/actions/release-branch.mjs.map +1 -1
  303. package/dist/actions/save-agent-groups.cjs +5 -5
  304. package/dist/actions/save-agent-groups.cjs.map +1 -1
  305. package/dist/actions/save-agent-groups.d.cts +24 -3
  306. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  307. package/dist/actions/save-agent-groups.d.mts +24 -3
  308. package/dist/actions/save-agent-groups.d.mts.map +1 -1
  309. package/dist/actions/save-agent-groups.mjs +5 -5
  310. package/dist/actions/save-agent-groups.mjs.map +1 -1
  311. package/dist/actions/save-agent.cjs +2 -2
  312. package/dist/actions/save-agent.cjs.map +1 -1
  313. package/dist/actions/save-agent.d.cts +200 -3
  314. package/dist/actions/save-agent.d.cts.map +1 -1
  315. package/dist/actions/save-agent.d.mts +200 -3
  316. package/dist/actions/save-agent.d.mts.map +1 -1
  317. package/dist/actions/save-agent.mjs +2 -2
  318. package/dist/actions/save-agent.mjs.map +1 -1
  319. package/dist/actions/save-company-object.cjs +5 -5
  320. package/dist/actions/save-company-object.cjs.map +1 -1
  321. package/dist/actions/save-company-object.d.cts +24 -3
  322. package/dist/actions/save-company-object.d.cts.map +1 -1
  323. package/dist/actions/save-company-object.d.mts +24 -3
  324. package/dist/actions/save-company-object.d.mts.map +1 -1
  325. package/dist/actions/save-company-object.mjs +5 -5
  326. package/dist/actions/save-company-object.mjs.map +1 -1
  327. package/dist/actions/save-company-objects-many.cjs +14 -14
  328. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  329. package/dist/actions/save-company-objects-many.d.cts +38 -3
  330. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  331. package/dist/actions/save-company-objects-many.d.mts +38 -3
  332. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  333. package/dist/actions/save-company-objects-many.mjs +14 -14
  334. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  335. package/dist/actions/save-identity-event.cjs +7 -7
  336. package/dist/actions/save-identity-event.cjs.map +1 -1
  337. package/dist/actions/save-identity-event.d.cts +23 -3
  338. package/dist/actions/save-identity-event.d.cts.map +1 -1
  339. package/dist/actions/save-identity-event.d.mts +23 -3
  340. package/dist/actions/save-identity-event.d.mts.map +1 -1
  341. package/dist/actions/save-identity-event.mjs +7 -7
  342. package/dist/actions/save-identity-event.mjs.map +1 -1
  343. package/dist/actions/save-lead-object.cjs +5 -5
  344. package/dist/actions/save-lead-object.cjs.map +1 -1
  345. package/dist/actions/save-lead-object.d.cts +30 -3
  346. package/dist/actions/save-lead-object.d.cts.map +1 -1
  347. package/dist/actions/save-lead-object.d.mts +30 -3
  348. package/dist/actions/save-lead-object.d.mts.map +1 -1
  349. package/dist/actions/save-lead-object.mjs +5 -5
  350. package/dist/actions/save-lead-object.mjs.map +1 -1
  351. package/dist/actions/save-lead.cjs +3 -3
  352. package/dist/actions/save-lead.cjs.map +1 -1
  353. package/dist/actions/save-lead.d.cts +175 -3
  354. package/dist/actions/save-lead.d.cts.map +1 -1
  355. package/dist/actions/save-lead.d.mts +175 -3
  356. package/dist/actions/save-lead.d.mts.map +1 -1
  357. package/dist/actions/save-lead.mjs +3 -3
  358. package/dist/actions/save-lead.mjs.map +1 -1
  359. package/dist/actions/save-leads-objects-many.cjs +9 -9
  360. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  361. package/dist/actions/save-leads-objects-many.d.cts +36 -3
  362. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  363. package/dist/actions/save-leads-objects-many.d.mts +36 -3
  364. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  365. package/dist/actions/save-leads-objects-many.mjs +9 -9
  366. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  367. package/dist/actions/save-list.cjs +4 -4
  368. package/dist/actions/save-list.cjs.map +1 -1
  369. package/dist/actions/save-list.d.cts +28 -3
  370. package/dist/actions/save-list.d.cts.map +1 -1
  371. package/dist/actions/save-list.d.mts +28 -3
  372. package/dist/actions/save-list.d.mts.map +1 -1
  373. package/dist/actions/save-list.mjs +4 -4
  374. package/dist/actions/save-list.mjs.map +1 -1
  375. package/dist/actions/save-script.cjs +4 -4
  376. package/dist/actions/save-script.cjs.map +1 -1
  377. package/dist/actions/save-script.d.cts +41 -3
  378. package/dist/actions/save-script.d.cts.map +1 -1
  379. package/dist/actions/save-script.d.mts +41 -3
  380. package/dist/actions/save-script.d.mts.map +1 -1
  381. package/dist/actions/save-script.mjs +4 -4
  382. package/dist/actions/save-script.mjs.map +1 -1
  383. package/dist/actions/search-company-objects.cjs +4 -4
  384. package/dist/actions/search-company-objects.cjs.map +1 -1
  385. package/dist/actions/search-company-objects.d.cts +16 -3
  386. package/dist/actions/search-company-objects.d.cts.map +1 -1
  387. package/dist/actions/search-company-objects.d.mts +16 -3
  388. package/dist/actions/search-company-objects.d.mts.map +1 -1
  389. package/dist/actions/search-company-objects.mjs +4 -4
  390. package/dist/actions/search-company-objects.mjs.map +1 -1
  391. package/dist/actions/search-lead-objects.cjs +1 -1
  392. package/dist/actions/search-lead-objects.cjs.map +1 -1
  393. package/dist/actions/search-lead-objects.d.cts +17 -3
  394. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  395. package/dist/actions/search-lead-objects.d.mts +17 -3
  396. package/dist/actions/search-lead-objects.d.mts.map +1 -1
  397. package/dist/actions/search-lead-objects.mjs +1 -1
  398. package/dist/actions/search-lead-objects.mjs.map +1 -1
  399. package/dist/actions/stop-agent.cjs +1 -1
  400. package/dist/actions/stop-agent.cjs.map +1 -1
  401. package/dist/actions/stop-agent.d.cts +18 -3
  402. package/dist/actions/stop-agent.d.cts.map +1 -1
  403. package/dist/actions/stop-agent.d.mts +18 -3
  404. package/dist/actions/stop-agent.d.mts.map +1 -1
  405. package/dist/actions/stop-agent.mjs +1 -1
  406. package/dist/actions/stop-agent.mjs.map +1 -1
  407. package/dist/actions/update-script.cjs +2 -2
  408. package/dist/actions/update-script.cjs.map +1 -1
  409. package/dist/actions/update-script.d.cts +14 -3
  410. package/dist/actions/update-script.d.cts.map +1 -1
  411. package/dist/actions/update-script.d.mts +14 -3
  412. package/dist/actions/update-script.d.mts.map +1 -1
  413. package/dist/actions/update-script.mjs +2 -2
  414. package/dist/actions/update-script.mjs.map +1 -1
  415. package/dist/actions/update-scripts-access-list.cjs +2 -2
  416. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  417. package/dist/actions/update-scripts-access-list.d.cts +18 -3
  418. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  419. package/dist/actions/update-scripts-access-list.d.mts +18 -3
  420. package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
  421. package/dist/actions/update-scripts-access-list.mjs +2 -2
  422. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  423. package/dist/catalog.cjs +7 -1
  424. package/dist/catalog.cjs.map +1 -1
  425. package/dist/catalog.d.cts +8 -0
  426. package/dist/catalog.d.mts +8 -0
  427. package/dist/catalog.mjs +7 -1
  428. package/dist/catalog.mjs.map +1 -1
  429. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["phantombuster","executePhantombusterTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { phantombuster } from \"./app\";\nimport { executePhantombusterTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return phantombuster.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePhantombusterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["phantombuster","executePhantombusterTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { phantombuster } from \"./app\";\nimport { executePhantombusterTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return phantombuster.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePhantombusterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { phantombuster } from \"./app\";\nimport { executePhantombusterTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return phantombuster.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePhantombusterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { phantombuster } from \"./app\";\nimport { executePhantombusterTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return phantombuster.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePhantombusterTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -5,11 +5,11 @@ const PhantombusterAbortAgentV1Input = zod.z.object({
5
5
  id: zod.z.number().int().describe("ID of the agent to abort. All running instances of this agent will be stopped."),
6
6
  softAbort: zod.z.boolean().describe("If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.").optional()
7
7
  }).describe("Request model for POST /api/v1/agent/{id}/abort.");
8
- const PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = zod.z.object({}).describe("Data object for abort agent response.");
8
+ const PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Data object for abort agent response.");
9
9
  const PhantombusterAbortAgentV1Output = zod.z.object({
10
10
  data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),
11
- status: zod.z.string().describe("Status of the abort operation, typically 'success' or 'error'.")
12
- }).describe("Response model for POST /api/v1/agent/{id}/abort.");
11
+ status: zod.z.string().describe("Status of the abort operation, typically 'success' or 'error'.").nullable()
12
+ }).passthrough().describe("Response model for POST /api/v1/agent/{id}/abort.");
13
13
  const phantombusterAbortAgentV1 = require_action.action("PHANTOMBUSTER_ABORT_AGENT_V1", {
14
14
  slug: "phantombuster-abort-agent-v1",
15
15
  name: "Abort Agent (v1)",
@@ -1 +1 @@
1
- {"version":3,"file":"abort-agent-v1.cjs","names":["z","action"],"sources":["../../src/actions/abort-agent-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterAbortAgentV1Input: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the agent to abort. All running instances of this agent will be stopped.\"),\n softAbort: z.boolean().describe(\"If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.\").optional(),\n}).describe(\"Request model for POST /api/v1/agent/{id}/abort.\");\nconst PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema: z.ZodTypeAny = z.object({}).describe(\"Data object for abort agent response.\");\nexport const PhantombusterAbortAgentV1Output: z.ZodTypeAny = z.object({\n data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the abort operation, typically 'success' or 'error'.\"),\n}).describe(\"Response model for POST /api/v1/agent/{id}/abort.\");\n\nexport const phantombusterAbortAgentV1 = action(\"PHANTOMBUSTER_ABORT_AGENT_V1\", {\n slug: \"phantombuster-abort-agent-v1\",\n name: \"Abort Agent (v1)\",\n description: \"Tool to abort all running instances of an agent using the legacy v1 API. Use when you need to immediately stop an agent's execution. Supports soft abort for graceful shutdown.\",\n input: PhantombusterAbortAgentV1Input,\n output: PhantombusterAbortAgentV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2DAAyEA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAC5I,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"abort-agent-v1.cjs","names":["z","action"],"sources":["../../src/actions/abort-agent-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterAbortAgentV1Input = z.object({\n id: z.number().int().describe(\"ID of the agent to abort. All running instances of this agent will be stopped.\"),\n softAbort: z.boolean().describe(\"If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.\").optional(),\n}).describe(\"Request model for POST /api/v1/agent/{id}/abort.\");\nconst PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = z.record(z.string(), z.unknown()).describe(\"Data object for abort agent response.\");\nexport const PhantombusterAbortAgentV1Output = z.object({\n data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the abort operation, typically 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /api/v1/agent/{id}/abort.\");\n\nexport const phantombusterAbortAgentV1 = action(\"PHANTOMBUSTER_ABORT_AGENT_V1\", {\n slug: \"phantombuster-abort-agent-v1\",\n name: \"Abort Agent (v1)\",\n description: \"Tool to abort all running instances of an agent using the legacy v1 API. Use when you need to immediately stop an agent's execution. Supports soft abort for graceful shutdown.\",\n input: PhantombusterAbortAgentV1Input,\n output: PhantombusterAbortAgentV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2DAA2DA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnJ,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/abort-agent-v1.d.ts
4
- declare const PhantombusterAbortAgentV1Input: z.ZodTypeAny;
5
- declare const PhantombusterAbortAgentV1Output: z.ZodTypeAny;
6
- declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterAbortAgentV1Input: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ softAbort: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterAbortAgentV1Output: z.ZodObject<{
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ status: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ softAbort?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { phantombusterAbortAgentV1 };
9
18
  //# sourceMappingURL=abort-agent-v1.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abort-agent-v1.d.cts","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGgB;AAAA,cAElD,+BAAA,EAAiC,CAAA,CAAE,UAGgB;AAAA,cAEnD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"abort-agent-v1.d.cts","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/abort-agent-v1.d.ts
4
- declare const PhantombusterAbortAgentV1Input: z.ZodTypeAny;
5
- declare const PhantombusterAbortAgentV1Output: z.ZodTypeAny;
6
- declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterAbortAgentV1Input: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ softAbort: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterAbortAgentV1Output: z.ZodObject<{
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ status: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ softAbort?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { phantombusterAbortAgentV1 };
9
18
  //# sourceMappingURL=abort-agent-v1.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abort-agent-v1.d.mts","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGgB;AAAA,cAElD,+BAAA,EAAiC,CAAA,CAAE,UAGgB;AAAA,cAEnD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"abort-agent-v1.d.mts","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -5,7 +5,7 @@ const PhantombusterAbortAgentV1Input = z.object({
5
5
  id: z.number().int().describe("ID of the agent to abort. All running instances of this agent will be stopped."),
6
6
  softAbort: z.boolean().describe("If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.").optional()
7
7
  }).describe("Request model for POST /api/v1/agent/{id}/abort.");
8
- const PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = z.object({}).describe("Data object for abort agent response.");
8
+ const PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = z.record(z.string(), z.unknown()).describe("Data object for abort agent response.");
9
9
  const phantombusterAbortAgentV1 = action("PHANTOMBUSTER_ABORT_AGENT_V1", {
10
10
  slug: "phantombuster-abort-agent-v1",
11
11
  name: "Abort Agent (v1)",
@@ -13,8 +13,8 @@ const phantombusterAbortAgentV1 = action("PHANTOMBUSTER_ABORT_AGENT_V1", {
13
13
  input: PhantombusterAbortAgentV1Input,
14
14
  output: z.object({
15
15
  data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),
16
- status: z.string().describe("Status of the abort operation, typically 'success' or 'error'.")
17
- }).describe("Response model for POST /api/v1/agent/{id}/abort.")
16
+ status: z.string().describe("Status of the abort operation, typically 'success' or 'error'.").nullable()
17
+ }).passthrough().describe("Response model for POST /api/v1/agent/{id}/abort.")
18
18
  });
19
19
  //#endregion
20
20
  export { phantombusterAbortAgentV1 };
@@ -1 +1 @@
1
- {"version":3,"file":"abort-agent-v1.mjs","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterAbortAgentV1Input: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the agent to abort. All running instances of this agent will be stopped.\"),\n softAbort: z.boolean().describe(\"If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.\").optional(),\n}).describe(\"Request model for POST /api/v1/agent/{id}/abort.\");\nconst PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema: z.ZodTypeAny = z.object({}).describe(\"Data object for abort agent response.\");\nexport const PhantombusterAbortAgentV1Output: z.ZodTypeAny = z.object({\n data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the abort operation, typically 'success' or 'error'.\"),\n}).describe(\"Response model for POST /api/v1/agent/{id}/abort.\");\n\nexport const phantombusterAbortAgentV1 = action(\"PHANTOMBUSTER_ABORT_AGENT_V1\", {\n slug: \"phantombuster-abort-agent-v1\",\n name: \"Abort Agent (v1)\",\n description: \"Tool to abort all running instances of an agent using the legacy v1 API. Use when you need to immediately stop an agent's execution. Supports soft abort for graceful shutdown.\",\n input: PhantombusterAbortAgentV1Input,\n output: PhantombusterAbortAgentV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2DAAyE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAM5I,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"abort-agent-v1.mjs","names":[],"sources":["../../src/actions/abort-agent-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterAbortAgentV1Input = z.object({\n id: z.number().int().describe(\"ID of the agent to abort. All running instances of this agent will be stopped.\"),\n softAbort: z.boolean().describe(\"If true, attempts a soft abort of the agent. Soft abort allows the agent to gracefully finish its current operation before stopping.\").optional(),\n}).describe(\"Request model for POST /api/v1/agent/{id}/abort.\");\nconst PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema = z.record(z.string(), z.unknown()).describe(\"Data object for abort agent response.\");\nexport const PhantombusterAbortAgentV1Output = z.object({\n data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the abort operation, typically 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /api/v1/agent/{id}/abort.\");\n\nexport const phantombusterAbortAgentV1 = action(\"PHANTOMBUSTER_ABORT_AGENT_V1\", {\n slug: \"phantombuster-abort-agent-v1\",\n name: \"Abort Agent (v1)\",\n description: \"Tool to abort all running instances of an agent using the legacy v1 API. Use when you need to immediately stop an agent's execution. Supports soft abort for graceful shutdown.\",\n input: PhantombusterAbortAgentV1Input,\n output: PhantombusterAbortAgentV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2DAA2D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnJ,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -5,11 +5,11 @@ const PhantombusterDeleteAgentInput = zod.z.object({
5
5
  id: zod.z.string().describe("Id of the agent to delete."),
6
6
  "X-Phantombuster-Org": zod.z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
7
7
  }).describe("Request model for POST /agents/delete.");
8
- const PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = zod.z.object({ deleted: zod.z.boolean().describe("Indicates whether the agent was successfully deleted.") }).describe("Data object for delete agent response.");
8
+ const PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = zod.z.object({ deleted: zod.z.boolean().describe("Indicates whether the agent was successfully deleted.").nullable() }).passthrough().describe("Data object for delete agent response.");
9
9
  const PhantombusterDeleteAgentOutput = zod.z.object({
10
10
  data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),
11
- status: zod.z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.")
12
- }).describe("Response model for POST /agents/delete.");
11
+ status: zod.z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
12
+ }).passthrough().describe("Response model for POST /agents/delete.");
13
13
  const phantombusterDeleteAgent = require_action.action("PHANTOMBUSTER_DELETE_AGENT", {
14
14
  slug: "phantombuster-delete-agent",
15
15
  name: "Delete Agent",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the agent to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /agents/delete.\");\nconst PhantombusterDeleteAgent_DeleteAgentResponseDataSchema: z.ZodTypeAny = z.object({\n deleted: z.boolean().describe(\"Indicates whether the agent was successfully deleted.\"),\n}).describe(\"Data object for delete agent response.\");\nexport const PhantombusterDeleteAgentOutput: z.ZodTypeAny = z.object({\n data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\"),\n}).describe(\"Response model for POST /agents/delete.\");\n\nexport const phantombusterDeleteAgent = action(\"PHANTOMBUSTER_DELETE_AGENT\", {\n slug: \"phantombuster-delete-agent\",\n name: \"Delete Agent\",\n description: \"Tool to delete an agent by id. Use when you need to remove a PhantomBuster agent. Ensure the agent is not currently running before deletion.\",\n input: PhantombusterDeleteAgentInput,\n output: PhantombusterDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,yDAAuEA,IAAAA,EAAE,OAAO,EACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAM,uDAAuD,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC3F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /agents/delete.\");\nconst PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the agent was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete agent response.\");\nexport const PhantombusterDeleteAgentOutput = z.object({\n data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /agents/delete.\");\n\nexport const phantombusterDeleteAgent = action(\"PHANTOMBUSTER_DELETE_AGENT\", {\n slug: \"phantombuster-delete-agent\",\n name: \"Delete Agent\",\n description: \"Tool to delete an agent by id. Use when you need to remove a PhantomBuster agent. Ensure the agent is not currently running before deletion.\",\n input: PhantombusterDeleteAgentInput,\n output: PhantombusterDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,uDAAuD,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-agent.d.ts
4
- declare const PhantombusterDeleteAgentInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteAgentOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteAgentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteAgentOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ deleted: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>;
14
+ declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ "X-Phantombuster-Org"?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { phantombusterDeleteAgent };
9
20
  //# sourceMappingURL=delete-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.d.cts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGO;AAAA,cAIxC,8BAAA,EAAgC,CAAA,CAAE,UAGO;AAAA,cAEzC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-agent.d.cts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-agent.d.ts
4
- declare const PhantombusterDeleteAgentInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteAgentOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteAgentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteAgentOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ deleted: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>;
14
+ declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ "X-Phantombuster-Org"?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { phantombusterDeleteAgent };
9
20
  //# sourceMappingURL=delete-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.d.mts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGO;AAAA,cAIxC,8BAAA,EAAgC,CAAA,CAAE,UAGO;AAAA,cAEzC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-agent.d.mts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -5,7 +5,7 @@ const PhantombusterDeleteAgentInput = z.object({
5
5
  id: z.string().describe("Id of the agent to delete."),
6
6
  "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
7
7
  }).describe("Request model for POST /agents/delete.");
8
- const PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = z.object({ deleted: z.boolean().describe("Indicates whether the agent was successfully deleted.") }).describe("Data object for delete agent response.");
8
+ const PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = z.object({ deleted: z.boolean().describe("Indicates whether the agent was successfully deleted.").nullable() }).passthrough().describe("Data object for delete agent response.");
9
9
  const phantombusterDeleteAgent = action("PHANTOMBUSTER_DELETE_AGENT", {
10
10
  slug: "phantombuster-delete-agent",
11
11
  name: "Delete Agent",
@@ -13,8 +13,8 @@ const phantombusterDeleteAgent = action("PHANTOMBUSTER_DELETE_AGENT", {
13
13
  input: PhantombusterDeleteAgentInput,
14
14
  output: z.object({
15
15
  data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),
16
- status: z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.")
17
- }).describe("Response model for POST /agents/delete.")
16
+ status: z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
17
+ }).passthrough().describe("Response model for POST /agents/delete.")
18
18
  });
19
19
  //#endregion
20
20
  export { phantombusterDeleteAgent };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.mjs","names":[],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the agent to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /agents/delete.\");\nconst PhantombusterDeleteAgent_DeleteAgentResponseDataSchema: z.ZodTypeAny = z.object({\n deleted: z.boolean().describe(\"Indicates whether the agent was successfully deleted.\"),\n}).describe(\"Data object for delete agent response.\");\nexport const PhantombusterDeleteAgentOutput: z.ZodTypeAny = z.object({\n data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\"),\n}).describe(\"Response model for POST /agents/delete.\");\n\nexport const phantombusterDeleteAgent = action(\"PHANTOMBUSTER_DELETE_AGENT\", {\n slug: \"phantombuster-delete-agent\",\n name: \"Delete Agent\",\n description: \"Tool to delete an agent by id. Use when you need to remove a PhantomBuster agent. Ensure the agent is not currently running before deletion.\",\n input: PhantombusterDeleteAgentInput,\n output: PhantombusterDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,yDAAuE,EAAE,OAAO,EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,uDAAuD,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC3F,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-agent.mjs","names":[],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /agents/delete.\");\nconst PhantombusterDeleteAgent_DeleteAgentResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the agent was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete agent response.\");\nexport const PhantombusterDeleteAgentOutput = z.object({\n data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /agents/delete.\");\n\nexport const phantombusterDeleteAgent = action(\"PHANTOMBUSTER_DELETE_AGENT\", {\n slug: \"phantombuster-delete-agent\",\n name: \"Delete Agent\",\n description: \"Tool to delete an agent by id. Use when you need to remove a PhantomBuster agent. Ensure the agent is not currently running before deletion.\",\n input: PhantombusterDeleteAgentInput,\n output: PhantombusterDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,yDAAyD,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,uDAAuD,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PhantombusterDeleteLeadObjectsInput = zod.z.object({
6
6
  type: zod.z.string().describe("Type of object to delete. Must be used together with slug parameter.").optional(),
7
7
  leadObjectId: zod.z.string().describe("ID of a lead object to delete. Provide either leadObjectId, or both slug and type.").optional()
8
8
  }).describe("Request model for POST /org-storage/leads-objects/delete.");
9
- const PhantombusterDeleteLeadObjectsOutput = zod.z.object({ deletedCount: zod.z.number().int().describe("Number of lead objects successfully deleted.") }).describe("Response model for POST /org-storage/leads-objects/delete.");
9
+ const PhantombusterDeleteLeadObjectsOutput = zod.z.object({ deletedCount: zod.z.number().int().describe("Number of lead objects successfully deleted.").nullable() }).passthrough().describe("Response model for POST /org-storage/leads-objects/delete.");
10
10
  const phantombusterDeleteLeadObjects = require_action.action("PHANTOMBUSTER_DELETE_LEAD_OBJECTS", {
11
11
  slug: "phantombuster-delete-lead-objects",
12
12
  name: "Delete Lead Objects",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead-objects.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadObjectsInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Slug of the object to delete. Must be used together with type parameter.\").optional(),\n type: z.string().describe(\"Type of object to delete. Must be used together with slug parameter.\").optional(),\n leadObjectId: z.string().describe(\"ID of a lead object to delete. Provide either leadObjectId, or both slug and type.\").optional(),\n}).describe(\"Request model for POST /org-storage/leads-objects/delete.\");\nexport const PhantombusterDeleteLeadObjectsOutput: z.ZodTypeAny = z.object({\n deletedCount: z.number().int().describe(\"Number of lead objects successfully deleted.\"),\n}).describe(\"Response model for POST /org-storage/leads-objects/delete.\");\n\nexport const phantombusterDeleteLeadObjects = action(\"PHANTOMBUSTER_DELETE_LEAD_OBJECTS\", {\n slug: \"phantombuster-delete-lead-objects\",\n name: \"Delete Lead Objects\",\n description: \"Tool to delete one or more lead objects from organization storage. Use when you need to remove lead data. Provide either leadObjectId, or both slug and type parameters.\",\n input: PhantombusterDeleteLeadObjectsInput,\n output: PhantombusterDeleteLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACxF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-lead-objects.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadObjectsInput = z.object({\n slug: z.string().describe(\"Slug of the object to delete. Must be used together with type parameter.\").optional(),\n type: z.string().describe(\"Type of object to delete. Must be used together with slug parameter.\").optional(),\n leadObjectId: z.string().describe(\"ID of a lead object to delete. Provide either leadObjectId, or both slug and type.\").optional(),\n}).describe(\"Request model for POST /org-storage/leads-objects/delete.\");\nexport const PhantombusterDeleteLeadObjectsOutput = z.object({\n deletedCount: z.number().int().describe(\"Number of lead objects successfully deleted.\").nullable(),\n}).passthrough().describe(\"Response model for POST /org-storage/leads-objects/delete.\");\n\nexport const phantombusterDeleteLeadObjects = action(\"PHANTOMBUSTER_DELETE_LEAD_OBJECTS\", {\n slug: \"phantombuster-delete-lead-objects\",\n name: \"Delete Lead Objects\",\n description: \"Tool to delete one or more lead objects from organization storage. Use when you need to remove lead data. Provide either leadObjectId, or both slug and type parameters.\",\n input: PhantombusterDeleteLeadObjectsInput,\n output: PhantombusterDeleteLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-lead-objects.d.ts
4
- declare const PhantombusterDeleteLeadObjectsInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteLeadObjectsOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteLeadObjectsInput: z.ZodObject<{
5
+ slug: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodOptional<z.ZodString>;
7
+ leadObjectId: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PhantombusterDeleteLeadObjectsOutput: z.ZodObject<{
10
+ deletedCount: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>;
12
+ declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ slug?: string | undefined;
14
+ type?: string | undefined;
15
+ leadObjectId?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { phantombusterDeleteLeadObjects };
9
19
  //# sourceMappingURL=delete-lead-objects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead-objects.d.cts","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIoB;AAAA,cAC3D,oCAAA,EAAsC,CAAA,CAAE,UAEoB;AAAA,cAE5D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-lead-objects.d.cts","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-lead-objects.d.ts
4
- declare const PhantombusterDeleteLeadObjectsInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteLeadObjectsOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteLeadObjectsInput: z.ZodObject<{
5
+ slug: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodOptional<z.ZodString>;
7
+ leadObjectId: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PhantombusterDeleteLeadObjectsOutput: z.ZodObject<{
10
+ deletedCount: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>;
12
+ declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ slug?: string | undefined;
14
+ type?: string | undefined;
15
+ leadObjectId?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { phantombusterDeleteLeadObjects };
9
19
  //# sourceMappingURL=delete-lead-objects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead-objects.d.mts","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIoB;AAAA,cAC3D,oCAAA,EAAsC,CAAA,CAAE,UAEoB;AAAA,cAE5D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-lead-objects.d.mts","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
@@ -9,7 +9,7 @@ const phantombusterDeleteLeadObjects = action("PHANTOMBUSTER_DELETE_LEAD_OBJECTS
9
9
  type: z.string().describe("Type of object to delete. Must be used together with slug parameter.").optional(),
10
10
  leadObjectId: z.string().describe("ID of a lead object to delete. Provide either leadObjectId, or both slug and type.").optional()
11
11
  }).describe("Request model for POST /org-storage/leads-objects/delete."),
12
- output: z.object({ deletedCount: z.number().int().describe("Number of lead objects successfully deleted.") }).describe("Response model for POST /org-storage/leads-objects/delete.")
12
+ output: z.object({ deletedCount: z.number().int().describe("Number of lead objects successfully deleted.").nullable() }).passthrough().describe("Response model for POST /org-storage/leads-objects/delete.")
13
13
  });
14
14
  //#endregion
15
15
  export { phantombusterDeleteLeadObjects };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead-objects.mjs","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadObjectsInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Slug of the object to delete. Must be used together with type parameter.\").optional(),\n type: z.string().describe(\"Type of object to delete. Must be used together with slug parameter.\").optional(),\n leadObjectId: z.string().describe(\"ID of a lead object to delete. Provide either leadObjectId, or both slug and type.\").optional(),\n}).describe(\"Request model for POST /org-storage/leads-objects/delete.\");\nexport const PhantombusterDeleteLeadObjectsOutput: z.ZodTypeAny = z.object({\n deletedCount: z.number().int().describe(\"Number of lead objects successfully deleted.\"),\n}).describe(\"Response model for POST /org-storage/leads-objects/delete.\");\n\nexport const phantombusterDeleteLeadObjects = action(\"PHANTOMBUSTER_DELETE_LEAD_OBJECTS\", {\n slug: \"phantombuster-delete-lead-objects\",\n name: \"Delete Lead Objects\",\n description: \"Tool to delete one or more lead objects from organization storage. Use when you need to remove lead data. Provide either leadObjectId, or both slug and type parameters.\",\n input: PhantombusterDeleteLeadObjectsInput,\n output: PhantombusterDeleteLeadObjectsOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATgE,EAAE,OAAO,EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACxF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-lead-objects.mjs","names":[],"sources":["../../src/actions/delete-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadObjectsInput = z.object({\n slug: z.string().describe(\"Slug of the object to delete. Must be used together with type parameter.\").optional(),\n type: z.string().describe(\"Type of object to delete. Must be used together with slug parameter.\").optional(),\n leadObjectId: z.string().describe(\"ID of a lead object to delete. Provide either leadObjectId, or both slug and type.\").optional(),\n}).describe(\"Request model for POST /org-storage/leads-objects/delete.\");\nexport const PhantombusterDeleteLeadObjectsOutput = z.object({\n deletedCount: z.number().int().describe(\"Number of lead objects successfully deleted.\").nullable(),\n}).passthrough().describe(\"Response model for POST /org-storage/leads-objects/delete.\");\n\nexport const phantombusterDeleteLeadObjects = action(\"PHANTOMBUSTER_DELETE_LEAD_OBJECTS\", {\n slug: \"phantombuster-delete-lead-objects\",\n name: \"Delete Lead Objects\",\n description: \"Tool to delete one or more lead objects from organization storage. Use when you need to remove lead data. Provide either leadObjectId, or both slug and type parameters.\",\n input: PhantombusterDeleteLeadObjectsInput,\n output: PhantombusterDeleteLeadObjectsOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATkD,EAAE,OAAO,EAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PhantombusterDeleteLeadsManyInput = zod.z.object({
5
5
  ids: zod.z.array(zod.z.string()).describe("List of lead IDs to delete. Each ID must be a valid lead identifier string."),
6
6
  "X-Phantombuster-Org": zod.z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key)").optional()
7
7
  }).describe("Request model for POST /org-storage/leads/delete-many.");
8
- const PhantombusterDeleteLeadsManyOutput = zod.z.object({ deletedCount: zod.z.number().int().describe("Number of leads successfully deleted from the organization storage.") }).describe("Response model for POST /org-storage/leads/delete-many.");
8
+ const PhantombusterDeleteLeadsManyOutput = zod.z.object({ deletedCount: zod.z.number().int().describe("Number of leads successfully deleted from the organization storage.").nullable() }).passthrough().describe("Response model for POST /org-storage/leads/delete-many.");
9
9
  const phantombusterDeleteLeadsMany = require_action.action("PHANTOMBUSTER_DELETE_LEADS_MANY", {
10
10
  slug: "phantombuster-delete-leads-many",
11
11
  name: "Delete Many Leads",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-leads-many.cjs","names":["z","action"],"sources":["../../src/actions/delete-leads-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadsManyInput: z.ZodTypeAny = z.object({\n ids: z.array(z.string()).describe(\"List of lead IDs to delete. Each ID must be a valid lead identifier string.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /org-storage/leads/delete-many.\");\nexport const PhantombusterDeleteLeadsManyOutput: z.ZodTypeAny = z.object({\n deletedCount: z.number().int().describe(\"Number of leads successfully deleted from the organization storage.\"),\n}).describe(\"Response model for POST /org-storage/leads/delete-many.\");\n\nexport const phantombusterDeleteLeadsMany = action(\"PHANTOMBUSTER_DELETE_LEADS_MANY\", {\n slug: \"phantombuster-delete-leads-many\",\n name: \"Delete Many Leads\",\n description: \"Tool to delete multiple leads from organization storage. Use when you need to bulk delete leads by their IDs.\",\n input: PhantombusterDeleteLeadsManyInput,\n output: PhantombusterDeleteLeadsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC/G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,EAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-leads-many.cjs","names":["z","action"],"sources":["../../src/actions/delete-leads-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadsManyInput = z.object({\n ids: z.array(z.string()).describe(\"List of lead IDs to delete. Each ID must be a valid lead identifier string.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /org-storage/leads/delete-many.\");\nexport const PhantombusterDeleteLeadsManyOutput = z.object({\n deletedCount: z.number().int().describe(\"Number of leads successfully deleted from the organization storage.\").nullable(),\n}).passthrough().describe(\"Response model for POST /org-storage/leads/delete-many.\");\n\nexport const phantombusterDeleteLeadsMany = action(\"PHANTOMBUSTER_DELETE_LEADS_MANY\", {\n slug: \"phantombuster-delete-leads-many\",\n name: \"Delete Many Leads\",\n description: \"Tool to delete multiple leads from organization storage. Use when you need to bulk delete leads by their IDs.\",\n input: PhantombusterDeleteLeadsManyInput,\n output: PhantombusterDeleteLeadsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;CAC/G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-leads-many.d.ts
4
- declare const PhantombusterDeleteLeadsManyInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteLeadsManyOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteLeadsManyInput: z.ZodObject<{
5
+ ids: z.ZodArray<z.ZodString>;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteLeadsManyOutput: z.ZodObject<{
9
+ deletedCount: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$loose>;
11
+ declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ ids: string[];
13
+ "X-Phantombuster-Org"?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { phantombusterDeleteLeadsMany };
9
17
  //# sourceMappingURL=delete-leads-many.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-leads-many.d.cts","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGmB;AAAA,cACxD,kCAAA,EAAoC,CAAA,CAAE,UAEmB;AAAA,cAEzD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-leads-many.d.cts","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-leads-many.d.ts
4
- declare const PhantombusterDeleteLeadsManyInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteLeadsManyOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteLeadsManyInput: z.ZodObject<{
5
+ ids: z.ZodArray<z.ZodString>;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteLeadsManyOutput: z.ZodObject<{
9
+ deletedCount: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$loose>;
11
+ declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ ids: string[];
13
+ "X-Phantombuster-Org"?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { phantombusterDeleteLeadsMany };
9
17
  //# sourceMappingURL=delete-leads-many.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-leads-many.d.mts","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGmB;AAAA,cACxD,kCAAA,EAAoC,CAAA,CAAE,UAEmB;AAAA,cAEzD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-leads-many.d.mts","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -8,7 +8,7 @@ const phantombusterDeleteLeadsMany = action("PHANTOMBUSTER_DELETE_LEADS_MANY", {
8
8
  ids: z.array(z.string()).describe("List of lead IDs to delete. Each ID must be a valid lead identifier string."),
9
9
  "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key)").optional()
10
10
  }).describe("Request model for POST /org-storage/leads/delete-many."),
11
- output: z.object({ deletedCount: z.number().int().describe("Number of leads successfully deleted from the organization storage.") }).describe("Response model for POST /org-storage/leads/delete-many.")
11
+ output: z.object({ deletedCount: z.number().int().describe("Number of leads successfully deleted from the organization storage.").nullable() }).passthrough().describe("Response model for POST /org-storage/leads/delete-many.")
12
12
  });
13
13
  //#endregion
14
14
  export { phantombusterDeleteLeadsMany };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-leads-many.mjs","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadsManyInput: z.ZodTypeAny = z.object({\n ids: z.array(z.string()).describe(\"List of lead IDs to delete. Each ID must be a valid lead identifier string.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /org-storage/leads/delete-many.\");\nexport const PhantombusterDeleteLeadsManyOutput: z.ZodTypeAny = z.object({\n deletedCount: z.number().int().describe(\"Number of leads successfully deleted from the organization storage.\"),\n}).describe(\"Response model for POST /org-storage/leads/delete-many.\");\n\nexport const phantombusterDeleteLeadsMany = action(\"PHANTOMBUSTER_DELETE_LEADS_MANY\", {\n slug: \"phantombuster-delete-leads-many\",\n name: \"Delete Many Leads\",\n description: \"Tool to delete multiple leads from organization storage. Use when you need to bulk delete leads by their IDs.\",\n input: PhantombusterDeleteLeadsManyInput,\n output: PhantombusterDeleteLeadsManyOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6D,EAAE,OAAO;EACtE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC/G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QAT8D,EAAE,OAAO,EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,EAC/G,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-leads-many.mjs","names":[],"sources":["../../src/actions/delete-leads-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteLeadsManyInput = z.object({\n ids: z.array(z.string()).describe(\"List of lead IDs to delete. Each ID must be a valid lead identifier string.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /org-storage/leads/delete-many.\");\nexport const PhantombusterDeleteLeadsManyOutput = z.object({\n deletedCount: z.number().int().describe(\"Number of leads successfully deleted from the organization storage.\").nullable(),\n}).passthrough().describe(\"Response model for POST /org-storage/leads/delete-many.\");\n\nexport const phantombusterDeleteLeadsMany = action(\"PHANTOMBUSTER_DELETE_LEADS_MANY\", {\n slug: \"phantombuster-delete-leads-many\",\n name: \"Delete Many Leads\",\n description: \"Tool to delete multiple leads from organization storage. Use when you need to bulk delete leads by their IDs.\",\n input: PhantombusterDeleteLeadsManyInput,\n output: PhantombusterDeleteLeadsManyOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO;EACxD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;EAC/G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATgD,EAAE,OAAO,EACzD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PhantombusterDeleteListInput = zod.z.object({
5
5
  id: zod.z.string().describe("Id of the list to delete."),
6
6
  "X-Phantombuster-Org": zod.z.string().describe("ID of the org that is perfoming the operation (not necessary when using a third party key).").optional()
7
7
  }).describe("Request model for POST /org-storage/lists/delete.");
8
- const PhantombusterDeleteListOutput = zod.z.object({ id: zod.z.string().describe("Id of the list that was deleted.") }).describe("Response model for POST /org-storage/lists/delete.");
8
+ const PhantombusterDeleteListOutput = zod.z.object({ id: zod.z.string().describe("Id of the list that was deleted.").nullable() }).passthrough().describe("Response model for POST /org-storage/lists/delete.");
9
9
  const phantombusterDeleteList = require_action.action("PHANTOMBUSTER_DELETE_LIST", {
10
10
  slug: "phantombuster-delete-list",
11
11
  name: "Delete List",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteListInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the list to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is perfoming the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /org-storage/lists/delete.\");\nexport const PhantombusterDeleteListOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the list that was deleted.\"),\n}).describe(\"Response model for POST /org-storage/lists/delete.\");\n\nexport const phantombusterDeleteList = action(\"PHANTOMBUSTER_DELETE_LIST\", {\n slug: \"phantombuster-delete-list\",\n name: \"Delete List\",\n description: \"Tool to delete a storage list by id (Beta). Use when you need to remove a list from organization storage.\",\n input: PhantombusterDeleteListInput,\n output: PhantombusterDeleteListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC5D,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteListInput = z.object({\n id: z.string().describe(\"Id of the list to delete.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is perfoming the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for POST /org-storage/lists/delete.\");\nexport const PhantombusterDeleteListOutput = z.object({\n id: z.string().describe(\"Id of the list that was deleted.\").nullable(),\n}).passthrough().describe(\"Response model for POST /org-storage/lists/delete.\");\n\nexport const phantombusterDeleteList = action(\"PHANTOMBUSTER_DELETE_LIST\", {\n slug: \"phantombuster-delete-list\",\n name: \"Delete List\",\n description: \"Tool to delete a storage list by id (Beta). Use when you need to remove a list from organization storage.\",\n input: PhantombusterDeleteListInput,\n output: PhantombusterDeleteListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-list.d.ts
4
- declare const PhantombusterDeleteListInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteListOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteListInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteListOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>;
11
+ declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ "X-Phantombuster-Org"?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { phantombusterDeleteList };
9
17
  //# sourceMappingURL=delete-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.d.cts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAEmB;AAAA,cAEpD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-list.d.cts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-list.d.ts
4
- declare const PhantombusterDeleteListInput: z.ZodTypeAny;
5
- declare const PhantombusterDeleteListOutput: z.ZodTypeAny;
6
- declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterDeleteListInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PhantombusterDeleteListOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>;
11
+ declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ "X-Phantombuster-Org"?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { phantombusterDeleteList };
9
17
  //# sourceMappingURL=delete-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.d.mts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAEmB;AAAA,cAEpD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-list.d.mts","names":[],"sources":["../../src/actions/delete-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -8,7 +8,7 @@ const phantombusterDeleteList = action("PHANTOMBUSTER_DELETE_LIST", {
8
8
  id: z.string().describe("Id of the list to delete."),
9
9
  "X-Phantombuster-Org": z.string().describe("ID of the org that is perfoming the operation (not necessary when using a third party key).").optional()
10
10
  }).describe("Request model for POST /org-storage/lists/delete."),
11
- output: z.object({ id: z.string().describe("Id of the list that was deleted.") }).describe("Response model for POST /org-storage/lists/delete.")
11
+ output: z.object({ id: z.string().describe("Id of the list that was deleted.").nullable() }).passthrough().describe("Response model for POST /org-storage/lists/delete.")
12
12
  });
13
13
  //#endregion
14
14
  export { phantombusterDeleteList };