@keystrokehq/phantombuster 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/actions/abort-agent-v1.cjs +2 -2
  2. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.d.cts +2 -2
  4. package/dist/actions/abort-agent-v1.d.mts +2 -2
  5. package/dist/actions/abort-agent-v1.mjs +2 -2
  6. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  7. package/dist/actions/delete-agent.cjs +2 -2
  8. package/dist/actions/delete-agent.cjs.map +1 -1
  9. package/dist/actions/delete-agent.d.cts +2 -2
  10. package/dist/actions/delete-agent.d.mts +2 -2
  11. package/dist/actions/delete-agent.mjs +2 -2
  12. package/dist/actions/delete-agent.mjs.map +1 -1
  13. package/dist/actions/delete-lead-objects.cjs +1 -1
  14. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  15. package/dist/actions/delete-lead-objects.d.cts +1 -1
  16. package/dist/actions/delete-lead-objects.d.mts +1 -1
  17. package/dist/actions/delete-lead-objects.mjs +1 -1
  18. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  19. package/dist/actions/delete-leads-many.cjs +1 -1
  20. package/dist/actions/delete-leads-many.cjs.map +1 -1
  21. package/dist/actions/delete-leads-many.d.cts +1 -1
  22. package/dist/actions/delete-leads-many.d.mts +1 -1
  23. package/dist/actions/delete-leads-many.mjs +1 -1
  24. package/dist/actions/delete-leads-many.mjs.map +1 -1
  25. package/dist/actions/delete-list.cjs +1 -1
  26. package/dist/actions/delete-list.cjs.map +1 -1
  27. package/dist/actions/delete-list.d.cts +1 -1
  28. package/dist/actions/delete-list.d.mts +1 -1
  29. package/dist/actions/delete-list.mjs +1 -1
  30. package/dist/actions/delete-list.mjs.map +1 -1
  31. package/dist/actions/delete-script.cjs +2 -2
  32. package/dist/actions/delete-script.cjs.map +1 -1
  33. package/dist/actions/delete-script.d.cts +2 -2
  34. package/dist/actions/delete-script.d.mts +2 -2
  35. package/dist/actions/delete-script.mjs +2 -2
  36. package/dist/actions/delete-script.mjs.map +1 -1
  37. package/dist/actions/get-agent-containers.cjs +2 -2
  38. package/dist/actions/get-agent-containers.cjs.map +1 -1
  39. package/dist/actions/get-agent-containers.d.cts +2 -2
  40. package/dist/actions/get-agent-containers.d.mts +2 -2
  41. package/dist/actions/get-agent-containers.mjs +2 -2
  42. package/dist/actions/get-agent-containers.mjs.map +1 -1
  43. package/dist/actions/get-agent-output.cjs +4 -4
  44. package/dist/actions/get-agent-output.cjs.map +1 -1
  45. package/dist/actions/get-agent-output.d.cts +4 -4
  46. package/dist/actions/get-agent-output.d.mts +4 -4
  47. package/dist/actions/get-agent-output.mjs +4 -4
  48. package/dist/actions/get-agent-output.mjs.map +1 -1
  49. package/dist/actions/get-agent.cjs +13 -13
  50. package/dist/actions/get-agent.cjs.map +1 -1
  51. package/dist/actions/get-agent.d.cts +13 -13
  52. package/dist/actions/get-agent.d.mts +13 -13
  53. package/dist/actions/get-agent.mjs +13 -13
  54. package/dist/actions/get-agent.mjs.map +1 -1
  55. package/dist/actions/get-agents-fetch-all.cjs +2 -2
  56. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  57. package/dist/actions/get-agents-fetch-all.d.cts +2 -2
  58. package/dist/actions/get-agents-fetch-all.d.mts +2 -2
  59. package/dist/actions/get-agents-fetch-all.mjs +2 -2
  60. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  61. package/dist/actions/get-branches-fetch-all.cjs +2 -2
  62. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  63. package/dist/actions/get-branches-fetch-all.d.cts +2 -2
  64. package/dist/actions/get-branches-fetch-all.d.mts +2 -2
  65. package/dist/actions/get-branches-fetch-all.mjs +2 -2
  66. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  67. package/dist/actions/get-containers-fetch-all.cjs +2 -2
  68. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  69. package/dist/actions/get-containers-fetch-all.d.cts +2 -2
  70. package/dist/actions/get-containers-fetch-all.d.mts +2 -2
  71. package/dist/actions/get-containers-fetch-all.mjs +2 -2
  72. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  73. package/dist/actions/get-leads-by-list.cjs +1 -1
  74. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  75. package/dist/actions/get-leads-by-list.d.cts +1 -1
  76. package/dist/actions/get-leads-by-list.d.mts +1 -1
  77. package/dist/actions/get-leads-by-list.mjs +1 -1
  78. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  79. package/dist/actions/get-location-ip.cjs +1 -1
  80. package/dist/actions/get-location-ip.cjs.map +1 -1
  81. package/dist/actions/get-location-ip.d.cts +1 -1
  82. package/dist/actions/get-location-ip.d.mts +1 -1
  83. package/dist/actions/get-location-ip.mjs +1 -1
  84. package/dist/actions/get-location-ip.mjs.map +1 -1
  85. package/dist/actions/get-org-storage-lists-fetch-all.cjs +2 -2
  86. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  87. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +2 -2
  88. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +2 -2
  89. package/dist/actions/get-org-storage-lists-fetch-all.mjs +2 -2
  90. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  91. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
  92. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  93. package/dist/actions/get-orgs-export-agent-usage.d.cts +1 -1
  94. package/dist/actions/get-orgs-export-agent-usage.d.mts +1 -1
  95. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
  96. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  97. package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
  98. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  99. package/dist/actions/get-orgs-export-container-usage.d.cts +1 -1
  100. package/dist/actions/get-orgs-export-container-usage.d.mts +1 -1
  101. package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
  102. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  103. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -1
  104. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  105. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +1 -1
  106. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +1 -1
  107. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
  108. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  109. package/dist/actions/get-orgs-fetch-resources.cjs +4 -4
  110. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  111. package/dist/actions/get-orgs-fetch-resources.d.cts +4 -4
  112. package/dist/actions/get-orgs-fetch-resources.d.mts +4 -4
  113. package/dist/actions/get-orgs-fetch-resources.mjs +4 -4
  114. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  115. package/dist/actions/get-orgs-fetch-running-containers.cjs +2 -2
  116. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  117. package/dist/actions/get-orgs-fetch-running-containers.d.cts +2 -2
  118. package/dist/actions/get-orgs-fetch-running-containers.d.mts +2 -2
  119. package/dist/actions/get-orgs-fetch-running-containers.mjs +2 -2
  120. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  121. package/dist/actions/get-orgs-fetch.cjs +1 -1
  122. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  123. package/dist/actions/get-orgs-fetch.d.cts +1 -1
  124. package/dist/actions/get-orgs-fetch.d.mts +1 -1
  125. package/dist/actions/get-orgs-fetch.mjs +1 -1
  126. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  127. package/dist/actions/get-script-by-name.cjs +3 -3
  128. package/dist/actions/get-script-by-name.cjs.map +1 -1
  129. package/dist/actions/get-script-by-name.d.cts +3 -3
  130. package/dist/actions/get-script-by-name.d.mts +3 -3
  131. package/dist/actions/get-script-by-name.mjs +3 -3
  132. package/dist/actions/get-script-by-name.mjs.map +1 -1
  133. package/dist/actions/get-script.cjs +4 -4
  134. package/dist/actions/get-script.cjs.map +1 -1
  135. package/dist/actions/get-script.d.cts +4 -4
  136. package/dist/actions/get-script.d.mts +4 -4
  137. package/dist/actions/get-script.mjs +4 -4
  138. package/dist/actions/get-script.mjs.map +1 -1
  139. package/dist/actions/get-scripts-code.cjs +1 -1
  140. package/dist/actions/get-scripts-code.cjs.map +1 -1
  141. package/dist/actions/get-scripts-code.d.cts +1 -1
  142. package/dist/actions/get-scripts-code.d.mts +1 -1
  143. package/dist/actions/get-scripts-code.mjs +1 -1
  144. package/dist/actions/get-scripts-code.mjs.map +1 -1
  145. package/dist/actions/get-scripts-fetch-all.cjs +3 -3
  146. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  147. package/dist/actions/get-scripts-fetch-all.d.cts +3 -3
  148. package/dist/actions/get-scripts-fetch-all.d.mts +3 -3
  149. package/dist/actions/get-scripts-fetch-all.mjs +3 -3
  150. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  151. package/dist/actions/get-user.cjs +3 -3
  152. package/dist/actions/get-user.cjs.map +1 -1
  153. package/dist/actions/get-user.d.cts +3 -3
  154. package/dist/actions/get-user.d.mts +3 -3
  155. package/dist/actions/get-user.mjs +3 -3
  156. package/dist/actions/get-user.mjs.map +1 -1
  157. package/dist/actions/post-agents-unschedule-all.cjs +1 -1
  158. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  159. package/dist/actions/post-agents-unschedule-all.d.cts +1 -1
  160. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  161. package/dist/actions/post-agents-unschedule-all.d.mts +1 -1
  162. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  163. package/dist/actions/post-agents-unschedule-all.mjs +1 -1
  164. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  165. package/dist/actions/post-ai-completions.cjs +3 -3
  166. package/dist/actions/post-ai-completions.cjs.map +1 -1
  167. package/dist/actions/post-ai-completions.d.cts +3 -3
  168. package/dist/actions/post-ai-completions.d.mts +3 -3
  169. package/dist/actions/post-ai-completions.mjs +3 -3
  170. package/dist/actions/post-ai-completions.mjs.map +1 -1
  171. package/dist/actions/post-branches-create.cjs +1 -1
  172. package/dist/actions/post-branches-create.cjs.map +1 -1
  173. package/dist/actions/post-branches-create.d.cts +1 -1
  174. package/dist/actions/post-branches-create.d.mts +1 -1
  175. package/dist/actions/post-branches-create.mjs +1 -1
  176. package/dist/actions/post-branches-create.mjs.map +1 -1
  177. package/dist/actions/post-branches-delete.cjs +2 -2
  178. package/dist/actions/post-branches-delete.cjs.map +1 -1
  179. package/dist/actions/post-branches-delete.d.cts +2 -2
  180. package/dist/actions/post-branches-delete.d.mts +2 -2
  181. package/dist/actions/post-branches-delete.mjs +2 -2
  182. package/dist/actions/post-branches-delete.mjs.map +1 -1
  183. package/dist/actions/post-hcaptcha.cjs +1 -1
  184. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  185. package/dist/actions/post-hcaptcha.d.cts +1 -1
  186. package/dist/actions/post-hcaptcha.d.mts +1 -1
  187. package/dist/actions/post-hcaptcha.mjs +1 -1
  188. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  189. package/dist/actions/post-identities-generate-token.cjs +1 -1
  190. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  191. package/dist/actions/post-identities-generate-token.d.cts +1 -1
  192. package/dist/actions/post-identities-generate-token.d.mts +1 -1
  193. package/dist/actions/post-identities-generate-token.mjs +1 -1
  194. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  195. package/dist/actions/post-org-storage-leads-save-many.cjs +8 -8
  196. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  197. package/dist/actions/post-org-storage-leads-save-many.d.cts +13 -12
  198. package/dist/actions/post-org-storage-leads-save-many.d.mts +13 -12
  199. package/dist/actions/post-org-storage-leads-save-many.mjs +8 -8
  200. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  201. package/dist/actions/post-recaptcha.cjs +1 -1
  202. package/dist/actions/post-recaptcha.cjs.map +1 -1
  203. package/dist/actions/post-recaptcha.d.cts +1 -1
  204. package/dist/actions/post-recaptcha.d.mts +1 -1
  205. package/dist/actions/post-recaptcha.mjs +1 -1
  206. package/dist/actions/post-recaptcha.mjs.map +1 -1
  207. package/dist/actions/post-scripts-visibility.cjs +1 -1
  208. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  209. package/dist/actions/post-scripts-visibility.d.cts +1 -1
  210. package/dist/actions/post-scripts-visibility.d.mts +1 -1
  211. package/dist/actions/post-scripts-visibility.mjs +1 -1
  212. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  213. package/dist/actions/release-branch.cjs +1 -1
  214. package/dist/actions/release-branch.cjs.map +1 -1
  215. package/dist/actions/release-branch.d.cts +1 -1
  216. package/dist/actions/release-branch.d.mts +1 -1
  217. package/dist/actions/release-branch.mjs +1 -1
  218. package/dist/actions/release-branch.mjs.map +1 -1
  219. package/dist/actions/save-agent-groups.cjs +3 -3
  220. package/dist/actions/save-agent-groups.cjs.map +1 -1
  221. package/dist/actions/save-agent-groups.d.cts +4 -3
  222. package/dist/actions/save-agent-groups.d.mts +4 -3
  223. package/dist/actions/save-agent-groups.mjs +3 -3
  224. package/dist/actions/save-agent-groups.mjs.map +1 -1
  225. package/dist/actions/save-agent.cjs +2 -2
  226. package/dist/actions/save-agent.cjs.map +1 -1
  227. package/dist/actions/save-agent.d.cts +3 -3
  228. package/dist/actions/save-agent.d.mts +3 -3
  229. package/dist/actions/save-agent.mjs +2 -2
  230. package/dist/actions/save-agent.mjs.map +1 -1
  231. package/dist/actions/save-company-object.cjs +1 -1
  232. package/dist/actions/save-company-object.cjs.map +1 -1
  233. package/dist/actions/save-company-object.d.cts +1 -1
  234. package/dist/actions/save-company-object.d.mts +1 -1
  235. package/dist/actions/save-company-object.mjs +1 -1
  236. package/dist/actions/save-company-object.mjs.map +1 -1
  237. package/dist/actions/save-company-objects-many.cjs +7 -7
  238. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  239. package/dist/actions/save-company-objects-many.d.cts +9 -8
  240. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  241. package/dist/actions/save-company-objects-many.d.mts +9 -8
  242. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  243. package/dist/actions/save-company-objects-many.mjs +7 -7
  244. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  245. package/dist/actions/save-identity-event.cjs +1 -1
  246. package/dist/actions/save-identity-event.cjs.map +1 -1
  247. package/dist/actions/save-identity-event.d.cts +1 -1
  248. package/dist/actions/save-identity-event.d.mts +1 -1
  249. package/dist/actions/save-identity-event.mjs +1 -1
  250. package/dist/actions/save-identity-event.mjs.map +1 -1
  251. package/dist/actions/save-lead-object.cjs +1 -1
  252. package/dist/actions/save-lead-object.cjs.map +1 -1
  253. package/dist/actions/save-lead-object.d.cts +1 -1
  254. package/dist/actions/save-lead-object.d.mts +1 -1
  255. package/dist/actions/save-lead-object.mjs +1 -1
  256. package/dist/actions/save-lead-object.mjs.map +1 -1
  257. package/dist/actions/save-lead.cjs +1 -1
  258. package/dist/actions/save-lead.cjs.map +1 -1
  259. package/dist/actions/save-lead.d.cts +1 -1
  260. package/dist/actions/save-lead.d.mts +1 -1
  261. package/dist/actions/save-lead.mjs +1 -1
  262. package/dist/actions/save-lead.mjs.map +1 -1
  263. package/dist/actions/save-leads-objects-many.cjs +5 -5
  264. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  265. package/dist/actions/save-leads-objects-many.d.cts +7 -6
  266. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  267. package/dist/actions/save-leads-objects-many.d.mts +7 -6
  268. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  269. package/dist/actions/save-leads-objects-many.mjs +5 -5
  270. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  271. package/dist/actions/save-list.cjs +2 -2
  272. package/dist/actions/save-list.cjs.map +1 -1
  273. package/dist/actions/save-list.d.cts +3 -3
  274. package/dist/actions/save-list.d.mts +3 -3
  275. package/dist/actions/save-list.mjs +2 -2
  276. package/dist/actions/save-list.mjs.map +1 -1
  277. package/dist/actions/save-script.cjs +2 -2
  278. package/dist/actions/save-script.cjs.map +1 -1
  279. package/dist/actions/save-script.d.cts +3 -3
  280. package/dist/actions/save-script.d.mts +3 -3
  281. package/dist/actions/save-script.mjs +2 -2
  282. package/dist/actions/save-script.mjs.map +1 -1
  283. package/dist/actions/search-company-objects.cjs +4 -4
  284. package/dist/actions/search-company-objects.cjs.map +1 -1
  285. package/dist/actions/search-company-objects.d.cts +7 -7
  286. package/dist/actions/search-company-objects.d.mts +7 -7
  287. package/dist/actions/search-company-objects.mjs +4 -4
  288. package/dist/actions/search-company-objects.mjs.map +1 -1
  289. package/dist/actions/search-lead-objects.cjs +1 -1
  290. package/dist/actions/search-lead-objects.cjs.map +1 -1
  291. package/dist/actions/search-lead-objects.d.cts +1 -1
  292. package/dist/actions/search-lead-objects.d.mts +1 -1
  293. package/dist/actions/search-lead-objects.mjs +1 -1
  294. package/dist/actions/search-lead-objects.mjs.map +1 -1
  295. package/dist/actions/stop-agent.cjs +1 -1
  296. package/dist/actions/stop-agent.cjs.map +1 -1
  297. package/dist/actions/stop-agent.d.cts +1 -1
  298. package/dist/actions/stop-agent.d.mts +1 -1
  299. package/dist/actions/stop-agent.mjs +1 -1
  300. package/dist/actions/stop-agent.mjs.map +1 -1
  301. package/dist/actions/update-script.cjs +1 -1
  302. package/dist/actions/update-script.cjs.map +1 -1
  303. package/dist/actions/update-script.d.cts +1 -1
  304. package/dist/actions/update-script.d.mts +1 -1
  305. package/dist/actions/update-script.mjs +1 -1
  306. package/dist/actions/update-script.mjs.map +1 -1
  307. package/dist/actions/update-scripts-access-list.cjs +1 -1
  308. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  309. package/dist/actions/update-scripts-access-list.d.cts +1 -1
  310. package/dist/actions/update-scripts-access-list.d.mts +1 -1
  311. package/dist/actions/update-scripts-access-list.mjs +1 -1
  312. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  313. package/dist/catalog.cjs +1 -1
  314. package/dist/catalog.cjs.map +1 -1
  315. package/dist/catalog.d.cts +1 -1
  316. package/dist/catalog.d.mts +1 -1
  317. package/dist/catalog.mjs +1 -1
  318. package/dist/catalog.mjs.map +1 -1
  319. package/package.json +1 -1
@@ -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
11
  status: zod.z.string().describe("Status of the abort operation, typically 'success' or 'error'.").nullable()
12
- }).describe("Response model for POST /api/v1/agent/{id}/abort.");
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.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.object({}).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}).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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAC9H,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,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"}
@@ -6,9 +6,9 @@ declare const PhantombusterAbortAgentV1Input: z.ZodObject<{
6
6
  softAbort: z.ZodOptional<z.ZodBoolean>;
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterAbortAgentV1Output: z.ZodObject<{
9
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  status: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
14
  softAbort?: boolean | undefined;
@@ -6,9 +6,9 @@ declare const PhantombusterAbortAgentV1Input: z.ZodObject<{
6
6
  softAbort: z.ZodOptional<z.ZodBoolean>;
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterAbortAgentV1Output: z.ZodObject<{
9
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  status: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const phantombusterAbortAgentV1: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
14
  softAbort?: boolean | undefined;
@@ -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)",
@@ -14,7 +14,7 @@ const phantombusterAbortAgentV1 = action("PHANTOMBUSTER_ABORT_AGENT_V1", {
14
14
  output: z.object({
15
15
  data: PhantombusterAbortAgentV1_AbortAgentV1ResponseDataSchema.nullable().optional(),
16
16
  status: z.string().describe("Status of the abort operation, typically 'success' or 'error'.").nullable()
17
- }).describe("Response model for POST /api/v1/agent/{id}/abort.")
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.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.object({}).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}).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,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAM9H,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,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.").nullable() }).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
11
  status: zod.z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
12
- }).describe("Response model for POST /agents/delete.");
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.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}).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}).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,SAAS,wCAAwC;AACpD,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,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"}
@@ -8,9 +8,9 @@ declare const PhantombusterDeleteAgentInput: z.ZodObject<{
8
8
  declare const PhantombusterDeleteAgentOutput: z.ZodObject<{
9
9
  data: z.ZodNullable<z.ZodObject<{
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  status: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  id: string;
16
16
  "X-Phantombuster-Org"?: string | undefined;
@@ -8,9 +8,9 @@ declare const PhantombusterDeleteAgentInput: z.ZodObject<{
8
8
  declare const PhantombusterDeleteAgentOutput: z.ZodObject<{
9
9
  data: z.ZodNullable<z.ZodObject<{
10
10
  deleted: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  status: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const phantombusterDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  id: string;
16
16
  "X-Phantombuster-Org"?: string | undefined;
@@ -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.").nullable() }).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",
@@ -14,7 +14,7 @@ const phantombusterDeleteAgent = action("PHANTOMBUSTER_DELETE_AGENT", {
14
14
  output: z.object({
15
15
  data: PhantombusterDeleteAgent_DeleteAgentResponseDataSchema.nullable(),
16
16
  status: z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
17
- }).describe("Response model for POST /agents/delete.")
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.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}).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}).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,SAAS,wCAAwC;AAMpD,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,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.").nullable() }).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.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}).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,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"}
@@ -8,7 +8,7 @@ declare const PhantombusterDeleteLeadObjectsInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const PhantombusterDeleteLeadObjectsOutput: z.ZodObject<{
10
10
  deletedCount: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  slug?: string | undefined;
14
14
  type?: string | undefined;
@@ -8,7 +8,7 @@ declare const PhantombusterDeleteLeadObjectsInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const PhantombusterDeleteLeadObjectsOutput: z.ZodObject<{
10
10
  deletedCount: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const phantombusterDeleteLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  slug?: string | undefined;
14
14
  type?: string | undefined;
@@ -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.").nullable() }).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.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}).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,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.").nullable() }).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.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}).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,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"}
@@ -7,7 +7,7 @@ declare const PhantombusterDeleteLeadsManyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterDeleteLeadsManyOutput: z.ZodObject<{
9
9
  deletedCount: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  ids: string[];
13
13
  "X-Phantombuster-Org"?: string | undefined;
@@ -7,7 +7,7 @@ declare const PhantombusterDeleteLeadsManyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterDeleteLeadsManyOutput: z.ZodObject<{
9
9
  deletedCount: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const phantombusterDeleteLeadsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  ids: string[];
13
13
  "X-Phantombuster-Org"?: string | undefined;
@@ -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.").nullable() }).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.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}).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,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.").nullable() }).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.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}).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,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"}
@@ -7,7 +7,7 @@ declare const PhantombusterDeleteListInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterDeleteListOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  "X-Phantombuster-Org"?: string | undefined;
@@ -7,7 +7,7 @@ declare const PhantombusterDeleteListInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const PhantombusterDeleteListOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const phantombusterDeleteList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
13
  "X-Phantombuster-Org"?: string | undefined;
@@ -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.").nullable() }).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 };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-list.mjs","names":[],"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}).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":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACnD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QAT2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-list.mjs","names":[],"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":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACnD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QAT2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -7,11 +7,11 @@ const PhantombusterDeleteScriptInput = zod.z.object({
7
7
  environment: zod.z.enum(["staging", "release"]).describe("Enum for script branch environment.").optional(),
8
8
  "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()
9
9
  }).describe("Request model for POST /scripts/delete.");
10
- const PhantombusterDeleteScript_DeleteScriptResponseDataSchema = zod.z.object({ deleted: zod.z.boolean().describe("Indicates whether the script was successfully deleted.").nullable() }).describe("Data object for delete script response.");
10
+ const PhantombusterDeleteScript_DeleteScriptResponseDataSchema = zod.z.object({ deleted: zod.z.boolean().describe("Indicates whether the script was successfully deleted.").nullable() }).passthrough().describe("Data object for delete script response.");
11
11
  const PhantombusterDeleteScriptOutput = zod.z.object({
12
12
  data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),
13
13
  status: zod.z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
14
- }).describe("Response model for POST /scripts/delete.");
14
+ }).passthrough().describe("Response model for POST /scripts/delete.");
15
15
  const phantombusterDeleteScript = require_action.action("PHANTOMBUSTER_DELETE_SCRIPT", {
16
16
  slug: "phantombuster-delete-script",
17
17
  name: "Delete Script",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-script.cjs","names":["z","action"],"sources":["../../src/actions/delete-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteScriptInput = z.object({\n id: z.string().describe(\"Id of the script to delete.\"),\n branch: z.string().describe(\"Branch of the script to delete. Must be 1-50 characters, alphanumeric, underscores, or hyphens.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Enum for script branch environment.\").optional(),\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 /scripts/delete.\");\nconst PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the script was successfully deleted.\").nullable(),\n}).describe(\"Data object for delete script response.\");\nexport const PhantombusterDeleteScriptOutput = z.object({\n data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).describe(\"Response model for POST /scripts/delete.\");\n\nexport const phantombusterDeleteScript = action(\"PHANTOMBUSTER_DELETE_SCRIPT\", {\n slug: \"phantombuster-delete-script\",\n name: \"Delete Script\",\n description: \"Tool to delete a script by id. Use when you need to remove a specific script from PhantomBuster. Optionally specify a branch and environment to delete a specific version.\",\n input: PhantombusterDeleteScriptInput,\n output: PhantombusterDeleteScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACxI,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,yDAAyD,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-script.cjs","names":["z","action"],"sources":["../../src/actions/delete-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteScriptInput = z.object({\n id: z.string().describe(\"Id of the script to delete.\"),\n branch: z.string().describe(\"Branch of the script to delete. Must be 1-50 characters, alphanumeric, underscores, or hyphens.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Enum for script branch environment.\").optional(),\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 /scripts/delete.\");\nconst PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the script was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete script response.\");\nexport const PhantombusterDeleteScriptOutput = z.object({\n data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /scripts/delete.\");\n\nexport const phantombusterDeleteScript = action(\"PHANTOMBUSTER_DELETE_SCRIPT\", {\n slug: \"phantombuster-delete-script\",\n name: \"Delete Script\",\n description: \"Tool to delete a script by id. Use when you need to remove a specific script from PhantomBuster. Optionally specify a branch and environment to delete a specific version.\",\n input: PhantombusterDeleteScriptInput,\n output: PhantombusterDeleteScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACxI,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,yDAAyD,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,9 +13,9 @@ declare const PhantombusterDeleteScriptInput: z.ZodObject<{
13
13
  declare const PhantombusterDeleteScriptOutput: z.ZodObject<{
14
14
  data: z.ZodNullable<z.ZodObject<{
15
15
  deleted: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  status: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterDeleteScript: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  id: string;
21
21
  branch?: string | undefined;
@@ -13,9 +13,9 @@ declare const PhantombusterDeleteScriptInput: z.ZodObject<{
13
13
  declare const PhantombusterDeleteScriptOutput: z.ZodObject<{
14
14
  data: z.ZodNullable<z.ZodObject<{
15
15
  deleted: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  status: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterDeleteScript: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  id: string;
21
21
  branch?: string | undefined;
@@ -7,7 +7,7 @@ const PhantombusterDeleteScriptInput = z.object({
7
7
  environment: z.enum(["staging", "release"]).describe("Enum for script branch environment.").optional(),
8
8
  "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
9
9
  }).describe("Request model for POST /scripts/delete.");
10
- const PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({ deleted: z.boolean().describe("Indicates whether the script was successfully deleted.").nullable() }).describe("Data object for delete script response.");
10
+ const PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({ deleted: z.boolean().describe("Indicates whether the script was successfully deleted.").nullable() }).passthrough().describe("Data object for delete script response.");
11
11
  const phantombusterDeleteScript = action("PHANTOMBUSTER_DELETE_SCRIPT", {
12
12
  slug: "phantombuster-delete-script",
13
13
  name: "Delete Script",
@@ -16,7 +16,7 @@ const phantombusterDeleteScript = action("PHANTOMBUSTER_DELETE_SCRIPT", {
16
16
  output: z.object({
17
17
  data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),
18
18
  status: z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.").nullable()
19
- }).describe("Response model for POST /scripts/delete.")
19
+ }).passthrough().describe("Response model for POST /scripts/delete.")
20
20
  });
21
21
  //#endregion
22
22
  export { phantombusterDeleteScript };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-script.mjs","names":[],"sources":["../../src/actions/delete-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteScriptInput = z.object({\n id: z.string().describe(\"Id of the script to delete.\"),\n branch: z.string().describe(\"Branch of the script to delete. Must be 1-50 characters, alphanumeric, underscores, or hyphens.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Enum for script branch environment.\").optional(),\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 /scripts/delete.\");\nconst PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the script was successfully deleted.\").nullable(),\n}).describe(\"Data object for delete script response.\");\nexport const PhantombusterDeleteScriptOutput = z.object({\n data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).describe(\"Response model for POST /scripts/delete.\");\n\nexport const phantombusterDeleteScript = action(\"PHANTOMBUSTER_DELETE_SCRIPT\", {\n slug: \"phantombuster-delete-script\",\n name: \"Delete Script\",\n description: \"Tool to delete a script by id. Use when you need to remove a specific script from PhantomBuster. Optionally specify a branch and environment to delete a specific version.\",\n input: PhantombusterDeleteScriptInput,\n output: PhantombusterDeleteScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,2DAA2D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMrD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,yDAAyD,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-script.mjs","names":[],"sources":["../../src/actions/delete-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterDeleteScriptInput = z.object({\n id: z.string().describe(\"Id of the script to delete.\"),\n branch: z.string().describe(\"Branch of the script to delete. Must be 1-50 characters, alphanumeric, underscores, or hyphens.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Enum for script branch environment.\").optional(),\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 /scripts/delete.\");\nconst PhantombusterDeleteScript_DeleteScriptResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the script was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete script response.\");\nexport const PhantombusterDeleteScriptOutput = z.object({\n data: PhantombusterDeleteScript_DeleteScriptResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /scripts/delete.\");\n\nexport const phantombusterDeleteScript = action(\"PHANTOMBUSTER_DELETE_SCRIPT\", {\n slug: \"phantombuster-delete-script\",\n name: \"Delete Script\",\n description: \"Tool to delete a script by id. Use when you need to remove a specific script from PhantomBuster. Optionally specify a branch and environment to delete a specific version.\",\n input: PhantombusterDeleteScriptInput,\n output: PhantombusterDeleteScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,2DAA2D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAMnE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,yDAAyD,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -12,11 +12,11 @@ const PhantombusterGetAgentContainers_ContainerSchema = zod.z.object({
12
12
  launchNumber: zod.z.number().int().describe("Sequential launch number of this container.").nullable().optional(),
13
13
  lastEndStatus: zod.z.string().describe("Final status of the container (e.g., 'success', 'error').").nullable().optional(),
14
14
  lastEndMessage: zod.z.string().describe("Final message or error description from the container.").nullable().optional()
15
- }).describe("Represents a single ended container for an agent.");
15
+ }).passthrough().describe("Represents a single ended container for an agent.");
16
16
  const PhantombusterGetAgentContainersOutput = zod.z.object({
17
17
  data: zod.z.array(PhantombusterGetAgentContainers_ContainerSchema).describe("List of ended containers for the agent, ordered by date.").nullable().optional(),
18
18
  status: zod.z.string().describe("Status of the API response (e.g., 'success').").nullable().optional()
19
- }).describe("Response model for GET /api/v1/agent/{id}/containers.");
19
+ }).passthrough().describe("Response model for GET /api/v1/agent/{id}/containers.");
20
20
  const phantombusterGetAgentContainers = require_action.action("PHANTOMBUSTER_GET_AGENT_CONTAINERS", {
21
21
  slug: "phantombuster-get-agent-containers",
22
22
  name: "Get Agent Containers (v1)",
@@ -1 +1 @@
1
- {"version":3,"file":"get-agent-containers.cjs","names":["z","action"],"sources":["../../src/actions/get-agent-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetAgentContainersInput = z.object({\n id: z.string().describe(\"ID of the agent from which to retrieve the containers.\"),\n}).describe(\"Request model for GET /api/v1/agent/{id}/containers.\");\nconst PhantombusterGetAgentContainers_ContainerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the container.\").nullable().optional(),\n endDate: z.number().describe(\"Timestamp when the container ended (Unix timestamp in milliseconds).\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container process.\").nullable().optional(),\n queueDate: z.number().describe(\"Timestamp when the container was queued (Unix timestamp in milliseconds).\").nullable().optional(),\n launchDate: z.number().describe(\"Timestamp when the container was launched (Unix timestamp in milliseconds).\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'scheduled').\").nullable().optional(),\n launchNumber: z.number().int().describe(\"Sequential launch number of this container.\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Final status of the container (e.g., 'success', 'error').\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Final message or error description from the container.\").nullable().optional(),\n}).describe(\"Represents a single ended container for an agent.\");\nexport const PhantombusterGetAgentContainersOutput = z.object({\n data: z.array(PhantombusterGetAgentContainers_ContainerSchema).describe(\"List of ended containers for the agent, ordered by date.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'success').\").nullable().optional(),\n}).describe(\"Response model for GET /api/v1/agent/{id}/containers.\");\n\nexport const phantombusterGetAgentContainers = action(\"PHANTOMBUSTER_GET_AGENT_CONTAINERS\", {\n slug: \"phantombuster-get-agent-containers\",\n name: \"Get Agent Containers (v1)\",\n description: \"Tool to get a list of ended containers for an agent, ordered by date. Use when you need to retrieve the last available output logs from an agent. This is a legacy v1 API endpoint.\",\n input: PhantombusterGetAgentContainersInput,\n output: PhantombusterGetAgentContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-agent-containers.cjs","names":["z","action"],"sources":["../../src/actions/get-agent-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetAgentContainersInput = z.object({\n id: z.string().describe(\"ID of the agent from which to retrieve the containers.\"),\n}).describe(\"Request model for GET /api/v1/agent/{id}/containers.\");\nconst PhantombusterGetAgentContainers_ContainerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the container.\").nullable().optional(),\n endDate: z.number().describe(\"Timestamp when the container ended (Unix timestamp in milliseconds).\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container process.\").nullable().optional(),\n queueDate: z.number().describe(\"Timestamp when the container was queued (Unix timestamp in milliseconds).\").nullable().optional(),\n launchDate: z.number().describe(\"Timestamp when the container was launched (Unix timestamp in milliseconds).\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'scheduled').\").nullable().optional(),\n launchNumber: z.number().int().describe(\"Sequential launch number of this container.\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Final status of the container (e.g., 'success', 'error').\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Final message or error description from the container.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single ended container for an agent.\");\nexport const PhantombusterGetAgentContainersOutput = z.object({\n data: z.array(PhantombusterGetAgentContainers_ContainerSchema).describe(\"List of ended containers for the agent, ordered by date.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'success').\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /api/v1/agent/{id}/containers.\");\n\nexport const phantombusterGetAgentContainers = action(\"PHANTOMBUSTER_GET_AGENT_CONTAINERS\", {\n slug: \"phantombuster-get-agent-containers\",\n name: \"Get Agent Containers (v1)\",\n description: \"Tool to get a list of ended containers for an agent, ordered by date. Use when you need to retrieve the last available output logs from an agent. This is a legacy v1 API endpoint.\",\n input: PhantombusterGetAgentContainersInput,\n output: PhantombusterGetAgentContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,9 +15,9 @@ declare const PhantombusterGetAgentContainersOutput: z.ZodObject<{
15
15
  launchNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  lastEndStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  lastEndMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>;
18
+ }, z.core.$loose>>>>;
19
19
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const phantombusterGetAgentContainers: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  id: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -15,9 +15,9 @@ declare const PhantombusterGetAgentContainersOutput: z.ZodObject<{
15
15
  launchNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  lastEndStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  lastEndMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>;
18
+ }, z.core.$loose>>>>;
19
19
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const phantombusterGetAgentContainers: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  id: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,7 +12,7 @@ const PhantombusterGetAgentContainers_ContainerSchema = z.object({
12
12
  launchNumber: z.number().int().describe("Sequential launch number of this container.").nullable().optional(),
13
13
  lastEndStatus: z.string().describe("Final status of the container (e.g., 'success', 'error').").nullable().optional(),
14
14
  lastEndMessage: z.string().describe("Final message or error description from the container.").nullable().optional()
15
- }).describe("Represents a single ended container for an agent.");
15
+ }).passthrough().describe("Represents a single ended container for an agent.");
16
16
  const phantombusterGetAgentContainers = action("PHANTOMBUSTER_GET_AGENT_CONTAINERS", {
17
17
  slug: "phantombuster-get-agent-containers",
18
18
  name: "Get Agent Containers (v1)",
@@ -21,7 +21,7 @@ const phantombusterGetAgentContainers = action("PHANTOMBUSTER_GET_AGENT_CONTAINE
21
21
  output: z.object({
22
22
  data: z.array(PhantombusterGetAgentContainers_ContainerSchema).describe("List of ended containers for the agent, ordered by date.").nullable().optional(),
23
23
  status: z.string().describe("Status of the API response (e.g., 'success').").nullable().optional()
24
- }).describe("Response model for GET /api/v1/agent/{id}/containers.")
24
+ }).passthrough().describe("Response model for GET /api/v1/agent/{id}/containers.")
25
25
  });
26
26
  //#endregion
27
27
  export { phantombusterGetAgentContainers };
@@ -1 +1 @@
1
- {"version":3,"file":"get-agent-containers.mjs","names":[],"sources":["../../src/actions/get-agent-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetAgentContainersInput = z.object({\n id: z.string().describe(\"ID of the agent from which to retrieve the containers.\"),\n}).describe(\"Request model for GET /api/v1/agent/{id}/containers.\");\nconst PhantombusterGetAgentContainers_ContainerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the container.\").nullable().optional(),\n endDate: z.number().describe(\"Timestamp when the container ended (Unix timestamp in milliseconds).\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container process.\").nullable().optional(),\n queueDate: z.number().describe(\"Timestamp when the container was queued (Unix timestamp in milliseconds).\").nullable().optional(),\n launchDate: z.number().describe(\"Timestamp when the container was launched (Unix timestamp in milliseconds).\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'scheduled').\").nullable().optional(),\n launchNumber: z.number().int().describe(\"Sequential launch number of this container.\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Final status of the container (e.g., 'success', 'error').\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Final message or error description from the container.\").nullable().optional(),\n}).describe(\"Represents a single ended container for an agent.\");\nexport const PhantombusterGetAgentContainersOutput = z.object({\n data: z.array(PhantombusterGetAgentContainers_ContainerSchema).describe(\"List of ended containers for the agent, ordered by date.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'success').\").nullable().optional(),\n}).describe(\"Response model for GET /api/v1/agent/{id}/containers.\");\n\nexport const phantombusterGetAgentContainers = action(\"PHANTOMBUSTER_GET_AGENT_CONTAINERS\", {\n slug: \"phantombuster-get-agent-containers\",\n name: \"Get Agent Containers (v1)\",\n description: \"Tool to get a list of ended containers for an agent, ordered by date. Use when you need to retrieve the last available output logs from an agent. This is a legacy v1 API endpoint.\",\n input: PhantombusterGetAgentContainersInput,\n output: PhantombusterGetAgentContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-agent-containers.mjs","names":[],"sources":["../../src/actions/get-agent-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetAgentContainersInput = z.object({\n id: z.string().describe(\"ID of the agent from which to retrieve the containers.\"),\n}).describe(\"Request model for GET /api/v1/agent/{id}/containers.\");\nconst PhantombusterGetAgentContainers_ContainerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the container.\").nullable().optional(),\n endDate: z.number().describe(\"Timestamp when the container ended (Unix timestamp in milliseconds).\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container process.\").nullable().optional(),\n queueDate: z.number().describe(\"Timestamp when the container was queued (Unix timestamp in milliseconds).\").nullable().optional(),\n launchDate: z.number().describe(\"Timestamp when the container was launched (Unix timestamp in milliseconds).\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'scheduled').\").nullable().optional(),\n launchNumber: z.number().int().describe(\"Sequential launch number of this container.\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Final status of the container (e.g., 'success', 'error').\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Final message or error description from the container.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single ended container for an agent.\");\nexport const PhantombusterGetAgentContainersOutput = z.object({\n data: z.array(PhantombusterGetAgentContainers_ContainerSchema).describe(\"List of ended containers for the agent, ordered by date.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'success').\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /api/v1/agent/{id}/containers.\");\n\nexport const phantombusterGetAgentContainers = action(\"PHANTOMBUSTER_GET_AGENT_CONTAINERS\", {\n slug: \"phantombuster-get-agent-containers\",\n name: \"Get Agent Containers (v1)\",\n description: \"Tool to get a list of ended containers for an agent, ordered by date. Use when you need to retrieve the last available output logs from an agent. This is a legacy v1 API endpoint.\",\n input: PhantombusterGetAgentContainersInput,\n output: PhantombusterGetAgentContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}