@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 @@
1
+ {"version":3,"file":"post-recaptcha.cjs","names":["z","action"],"sources":["../../src/actions/post-recaptcha.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostRecaptchaInput: z.ZodTypeAny = z.object({\n key: z.string().describe(\"The site key of the reCAPTCHA widget (found in the page HTML or network requests).\"),\n url: z.string().describe(\"Full URL of the page where the reCAPTCHA widget appears.\"),\n type: z.enum([\"v2\", \"v3\"]).describe(\"Version of reCAPTCHA to solve: 'v2' for checkbox or invisible reCAPTCHA, 'v3' for score-based reCAPTCHA.\"),\n minScore: z.number().describe(\"Minimum score required for reCAPTCHA v3 (between 0 and 1). Only applicable for type='v3'.\").optional(),\n pageAction: z.string().describe(\"Action name for reCAPTCHA v3 (matches the action parameter in grecaptcha.execute). Only applicable for type='v3'.\").optional(),\n}).describe(\"Request model for solving a reCAPTCHA challenge.\");\nexport const PhantombusterPostRecaptchaOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the challenge could not be solved. Present on failure.\").nullable().optional(),\n response: z.string().describe(\"The reCAPTCHA response token to use for form submissions. Present on success.\").nullable().optional(),\n}).describe(\"Response schema for reCAPTCHA solving endpoint.\");\n\nexport const phantombusterPostRecaptcha = action(\"PHANTOMBUSTER_POST_RECAPTCHA\", {\n slug: \"phantombuster-post-recaptcha\",\n name: \"Solve reCAPTCHA\",\n description: \"Tool to solve a reCAPTCHA challenge (v2 or v3). Use when you need a valid reCAPTCHA response token for form submissions or automation. Note: API returns 200 status even on errors; check the error field in the response.\",\n input: PhantombusterPostRecaptchaInput,\n output: PhantombusterPostRecaptchaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAC7G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,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/post-recaptcha.d.ts
4
+ declare const PhantombusterPostRecaptchaInput: z.ZodTypeAny;
5
+ declare const PhantombusterPostRecaptchaOutput: z.ZodTypeAny;
6
+ declare const phantombusterPostRecaptcha: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterPostRecaptcha };
9
+ //# sourceMappingURL=post-recaptcha.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-recaptcha.d.cts","names":[],"sources":["../../src/actions/post-recaptcha.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMe;AAAA,cAClD,gCAAA,EAAkC,CAAA,CAAE,UAGa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/post-recaptcha.d.ts
4
+ declare const PhantombusterPostRecaptchaInput: z.ZodTypeAny;
5
+ declare const PhantombusterPostRecaptchaOutput: z.ZodTypeAny;
6
+ declare const phantombusterPostRecaptcha: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterPostRecaptcha };
9
+ //# sourceMappingURL=post-recaptcha.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-recaptcha.d.mts","names":[],"sources":["../../src/actions/post-recaptcha.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMe;AAAA,cAClD,gCAAA,EAAkC,CAAA,CAAE,UAGa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterPostRecaptcha = action("PHANTOMBUSTER_POST_RECAPTCHA", {
4
+ slug: "phantombuster-post-recaptcha",
5
+ name: "Solve reCAPTCHA",
6
+ description: "Tool to solve a reCAPTCHA challenge (v2 or v3). Use when you need a valid reCAPTCHA response token for form submissions or automation. Note: API returns 200 status even on errors; check the error field in the response.",
7
+ input: z.object({
8
+ key: z.string().describe("The site key of the reCAPTCHA widget (found in the page HTML or network requests)."),
9
+ url: z.string().describe("Full URL of the page where the reCAPTCHA widget appears."),
10
+ type: z.enum(["v2", "v3"]).describe("Version of reCAPTCHA to solve: 'v2' for checkbox or invisible reCAPTCHA, 'v3' for score-based reCAPTCHA."),
11
+ minScore: z.number().describe("Minimum score required for reCAPTCHA v3 (between 0 and 1). Only applicable for type='v3'.").optional(),
12
+ pageAction: z.string().describe("Action name for reCAPTCHA v3 (matches the action parameter in grecaptcha.execute). Only applicable for type='v3'.").optional()
13
+ }).describe("Request model for solving a reCAPTCHA challenge."),
14
+ output: z.object({
15
+ error: z.string().describe("Error message if the challenge could not be solved. Present on failure.").nullable().optional(),
16
+ response: z.string().describe("The reCAPTCHA response token to use for form submissions. Present on success.").nullable().optional()
17
+ }).describe("Response schema for reCAPTCHA solving endpoint.")
18
+ });
19
+ //#endregion
20
+ export { phantombusterPostRecaptcha };
21
+
22
+ //# sourceMappingURL=post-recaptcha.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-recaptcha.mjs","names":[],"sources":["../../src/actions/post-recaptcha.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostRecaptchaInput: z.ZodTypeAny = z.object({\n key: z.string().describe(\"The site key of the reCAPTCHA widget (found in the page HTML or network requests).\"),\n url: z.string().describe(\"Full URL of the page where the reCAPTCHA widget appears.\"),\n type: z.enum([\"v2\", \"v3\"]).describe(\"Version of reCAPTCHA to solve: 'v2' for checkbox or invisible reCAPTCHA, 'v3' for score-based reCAPTCHA.\"),\n minScore: z.number().describe(\"Minimum score required for reCAPTCHA v3 (between 0 and 1). Only applicable for type='v3'.\").optional(),\n pageAction: z.string().describe(\"Action name for reCAPTCHA v3 (matches the action parameter in grecaptcha.execute). Only applicable for type='v3'.\").optional(),\n}).describe(\"Request model for solving a reCAPTCHA challenge.\");\nexport const PhantombusterPostRecaptchaOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the challenge could not be solved. Present on failure.\").nullable().optional(),\n response: z.string().describe(\"The reCAPTCHA response token to use for form submissions. Present on success.\").nullable().optional(),\n}).describe(\"Response schema for reCAPTCHA solving endpoint.\");\n\nexport const phantombusterPostRecaptcha = action(\"PHANTOMBUSTER_POST_RECAPTCHA\", {\n slug: \"phantombuster-post-recaptcha\",\n name: \"Solve reCAPTCHA\",\n description: \"Tool to solve a reCAPTCHA challenge (v2 or v3). Use when you need a valid reCAPTCHA response token for form submissions or automation. Note: API returns 200 status even on errors; check the error field in the response.\",\n input: PhantombusterPostRecaptchaInput,\n output: PhantombusterPostRecaptchaOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EAC7G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACnF,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/post-scripts-visibility.ts
4
+ const PhantombusterPostScriptsVisibilityInput = zod.z.object({
5
+ name: zod.z.string().describe("Name of the script to change visibility for."),
6
+ branch: zod.z.string().describe("Name of the branch to change visibility for."),
7
+ visibility: zod.z.enum([
8
+ "private",
9
+ "semi public",
10
+ "public",
11
+ "semi open source",
12
+ "open source"
13
+ ]).describe("New branch visibility."),
14
+ "X-Phantombuster-Org": zod.z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
15
+ }).describe("Request model for updating script visibility.");
16
+ const PhantombusterPostScriptsVisibilityOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates that the visibility was successfully updated").nullable().optional() }).describe("Response schema for script visibility update.");
17
+ const phantombusterPostScriptsVisibility = require_action.action("PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY", {
18
+ slug: "phantombuster-post-scripts-visibility",
19
+ name: "Update Script Visibility",
20
+ description: "Tool to update the visibility of a script. Use when you need to change whether a script is private, public, or open source.",
21
+ input: PhantombusterPostScriptsVisibilityInput,
22
+ output: PhantombusterPostScriptsVisibilityOutput
23
+ });
24
+ //#endregion
25
+ exports.phantombusterPostScriptsVisibility = phantombusterPostScriptsVisibility;
26
+
27
+ //# sourceMappingURL=post-scripts-visibility.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-scripts-visibility.cjs","names":["z","action"],"sources":["../../src/actions/post-scripts-visibility.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostScriptsVisibilityInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the script to change visibility for.\"),\n branch: z.string().describe(\"Name of the branch to change visibility for.\"),\n visibility: z.enum([\"private\", \"semi public\", \"public\", \"semi open source\", \"open source\"]).describe(\"New branch visibility.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for updating script visibility.\");\nexport const PhantombusterPostScriptsVisibilityOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates that the visibility was successfully updated\").nullable().optional(),\n}).describe(\"Response schema for script visibility update.\");\n\nexport const phantombusterPostScriptsVisibility = action(\"PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY\", {\n slug: \"phantombuster-post-scripts-visibility\",\n name: \"Update Script Visibility\",\n description: \"Tool to update the visibility of a script. Use when you need to change whether a script is private, public, or open source.\",\n input: PhantombusterPostScriptsVisibilityInput,\n output: PhantombusterPostScriptsVisibilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC1E,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;EAAU;EAAoB;CAAa,CAAC,CAAC,CAAC,SAAS,wBAAwB;CAC7H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,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/post-scripts-visibility.d.ts
4
+ declare const PhantombusterPostScriptsVisibilityInput: z.ZodTypeAny;
5
+ declare const PhantombusterPostScriptsVisibilityOutput: z.ZodTypeAny;
6
+ declare const phantombusterPostScriptsVisibility: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterPostScriptsVisibility };
9
+ //# sourceMappingURL=post-scripts-visibility.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-scripts-visibility.d.cts","names":[],"sources":["../../src/actions/post-scripts-visibility.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKI;AAAA,cAC/C,wCAAA,EAA0C,CAAA,CAAE,UAEG;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/post-scripts-visibility.d.ts
4
+ declare const PhantombusterPostScriptsVisibilityInput: z.ZodTypeAny;
5
+ declare const PhantombusterPostScriptsVisibilityOutput: z.ZodTypeAny;
6
+ declare const phantombusterPostScriptsVisibility: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterPostScriptsVisibility };
9
+ //# sourceMappingURL=post-scripts-visibility.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-scripts-visibility.d.mts","names":[],"sources":["../../src/actions/post-scripts-visibility.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKI;AAAA,cAC/C,wCAAA,EAA0C,CAAA,CAAE,UAEG;AAAA,cAE/C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterPostScriptsVisibility = action("PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY", {
4
+ slug: "phantombuster-post-scripts-visibility",
5
+ name: "Update Script Visibility",
6
+ description: "Tool to update the visibility of a script. Use when you need to change whether a script is private, public, or open source.",
7
+ input: z.object({
8
+ name: z.string().describe("Name of the script to change visibility for."),
9
+ branch: z.string().describe("Name of the branch to change visibility for."),
10
+ visibility: z.enum([
11
+ "private",
12
+ "semi public",
13
+ "public",
14
+ "semi open source",
15
+ "open source"
16
+ ]).describe("New branch visibility."),
17
+ "X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
18
+ }).describe("Request model for updating script visibility."),
19
+ output: z.object({ success: z.boolean().default(true).describe("Indicates that the visibility was successfully updated").nullable().optional() }).describe("Response schema for script visibility update.")
20
+ });
21
+ //#endregion
22
+ export { phantombusterPostScriptsVisibility };
23
+
24
+ //# sourceMappingURL=post-scripts-visibility.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-scripts-visibility.mjs","names":[],"sources":["../../src/actions/post-scripts-visibility.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostScriptsVisibilityInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the script to change visibility for.\"),\n branch: z.string().describe(\"Name of the branch to change visibility for.\"),\n visibility: z.enum([\"private\", \"semi public\", \"public\", \"semi open source\", \"open source\"]).describe(\"New branch visibility.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for updating script visibility.\");\nexport const PhantombusterPostScriptsVisibilityOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates that the visibility was successfully updated\").nullable().optional(),\n}).describe(\"Response schema for script visibility update.\");\n\nexport const phantombusterPostScriptsVisibility = action(\"PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY\", {\n slug: \"phantombuster-post-scripts-visibility\",\n name: \"Update Script Visibility\",\n description: \"Tool to update the visibility of a script. Use when you need to change whether a script is private, public, or open source.\",\n input: PhantombusterPostScriptsVisibilityInput,\n output: PhantombusterPostScriptsVisibilityOutput,\n});\n"],"mappings":";;AAcA,MAAa,qCAAqC,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmE,EAAE,OAAO;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC1E,YAAY,EAAE,KAAK;GAAC;GAAW;GAAe;GAAU;GAAoB;EAAa,CAAC,CAAC,CAAC,SAAS,wBAAwB;EAC7H,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAToE,EAAE,OAAO,EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/release-branch.ts
4
+ const PhantombusterReleaseBranchInput = zod.z.object({
5
+ name: zod.z.string().describe("Name of the branch to release."),
6
+ scriptIds: zod.z.array(zod.z.string()).describe("List of script IDs to release."),
7
+ "X-Phantombuster-Org": zod.z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
8
+ }).describe("Request model for releasing a script branch.");
9
+ const PhantombusterReleaseBranchOutput = zod.z.object({
10
+ status: zod.z.string().describe("Status of the release operation (e.g., 'success')."),
11
+ message: zod.z.string().describe("Optional message describing the release result.").nullable().optional()
12
+ }).describe("Response schema for a released branch.");
13
+ const phantombusterReleaseBranch = require_action.action("PHANTOMBUSTER_RELEASE_BRANCH", {
14
+ slug: "phantombuster-release-branch",
15
+ name: "Release Branch",
16
+ description: "Tool to release a script branch. Use when you need to deploy a branch to production or release changes to specified scripts.",
17
+ input: PhantombusterReleaseBranchInput,
18
+ output: PhantombusterReleaseBranchOutput
19
+ });
20
+ //#endregion
21
+ exports.phantombusterReleaseBranch = phantombusterReleaseBranch;
22
+
23
+ //# sourceMappingURL=release-branch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-branch.cjs","names":["z","action"],"sources":["../../src/actions/release-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterReleaseBranchInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the branch to release.\"),\n scriptIds: z.array(z.string()).describe(\"List of script IDs to release.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for releasing a script branch.\");\nexport const PhantombusterReleaseBranchOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the release operation (e.g., 'success').\"),\n message: z.string().describe(\"Optional message describing the release result.\").nullable().optional(),\n}).describe(\"Response schema for a released branch.\");\n\nexport const phantombusterReleaseBranch = action(\"PHANTOMBUSTER_RELEASE_BRANCH\", {\n slug: \"phantombuster-release-branch\",\n name: \"Release Branch\",\n description: \"Tool to release a script branch. Use when you need to deploy a branch to production or release changes to specified scripts.\",\n input: PhantombusterReleaseBranchInput,\n output: PhantombusterReleaseBranchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;CACxE,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,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/release-branch.d.ts
4
+ declare const PhantombusterReleaseBranchInput: z.ZodTypeAny;
5
+ declare const PhantombusterReleaseBranchOutput: z.ZodTypeAny;
6
+ declare const phantombusterReleaseBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterReleaseBranch };
9
+ //# sourceMappingURL=release-branch.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-branch.d.cts","names":[],"sources":["../../src/actions/release-branch.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIW;AAAA,cAC9C,gCAAA,EAAkC,CAAA,CAAE,UAGI;AAAA,cAExC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/release-branch.d.ts
4
+ declare const PhantombusterReleaseBranchInput: z.ZodTypeAny;
5
+ declare const PhantombusterReleaseBranchOutput: z.ZodTypeAny;
6
+ declare const phantombusterReleaseBranch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterReleaseBranch };
9
+ //# sourceMappingURL=release-branch.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-branch.d.mts","names":[],"sources":["../../src/actions/release-branch.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIW;AAAA,cAC9C,gCAAA,EAAkC,CAAA,CAAE,UAGI;AAAA,cAExC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterReleaseBranch = action("PHANTOMBUSTER_RELEASE_BRANCH", {
4
+ slug: "phantombuster-release-branch",
5
+ name: "Release Branch",
6
+ description: "Tool to release a script branch. Use when you need to deploy a branch to production or release changes to specified scripts.",
7
+ input: z.object({
8
+ name: z.string().describe("Name of the branch to release."),
9
+ scriptIds: z.array(z.string()).describe("List of script IDs to release."),
10
+ "X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
11
+ }).describe("Request model for releasing a script branch."),
12
+ output: z.object({
13
+ status: z.string().describe("Status of the release operation (e.g., 'success')."),
14
+ message: z.string().describe("Optional message describing the release result.").nullable().optional()
15
+ }).describe("Response schema for a released branch.")
16
+ });
17
+ //#endregion
18
+ export { phantombusterReleaseBranch };
19
+
20
+ //# sourceMappingURL=release-branch.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release-branch.mjs","names":[],"sources":["../../src/actions/release-branch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterReleaseBranchInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the branch to release.\"),\n scriptIds: z.array(z.string()).describe(\"List of script IDs to release.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for releasing a script branch.\");\nexport const PhantombusterReleaseBranchOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the release operation (e.g., 'success').\"),\n message: z.string().describe(\"Optional message describing the release result.\").nullable().optional(),\n}).describe(\"Response schema for a released branch.\");\n\nexport const phantombusterReleaseBranch = action(\"PHANTOMBUSTER_RELEASE_BRANCH\", {\n slug: \"phantombuster-release-branch\",\n name: \"Release Branch\",\n description: \"Tool to release a script branch. Use when you need to deploy a branch to production or release changes to specified scripts.\",\n input: PhantombusterReleaseBranchInput,\n output: PhantombusterReleaseBranchOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACxE,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-agent-groups.ts
4
+ const PhantombusterSaveAgentGroupsInput = zod.z.object({
5
+ agentGroups: zod.z.array(zod.z.union([zod.z.string(), zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the agent group"),
7
+ name: zod.z.string().describe("Display name for the agent group"),
8
+ agents: zod.z.array(zod.z.string()).describe("List of agent IDs in this group, in order")
9
+ }).describe("Model representing an agent group with ID, name, and list of agents.")])).describe("New agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents. Order of the groups and agents will be preserved."),
10
+ "X-Phantombuster-Org": zod.z.string().describe("ID of the org performing the operation (not necessary when using a third party key)").optional()
11
+ }).describe("Request model for POST /orgs/save-agent-groups.");
12
+ const PhantombusterSaveAgentGroups_AgentGroupSchema = zod.z.object({
13
+ id: zod.z.string().describe("Unique identifier for the agent group"),
14
+ name: zod.z.string().describe("Display name for the agent group"),
15
+ agents: zod.z.array(zod.z.string()).describe("List of agent IDs in this group, in order")
16
+ }).describe("Model representing an agent group with ID, name, and list of agents.");
17
+ const PhantombusterSaveAgentGroupsOutput = zod.z.object({ agentGroups: zod.z.array(zod.z.union([zod.z.string(), PhantombusterSaveAgentGroups_AgentGroupSchema])).describe("Updated agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents, in the saved order.") }).describe("Response schema for POST /orgs/save-agent-groups.");
18
+ const phantombusterSaveAgentGroups = require_action.action("PHANTOMBUSTER_SAVE_AGENT_GROUPS", {
19
+ slug: "phantombuster-save-agent-groups",
20
+ name: "Save Agent Groups",
21
+ description: "Tool to update agent groups and order for the current user's organization. Use when you need to reorganize agents into groups or change their display order.",
22
+ input: PhantombusterSaveAgentGroupsInput,
23
+ output: PhantombusterSaveAgentGroupsOutput
24
+ });
25
+ //#endregion
26
+ exports.phantombusterSaveAgentGroups = phantombusterSaveAgentGroups;
27
+
28
+ //# sourceMappingURL=save-agent-groups.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent-groups.cjs","names":["z","action"],"sources":["../../src/actions/save-agent-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentGroupsInput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.union([z.string(), z.object({\n id: z.string().describe(\"Unique identifier for the agent group\"),\n name: z.string().describe(\"Display name for the agent group\"),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).describe(\"Model representing an agent group with ID, name, and list of agents.\")])).describe(\"New agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents. Order of the groups and agents will be preserved.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /orgs/save-agent-groups.\");\nconst PhantombusterSaveAgentGroups_AgentGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the agent group\"),\n name: z.string().describe(\"Display name for the agent group\"),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).describe(\"Model representing an agent group with ID, name, and list of agents.\");\nexport const PhantombusterSaveAgentGroupsOutput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.union([z.string(), PhantombusterSaveAgentGroups_AgentGroupSchema])).describe(\"Updated agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents, in the saved order.\"),\n}).describe(\"Response schema for POST /orgs/save-agent-groups.\");\n\nexport const phantombusterSaveAgentGroups = action(\"PHANTOMBUSTER_SAVE_AGENT_GROUPS\", {\n slug: \"phantombuster-save-agent-groups\",\n name: \"Save Agent Groups\",\n description: \"Tool to update agent groups and order for the current user's organization. Use when you need to reorganize agents into groups or change their display order.\",\n input: PhantombusterSaveAgentGroupsInput,\n output: PhantombusterSaveAgentGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO;EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACzP,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI,EACvO,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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/save-agent-groups.d.ts
4
+ declare const PhantombusterSaveAgentGroupsInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveAgentGroupsOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveAgentGroups };
9
+ //# sourceMappingURL=save-agent-groups.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent-groups.d.cts","names":[],"sources":["../../src/actions/save-agent-groups.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOY;AAAA,cAMjD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-agent-groups.d.ts
4
+ declare const PhantombusterSaveAgentGroupsInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveAgentGroupsOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveAgentGroups };
9
+ //# sourceMappingURL=save-agent-groups.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent-groups.d.mts","names":[],"sources":["../../src/actions/save-agent-groups.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOY;AAAA,cAMjD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/save-agent-groups.ts
4
+ const PhantombusterSaveAgentGroupsInput = z.object({
5
+ agentGroups: z.array(z.union([z.string(), z.object({
6
+ id: z.string().describe("Unique identifier for the agent group"),
7
+ name: z.string().describe("Display name for the agent group"),
8
+ agents: z.array(z.string()).describe("List of agent IDs in this group, in order")
9
+ }).describe("Model representing an agent group with ID, name, and list of agents.")])).describe("New agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents. Order of the groups and agents will be preserved."),
10
+ "X-Phantombuster-Org": z.string().describe("ID of the org performing the operation (not necessary when using a third party key)").optional()
11
+ }).describe("Request model for POST /orgs/save-agent-groups.");
12
+ const PhantombusterSaveAgentGroups_AgentGroupSchema = z.object({
13
+ id: z.string().describe("Unique identifier for the agent group"),
14
+ name: z.string().describe("Display name for the agent group"),
15
+ agents: z.array(z.string()).describe("List of agent IDs in this group, in order")
16
+ }).describe("Model representing an agent group with ID, name, and list of agents.");
17
+ const phantombusterSaveAgentGroups = action("PHANTOMBUSTER_SAVE_AGENT_GROUPS", {
18
+ slug: "phantombuster-save-agent-groups",
19
+ name: "Save Agent Groups",
20
+ description: "Tool to update agent groups and order for the current user's organization. Use when you need to reorganize agents into groups or change their display order.",
21
+ input: PhantombusterSaveAgentGroupsInput,
22
+ output: z.object({ agentGroups: z.array(z.union([z.string(), PhantombusterSaveAgentGroups_AgentGroupSchema])).describe("Updated agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents, in the saved order.") }).describe("Response schema for POST /orgs/save-agent-groups.")
23
+ });
24
+ //#endregion
25
+ export { phantombusterSaveAgentGroups };
26
+
27
+ //# sourceMappingURL=save-agent-groups.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent-groups.mjs","names":[],"sources":["../../src/actions/save-agent-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentGroupsInput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.union([z.string(), z.object({\n id: z.string().describe(\"Unique identifier for the agent group\"),\n name: z.string().describe(\"Display name for the agent group\"),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).describe(\"Model representing an agent group with ID, name, and list of agents.\")])).describe(\"New agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents. Order of the groups and agents will be preserved.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org performing the operation (not necessary when using a third party key)\").optional(),\n}).describe(\"Request model for POST /orgs/save-agent-groups.\");\nconst PhantombusterSaveAgentGroups_AgentGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the agent group\"),\n name: z.string().describe(\"Display name for the agent group\"),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).describe(\"Model representing an agent group with ID, name, and list of agents.\");\nexport const PhantombusterSaveAgentGroupsOutput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.union([z.string(), PhantombusterSaveAgentGroups_AgentGroupSchema])).describe(\"Updated agent groups. Can be a list of agent IDs (strings) or AgentGroup objects with id, name, and agents, in the saved order.\"),\n}).describe(\"Response schema for POST /orgs/save-agent-groups.\");\n\nexport const phantombusterSaveAgentGroups = action(\"PHANTOMBUSTER_SAVE_AGENT_GROUPS\", {\n slug: \"phantombuster-save-agent-groups\",\n name: \"Save Agent Groups\",\n description: \"Tool to update agent groups and order for the current user's organization. Use when you need to reorganize agents into groups or change their display order.\",\n input: PhantombusterSaveAgentGroupsInput,\n output: PhantombusterSaveAgentGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACzP,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAKlF,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI,EACvO,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,143 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-agent.ts
4
+ const PhantombusterSaveAgentInput = zod.z.object({
5
+ id: zod.z.string().describe("If provided, updates the existing agent with this ID. If omitted, creates a new agent.").optional(),
6
+ org: zod.z.string().describe("Organization to link the agent to (pattern: ^(deleted_\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).").optional(),
7
+ name: zod.z.string().describe("Name of the agent (max 100 characters)").optional(),
8
+ branch: zod.z.string().describe("Branch to assign the agent to (alphanumeric, dash, max 50)").optional(),
9
+ script: zod.z.string().describe("Script filename to assign to the agent (e.g., 'myscript.js')").optional(),
10
+ argument: zod.z.union([zod.z.string(), zod.z.object({})]).optional(),
11
+ expireAt: zod.z.number().int().describe("Unix timestamp (epoch ms) when the agent will be deleted.").optional(),
12
+ fileMgmt: zod.z.enum([
13
+ "folders",
14
+ "mix",
15
+ "delete"
16
+ ]).describe("Agent file management type.").optional(),
17
+ proxyType: zod.z.enum([
18
+ "none",
19
+ "http",
20
+ "pool",
21
+ "squid lease"
22
+ ]).describe("Proxy type configuration.").optional(),
23
+ launchType: zod.z.enum([
24
+ "manually",
25
+ "repeatedly",
26
+ "once",
27
+ "after agent"
28
+ ]).describe("Launch type for the agent.").optional(),
29
+ agentObject: zod.z.string().describe("Sets the agent's object as a JSON string.").optional(),
30
+ environment: zod.z.enum(["staging", "release"]).describe("Script branch environment.").optional(),
31
+ launchOnceAt: zod.z.number().int().describe("Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.").optional(),
32
+ proxyAddress: zod.z.string().describe("HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').").optional(),
33
+ notifications: zod.z.object({
34
+ webhook: zod.z.string().describe("Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.").optional(),
35
+ slackWebHook: zod.z.string().describe("Slack webhook URL (max 2000 characters)").optional(),
36
+ mailManualExitError: zod.z.boolean().describe("Send email on manual exit error").optional(),
37
+ mailManualTimeError: zod.z.boolean().describe("Send email on manual time error").optional(),
38
+ slackManualExitError: zod.z.boolean().describe("Send Slack notification on manual exit error").optional(),
39
+ slackManualTimeError: zod.z.boolean().describe("Send Slack notification on manual time error").optional(),
40
+ mailManualExitSuccess: zod.z.boolean().describe("Send email on manual exit success").optional(),
41
+ mailManualLaunchError: zod.z.boolean().describe("Send email on manual launch error").optional(),
42
+ mailAutomaticExitError: zod.z.boolean().describe("Send email on automatic exit error").optional(),
43
+ mailAutomaticTimeError: zod.z.boolean().describe("Send email on automatic time error").optional(),
44
+ slackManualExitSuccess: zod.z.boolean().describe("Send Slack notification on manual exit success").optional(),
45
+ slackManualLaunchError: zod.z.boolean().describe("Send Slack notification on manual launch error").optional(),
46
+ slackAutomaticExitError: zod.z.boolean().describe("Send Slack notification on automatic exit error").optional(),
47
+ slackAutomaticTimeError: zod.z.boolean().describe("Send Slack notification on automatic time error").optional(),
48
+ mailAutomaticExitSuccess: zod.z.boolean().describe("Send email on automatic exit success").optional(),
49
+ mailAutomaticLaunchError: zod.z.boolean().describe("Send email on automatic launch error").optional(),
50
+ slackAutomaticExitSuccess: zod.z.boolean().describe("Send Slack notification on automatic exit success").optional(),
51
+ slackAutomaticLaunchError: zod.z.boolean().describe("Send Slack notification on automatic launch error").optional()
52
+ }).describe("Notification settings for the agent.").optional(),
53
+ proxyPassword: zod.z.string().describe("Password for proxy authentication (used with proxyType='http').").optional(),
54
+ proxyUsername: zod.z.string().describe("Username for proxy authentication (used with proxyType='http').").optional(),
55
+ idempotencyKey: zod.z.string().describe("Optional key for idempotent operations - only for creating an agent.").optional(),
56
+ maxParallelism: zod.z.number().int().describe("Maximum number of concurrent executions of the agent.").optional(),
57
+ maxRetryNumber: zod.z.number().int().describe("Maximum number of retries the agent will attempt before aborting.").optional(),
58
+ executionTimeLimit: zod.z.number().describe("Execution time limit in seconds. Agent will be stopped if this limit is exceeded.").optional(),
59
+ fileMgmtMaxFolders: zod.z.number().int().describe("Maximum number of folders for file management.").optional(),
60
+ launchAfterAgentId: zod.z.string().describe("Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.").optional(),
61
+ repeatedLaunchTimes: zod.z.object({
62
+ day: zod.z.array(zod.z.number().int()).describe("Days of month when agent should launch"),
63
+ dow: zod.z.array(zod.z.string()).describe("Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])"),
64
+ hour: zod.z.array(zod.z.number().int()).describe("Hours when agent should launch"),
65
+ month: zod.z.array(zod.z.string()).describe("Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])"),
66
+ minute: zod.z.array(zod.z.number().int()).describe("Minutes when agent should launch"),
67
+ timezone: zod.z.string().describe("Timezone for the schedule (e.g., 'America/New_York')"),
68
+ simplePreset: zod.z.enum([
69
+ "Once every other day",
70
+ "Once per day",
71
+ "Once per day, at the start of the day",
72
+ "Twice per day",
73
+ "Thrice per day",
74
+ "4 times per day",
75
+ "6 times per day",
76
+ "8 times per day",
77
+ "Once every other hour",
78
+ "Once per hour",
79
+ "Twice per hour",
80
+ "Thrice per hour",
81
+ "4 times per hour",
82
+ "Once every other working hour",
83
+ "Once per working hour",
84
+ "Twice per working hour",
85
+ "Thrice per working hour",
86
+ "4 times per working hour",
87
+ "Once every other working hour, excluding weekends",
88
+ "Once per working hour, excluding weekends",
89
+ "Twice per working hour, excluding weekends",
90
+ "Thrice per working hour, excluding weekends",
91
+ "4 times per working hour, excluding weekends"
92
+ ]).describe("Preset launch schedules.").optional(),
93
+ isSimplePresetEnabled: zod.z.boolean().describe("Whether simple preset is enabled").optional()
94
+ }).describe("Schedule configuration for repeated launches.").optional(),
95
+ repeatedLaunchPreset: zod.z.enum([
96
+ "Once every other day",
97
+ "Once per day",
98
+ "Once per day, at the start of the day",
99
+ "Twice per day",
100
+ "Thrice per day",
101
+ "4 times per day",
102
+ "6 times per day",
103
+ "8 times per day",
104
+ "Once every other hour",
105
+ "Once per hour",
106
+ "Twice per hour",
107
+ "Thrice per hour",
108
+ "4 times per hour",
109
+ "Once every other working hour",
110
+ "Once per working hour",
111
+ "Twice per working hour",
112
+ "Thrice per working hour",
113
+ "4 times per working hour",
114
+ "Once every other working hour, excluding weekends",
115
+ "Once per working hour, excluding weekends",
116
+ "Twice per working hour, excluding weekends",
117
+ "Thrice per working hour, excluding weekends",
118
+ "4 times per working hour, excluding weekends"
119
+ ]).describe("Preset launch schedules.").optional(),
120
+ squidLeaseIdentifier: zod.z.object({
121
+ location: zod.z.string().describe("Location for the squid lease").optional(),
122
+ groupSlug: zod.z.string().describe("Group slug identifier"),
123
+ refreshRate: zod.z.number().int().describe("Refresh rate in minutes (minimum 0)"),
124
+ sublocation: zod.z.string().describe("Sublocation for the squid lease").optional()
125
+ }).describe("Squid lease configuration.").optional(),
126
+ masterAgentLaunchAfter: zod.z.number().describe("Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.").optional(),
127
+ masterAgentLaunchOnExitCodes: zod.z.union([zod.z.array(zod.z.number().int()), zod.z.string()]).optional(),
128
+ applyScriptManifestDefaultSettings: zod.z.boolean().describe("If true, applies the manifest's default settings to the agent.").optional(),
129
+ wasSetupValidWhenSubmittedByTheFrontend: zod.z.boolean().describe("If true, the agent's setup is considered complete.").optional(),
130
+ shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: zod.z.boolean().describe("If true, propagates updated settings to workers regardless of session type.").optional()
131
+ }).describe("Request model for saving (creating or updating) an agent.");
132
+ const PhantombusterSaveAgentOutput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the created or updated agent") }).describe("Response schema for POST /agents/save.");
133
+ const phantombusterSaveAgent = require_action.action("PHANTOMBUSTER_SAVE_AGENT", {
134
+ slug: "phantombuster-save-agent",
135
+ name: "Save Agent",
136
+ description: "Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.",
137
+ input: PhantombusterSaveAgentInput,
138
+ output: PhantombusterSaveAgentOutput
139
+ });
140
+ //#endregion
141
+ exports.phantombusterSaveAgent = phantombusterSaveAgent;
142
+
143
+ //# sourceMappingURL=save-agent.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent.cjs","names":["z","action"],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.object({})]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\"),\n}).describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC3H,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO;EACxB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC3J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1F,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACxG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACxG,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1G,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1G,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC9G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5I,qBAAqBA,IAAAA,EAAE,OAAO;EAC9B,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC;EAChF,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAClH,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACzE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E;EAC9G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC;EAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACpF,cAAcA,IAAAA,EAAE,KAAK;GAAC;GAAwB;GAAgB;GAAyC;GAAiB;GAAkB;GAAmB;GAAmB;GAAmB;GAAyB;GAAiB;GAAkB;GAAmB;GAAoB;GAAiC;GAAyB;GAA0B;GAA2B;GAA4B;GAAqD;GAA6C;GAA8C;GAA+C;EAA8C,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/sB,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpE,sBAAsBA,IAAAA,EAAE,KAAK;EAAC;EAAwB;EAAgB;EAAyC;EAAiB;EAAkB;EAAmB;EAAmB;EAAmB;EAAyB;EAAiB;EAAkB;EAAmB;EAAoB;EAAiC;EAAyB;EAA0B;EAA2B;EAA4B;EAAqD;EAA6C;EAA8C;EAA+C;CAA8C,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvtB,sBAAsBA,IAAAA,EAAE,OAAO;EAC/B,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvK,8BAA8BA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxF,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACpI,yCAAyCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7H,gEAAgEA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/save-agent.d.ts
4
+ declare const PhantombusterSaveAgentInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveAgentOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveAgent };
9
+ //# sourceMappingURL=save-agent.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAiE4B;AAAA,cAC3D,4BAAA,EAA8B,CAAA,CAAE,UAEQ;AAAA,cAExC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-agent.d.ts
4
+ declare const PhantombusterSaveAgentInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveAgentOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveAgent };
9
+ //# sourceMappingURL=save-agent.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-agent.d.mts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAiE4B;AAAA,cAC3D,4BAAA,EAA8B,CAAA,CAAE,UAEQ;AAAA,cAExC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}