@keystrokehq/phantombuster 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/abort-agent-v1.cjs +23 -0
  7. package/dist/actions/abort-agent-v1.cjs.map +1 -0
  8. package/dist/actions/abort-agent-v1.d.cts +9 -0
  9. package/dist/actions/abort-agent-v1.d.cts.map +1 -0
  10. package/dist/actions/abort-agent-v1.d.mts +9 -0
  11. package/dist/actions/abort-agent-v1.d.mts.map +1 -0
  12. package/dist/actions/abort-agent-v1.mjs +22 -0
  13. package/dist/actions/abort-agent-v1.mjs.map +1 -0
  14. package/dist/actions/delete-agent.cjs +23 -0
  15. package/dist/actions/delete-agent.cjs.map +1 -0
  16. package/dist/actions/delete-agent.d.cts +9 -0
  17. package/dist/actions/delete-agent.d.cts.map +1 -0
  18. package/dist/actions/delete-agent.d.mts +9 -0
  19. package/dist/actions/delete-agent.d.mts.map +1 -0
  20. package/dist/actions/delete-agent.mjs +22 -0
  21. package/dist/actions/delete-agent.mjs.map +1 -0
  22. package/dist/actions/delete-lead-objects.cjs +20 -0
  23. package/dist/actions/delete-lead-objects.cjs.map +1 -0
  24. package/dist/actions/delete-lead-objects.d.cts +9 -0
  25. package/dist/actions/delete-lead-objects.d.cts.map +1 -0
  26. package/dist/actions/delete-lead-objects.d.mts +9 -0
  27. package/dist/actions/delete-lead-objects.d.mts.map +1 -0
  28. package/dist/actions/delete-lead-objects.mjs +17 -0
  29. package/dist/actions/delete-lead-objects.mjs.map +1 -0
  30. package/dist/actions/delete-leads-many.cjs +19 -0
  31. package/dist/actions/delete-leads-many.cjs.map +1 -0
  32. package/dist/actions/delete-leads-many.d.cts +9 -0
  33. package/dist/actions/delete-leads-many.d.cts.map +1 -0
  34. package/dist/actions/delete-leads-many.d.mts +9 -0
  35. package/dist/actions/delete-leads-many.d.mts.map +1 -0
  36. package/dist/actions/delete-leads-many.mjs +16 -0
  37. package/dist/actions/delete-leads-many.mjs.map +1 -0
  38. package/dist/actions/delete-list.cjs +19 -0
  39. package/dist/actions/delete-list.cjs.map +1 -0
  40. package/dist/actions/delete-list.d.cts +9 -0
  41. package/dist/actions/delete-list.d.cts.map +1 -0
  42. package/dist/actions/delete-list.d.mts +9 -0
  43. package/dist/actions/delete-list.d.mts.map +1 -0
  44. package/dist/actions/delete-list.mjs +16 -0
  45. package/dist/actions/delete-list.mjs.map +1 -0
  46. package/dist/actions/delete-script.cjs +25 -0
  47. package/dist/actions/delete-script.cjs.map +1 -0
  48. package/dist/actions/delete-script.d.cts +9 -0
  49. package/dist/actions/delete-script.d.cts.map +1 -0
  50. package/dist/actions/delete-script.d.mts +9 -0
  51. package/dist/actions/delete-script.d.mts.map +1 -0
  52. package/dist/actions/delete-script.mjs +24 -0
  53. package/dist/actions/delete-script.mjs.map +1 -0
  54. package/dist/actions/get-agent-containers.cjs +30 -0
  55. package/dist/actions/get-agent-containers.cjs.map +1 -0
  56. package/dist/actions/get-agent-containers.d.cts +9 -0
  57. package/dist/actions/get-agent-containers.d.cts.map +1 -0
  58. package/dist/actions/get-agent-containers.d.mts +9 -0
  59. package/dist/actions/get-agent-containers.d.mts.map +1 -0
  60. package/dist/actions/get-agent-containers.mjs +29 -0
  61. package/dist/actions/get-agent-containers.mjs.map +1 -0
  62. package/dist/actions/get-agent-output.cjs +42 -0
  63. package/dist/actions/get-agent-output.cjs.map +1 -0
  64. package/dist/actions/get-agent-output.d.cts +9 -0
  65. package/dist/actions/get-agent-output.d.cts.map +1 -0
  66. package/dist/actions/get-agent-output.d.mts +9 -0
  67. package/dist/actions/get-agent-output.d.mts.map +1 -0
  68. package/dist/actions/get-agent-output.mjs +41 -0
  69. package/dist/actions/get-agent-output.mjs.map +1 -0
  70. package/dist/actions/get-agent.cjs +212 -0
  71. package/dist/actions/get-agent.cjs.map +1 -0
  72. package/dist/actions/get-agent.d.cts +9 -0
  73. package/dist/actions/get-agent.d.cts.map +1 -0
  74. package/dist/actions/get-agent.d.mts +9 -0
  75. package/dist/actions/get-agent.d.mts.map +1 -0
  76. package/dist/actions/get-agent.mjs +211 -0
  77. package/dist/actions/get-agent.mjs.map +1 -0
  78. package/dist/actions/get-agents-fetch-all.cjs +41 -0
  79. package/dist/actions/get-agents-fetch-all.cjs.map +1 -0
  80. package/dist/actions/get-agents-fetch-all.d.cts +9 -0
  81. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -0
  82. package/dist/actions/get-agents-fetch-all.d.mts +9 -0
  83. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -0
  84. package/dist/actions/get-agents-fetch-all.mjs +40 -0
  85. package/dist/actions/get-agents-fetch-all.mjs.map +1 -0
  86. package/dist/actions/get-agents-fetch-deleted.cjs +16 -0
  87. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -0
  88. package/dist/actions/get-agents-fetch-deleted.d.cts +9 -0
  89. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -0
  90. package/dist/actions/get-agents-fetch-deleted.d.mts +9 -0
  91. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -0
  92. package/dist/actions/get-agents-fetch-deleted.mjs +13 -0
  93. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -0
  94. package/dist/actions/get-branches-diff.cjs +19 -0
  95. package/dist/actions/get-branches-diff.cjs.map +1 -0
  96. package/dist/actions/get-branches-diff.d.cts +9 -0
  97. package/dist/actions/get-branches-diff.d.cts.map +1 -0
  98. package/dist/actions/get-branches-diff.d.mts +9 -0
  99. package/dist/actions/get-branches-diff.d.mts.map +1 -0
  100. package/dist/actions/get-branches-diff.mjs +16 -0
  101. package/dist/actions/get-branches-diff.mjs.map +1 -0
  102. package/dist/actions/get-branches-fetch-all.cjs +23 -0
  103. package/dist/actions/get-branches-fetch-all.cjs.map +1 -0
  104. package/dist/actions/get-branches-fetch-all.d.cts +9 -0
  105. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -0
  106. package/dist/actions/get-branches-fetch-all.d.mts +9 -0
  107. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -0
  108. package/dist/actions/get-branches-fetch-all.mjs +22 -0
  109. package/dist/actions/get-branches-fetch-all.mjs.map +1 -0
  110. package/dist/actions/get-containers-fetch-all.cjs +31 -0
  111. package/dist/actions/get-containers-fetch-all.cjs.map +1 -0
  112. package/dist/actions/get-containers-fetch-all.d.cts +9 -0
  113. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -0
  114. package/dist/actions/get-containers-fetch-all.d.mts +9 -0
  115. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -0
  116. package/dist/actions/get-containers-fetch-all.mjs +30 -0
  117. package/dist/actions/get-containers-fetch-all.mjs.map +1 -0
  118. package/dist/actions/get-leads-by-list.cjs +32 -0
  119. package/dist/actions/get-leads-by-list.cjs.map +1 -0
  120. package/dist/actions/get-leads-by-list.d.cts +9 -0
  121. package/dist/actions/get-leads-by-list.d.cts.map +1 -0
  122. package/dist/actions/get-leads-by-list.d.mts +9 -0
  123. package/dist/actions/get-leads-by-list.d.mts.map +1 -0
  124. package/dist/actions/get-leads-by-list.mjs +31 -0
  125. package/dist/actions/get-leads-by-list.mjs.map +1 -0
  126. package/dist/actions/get-location-ip.cjs +16 -0
  127. package/dist/actions/get-location-ip.cjs.map +1 -0
  128. package/dist/actions/get-location-ip.d.cts +9 -0
  129. package/dist/actions/get-location-ip.d.cts.map +1 -0
  130. package/dist/actions/get-location-ip.d.mts +9 -0
  131. package/dist/actions/get-location-ip.d.mts.map +1 -0
  132. package/dist/actions/get-location-ip.mjs +13 -0
  133. package/dist/actions/get-location-ip.mjs.map +1 -0
  134. package/dist/actions/get-org-storage-lists-fetch-all.cjs +27 -0
  135. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -0
  136. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +9 -0
  137. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -0
  138. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +9 -0
  139. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -0
  140. package/dist/actions/get-org-storage-lists-fetch-all.mjs +26 -0
  141. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -0
  142. package/dist/actions/get-orgs-export-agent-usage.cjs +19 -0
  143. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -0
  144. package/dist/actions/get-orgs-export-agent-usage.d.cts +9 -0
  145. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -0
  146. package/dist/actions/get-orgs-export-agent-usage.d.mts +9 -0
  147. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -0
  148. package/dist/actions/get-orgs-export-agent-usage.mjs +16 -0
  149. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -0
  150. package/dist/actions/get-orgs-export-container-usage.cjs +19 -0
  151. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -0
  152. package/dist/actions/get-orgs-export-container-usage.d.cts +9 -0
  153. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -0
  154. package/dist/actions/get-orgs-export-container-usage.d.mts +9 -0
  155. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -0
  156. package/dist/actions/get-orgs-export-container-usage.mjs +16 -0
  157. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -0
  158. package/dist/actions/get-orgs-fetch-agent-groups.cjs +16 -0
  159. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -0
  160. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -0
  161. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -0
  162. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -0
  163. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -0
  164. package/dist/actions/get-orgs-fetch-agent-groups.mjs +13 -0
  165. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -0
  166. package/dist/actions/get-orgs-fetch-resources.cjs +62 -0
  167. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -0
  168. package/dist/actions/get-orgs-fetch-resources.d.cts +9 -0
  169. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -0
  170. package/dist/actions/get-orgs-fetch-resources.d.mts +9 -0
  171. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -0
  172. package/dist/actions/get-orgs-fetch-resources.mjs +61 -0
  173. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -0
  174. package/dist/actions/get-orgs-fetch-running-containers.cjs +23 -0
  175. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -0
  176. package/dist/actions/get-orgs-fetch-running-containers.d.cts +9 -0
  177. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -0
  178. package/dist/actions/get-orgs-fetch-running-containers.d.mts +9 -0
  179. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -0
  180. package/dist/actions/get-orgs-fetch-running-containers.mjs +22 -0
  181. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -0
  182. package/dist/actions/get-orgs-fetch.cjs +22 -0
  183. package/dist/actions/get-orgs-fetch.cjs.map +1 -0
  184. package/dist/actions/get-orgs-fetch.d.cts +9 -0
  185. package/dist/actions/get-orgs-fetch.d.cts.map +1 -0
  186. package/dist/actions/get-orgs-fetch.d.mts +9 -0
  187. package/dist/actions/get-orgs-fetch.d.mts.map +1 -0
  188. package/dist/actions/get-orgs-fetch.mjs +19 -0
  189. package/dist/actions/get-orgs-fetch.mjs.map +1 -0
  190. package/dist/actions/get-script-by-name.cjs +32 -0
  191. package/dist/actions/get-script-by-name.cjs.map +1 -0
  192. package/dist/actions/get-script-by-name.d.cts +9 -0
  193. package/dist/actions/get-script-by-name.d.cts.map +1 -0
  194. package/dist/actions/get-script-by-name.d.mts +9 -0
  195. package/dist/actions/get-script-by-name.d.mts.map +1 -0
  196. package/dist/actions/get-script-by-name.mjs +31 -0
  197. package/dist/actions/get-script-by-name.mjs.map +1 -0
  198. package/dist/actions/get-script.cjs +69 -0
  199. package/dist/actions/get-script.cjs.map +1 -0
  200. package/dist/actions/get-script.d.cts +9 -0
  201. package/dist/actions/get-script.d.cts.map +1 -0
  202. package/dist/actions/get-script.d.mts +9 -0
  203. package/dist/actions/get-script.d.mts.map +1 -0
  204. package/dist/actions/get-script.mjs +68 -0
  205. package/dist/actions/get-script.mjs.map +1 -0
  206. package/dist/actions/get-scripts-code.cjs +22 -0
  207. package/dist/actions/get-scripts-code.cjs.map +1 -0
  208. package/dist/actions/get-scripts-code.d.cts +9 -0
  209. package/dist/actions/get-scripts-code.d.cts.map +1 -0
  210. package/dist/actions/get-scripts-code.d.mts +9 -0
  211. package/dist/actions/get-scripts-code.d.mts.map +1 -0
  212. package/dist/actions/get-scripts-code.mjs +19 -0
  213. package/dist/actions/get-scripts-code.mjs.map +1 -0
  214. package/dist/actions/get-scripts-fetch-all.cjs +25 -0
  215. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -0
  216. package/dist/actions/get-scripts-fetch-all.d.cts +9 -0
  217. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -0
  218. package/dist/actions/get-scripts-fetch-all.d.mts +9 -0
  219. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -0
  220. package/dist/actions/get-scripts-fetch-all.mjs +24 -0
  221. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -0
  222. package/dist/actions/get-user.cjs +37 -0
  223. package/dist/actions/get-user.cjs.map +1 -0
  224. package/dist/actions/get-user.d.cts +9 -0
  225. package/dist/actions/get-user.d.cts.map +1 -0
  226. package/dist/actions/get-user.d.mts +9 -0
  227. package/dist/actions/get-user.d.mts.map +1 -0
  228. package/dist/actions/get-user.mjs +36 -0
  229. package/dist/actions/get-user.mjs.map +1 -0
  230. package/dist/actions/index.cjs +107 -0
  231. package/dist/actions/index.d.cts +54 -0
  232. package/dist/actions/index.d.mts +54 -0
  233. package/dist/actions/index.mjs +54 -0
  234. package/dist/actions/post-agents-unschedule-all.cjs +16 -0
  235. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -0
  236. package/dist/actions/post-agents-unschedule-all.d.cts +9 -0
  237. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -0
  238. package/dist/actions/post-agents-unschedule-all.d.mts +9 -0
  239. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -0
  240. package/dist/actions/post-agents-unschedule-all.mjs +13 -0
  241. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -0
  242. package/dist/actions/post-ai-completions.cjs +38 -0
  243. package/dist/actions/post-ai-completions.cjs.map +1 -0
  244. package/dist/actions/post-ai-completions.d.cts +9 -0
  245. package/dist/actions/post-ai-completions.d.cts.map +1 -0
  246. package/dist/actions/post-ai-completions.d.mts +9 -0
  247. package/dist/actions/post-ai-completions.d.mts.map +1 -0
  248. package/dist/actions/post-ai-completions.mjs +37 -0
  249. package/dist/actions/post-ai-completions.mjs.map +1 -0
  250. package/dist/actions/post-branches-create.cjs +22 -0
  251. package/dist/actions/post-branches-create.cjs.map +1 -0
  252. package/dist/actions/post-branches-create.d.cts +9 -0
  253. package/dist/actions/post-branches-create.d.cts.map +1 -0
  254. package/dist/actions/post-branches-create.d.mts +9 -0
  255. package/dist/actions/post-branches-create.d.mts.map +1 -0
  256. package/dist/actions/post-branches-create.mjs +19 -0
  257. package/dist/actions/post-branches-create.mjs.map +1 -0
  258. package/dist/actions/post-branches-delete.cjs +20 -0
  259. package/dist/actions/post-branches-delete.cjs.map +1 -0
  260. package/dist/actions/post-branches-delete.d.cts +9 -0
  261. package/dist/actions/post-branches-delete.d.cts.map +1 -0
  262. package/dist/actions/post-branches-delete.d.mts +9 -0
  263. package/dist/actions/post-branches-delete.d.mts.map +1 -0
  264. package/dist/actions/post-branches-delete.mjs +19 -0
  265. package/dist/actions/post-branches-delete.mjs.map +1 -0
  266. package/dist/actions/post-hcaptcha.cjs +24 -0
  267. package/dist/actions/post-hcaptcha.cjs.map +1 -0
  268. package/dist/actions/post-hcaptcha.d.cts +9 -0
  269. package/dist/actions/post-hcaptcha.d.cts.map +1 -0
  270. package/dist/actions/post-hcaptcha.d.mts +9 -0
  271. package/dist/actions/post-hcaptcha.d.mts.map +1 -0
  272. package/dist/actions/post-hcaptcha.mjs +21 -0
  273. package/dist/actions/post-hcaptcha.mjs.map +1 -0
  274. package/dist/actions/post-identities-generate-token.cjs +20 -0
  275. package/dist/actions/post-identities-generate-token.cjs.map +1 -0
  276. package/dist/actions/post-identities-generate-token.d.cts +9 -0
  277. package/dist/actions/post-identities-generate-token.d.cts.map +1 -0
  278. package/dist/actions/post-identities-generate-token.d.mts +9 -0
  279. package/dist/actions/post-identities-generate-token.d.mts.map +1 -0
  280. package/dist/actions/post-identities-generate-token.mjs +17 -0
  281. package/dist/actions/post-identities-generate-token.mjs.map +1 -0
  282. package/dist/actions/post-org-storage-leads-save-many.cjs +85 -0
  283. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -0
  284. package/dist/actions/post-org-storage-leads-save-many.d.cts +9 -0
  285. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -0
  286. package/dist/actions/post-org-storage-leads-save-many.d.mts +9 -0
  287. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -0
  288. package/dist/actions/post-org-storage-leads-save-many.mjs +84 -0
  289. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -0
  290. package/dist/actions/post-recaptcha.cjs +25 -0
  291. package/dist/actions/post-recaptcha.cjs.map +1 -0
  292. package/dist/actions/post-recaptcha.d.cts +9 -0
  293. package/dist/actions/post-recaptcha.d.cts.map +1 -0
  294. package/dist/actions/post-recaptcha.d.mts +9 -0
  295. package/dist/actions/post-recaptcha.d.mts.map +1 -0
  296. package/dist/actions/post-recaptcha.mjs +22 -0
  297. package/dist/actions/post-recaptcha.mjs.map +1 -0
  298. package/dist/actions/post-scripts-visibility.cjs +27 -0
  299. package/dist/actions/post-scripts-visibility.cjs.map +1 -0
  300. package/dist/actions/post-scripts-visibility.d.cts +9 -0
  301. package/dist/actions/post-scripts-visibility.d.cts.map +1 -0
  302. package/dist/actions/post-scripts-visibility.d.mts +9 -0
  303. package/dist/actions/post-scripts-visibility.d.mts.map +1 -0
  304. package/dist/actions/post-scripts-visibility.mjs +24 -0
  305. package/dist/actions/post-scripts-visibility.mjs.map +1 -0
  306. package/dist/actions/release-branch.cjs +23 -0
  307. package/dist/actions/release-branch.cjs.map +1 -0
  308. package/dist/actions/release-branch.d.cts +9 -0
  309. package/dist/actions/release-branch.d.cts.map +1 -0
  310. package/dist/actions/release-branch.d.mts +9 -0
  311. package/dist/actions/release-branch.d.mts.map +1 -0
  312. package/dist/actions/release-branch.mjs +20 -0
  313. package/dist/actions/release-branch.mjs.map +1 -0
  314. package/dist/actions/save-agent-groups.cjs +28 -0
  315. package/dist/actions/save-agent-groups.cjs.map +1 -0
  316. package/dist/actions/save-agent-groups.d.cts +9 -0
  317. package/dist/actions/save-agent-groups.d.cts.map +1 -0
  318. package/dist/actions/save-agent-groups.d.mts +9 -0
  319. package/dist/actions/save-agent-groups.d.mts.map +1 -0
  320. package/dist/actions/save-agent-groups.mjs +27 -0
  321. package/dist/actions/save-agent-groups.mjs.map +1 -0
  322. package/dist/actions/save-agent.cjs +143 -0
  323. package/dist/actions/save-agent.cjs.map +1 -0
  324. package/dist/actions/save-agent.d.cts +9 -0
  325. package/dist/actions/save-agent.d.cts.map +1 -0
  326. package/dist/actions/save-agent.d.mts +9 -0
  327. package/dist/actions/save-agent.d.mts.map +1 -0
  328. package/dist/actions/save-agent.mjs +140 -0
  329. package/dist/actions/save-agent.mjs.map +1 -0
  330. package/dist/actions/save-company-object.cjs +30 -0
  331. package/dist/actions/save-company-object.cjs.map +1 -0
  332. package/dist/actions/save-company-object.d.cts +9 -0
  333. package/dist/actions/save-company-object.d.cts.map +1 -0
  334. package/dist/actions/save-company-object.d.mts +9 -0
  335. package/dist/actions/save-company-object.d.mts.map +1 -0
  336. package/dist/actions/save-company-object.mjs +27 -0
  337. package/dist/actions/save-company-object.mjs.map +1 -0
  338. package/dist/actions/save-company-objects-many.cjs +40 -0
  339. package/dist/actions/save-company-objects-many.cjs.map +1 -0
  340. package/dist/actions/save-company-objects-many.d.cts +9 -0
  341. package/dist/actions/save-company-objects-many.d.cts.map +1 -0
  342. package/dist/actions/save-company-objects-many.d.mts +9 -0
  343. package/dist/actions/save-company-objects-many.d.mts.map +1 -0
  344. package/dist/actions/save-company-objects-many.mjs +39 -0
  345. package/dist/actions/save-company-objects-many.mjs.map +1 -0
  346. package/dist/actions/save-identity-event.cjs +30 -0
  347. package/dist/actions/save-identity-event.cjs.map +1 -0
  348. package/dist/actions/save-identity-event.d.cts +9 -0
  349. package/dist/actions/save-identity-event.d.cts.map +1 -0
  350. package/dist/actions/save-identity-event.d.mts +9 -0
  351. package/dist/actions/save-identity-event.d.mts.map +1 -0
  352. package/dist/actions/save-identity-event.mjs +27 -0
  353. package/dist/actions/save-identity-event.mjs.map +1 -0
  354. package/dist/actions/save-lead-object.cjs +34 -0
  355. package/dist/actions/save-lead-object.cjs.map +1 -0
  356. package/dist/actions/save-lead-object.d.cts +9 -0
  357. package/dist/actions/save-lead-object.d.cts.map +1 -0
  358. package/dist/actions/save-lead-object.d.mts +9 -0
  359. package/dist/actions/save-lead-object.d.mts.map +1 -0
  360. package/dist/actions/save-lead-object.mjs +31 -0
  361. package/dist/actions/save-lead-object.mjs.map +1 -0
  362. package/dist/actions/save-lead.cjs +131 -0
  363. package/dist/actions/save-lead.cjs.map +1 -0
  364. package/dist/actions/save-lead.d.cts +9 -0
  365. package/dist/actions/save-lead.d.cts.map +1 -0
  366. package/dist/actions/save-lead.d.mts +9 -0
  367. package/dist/actions/save-lead.d.mts.map +1 -0
  368. package/dist/actions/save-lead.mjs +128 -0
  369. package/dist/actions/save-lead.mjs.map +1 -0
  370. package/dist/actions/save-leads-objects-many.cjs +35 -0
  371. package/dist/actions/save-leads-objects-many.cjs.map +1 -0
  372. package/dist/actions/save-leads-objects-many.d.cts +9 -0
  373. package/dist/actions/save-leads-objects-many.d.cts.map +1 -0
  374. package/dist/actions/save-leads-objects-many.d.mts +9 -0
  375. package/dist/actions/save-leads-objects-many.d.mts.map +1 -0
  376. package/dist/actions/save-leads-objects-many.mjs +34 -0
  377. package/dist/actions/save-leads-objects-many.mjs.map +1 -0
  378. package/dist/actions/save-list.cjs +34 -0
  379. package/dist/actions/save-list.cjs.map +1 -0
  380. package/dist/actions/save-list.d.cts +9 -0
  381. package/dist/actions/save-list.d.cts.map +1 -0
  382. package/dist/actions/save-list.d.mts +9 -0
  383. package/dist/actions/save-list.d.mts.map +1 -0
  384. package/dist/actions/save-list.mjs +31 -0
  385. package/dist/actions/save-list.mjs.map +1 -0
  386. package/dist/actions/save-script.cjs +36 -0
  387. package/dist/actions/save-script.cjs.map +1 -0
  388. package/dist/actions/save-script.d.cts +9 -0
  389. package/dist/actions/save-script.d.cts.map +1 -0
  390. package/dist/actions/save-script.d.mts +9 -0
  391. package/dist/actions/save-script.d.mts.map +1 -0
  392. package/dist/actions/save-script.mjs +33 -0
  393. package/dist/actions/save-script.mjs.map +1 -0
  394. package/dist/actions/search-company-objects.cjs +24 -0
  395. package/dist/actions/search-company-objects.cjs.map +1 -0
  396. package/dist/actions/search-company-objects.d.cts +9 -0
  397. package/dist/actions/search-company-objects.d.cts.map +1 -0
  398. package/dist/actions/search-company-objects.d.mts +9 -0
  399. package/dist/actions/search-company-objects.d.mts.map +1 -0
  400. package/dist/actions/search-company-objects.mjs +21 -0
  401. package/dist/actions/search-company-objects.mjs.map +1 -0
  402. package/dist/actions/search-lead-objects.cjs +20 -0
  403. package/dist/actions/search-lead-objects.cjs.map +1 -0
  404. package/dist/actions/search-lead-objects.d.cts +9 -0
  405. package/dist/actions/search-lead-objects.d.cts.map +1 -0
  406. package/dist/actions/search-lead-objects.d.mts +9 -0
  407. package/dist/actions/search-lead-objects.d.mts.map +1 -0
  408. package/dist/actions/search-lead-objects.mjs +19 -0
  409. package/dist/actions/search-lead-objects.mjs.map +1 -0
  410. package/dist/actions/stop-agent.cjs +25 -0
  411. package/dist/actions/stop-agent.cjs.map +1 -0
  412. package/dist/actions/stop-agent.d.cts +9 -0
  413. package/dist/actions/stop-agent.d.cts.map +1 -0
  414. package/dist/actions/stop-agent.d.mts +9 -0
  415. package/dist/actions/stop-agent.d.mts.map +1 -0
  416. package/dist/actions/stop-agent.mjs +22 -0
  417. package/dist/actions/stop-agent.mjs.map +1 -0
  418. package/dist/actions/update-script.cjs +23 -0
  419. package/dist/actions/update-script.cjs.map +1 -0
  420. package/dist/actions/update-script.d.cts +9 -0
  421. package/dist/actions/update-script.d.cts.map +1 -0
  422. package/dist/actions/update-script.d.mts +9 -0
  423. package/dist/actions/update-script.d.mts.map +1 -0
  424. package/dist/actions/update-script.mjs +20 -0
  425. package/dist/actions/update-script.mjs.map +1 -0
  426. package/dist/actions/update-scripts-access-list.cjs +25 -0
  427. package/dist/actions/update-scripts-access-list.cjs.map +1 -0
  428. package/dist/actions/update-scripts-access-list.d.cts +9 -0
  429. package/dist/actions/update-scripts-access-list.d.cts.map +1 -0
  430. package/dist/actions/update-scripts-access-list.d.mts +9 -0
  431. package/dist/actions/update-scripts-access-list.d.mts.map +1 -0
  432. package/dist/actions/update-scripts-access-list.mjs +22 -0
  433. package/dist/actions/update-scripts-access-list.mjs.map +1 -0
  434. package/dist/app.cjs +9 -0
  435. package/dist/app.cjs.map +1 -0
  436. package/dist/app.d.cts +5 -0
  437. package/dist/app.d.cts.map +1 -0
  438. package/dist/app.d.mts +5 -0
  439. package/dist/app.d.mts.map +1 -0
  440. package/dist/app.mjs +10 -0
  441. package/dist/app.mjs.map +1 -0
  442. package/dist/catalog.cjs +15 -0
  443. package/dist/catalog.cjs.map +1 -0
  444. package/dist/catalog.d.cts +14 -0
  445. package/dist/catalog.d.cts.map +1 -0
  446. package/dist/catalog.d.mts +14 -0
  447. package/dist/catalog.d.mts.map +1 -0
  448. package/dist/catalog.mjs +15 -0
  449. package/dist/catalog.mjs.map +1 -0
  450. package/dist/execute.cjs +18 -0
  451. package/dist/execute.cjs.map +1 -0
  452. package/dist/execute.mjs +18 -0
  453. package/dist/execute.mjs.map +1 -0
  454. package/dist/index.cjs +112 -0
  455. package/dist/index.d.cts +56 -0
  456. package/dist/index.d.mts +56 -0
  457. package/dist/index.mjs +57 -0
  458. package/package.json +49 -0
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-branches-fetch-all.ts
4
+ const PhantombusterGetBranchesFetchAllInput = zod.z.object({}).describe("No parameters are required for this endpoint.");
5
+ const PhantombusterGetBranchesFetchAll_BranchSchema = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier of the branch"),
7
+ name: zod.z.string().describe("The name of the branch"),
8
+ script_id: zod.z.string().describe("The ID of the script associated with the branch, if available").nullable().optional(),
9
+ created_at: zod.z.union([zod.z.number().int(), zod.z.string()]),
10
+ updated_at: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
11
+ });
12
+ const PhantombusterGetBranchesFetchAllOutput = zod.z.object({ branches: zod.z.array(PhantombusterGetBranchesFetchAll_BranchSchema).describe("List of all branches associated with the current organization") });
13
+ const phantombusterGetBranchesFetchAll = require_action.action("PHANTOMBUSTER_GET_BRANCHES_FETCH_ALL", {
14
+ slug: "phantombuster-get-branches-fetch-all",
15
+ name: "Get All Branches",
16
+ description: "Tool to fetch all branches associated with the current organization. Use when you need to enumerate every branch across your scripts.",
17
+ input: PhantombusterGetBranchesFetchAllInput,
18
+ output: PhantombusterGetBranchesFetchAllOutput
19
+ });
20
+ //#endregion
21
+ exports.phantombusterGetBranchesFetchAll = phantombusterGetBranchesFetchAll;
22
+
23
+ //# sourceMappingURL=get-branches-fetch-all.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-branches-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-branches-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetBranchesFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetBranchesFetchAll_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch\"),\n name: z.string().describe(\"The name of the branch\"),\n script_id: z.string().describe(\"The ID of the script associated with the branch, if available\").nullable().optional(),\n created_at: z.union([z.number().int(), z.string()]),\n updated_at: z.union([z.number().int(), z.string()]).nullable().optional(),\n});\nexport const PhantombusterGetBranchesFetchAllOutput: z.ZodTypeAny = z.object({\n branches: z.array(PhantombusterGetBranchesFetchAll_BranchSchema).describe(\"List of all branches associated with the current organization\"),\n});\n\nexport const phantombusterGetBranchesFetchAll = action(\"PHANTOMBUSTER_GET_BRANCHES_FETCH_ALL\", {\n slug: \"phantombuster-get-branches-fetch-all\",\n name: \"Get All Branches\",\n description: \"Tool to fetch all branches associated with the current organization. Use when you need to enumerate every branch across your scripts.\",\n input: PhantombusterGetBranchesFetchAllInput,\n output: PhantombusterGetBranchesFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACxI,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAClD,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+DAA+D,EAC3I,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-branches-fetch-all.d.ts
4
+ declare const PhantombusterGetBranchesFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetBranchesFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetBranchesFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetBranchesFetchAll };
9
+ //# sourceMappingURL=get-branches-fetch-all.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-branches-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-branches-fetch-all.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAAmF;AAAA,cAQ5H,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-branches-fetch-all.d.ts
4
+ declare const PhantombusterGetBranchesFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetBranchesFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetBranchesFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetBranchesFetchAll };
9
+ //# sourceMappingURL=get-branches-fetch-all.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-branches-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-branches-fetch-all.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAAmF;AAAA,cAQ5H,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-branches-fetch-all.ts
4
+ const PhantombusterGetBranchesFetchAllInput = z.object({}).describe("No parameters are required for this endpoint.");
5
+ const PhantombusterGetBranchesFetchAll_BranchSchema = z.object({
6
+ id: z.string().describe("The unique identifier of the branch"),
7
+ name: z.string().describe("The name of the branch"),
8
+ script_id: z.string().describe("The ID of the script associated with the branch, if available").nullable().optional(),
9
+ created_at: z.union([z.number().int(), z.string()]),
10
+ updated_at: z.union([z.number().int(), z.string()]).nullable().optional()
11
+ });
12
+ const phantombusterGetBranchesFetchAll = action("PHANTOMBUSTER_GET_BRANCHES_FETCH_ALL", {
13
+ slug: "phantombuster-get-branches-fetch-all",
14
+ name: "Get All Branches",
15
+ description: "Tool to fetch all branches associated with the current organization. Use when you need to enumerate every branch across your scripts.",
16
+ input: PhantombusterGetBranchesFetchAllInput,
17
+ output: z.object({ branches: z.array(PhantombusterGetBranchesFetchAll_BranchSchema).describe("List of all branches associated with the current organization") })
18
+ });
19
+ //#endregion
20
+ export { phantombusterGetBranchesFetchAll };
21
+
22
+ //# sourceMappingURL=get-branches-fetch-all.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-branches-fetch-all.mjs","names":[],"sources":["../../src/actions/get-branches-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetBranchesFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetBranchesFetchAll_BranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch\"),\n name: z.string().describe(\"The name of the branch\"),\n script_id: z.string().describe(\"The ID of the script associated with the branch, if available\").nullable().optional(),\n created_at: z.union([z.number().int(), z.string()]),\n updated_at: z.union([z.number().int(), z.string()]).nullable().optional(),\n});\nexport const PhantombusterGetBranchesFetchAllOutput: z.ZodTypeAny = z.object({\n branches: z.array(PhantombusterGetBranchesFetchAll_BranchSchema).describe(\"List of all branches associated with the current organization\"),\n});\n\nexport const phantombusterGetBranchesFetchAll = action(\"PHANTOMBUSTER_GET_BRANCHES_FETCH_ALL\", {\n slug: \"phantombuster-get-branches-fetch-all\",\n name: \"Get All Branches\",\n description: \"Tool to fetch all branches associated with the current organization. Use when you need to enumerate every branch across your scripts.\",\n input: PhantombusterGetBranchesFetchAllInput,\n output: PhantombusterGetBranchesFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACxI,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAClD,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AAKD,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+DAA+D,EAC3I,CAOU;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-containers-fetch-all.ts
4
+ const PhantombusterGetContainersFetchAllInput = zod.z.object({ agentId: zod.z.string().describe("ID of the agent whose containers will be fetched.") }).describe("Request model for GET /containers/fetch-all.\n\nSpecify the ID of the agent whose containers will be fetched.");
5
+ const PhantombusterGetContainersFetchAll_ContainerSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the container."),
7
+ status: zod.z.string().describe("Current status of the container (e.g., 'running', 'finished')."),
8
+ agentId: zod.z.string().describe("ID of the agent associated with this container.").nullable().optional(),
9
+ endType: zod.z.string().describe("How the container ended (e.g., 'finished', 'error').").nullable().optional(),
10
+ endedAt: zod.z.number().int().describe("Timestamp when the container ended, in milliseconds since Unix epoch.").nullable().optional(),
11
+ exitCode: zod.z.number().int().describe("Exit code of the container.").nullable().optional(),
12
+ createdAt: zod.z.number().int().describe("Creation timestamp in milliseconds since Unix epoch."),
13
+ updatedAt: zod.z.number().int().describe("Last update timestamp in milliseconds since Unix epoch.").nullable().optional(),
14
+ launchType: zod.z.string().describe("Type of launch (e.g., 'manual', 'user api call')."),
15
+ retryNumber: zod.z.number().int().describe("Number of retries attempted.")
16
+ }).describe("Represents a single Phantombuster container.");
17
+ const PhantombusterGetContainersFetchAllOutput = zod.z.object({
18
+ containers: zod.z.array(PhantombusterGetContainersFetchAll_ContainerSchema).describe("List of container objects."),
19
+ maxLimitReached: zod.z.boolean().describe("Indicates if maximum fetch limit was reached.")
20
+ }).describe("Response model for GET /containers/fetch-all.");
21
+ const phantombusterGetContainersFetchAll = require_action.action("PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALL", {
22
+ slug: "phantombuster-get-containers-fetch-all",
23
+ name: "Get Containers Fetch All",
24
+ description: "Tool to get all containers associated with a specified agent. Use when you need to retrieve every container for a given agent, for monitoring or reporting.",
25
+ input: PhantombusterGetContainersFetchAllInput,
26
+ output: PhantombusterGetContainersFetchAllOutput
27
+ });
28
+ //#endregion
29
+ exports.phantombusterGetContainersFetchAll = phantombusterGetContainersFetchAll;
30
+
31
+ //# sourceMappingURL=get-containers-fetch-all.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-containers-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-containers-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetContainersFetchAllInput: z.ZodTypeAny = z.object({\n agentId: z.string().describe(\"ID of the agent whose containers will be fetched.\"),\n}).describe(\"Request model for GET /containers/fetch-all.\\n\\nSpecify the ID of the agent whose containers will be fetched.\");\nconst PhantombusterGetContainersFetchAll_ContainerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the container.\"),\n status: z.string().describe(\"Current status of the container (e.g., 'running', 'finished').\"),\n agentId: z.string().describe(\"ID of the agent associated with this container.\").nullable().optional(),\n endType: z.string().describe(\"How the container ended (e.g., 'finished', 'error').\").nullable().optional(),\n endedAt: z.number().int().describe(\"Timestamp when the container ended, in milliseconds since Unix epoch.\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container.\").nullable().optional(),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds since Unix epoch.\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds since Unix epoch.\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'user api call').\"),\n retryNumber: z.number().int().describe(\"Number of retries attempted.\"),\n}).describe(\"Represents a single Phantombuster container.\");\nexport const PhantombusterGetContainersFetchAllOutput: z.ZodTypeAny = z.object({\n containers: z.array(PhantombusterGetContainersFetchAll_ContainerSchema).describe(\"List of container objects.\"),\n maxLimitReached: z.boolean().describe(\"Indicates if maximum fetch limit was reached.\"),\n}).describe(\"Response model for GET /containers/fetch-all.\");\n\nexport const phantombusterGetContainersFetchAll = action(\"PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALL\", {\n slug: \"phantombuster-get-containers-fetch-all\",\n name: \"Get Containers Fetch All\",\n description: \"Tool to get all containers associated with a specified agent. Use when you need to retrieve every container for a given agent, for monitoring or reporting.\",\n input: PhantombusterGetContainersFetchAllInput,\n output: PhantombusterGetContainersFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAClF,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;AACvE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4BAA4B;CAC7G,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AACvF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-containers-fetch-all.d.ts
4
+ declare const PhantombusterGetContainersFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetContainersFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetContainersFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetContainersFetchAll };
9
+ //# sourceMappingURL=get-containers-fetch-all.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-containers-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-containers-fetch-all.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEoE;AAAA,cAa/G,wCAAA,EAA0C,CAAA,CAAE,UAGG;AAAA,cAE/C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-containers-fetch-all.d.ts
4
+ declare const PhantombusterGetContainersFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetContainersFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetContainersFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetContainersFetchAll };
9
+ //# sourceMappingURL=get-containers-fetch-all.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-containers-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-containers-fetch-all.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEoE;AAAA,cAa/G,wCAAA,EAA0C,CAAA,CAAE,UAGG;AAAA,cAE/C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-containers-fetch-all.ts
4
+ const PhantombusterGetContainersFetchAllInput = z.object({ agentId: z.string().describe("ID of the agent whose containers will be fetched.") }).describe("Request model for GET /containers/fetch-all.\n\nSpecify the ID of the agent whose containers will be fetched.");
5
+ const PhantombusterGetContainersFetchAll_ContainerSchema = z.object({
6
+ id: z.string().describe("Unique identifier of the container."),
7
+ status: z.string().describe("Current status of the container (e.g., 'running', 'finished')."),
8
+ agentId: z.string().describe("ID of the agent associated with this container.").nullable().optional(),
9
+ endType: z.string().describe("How the container ended (e.g., 'finished', 'error').").nullable().optional(),
10
+ endedAt: z.number().int().describe("Timestamp when the container ended, in milliseconds since Unix epoch.").nullable().optional(),
11
+ exitCode: z.number().int().describe("Exit code of the container.").nullable().optional(),
12
+ createdAt: z.number().int().describe("Creation timestamp in milliseconds since Unix epoch."),
13
+ updatedAt: z.number().int().describe("Last update timestamp in milliseconds since Unix epoch.").nullable().optional(),
14
+ launchType: z.string().describe("Type of launch (e.g., 'manual', 'user api call')."),
15
+ retryNumber: z.number().int().describe("Number of retries attempted.")
16
+ }).describe("Represents a single Phantombuster container.");
17
+ const phantombusterGetContainersFetchAll = action("PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALL", {
18
+ slug: "phantombuster-get-containers-fetch-all",
19
+ name: "Get Containers Fetch All",
20
+ description: "Tool to get all containers associated with a specified agent. Use when you need to retrieve every container for a given agent, for monitoring or reporting.",
21
+ input: PhantombusterGetContainersFetchAllInput,
22
+ output: z.object({
23
+ containers: z.array(PhantombusterGetContainersFetchAll_ContainerSchema).describe("List of container objects."),
24
+ maxLimitReached: z.boolean().describe("Indicates if maximum fetch limit was reached.")
25
+ }).describe("Response model for GET /containers/fetch-all.")
26
+ });
27
+ //#endregion
28
+ export { phantombusterGetContainersFetchAll };
29
+
30
+ //# sourceMappingURL=get-containers-fetch-all.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-containers-fetch-all.mjs","names":[],"sources":["../../src/actions/get-containers-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetContainersFetchAllInput: z.ZodTypeAny = z.object({\n agentId: z.string().describe(\"ID of the agent whose containers will be fetched.\"),\n}).describe(\"Request model for GET /containers/fetch-all.\\n\\nSpecify the ID of the agent whose containers will be fetched.\");\nconst PhantombusterGetContainersFetchAll_ContainerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the container.\"),\n status: z.string().describe(\"Current status of the container (e.g., 'running', 'finished').\"),\n agentId: z.string().describe(\"ID of the agent associated with this container.\").nullable().optional(),\n endType: z.string().describe(\"How the container ended (e.g., 'finished', 'error').\").nullable().optional(),\n endedAt: z.number().int().describe(\"Timestamp when the container ended, in milliseconds since Unix epoch.\").nullable().optional(),\n exitCode: z.number().int().describe(\"Exit code of the container.\").nullable().optional(),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds since Unix epoch.\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds since Unix epoch.\").nullable().optional(),\n launchType: z.string().describe(\"Type of launch (e.g., 'manual', 'user api call').\"),\n retryNumber: z.number().int().describe(\"Number of retries attempted.\"),\n}).describe(\"Represents a single Phantombuster container.\");\nexport const PhantombusterGetContainersFetchAllOutput: z.ZodTypeAny = z.object({\n containers: z.array(PhantombusterGetContainersFetchAll_ContainerSchema).describe(\"List of container objects.\"),\n maxLimitReached: z.boolean().describe(\"Indicates if maximum fetch limit was reached.\"),\n}).describe(\"Response model for GET /containers/fetch-all.\");\n\nexport const phantombusterGetContainersFetchAll = action(\"PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALL\", {\n slug: \"phantombuster-get-containers-fetch-all\",\n name: \"Get Containers Fetch All\",\n description: \"Tool to get all containers associated with a specified agent. Use when you need to retrieve every container for a given agent, for monitoring or reporting.\",\n input: PhantombusterGetContainersFetchAllInput,\n output: PhantombusterGetContainersFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO,EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAClF,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,qDAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;AACvE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoE,EAAE,OAAO;EAC7E,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4BAA4B;EAC7G,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;CACvF,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-leads-by-list.ts
4
+ const PhantombusterGetLeadsByListInput = zod.z.object({
5
+ listId: zod.z.string().describe("Id of the lead list to fetch leads from."),
6
+ withCompanies: zod.z.boolean().describe("Option for retrieving the company associated to the lead.").optional(),
7
+ paginationOptions: zod.z.object({
8
+ paginationSize: zod.z.number().int().describe("Number of leads per page.").optional(),
9
+ paginationOrder: zod.z.enum(["ASC", "DESC"]).describe("Order for pagination sorting.").optional(),
10
+ paginationOffset: zod.z.number().int().describe("Offset to start looking for leads at.").optional(),
11
+ includeTotalCount: zod.z.boolean().describe("Should the response return total items count.").optional(),
12
+ paginationProperty: zod.z.string().describe("Property to sort the leads.").optional()
13
+ }).describe("Options for paginating through leads.").optional(),
14
+ "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(),
15
+ withLeadObjectsOfTypes: zod.z.array(zod.z.string()).describe("Array of lead object types (max 3 items).").optional()
16
+ }).describe("Request model for fetching leads by list ID.");
17
+ const PhantombusterGetLeadsByList_LeadSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Represents a single lead from the list.");
18
+ const PhantombusterGetLeadsByListOutput = zod.z.object({
19
+ leads: zod.z.array(PhantombusterGetLeadsByList_LeadSchema).describe("Array of lead objects from the specified list."),
20
+ totalCount: zod.z.number().int().describe("Total number of leads in the list (included when includeTotalCount is true).").nullable().optional()
21
+ }).describe("Response schema for fetching leads by list ID.\nThe API can return either an object with leads array and totalCount,\nor just an array of leads.");
22
+ const phantombusterGetLeadsByList = require_action.action("PHANTOMBUSTER_GET_LEADS_BY_LIST", {
23
+ slug: "phantombuster-get-leads-by-list",
24
+ name: "Get Leads By List",
25
+ description: "Tool to fetch leads by their list ID. Use when you need to retrieve leads from a specific list with optional pagination and filtering.",
26
+ input: PhantombusterGetLeadsByListInput,
27
+ output: PhantombusterGetLeadsByListOutput
28
+ });
29
+ //#endregion
30
+ exports.phantombusterGetLeadsByList = phantombusterGetLeadsByList;
31
+
32
+ //# sourceMappingURL=get-leads-by-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-leads-by-list.cjs","names":["z","action"],"sources":["../../src/actions/get-leads-by-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetLeadsByListInput: z.ZodTypeAny = z.object({\n listId: z.string().describe(\"Id of the lead list to fetch leads from.\"),\n withCompanies: z.boolean().describe(\"Option for retrieving the company associated to the lead.\").optional(),\n paginationOptions: z.object({\n paginationSize: z.number().int().describe(\"Number of leads per page.\").optional(),\n paginationOrder: z.enum([\"ASC\", \"DESC\"]).describe(\"Order for pagination sorting.\").optional(),\n paginationOffset: z.number().int().describe(\"Offset to start looking for leads at.\").optional(),\n includeTotalCount: z.boolean().describe(\"Should the response return total items count.\").optional(),\n paginationProperty: z.string().describe(\"Property to sort the leads.\").optional(),\n}).describe(\"Options for paginating through leads.\").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 withLeadObjectsOfTypes: z.array(z.string()).describe(\"Array of lead object types (max 3 items).\").optional(),\n}).describe(\"Request model for fetching leads by list ID.\");\nconst PhantombusterGetLeadsByList_LeadSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Represents a single lead from the list.\");\nexport const PhantombusterGetLeadsByListOutput: z.ZodTypeAny = z.object({\n leads: z.array(PhantombusterGetLeadsByList_LeadSchema).describe(\"Array of lead objects from the specified list.\"),\n totalCount: z.number().int().describe(\"Total number of leads in the list (included when includeTotalCount is true).\").nullable().optional(),\n}).describe(\"Response schema for fetching leads by list ID.\\nThe API can return either an object with leads array and totalCount,\\nor just an array of leads.\");\n\nexport const phantombusterGetLeadsByList = action(\"PHANTOMBUSTER_GET_LEADS_BY_LIST\", {\n slug: \"phantombuster-get-leads-by-list\",\n name: \"Get Leads By List\",\n description: \"Tool to fetch leads by their list ID. Use when you need to retrieve leads from a specific list with optional pagination and filtering.\",\n input: PhantombusterGetLeadsByListInput,\n output: PhantombusterGetLeadsByListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO;EAC5B,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChF,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yCAAuDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACjJ,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,kJAAkJ;AAE9J,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-leads-by-list.d.ts
4
+ declare const PhantombusterGetLeadsByListInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetLeadsByListOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetLeadsByList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetLeadsByList };
9
+ //# sourceMappingURL=get-leads-by-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-leads-by-list.d.cts","names":[],"sources":["../../src/actions/get-leads-by-list.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAYU;AAAA,cAE9C,iCAAA,EAAmC,CAAA,CAAE,UAG6G;AAAA,cAElJ,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-leads-by-list.d.ts
4
+ declare const PhantombusterGetLeadsByListInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetLeadsByListOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetLeadsByList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetLeadsByList };
9
+ //# sourceMappingURL=get-leads-by-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-leads-by-list.d.mts","names":[],"sources":["../../src/actions/get-leads-by-list.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAYU;AAAA,cAE9C,iCAAA,EAAmC,CAAA,CAAE,UAG6G;AAAA,cAElJ,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-leads-by-list.ts
4
+ const PhantombusterGetLeadsByListInput = z.object({
5
+ listId: z.string().describe("Id of the lead list to fetch leads from."),
6
+ withCompanies: z.boolean().describe("Option for retrieving the company associated to the lead.").optional(),
7
+ paginationOptions: z.object({
8
+ paginationSize: z.number().int().describe("Number of leads per page.").optional(),
9
+ paginationOrder: z.enum(["ASC", "DESC"]).describe("Order for pagination sorting.").optional(),
10
+ paginationOffset: z.number().int().describe("Offset to start looking for leads at.").optional(),
11
+ includeTotalCount: z.boolean().describe("Should the response return total items count.").optional(),
12
+ paginationProperty: z.string().describe("Property to sort the leads.").optional()
13
+ }).describe("Options for paginating through leads.").optional(),
14
+ "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional(),
15
+ withLeadObjectsOfTypes: z.array(z.string()).describe("Array of lead object types (max 3 items).").optional()
16
+ }).describe("Request model for fetching leads by list ID.");
17
+ const PhantombusterGetLeadsByList_LeadSchema = z.record(z.string(), z.unknown()).describe("Represents a single lead from the list.");
18
+ const phantombusterGetLeadsByList = action("PHANTOMBUSTER_GET_LEADS_BY_LIST", {
19
+ slug: "phantombuster-get-leads-by-list",
20
+ name: "Get Leads By List",
21
+ description: "Tool to fetch leads by their list ID. Use when you need to retrieve leads from a specific list with optional pagination and filtering.",
22
+ input: PhantombusterGetLeadsByListInput,
23
+ output: z.object({
24
+ leads: z.array(PhantombusterGetLeadsByList_LeadSchema).describe("Array of lead objects from the specified list."),
25
+ totalCount: z.number().int().describe("Total number of leads in the list (included when includeTotalCount is true).").nullable().optional()
26
+ }).describe("Response schema for fetching leads by list ID.\nThe API can return either an object with leads array and totalCount,\nor just an array of leads.")
27
+ });
28
+ //#endregion
29
+ export { phantombusterGetLeadsByList };
30
+
31
+ //# sourceMappingURL=get-leads-by-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-leads-by-list.mjs","names":[],"sources":["../../src/actions/get-leads-by-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetLeadsByListInput: z.ZodTypeAny = z.object({\n listId: z.string().describe(\"Id of the lead list to fetch leads from.\"),\n withCompanies: z.boolean().describe(\"Option for retrieving the company associated to the lead.\").optional(),\n paginationOptions: z.object({\n paginationSize: z.number().int().describe(\"Number of leads per page.\").optional(),\n paginationOrder: z.enum([\"ASC\", \"DESC\"]).describe(\"Order for pagination sorting.\").optional(),\n paginationOffset: z.number().int().describe(\"Offset to start looking for leads at.\").optional(),\n includeTotalCount: z.boolean().describe(\"Should the response return total items count.\").optional(),\n paginationProperty: z.string().describe(\"Property to sort the leads.\").optional(),\n}).describe(\"Options for paginating through leads.\").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 withLeadObjectsOfTypes: z.array(z.string()).describe(\"Array of lead object types (max 3 items).\").optional(),\n}).describe(\"Request model for fetching leads by list ID.\");\nconst PhantombusterGetLeadsByList_LeadSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Represents a single lead from the list.\");\nexport const PhantombusterGetLeadsByListOutput: z.ZodTypeAny = z.object({\n leads: z.array(PhantombusterGetLeadsByList_LeadSchema).describe(\"Array of lead objects from the specified list.\"),\n totalCount: z.number().int().describe(\"Total number of leads in the list (included when includeTotalCount is true).\").nullable().optional(),\n}).describe(\"Response schema for fetching leads by list ID.\\nThe API can return either an object with leads array and totalCount,\\nor just an array of leads.\");\n\nexport const phantombusterGetLeadsByList = action(\"PHANTOMBUSTER_GET_LEADS_BY_LIST\", {\n slug: \"phantombuster-get-leads-by-list\",\n name: \"Get Leads By List\",\n description: \"Tool to fetch leads by their list ID. Use when you need to retrieve leads from a specific list with optional pagination and filtering.\",\n input: PhantombusterGetLeadsByListInput,\n output: PhantombusterGetLeadsByListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,mBAAmB,EAAE,OAAO;EAC5B,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yCAAuD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMjJ,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,kJAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-location-ip.ts
4
+ const PhantombusterGetLocationIpInput = zod.z.object({ ip: zod.z.string().describe("IPv4 or IPv6 address to retrieve the country of. Omit to use the current environment's public IP.").optional() }).describe("Request model for getting country of an IP address.");
5
+ const PhantombusterGetLocationIpOutput = zod.z.object({ country: zod.z.string().describe("Country name of the provided or environment IP address.") }).describe("Response model containing the country of the IP address.");
6
+ const phantombusterGetLocationIp = require_action.action("PHANTOMBUSTER_GET_LOCATION_IP", {
7
+ slug: "phantombuster-get-location-ip",
8
+ name: "Get IP Location",
9
+ description: "Tool to retrieve the country of a given or environment IP address. Use when you need to geolocate an IP endpoint. Example: get_location_ip(ip=\"8.8.8.8\")",
10
+ input: PhantombusterGetLocationIpInput,
11
+ output: PhantombusterGetLocationIpOutput
12
+ });
13
+ //#endregion
14
+ exports.phantombusterGetLocationIp = phantombusterGetLocationIp;
15
+
16
+ //# sourceMappingURL=get-location-ip.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-location-ip.cjs","names":["z","action"],"sources":["../../src/actions/get-location-ip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetLocationIpInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"IPv4 or IPv6 address to retrieve the country of. Omit to use the current environment's public IP.\").optional(),\n}).describe(\"Request model for getting country of an IP address.\");\nexport const PhantombusterGetLocationIpOutput: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Country name of the provided or environment IP address.\"),\n}).describe(\"Response model containing the country of the IP address.\");\n\nexport const phantombusterGetLocationIp = action(\"PHANTOMBUSTER_GET_LOCATION_IP\", {\n slug: \"phantombuster-get-location-ip\",\n name: \"Get IP Location\",\n description: \"Tool to retrieve the country of a given or environment IP address. Use when you need to geolocate an IP endpoint. Example: get_location_ip(ip=\\\"8.8.8.8\\\")\",\n input: PhantombusterGetLocationIpInput,\n output: PhantombusterGetLocationIpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACxF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-location-ip.d.ts
4
+ declare const PhantombusterGetLocationIpInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetLocationIpOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetLocationIp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetLocationIp };
9
+ //# sourceMappingURL=get-location-ip.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-location-ip.d.cts","names":[],"sources":["../../src/actions/get-location-ip.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cACrD,gCAAA,EAAkC,CAAA,CAAE,UAEsB;AAAA,cAE1D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-location-ip.d.ts
4
+ declare const PhantombusterGetLocationIpInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetLocationIpOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetLocationIp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetLocationIp };
9
+ //# sourceMappingURL=get-location-ip.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-location-ip.d.mts","names":[],"sources":["../../src/actions/get-location-ip.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cACrD,gCAAA,EAAkC,CAAA,CAAE,UAEsB;AAAA,cAE1D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterGetLocationIp = action("PHANTOMBUSTER_GET_LOCATION_IP", {
4
+ slug: "phantombuster-get-location-ip",
5
+ name: "Get IP Location",
6
+ description: "Tool to retrieve the country of a given or environment IP address. Use when you need to geolocate an IP endpoint. Example: get_location_ip(ip=\"8.8.8.8\")",
7
+ input: z.object({ ip: z.string().describe("IPv4 or IPv6 address to retrieve the country of. Omit to use the current environment's public IP.").optional() }).describe("Request model for getting country of an IP address."),
8
+ output: z.object({ country: z.string().describe("Country name of the provided or environment IP address.") }).describe("Response model containing the country of the IP address.")
9
+ });
10
+ //#endregion
11
+ export { phantombusterGetLocationIp };
12
+
13
+ //# sourceMappingURL=get-location-ip.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-location-ip.mjs","names":[],"sources":["../../src/actions/get-location-ip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetLocationIpInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"IPv4 or IPv6 address to retrieve the country of. Omit to use the current environment's public IP.\").optional(),\n}).describe(\"Request model for getting country of an IP address.\");\nexport const PhantombusterGetLocationIpOutput: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Country name of the provided or environment IP address.\"),\n}).describe(\"Response model containing the country of the IP address.\");\n\nexport const phantombusterGetLocationIp = action(\"PHANTOMBUSTER_GET_LOCATION_IP\", {\n slug: \"phantombuster-get-location-ip\",\n name: \"Get IP Location\",\n description: \"Tool to retrieve the country of a given or environment IP address. Use when you need to geolocate an IP endpoint. Example: get_location_ip(ip=\\\"8.8.8.8\\\")\",\n input: PhantombusterGetLocationIpInput,\n output: PhantombusterGetLocationIpOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2D,EAAE,OAAO,EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACxF,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-org-storage-lists-fetch-all.ts
4
+ const PhantombusterGetOrgStorageListsFetchAllInput = zod.z.object({}).describe("No parameters are required for this endpoint.");
5
+ const PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the list."),
7
+ name: zod.z.string().describe("Name of the list."),
8
+ orgId: zod.z.string().describe("Organization ID owning the list.").nullable().optional(),
9
+ createdAt: zod.z.union([zod.z.string(), zod.z.number().int()]),
10
+ itemCount: zod.z.number().int().describe("Number of items currently in the list.").nullable().optional(),
11
+ updatedAt: zod.z.union([zod.z.string(), zod.z.number().int()])
12
+ }).describe("Represents a single organization storage list.");
13
+ const PhantombusterGetOrgStorageListsFetchAllOutput = zod.z.object({
14
+ total: zod.z.number().int().describe("Total number of storage lists in the organization."),
15
+ storageLists: zod.z.array(PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema).describe("List of organization storage lists.")
16
+ }).describe("Response schema for GET /org-storage/lists/fetch-all.");
17
+ const phantombusterGetOrgStorageListsFetchAll = require_action.action("PHANTOMBUSTER_GET_ORG_STORAGE_LISTS_FETCH_ALL", {
18
+ slug: "phantombuster-get-org-storage-lists-fetch-all",
19
+ name: "Get Org Storage Lists Fetch All",
20
+ description: "Tool to fetch all storage lists for the authenticated organization. Use when you need to enumerate every storage list available (Beta).",
21
+ input: PhantombusterGetOrgStorageListsFetchAllInput,
22
+ output: PhantombusterGetOrgStorageListsFetchAllOutput
23
+ });
24
+ //#endregion
25
+ exports.phantombusterGetOrgStorageListsFetchAll = phantombusterGetOrgStorageListsFetchAll;
26
+
27
+ //# sourceMappingURL=get-org-storage-lists-fetch-all.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-storage-lists-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-org-storage-lists-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgStorageListsFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the list.\"),\n name: z.string().describe(\"Name of the list.\"),\n orgId: z.string().describe(\"Organization ID owning the list.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n itemCount: z.number().int().describe(\"Number of items currently in the list.\").nullable().optional(),\n updatedAt: z.union([z.string(), z.number().int()]),\n}).describe(\"Represents a single organization storage list.\");\nexport const PhantombusterGetOrgStorageListsFetchAllOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of storage lists in the organization.\"),\n storageLists: z.array(PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema).describe(\"List of organization storage lists.\"),\n}).describe(\"Response schema for GET /org-storage/lists/fetch-all.\");\n\nexport const phantombusterGetOrgStorageListsFetchAll = action(\"PHANTOMBUSTER_GET_ORG_STORAGE_LISTS_FETCH_ALL\", {\n slug: \"phantombuster-get-org-storage-lists-fetch-all\",\n name: \"Get Org Storage Lists Fetch All\",\n description: \"Tool to fetch all storage lists for the authenticated organization. Use when you need to enumerate every storage list available (Beta).\",\n input: PhantombusterGetOrgStorageListsFetchAllInput,\n output: PhantombusterGetOrgStorageListsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC/I,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAcA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,qCAAqC;AACpI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,0CAA0CC,eAAAA,OAAO,iDAAiD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-org-storage-lists-fetch-all.d.ts
4
+ declare const PhantombusterGetOrgStorageListsFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetOrgStorageListsFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetOrgStorageListsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetOrgStorageListsFetchAll };
9
+ //# sourceMappingURL=get-org-storage-lists-fetch-all.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-storage-lists-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-org-storage-lists-fetch-all.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAAmF;AAAA,cASnI,6CAAA,EAA+C,CAAA,CAAE,UAGM;AAAA,cAEvD,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-org-storage-lists-fetch-all.d.ts
4
+ declare const PhantombusterGetOrgStorageListsFetchAllInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetOrgStorageListsFetchAllOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetOrgStorageListsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetOrgStorageListsFetchAll };
9
+ //# sourceMappingURL=get-org-storage-lists-fetch-all.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-storage-lists-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-org-storage-lists-fetch-all.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAAmF;AAAA,cASnI,6CAAA,EAA+C,CAAA,CAAE,UAGM;AAAA,cAEvD,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-org-storage-lists-fetch-all.ts
4
+ const PhantombusterGetOrgStorageListsFetchAllInput = z.object({}).describe("No parameters are required for this endpoint.");
5
+ const PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema = z.object({
6
+ id: z.string().describe("Unique identifier of the list."),
7
+ name: z.string().describe("Name of the list."),
8
+ orgId: z.string().describe("Organization ID owning the list.").nullable().optional(),
9
+ createdAt: z.union([z.string(), z.number().int()]),
10
+ itemCount: z.number().int().describe("Number of items currently in the list.").nullable().optional(),
11
+ updatedAt: z.union([z.string(), z.number().int()])
12
+ }).describe("Represents a single organization storage list.");
13
+ const phantombusterGetOrgStorageListsFetchAll = action("PHANTOMBUSTER_GET_ORG_STORAGE_LISTS_FETCH_ALL", {
14
+ slug: "phantombuster-get-org-storage-lists-fetch-all",
15
+ name: "Get Org Storage Lists Fetch All",
16
+ description: "Tool to fetch all storage lists for the authenticated organization. Use when you need to enumerate every storage list available (Beta).",
17
+ input: PhantombusterGetOrgStorageListsFetchAllInput,
18
+ output: z.object({
19
+ total: z.number().int().describe("Total number of storage lists in the organization."),
20
+ storageLists: z.array(PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema).describe("List of organization storage lists.")
21
+ }).describe("Response schema for GET /org-storage/lists/fetch-all.")
22
+ });
23
+ //#endregion
24
+ export { phantombusterGetOrgStorageListsFetchAll };
25
+
26
+ //# sourceMappingURL=get-org-storage-lists-fetch-all.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-storage-lists-fetch-all.mjs","names":[],"sources":["../../src/actions/get-org-storage-lists-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgStorageListsFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the list.\"),\n name: z.string().describe(\"Name of the list.\"),\n orgId: z.string().describe(\"Organization ID owning the list.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n itemCount: z.number().int().describe(\"Number of items currently in the list.\").nullable().optional(),\n updatedAt: z.union([z.string(), z.number().int()]),\n}).describe(\"Represents a single organization storage list.\");\nexport const PhantombusterGetOrgStorageListsFetchAllOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of storage lists in the organization.\"),\n storageLists: z.array(PhantombusterGetOrgStorageListsFetchAll_OrgStorageListSchema).describe(\"List of organization storage lists.\"),\n}).describe(\"Response schema for GET /org-storage/lists/fetch-all.\");\n\nexport const phantombusterGetOrgStorageListsFetchAll = action(\"PHANTOMBUSTER_GET_ORG_STORAGE_LISTS_FETCH_ALL\", {\n slug: \"phantombuster-get-org-storage-lists-fetch-all\",\n name: \"Get Org Storage Lists Fetch All\",\n description: \"Tool to fetch all storage lists for the authenticated organization. Use when you need to enumerate every storage list available (Beta).\",\n input: PhantombusterGetOrgStorageListsFetchAllInput,\n output: PhantombusterGetOrgStorageListsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC/I,MAAM,+DAA6E,EAAE,OAAO;CAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,0CAA0C,OAAO,iDAAiD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyE,EAAE,OAAO;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EACrF,cAAc,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,qCAAqC;CACpI,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-orgs-export-agent-usage.ts
4
+ const PhantombusterGetOrgsExportAgentUsageInput = zod.z.object({
5
+ days: zod.z.number().int().describe("Number of days of data to export (1 to 180)."),
6
+ agentId: zod.z.string().describe("If set, export data only for this agent ID.").optional()
7
+ }).describe("Request parameters for GET /orgs/export-agent-usage.");
8
+ const PhantombusterGetOrgsExportAgentUsageOutput = zod.z.object({ csv: zod.z.string().describe("Raw CSV content containing agent usage details for the organization.") }).describe("Response schema for GET /orgs/export-agent-usage.");
9
+ const phantombusterGetOrgsExportAgentUsage = require_action.action("PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGE", {
10
+ slug: "phantombuster-get-orgs-export-agent-usage",
11
+ name: "Export Agent Usage CSV",
12
+ description: "Tool to export agent usage CSV for current organization. Use when you need a downloadable report of all agents' run statistics in CSV format.",
13
+ input: PhantombusterGetOrgsExportAgentUsageInput,
14
+ output: PhantombusterGetOrgsExportAgentUsageOutput
15
+ });
16
+ //#endregion
17
+ exports.phantombusterGetOrgsExportAgentUsage = phantombusterGetOrgsExportAgentUsage;
18
+
19
+ //# sourceMappingURL=get-orgs-export-agent-usage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-orgs-export-agent-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-export-agent-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsExportAgentUsageInput: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"Number of days of data to export (1 to 180).\"),\n agentId: z.string().describe(\"If set, export data only for this agent ID.\").optional(),\n}).describe(\"Request parameters for GET /orgs/export-agent-usage.\");\nexport const PhantombusterGetOrgsExportAgentUsageOutput: z.ZodTypeAny = z.object({\n csv: z.string().describe(\"Raw CSV content containing agent usage details for the organization.\"),\n}).describe(\"Response schema for GET /orgs/export-agent-usage.\");\n\nexport const phantombusterGetOrgsExportAgentUsage = action(\"PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGE\", {\n slug: \"phantombuster-get-orgs-export-agent-usage\",\n name: \"Export Agent Usage CSV\",\n description: \"Tool to export agent usage CSV for current organization. Use when you need a downloadable report of all agents' run statistics in CSV format.\",\n input: PhantombusterGetOrgsExportAgentUsageInput,\n output: PhantombusterGetOrgsExportAgentUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACjG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-orgs-export-agent-usage.d.ts
4
+ declare const PhantombusterGetOrgsExportAgentUsageInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetOrgsExportAgentUsageOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetOrgsExportAgentUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetOrgsExportAgentUsage };
9
+ //# sourceMappingURL=get-orgs-export-agent-usage.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-orgs-export-agent-usage.d.cts","names":[],"sources":["../../src/actions/get-orgs-export-agent-usage.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGS;AAAA,cACtD,0CAAA,EAA4C,CAAA,CAAE,UAEK;AAAA,cAEnD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-orgs-export-agent-usage.d.ts
4
+ declare const PhantombusterGetOrgsExportAgentUsageInput: z.ZodTypeAny;
5
+ declare const PhantombusterGetOrgsExportAgentUsageOutput: z.ZodTypeAny;
6
+ declare const phantombusterGetOrgsExportAgentUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterGetOrgsExportAgentUsage };
9
+ //# sourceMappingURL=get-orgs-export-agent-usage.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-orgs-export-agent-usage.d.mts","names":[],"sources":["../../src/actions/get-orgs-export-agent-usage.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGS;AAAA,cACtD,0CAAA,EAA4C,CAAA,CAAE,UAEK;AAAA,cAEnD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterGetOrgsExportAgentUsage = action("PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGE", {
4
+ slug: "phantombuster-get-orgs-export-agent-usage",
5
+ name: "Export Agent Usage CSV",
6
+ description: "Tool to export agent usage CSV for current organization. Use when you need a downloadable report of all agents' run statistics in CSV format.",
7
+ input: z.object({
8
+ days: z.number().int().describe("Number of days of data to export (1 to 180)."),
9
+ agentId: z.string().describe("If set, export data only for this agent ID.").optional()
10
+ }).describe("Request parameters for GET /orgs/export-agent-usage."),
11
+ output: z.object({ csv: z.string().describe("Raw CSV content containing agent usage details for the organization.") }).describe("Response schema for GET /orgs/export-agent-usage.")
12
+ });
13
+ //#endregion
14
+ export { phantombusterGetOrgsExportAgentUsage };
15
+
16
+ //# sourceMappingURL=get-orgs-export-agent-usage.mjs.map