@keystrokehq/phantombuster 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.cjs +3 -3
  4. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  5. package/dist/actions/abort-agent-v1.d.cts +12 -3
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +12 -3
  8. package/dist/actions/abort-agent-v1.d.mts.map +1 -1
  9. package/dist/actions/abort-agent-v1.mjs +3 -3
  10. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  11. package/dist/actions/delete-agent.cjs +3 -3
  12. package/dist/actions/delete-agent.cjs.map +1 -1
  13. package/dist/actions/delete-agent.d.cts +14 -3
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +14 -3
  16. package/dist/actions/delete-agent.d.mts.map +1 -1
  17. package/dist/actions/delete-agent.mjs +3 -3
  18. package/dist/actions/delete-agent.mjs.map +1 -1
  19. package/dist/actions/delete-lead-objects.cjs +1 -1
  20. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  21. package/dist/actions/delete-lead-objects.d.cts +13 -3
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +13 -3
  24. package/dist/actions/delete-lead-objects.d.mts.map +1 -1
  25. package/dist/actions/delete-lead-objects.mjs +1 -1
  26. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  27. package/dist/actions/delete-leads-many.cjs +1 -1
  28. package/dist/actions/delete-leads-many.cjs.map +1 -1
  29. package/dist/actions/delete-leads-many.d.cts +11 -3
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +11 -3
  32. package/dist/actions/delete-leads-many.d.mts.map +1 -1
  33. package/dist/actions/delete-leads-many.mjs +1 -1
  34. package/dist/actions/delete-leads-many.mjs.map +1 -1
  35. package/dist/actions/delete-list.cjs +1 -1
  36. package/dist/actions/delete-list.cjs.map +1 -1
  37. package/dist/actions/delete-list.d.cts +11 -3
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +11 -3
  40. package/dist/actions/delete-list.d.mts.map +1 -1
  41. package/dist/actions/delete-list.mjs +1 -1
  42. package/dist/actions/delete-list.mjs.map +1 -1
  43. package/dist/actions/delete-script.cjs +3 -3
  44. package/dist/actions/delete-script.cjs.map +1 -1
  45. package/dist/actions/delete-script.d.cts +21 -3
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +21 -3
  48. package/dist/actions/delete-script.d.mts.map +1 -1
  49. package/dist/actions/delete-script.mjs +3 -3
  50. package/dist/actions/delete-script.mjs.map +1 -1
  51. package/dist/actions/get-agent-containers.cjs +2 -2
  52. package/dist/actions/get-agent-containers.cjs.map +1 -1
  53. package/dist/actions/get-agent-containers.d.cts +20 -3
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +20 -3
  56. package/dist/actions/get-agent-containers.d.mts.map +1 -1
  57. package/dist/actions/get-agent-containers.mjs +2 -2
  58. package/dist/actions/get-agent-containers.mjs.map +1 -1
  59. package/dist/actions/get-agent-output.cjs +4 -4
  60. package/dist/actions/get-agent-output.cjs.map +1 -1
  61. package/dist/actions/get-agent-output.d.cts +36 -3
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +36 -3
  64. package/dist/actions/get-agent-output.d.mts.map +1 -1
  65. package/dist/actions/get-agent-output.mjs +4 -4
  66. package/dist/actions/get-agent-output.mjs.map +1 -1
  67. package/dist/actions/get-agent.cjs +26 -26
  68. package/dist/actions/get-agent.cjs.map +1 -1
  69. package/dist/actions/get-agent.d.cts +198 -3
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +198 -3
  72. package/dist/actions/get-agent.d.mts.map +1 -1
  73. package/dist/actions/get-agent.mjs +26 -26
  74. package/dist/actions/get-agent.mjs.map +1 -1
  75. package/dist/actions/get-agents-fetch-all.cjs +4 -4
  76. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  77. package/dist/actions/get-agents-fetch-all.d.cts +29 -3
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +29 -3
  80. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
  81. package/dist/actions/get-agents-fetch-all.mjs +4 -4
  82. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  83. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
  84. package/dist/actions/get-agents-fetch-deleted.d.cts +3 -3
  85. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  86. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -3
  87. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
  88. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
  89. package/dist/actions/get-branches-diff.cjs.map +1 -1
  90. package/dist/actions/get-branches-diff.d.cts +9 -3
  91. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  92. package/dist/actions/get-branches-diff.d.mts +9 -3
  93. package/dist/actions/get-branches-diff.d.mts.map +1 -1
  94. package/dist/actions/get-branches-diff.mjs.map +1 -1
  95. package/dist/actions/get-branches-fetch-all.cjs +4 -4
  96. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  97. package/dist/actions/get-branches-fetch-all.d.cts +11 -3
  98. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  99. package/dist/actions/get-branches-fetch-all.d.mts +11 -3
  100. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
  101. package/dist/actions/get-branches-fetch-all.mjs +4 -4
  102. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  103. package/dist/actions/get-containers-fetch-all.cjs +8 -8
  104. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  105. package/dist/actions/get-containers-fetch-all.d.cts +21 -3
  106. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  107. package/dist/actions/get-containers-fetch-all.d.mts +21 -3
  108. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
  109. package/dist/actions/get-containers-fetch-all.mjs +8 -8
  110. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  111. package/dist/actions/get-leads-by-list.cjs +1 -1
  112. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  113. package/dist/actions/get-leads-by-list.d.cts +33 -3
  114. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  115. package/dist/actions/get-leads-by-list.d.mts +33 -3
  116. package/dist/actions/get-leads-by-list.d.mts.map +1 -1
  117. package/dist/actions/get-leads-by-list.mjs +1 -1
  118. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  119. package/dist/actions/get-location-ip.cjs +1 -1
  120. package/dist/actions/get-location-ip.cjs.map +1 -1
  121. package/dist/actions/get-location-ip.d.cts +9 -3
  122. package/dist/actions/get-location-ip.d.cts.map +1 -1
  123. package/dist/actions/get-location-ip.d.mts +9 -3
  124. package/dist/actions/get-location-ip.d.mts.map +1 -1
  125. package/dist/actions/get-location-ip.mjs +1 -1
  126. package/dist/actions/get-location-ip.mjs.map +1 -1
  127. package/dist/actions/get-org-storage-lists-fetch-all.cjs +5 -5
  128. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  129. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +13 -3
  130. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
  131. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +13 -3
  132. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
  133. package/dist/actions/get-org-storage-lists-fetch-all.mjs +5 -5
  134. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  135. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
  136. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  137. package/dist/actions/get-orgs-export-agent-usage.d.cts +11 -3
  138. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
  139. package/dist/actions/get-orgs-export-agent-usage.d.mts +11 -3
  140. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
  141. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
  142. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  143. package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
  144. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  145. package/dist/actions/get-orgs-export-container-usage.d.cts +11 -3
  146. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
  147. package/dist/actions/get-orgs-export-container-usage.d.mts +11 -3
  148. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
  149. package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
  150. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  151. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -1
  152. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  153. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -3
  154. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
  155. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -3
  156. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
  157. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
  158. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  159. package/dist/actions/get-orgs-fetch-resources.cjs +33 -33
  160. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  161. package/dist/actions/get-orgs-fetch-resources.d.cts +48 -3
  162. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  163. package/dist/actions/get-orgs-fetch-resources.d.mts +48 -3
  164. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
  165. package/dist/actions/get-orgs-fetch-resources.mjs +33 -33
  166. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  167. package/dist/actions/get-orgs-fetch-running-containers.cjs +7 -7
  168. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  169. package/dist/actions/get-orgs-fetch-running-containers.d.cts +11 -3
  170. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
  171. package/dist/actions/get-orgs-fetch-running-containers.d.mts +11 -3
  172. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
  173. package/dist/actions/get-orgs-fetch-running-containers.mjs +7 -7
  174. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  175. package/dist/actions/get-orgs-fetch.cjs +3 -3
  176. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  177. package/dist/actions/get-orgs-fetch.d.cts +9 -3
  178. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  179. package/dist/actions/get-orgs-fetch.d.mts +9 -3
  180. package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
  181. package/dist/actions/get-orgs-fetch.mjs +3 -3
  182. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  183. package/dist/actions/get-script-by-name.cjs +3 -3
  184. package/dist/actions/get-script-by-name.cjs.map +1 -1
  185. package/dist/actions/get-script-by-name.d.cts +23 -3
  186. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  187. package/dist/actions/get-script-by-name.d.mts +23 -3
  188. package/dist/actions/get-script-by-name.d.mts.map +1 -1
  189. package/dist/actions/get-script-by-name.mjs +3 -3
  190. package/dist/actions/get-script-by-name.mjs.map +1 -1
  191. package/dist/actions/get-script.cjs +13 -13
  192. package/dist/actions/get-script.cjs.map +1 -1
  193. package/dist/actions/get-script.d.cts +65 -3
  194. package/dist/actions/get-script.d.cts.map +1 -1
  195. package/dist/actions/get-script.d.mts +65 -3
  196. package/dist/actions/get-script.d.mts.map +1 -1
  197. package/dist/actions/get-script.mjs +13 -13
  198. package/dist/actions/get-script.mjs.map +1 -1
  199. package/dist/actions/get-scripts-code.cjs +1 -1
  200. package/dist/actions/get-scripts-code.cjs.map +1 -1
  201. package/dist/actions/get-scripts-code.d.cts +20 -3
  202. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  203. package/dist/actions/get-scripts-code.d.mts +20 -3
  204. package/dist/actions/get-scripts-code.d.mts.map +1 -1
  205. package/dist/actions/get-scripts-code.mjs +1 -1
  206. package/dist/actions/get-scripts-code.mjs.map +1 -1
  207. package/dist/actions/get-scripts-fetch-all.cjs +9 -9
  208. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  209. package/dist/actions/get-scripts-fetch-all.d.cts +13 -3
  210. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  211. package/dist/actions/get-scripts-fetch-all.d.mts +13 -3
  212. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
  213. package/dist/actions/get-scripts-fetch-all.mjs +9 -9
  214. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  215. package/dist/actions/get-user.cjs +7 -7
  216. package/dist/actions/get-user.cjs.map +1 -1
  217. package/dist/actions/get-user.d.cts +22 -3
  218. package/dist/actions/get-user.d.cts.map +1 -1
  219. package/dist/actions/get-user.d.mts +22 -3
  220. package/dist/actions/get-user.d.mts.map +1 -1
  221. package/dist/actions/get-user.mjs +7 -7
  222. package/dist/actions/get-user.mjs.map +1 -1
  223. package/dist/actions/post-agents-unschedule-all.cjs +1 -1
  224. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  225. package/dist/actions/post-agents-unschedule-all.d.cts +3 -3
  226. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  227. package/dist/actions/post-agents-unschedule-all.d.mts +3 -3
  228. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  229. package/dist/actions/post-agents-unschedule-all.mjs +1 -1
  230. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  231. package/dist/actions/post-ai-completions.cjs +8 -8
  232. package/dist/actions/post-ai-completions.cjs.map +1 -1
  233. package/dist/actions/post-ai-completions.d.cts +31 -3
  234. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  235. package/dist/actions/post-ai-completions.d.mts +31 -3
  236. package/dist/actions/post-ai-completions.d.mts.map +1 -1
  237. package/dist/actions/post-ai-completions.mjs +8 -8
  238. package/dist/actions/post-ai-completions.mjs.map +1 -1
  239. package/dist/actions/post-branches-create.cjs +3 -3
  240. package/dist/actions/post-branches-create.cjs.map +1 -1
  241. package/dist/actions/post-branches-create.d.cts +12 -3
  242. package/dist/actions/post-branches-create.d.cts.map +1 -1
  243. package/dist/actions/post-branches-create.d.mts +12 -3
  244. package/dist/actions/post-branches-create.d.mts.map +1 -1
  245. package/dist/actions/post-branches-create.mjs +3 -3
  246. package/dist/actions/post-branches-create.mjs.map +1 -1
  247. package/dist/actions/post-branches-delete.cjs +3 -3
  248. package/dist/actions/post-branches-delete.cjs.map +1 -1
  249. package/dist/actions/post-branches-delete.d.cts +12 -3
  250. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  251. package/dist/actions/post-branches-delete.d.mts +12 -3
  252. package/dist/actions/post-branches-delete.d.mts.map +1 -1
  253. package/dist/actions/post-branches-delete.mjs +3 -3
  254. package/dist/actions/post-branches-delete.mjs.map +1 -1
  255. package/dist/actions/post-hcaptcha.cjs +1 -1
  256. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  257. package/dist/actions/post-hcaptcha.d.cts +16 -3
  258. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  259. package/dist/actions/post-hcaptcha.d.mts +16 -3
  260. package/dist/actions/post-hcaptcha.d.mts.map +1 -1
  261. package/dist/actions/post-hcaptcha.mjs +1 -1
  262. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  263. package/dist/actions/post-identities-generate-token.cjs +4 -4
  264. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  265. package/dist/actions/post-identities-generate-token.d.cts +7 -3
  266. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  267. package/dist/actions/post-identities-generate-token.d.mts +7 -3
  268. package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
  269. package/dist/actions/post-identities-generate-token.mjs +4 -4
  270. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  271. package/dist/actions/post-org-storage-leads-save-many.cjs +14 -14
  272. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  273. package/dist/actions/post-org-storage-leads-save-many.d.cts +132 -3
  274. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
  275. package/dist/actions/post-org-storage-leads-save-many.d.mts +132 -3
  276. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
  277. package/dist/actions/post-org-storage-leads-save-many.mjs +14 -14
  278. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  279. package/dist/actions/post-recaptcha.cjs +1 -1
  280. package/dist/actions/post-recaptcha.cjs.map +1 -1
  281. package/dist/actions/post-recaptcha.d.cts +21 -3
  282. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  283. package/dist/actions/post-recaptcha.d.mts +21 -3
  284. package/dist/actions/post-recaptcha.d.mts.map +1 -1
  285. package/dist/actions/post-recaptcha.mjs +1 -1
  286. package/dist/actions/post-recaptcha.mjs.map +1 -1
  287. package/dist/actions/post-scripts-visibility.cjs +1 -1
  288. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  289. package/dist/actions/post-scripts-visibility.d.cts +21 -3
  290. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  291. package/dist/actions/post-scripts-visibility.d.mts +21 -3
  292. package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
  293. package/dist/actions/post-scripts-visibility.mjs +1 -1
  294. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  295. package/dist/actions/release-branch.cjs +2 -2
  296. package/dist/actions/release-branch.cjs.map +1 -1
  297. package/dist/actions/release-branch.d.cts +14 -3
  298. package/dist/actions/release-branch.d.cts.map +1 -1
  299. package/dist/actions/release-branch.d.mts +14 -3
  300. package/dist/actions/release-branch.d.mts.map +1 -1
  301. package/dist/actions/release-branch.mjs +2 -2
  302. package/dist/actions/release-branch.mjs.map +1 -1
  303. package/dist/actions/save-agent-groups.cjs +5 -5
  304. package/dist/actions/save-agent-groups.cjs.map +1 -1
  305. package/dist/actions/save-agent-groups.d.cts +24 -3
  306. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  307. package/dist/actions/save-agent-groups.d.mts +24 -3
  308. package/dist/actions/save-agent-groups.d.mts.map +1 -1
  309. package/dist/actions/save-agent-groups.mjs +5 -5
  310. package/dist/actions/save-agent-groups.mjs.map +1 -1
  311. package/dist/actions/save-agent.cjs +2 -2
  312. package/dist/actions/save-agent.cjs.map +1 -1
  313. package/dist/actions/save-agent.d.cts +200 -3
  314. package/dist/actions/save-agent.d.cts.map +1 -1
  315. package/dist/actions/save-agent.d.mts +200 -3
  316. package/dist/actions/save-agent.d.mts.map +1 -1
  317. package/dist/actions/save-agent.mjs +2 -2
  318. package/dist/actions/save-agent.mjs.map +1 -1
  319. package/dist/actions/save-company-object.cjs +5 -5
  320. package/dist/actions/save-company-object.cjs.map +1 -1
  321. package/dist/actions/save-company-object.d.cts +24 -3
  322. package/dist/actions/save-company-object.d.cts.map +1 -1
  323. package/dist/actions/save-company-object.d.mts +24 -3
  324. package/dist/actions/save-company-object.d.mts.map +1 -1
  325. package/dist/actions/save-company-object.mjs +5 -5
  326. package/dist/actions/save-company-object.mjs.map +1 -1
  327. package/dist/actions/save-company-objects-many.cjs +14 -14
  328. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  329. package/dist/actions/save-company-objects-many.d.cts +38 -3
  330. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  331. package/dist/actions/save-company-objects-many.d.mts +38 -3
  332. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  333. package/dist/actions/save-company-objects-many.mjs +14 -14
  334. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  335. package/dist/actions/save-identity-event.cjs +7 -7
  336. package/dist/actions/save-identity-event.cjs.map +1 -1
  337. package/dist/actions/save-identity-event.d.cts +23 -3
  338. package/dist/actions/save-identity-event.d.cts.map +1 -1
  339. package/dist/actions/save-identity-event.d.mts +23 -3
  340. package/dist/actions/save-identity-event.d.mts.map +1 -1
  341. package/dist/actions/save-identity-event.mjs +7 -7
  342. package/dist/actions/save-identity-event.mjs.map +1 -1
  343. package/dist/actions/save-lead-object.cjs +5 -5
  344. package/dist/actions/save-lead-object.cjs.map +1 -1
  345. package/dist/actions/save-lead-object.d.cts +30 -3
  346. package/dist/actions/save-lead-object.d.cts.map +1 -1
  347. package/dist/actions/save-lead-object.d.mts +30 -3
  348. package/dist/actions/save-lead-object.d.mts.map +1 -1
  349. package/dist/actions/save-lead-object.mjs +5 -5
  350. package/dist/actions/save-lead-object.mjs.map +1 -1
  351. package/dist/actions/save-lead.cjs +3 -3
  352. package/dist/actions/save-lead.cjs.map +1 -1
  353. package/dist/actions/save-lead.d.cts +175 -3
  354. package/dist/actions/save-lead.d.cts.map +1 -1
  355. package/dist/actions/save-lead.d.mts +175 -3
  356. package/dist/actions/save-lead.d.mts.map +1 -1
  357. package/dist/actions/save-lead.mjs +3 -3
  358. package/dist/actions/save-lead.mjs.map +1 -1
  359. package/dist/actions/save-leads-objects-many.cjs +9 -9
  360. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  361. package/dist/actions/save-leads-objects-many.d.cts +36 -3
  362. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  363. package/dist/actions/save-leads-objects-many.d.mts +36 -3
  364. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  365. package/dist/actions/save-leads-objects-many.mjs +9 -9
  366. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  367. package/dist/actions/save-list.cjs +4 -4
  368. package/dist/actions/save-list.cjs.map +1 -1
  369. package/dist/actions/save-list.d.cts +28 -3
  370. package/dist/actions/save-list.d.cts.map +1 -1
  371. package/dist/actions/save-list.d.mts +28 -3
  372. package/dist/actions/save-list.d.mts.map +1 -1
  373. package/dist/actions/save-list.mjs +4 -4
  374. package/dist/actions/save-list.mjs.map +1 -1
  375. package/dist/actions/save-script.cjs +4 -4
  376. package/dist/actions/save-script.cjs.map +1 -1
  377. package/dist/actions/save-script.d.cts +41 -3
  378. package/dist/actions/save-script.d.cts.map +1 -1
  379. package/dist/actions/save-script.d.mts +41 -3
  380. package/dist/actions/save-script.d.mts.map +1 -1
  381. package/dist/actions/save-script.mjs +4 -4
  382. package/dist/actions/save-script.mjs.map +1 -1
  383. package/dist/actions/search-company-objects.cjs +4 -4
  384. package/dist/actions/search-company-objects.cjs.map +1 -1
  385. package/dist/actions/search-company-objects.d.cts +16 -3
  386. package/dist/actions/search-company-objects.d.cts.map +1 -1
  387. package/dist/actions/search-company-objects.d.mts +16 -3
  388. package/dist/actions/search-company-objects.d.mts.map +1 -1
  389. package/dist/actions/search-company-objects.mjs +4 -4
  390. package/dist/actions/search-company-objects.mjs.map +1 -1
  391. package/dist/actions/search-lead-objects.cjs +1 -1
  392. package/dist/actions/search-lead-objects.cjs.map +1 -1
  393. package/dist/actions/search-lead-objects.d.cts +17 -3
  394. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  395. package/dist/actions/search-lead-objects.d.mts +17 -3
  396. package/dist/actions/search-lead-objects.d.mts.map +1 -1
  397. package/dist/actions/search-lead-objects.mjs +1 -1
  398. package/dist/actions/search-lead-objects.mjs.map +1 -1
  399. package/dist/actions/stop-agent.cjs +1 -1
  400. package/dist/actions/stop-agent.cjs.map +1 -1
  401. package/dist/actions/stop-agent.d.cts +18 -3
  402. package/dist/actions/stop-agent.d.cts.map +1 -1
  403. package/dist/actions/stop-agent.d.mts +18 -3
  404. package/dist/actions/stop-agent.d.mts.map +1 -1
  405. package/dist/actions/stop-agent.mjs +1 -1
  406. package/dist/actions/stop-agent.mjs.map +1 -1
  407. package/dist/actions/update-script.cjs +2 -2
  408. package/dist/actions/update-script.cjs.map +1 -1
  409. package/dist/actions/update-script.d.cts +14 -3
  410. package/dist/actions/update-script.d.cts.map +1 -1
  411. package/dist/actions/update-script.d.mts +14 -3
  412. package/dist/actions/update-script.d.mts.map +1 -1
  413. package/dist/actions/update-script.mjs +2 -2
  414. package/dist/actions/update-script.mjs.map +1 -1
  415. package/dist/actions/update-scripts-access-list.cjs +2 -2
  416. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  417. package/dist/actions/update-scripts-access-list.d.cts +18 -3
  418. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  419. package/dist/actions/update-scripts-access-list.d.mts +18 -3
  420. package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
  421. package/dist/actions/update-scripts-access-list.mjs +2 -2
  422. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  423. package/dist/catalog.cjs +7 -1
  424. package/dist/catalog.cjs.map +1 -1
  425. package/dist/catalog.d.cts +8 -0
  426. package/dist/catalog.d.mts +8 -0
  427. package/dist/catalog.mjs +7 -1
  428. package/dist/catalog.mjs.map +1 -1
  429. package/package.json +2 -2
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PhantombusterReleaseBranchInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ scriptIds: z.ZodArray<z.ZodString>;
7
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PhantombusterReleaseBranchOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodString>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>;
13
+ declare const phantombusterReleaseBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ name: string;
15
+ scriptIds: string[];
16
+ "X-Phantombuster-Org"?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { phantombusterReleaseBranch };
9
20
  //# sourceMappingURL=release-branch.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"release-branch.d.mts","names":[],"sources":["../../src/actions/release-branch.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -10,9 +10,9 @@ const phantombusterReleaseBranch = action("PHANTOMBUSTER_RELEASE_BRANCH", {
10
10
  "X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
11
11
  }).describe("Request model for releasing a script branch."),
12
12
  output: z.object({
13
- status: z.string().describe("Status of the release operation (e.g., 'success')."),
13
+ status: z.string().describe("Status of the release operation (e.g., 'success').").nullable(),
14
14
  message: z.string().describe("Optional message describing the release result.").nullable().optional()
15
- }).describe("Response schema for a released branch.")
15
+ }).passthrough().describe("Response schema for a released branch.")
16
16
  });
17
17
  //#endregion
18
18
  export { phantombusterReleaseBranch };
@@ -1 +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"}
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.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.object({\n status: z.string().describe(\"Status of the release operation (e.g., 'success').\").nullable(),\n message: z.string().describe(\"Optional message describing the release result.\").nullable().optional(),\n}).passthrough().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,OAd6C,EAAE,OAAO;EACtD,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,QAV8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -6,15 +6,15 @@ const PhantombusterSaveAgentGroupsInput = zod.z.object({
6
6
  id: zod.z.string().describe("Unique identifier for the agent group"),
7
7
  name: zod.z.string().describe("Display name for the agent group"),
8
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."),
9
+ }).passthrough().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
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
11
  }).describe("Request model for POST /orgs/save-agent-groups.");
12
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"),
13
+ id: zod.z.string().describe("Unique identifier for the agent group").nullable(),
14
+ name: zod.z.string().describe("Display name for the agent group").nullable(),
15
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.");
16
+ }).passthrough().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.") }).passthrough().describe("Response schema for POST /orgs/save-agent-groups.");
18
18
  const phantombusterSaveAgentGroups = require_action.action("PHANTOMBUSTER_SAVE_AGENT_GROUPS", {
19
19
  slug: "phantombuster-save-agent-groups",
20
20
  name: "Save Agent Groups",
@@ -1 +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: Phantombuster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 {"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.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}).passthrough().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.object({\n id: z.string().describe(\"Unique identifier for the agent group\").nullable(),\n name: z.string().describe(\"Display name for the agent group\").nullable(),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).passthrough().describe(\"Model representing an agent group with ID, name, and list of agents.\");\nexport const PhantombusterSaveAgentGroupsOutput = 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}).passthrough().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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE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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]>;
4
+ declare const PhantombusterSaveAgentGroupsInput: z.ZodObject<{
5
+ agentGroups: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6
+ id: z.ZodString;
7
+ name: z.ZodString;
8
+ agents: z.ZodArray<z.ZodString>;
9
+ }, z.core.$loose>]>>;
10
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
13
+ agentGroups: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ agents: z.ZodArray<z.ZodString>;
17
+ }, z.core.$loose>]>>;
18
+ }, z.core.$loose>;
19
+ declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ agentGroups: (string | {
21
+ [x: string]: unknown;
22
+ id: string;
23
+ name: string;
24
+ agents: string[];
25
+ })[];
26
+ "X-Phantombuster-Org"?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { phantombusterSaveAgentGroups };
9
30
  //# sourceMappingURL=save-agent-groups.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"save-agent-groups.d.cts","names":[],"sources":["../../src/actions/save-agent-groups.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PhantombusterSaveAgentGroupsInput: z.ZodObject<{
5
+ agentGroups: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6
+ id: z.ZodString;
7
+ name: z.ZodString;
8
+ agents: z.ZodArray<z.ZodString>;
9
+ }, z.core.$loose>]>>;
10
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
13
+ agentGroups: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ agents: z.ZodArray<z.ZodString>;
17
+ }, z.core.$loose>]>>;
18
+ }, z.core.$loose>;
19
+ declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ agentGroups: (string | {
21
+ [x: string]: unknown;
22
+ id: string;
23
+ name: string;
24
+ agents: string[];
25
+ })[];
26
+ "X-Phantombuster-Org"?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { phantombusterSaveAgentGroups };
9
30
  //# sourceMappingURL=save-agent-groups.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"save-agent-groups.d.mts","names":[],"sources":["../../src/actions/save-agent-groups.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -6,20 +6,20 @@ const PhantombusterSaveAgentGroupsInput = z.object({
6
6
  id: z.string().describe("Unique identifier for the agent group"),
7
7
  name: z.string().describe("Display name for the agent group"),
8
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."),
9
+ }).passthrough().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
10
  "X-Phantombuster-Org": z.string().describe("ID of the org performing the operation (not necessary when using a third party key)").optional()
11
11
  }).describe("Request model for POST /orgs/save-agent-groups.");
12
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"),
13
+ id: z.string().describe("Unique identifier for the agent group").nullable(),
14
+ name: z.string().describe("Display name for the agent group").nullable(),
15
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.");
16
+ }).passthrough().describe("Model representing an agent group with ID, name, and list of agents.");
17
17
  const phantombusterSaveAgentGroups = action("PHANTOMBUSTER_SAVE_AGENT_GROUPS", {
18
18
  slug: "phantombuster-save-agent-groups",
19
19
  name: "Save Agent Groups",
20
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
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.")
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.") }).passthrough().describe("Response schema for POST /orgs/save-agent-groups.")
23
23
  });
24
24
  //#endregion
25
25
  export { phantombusterSaveAgentGroups };
@@ -1 +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"}
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.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}).passthrough().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.object({\n id: z.string().describe(\"Unique identifier for the agent group\").nullable(),\n name: z.string().describe(\"Display name for the agent group\").nullable(),\n agents: z.array(z.string()).describe(\"List of agent IDs in this group, in order\"),\n}).passthrough().describe(\"Model representing an agent group with ID, name, and list of agents.\");\nexport const PhantombusterSaveAgentGroupsOutput = 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}).passthrough().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,oCAAoC,EAAE,OAAO;CACxD,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,YAAY,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACvQ,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAKhG,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI,EACvO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const PhantombusterSaveAgentInput = zod.z.object({
7
7
  name: zod.z.string().describe("Name of the agent (max 100 characters)").optional(),
8
8
  branch: zod.z.string().describe("Branch to assign the agent to (alphanumeric, dash, max 50)").optional(),
9
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(),
10
+ argument: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).optional(),
11
11
  expireAt: zod.z.number().int().describe("Unix timestamp (epoch ms) when the agent will be deleted.").optional(),
12
12
  fileMgmt: zod.z.enum([
13
13
  "folders",
@@ -129,7 +129,7 @@ const PhantombusterSaveAgentInput = zod.z.object({
129
129
  wasSetupValidWhenSubmittedByTheFrontend: zod.z.boolean().describe("If true, the agent's setup is considered complete.").optional(),
130
130
  shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: zod.z.boolean().describe("If true, propagates updated settings to workers regardless of session type.").optional()
131
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.");
132
+ const PhantombusterSaveAgentOutput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the created or updated agent").nullable() }).passthrough().describe("Response schema for POST /agents/save.");
133
133
  const phantombusterSaveAgent = require_action.action("PHANTOMBUSTER_SAVE_AGENT", {
134
134
  slug: "phantombuster-save-agent",
135
135
  name: "Save Agent",
@@ -1 +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,IAAA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AO,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"}
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.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.record(z.string(), z.unknown())]).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.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC5E,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,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CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,206 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const PhantombusterSaveAgentInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ org: z.ZodOptional<z.ZodString>;
7
+ name: z.ZodOptional<z.ZodString>;
8
+ branch: z.ZodOptional<z.ZodString>;
9
+ script: z.ZodOptional<z.ZodString>;
10
+ argument: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
11
+ expireAt: z.ZodOptional<z.ZodNumber>;
12
+ fileMgmt: z.ZodOptional<z.ZodEnum<{
13
+ folders: "folders";
14
+ mix: "mix";
15
+ delete: "delete";
16
+ }>>;
17
+ proxyType: z.ZodOptional<z.ZodEnum<{
18
+ none: "none";
19
+ http: "http";
20
+ pool: "pool";
21
+ "squid lease": "squid lease";
22
+ }>>;
23
+ launchType: z.ZodOptional<z.ZodEnum<{
24
+ manually: "manually";
25
+ repeatedly: "repeatedly";
26
+ once: "once";
27
+ "after agent": "after agent";
28
+ }>>;
29
+ agentObject: z.ZodOptional<z.ZodString>;
30
+ environment: z.ZodOptional<z.ZodEnum<{
31
+ staging: "staging";
32
+ release: "release";
33
+ }>>;
34
+ launchOnceAt: z.ZodOptional<z.ZodNumber>;
35
+ proxyAddress: z.ZodOptional<z.ZodString>;
36
+ notifications: z.ZodOptional<z.ZodObject<{
37
+ webhook: z.ZodOptional<z.ZodString>;
38
+ slackWebHook: z.ZodOptional<z.ZodString>;
39
+ mailManualExitError: z.ZodOptional<z.ZodBoolean>;
40
+ mailManualTimeError: z.ZodOptional<z.ZodBoolean>;
41
+ slackManualExitError: z.ZodOptional<z.ZodBoolean>;
42
+ slackManualTimeError: z.ZodOptional<z.ZodBoolean>;
43
+ mailManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
44
+ mailManualLaunchError: z.ZodOptional<z.ZodBoolean>;
45
+ mailAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
46
+ mailAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
47
+ slackManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
48
+ slackManualLaunchError: z.ZodOptional<z.ZodBoolean>;
49
+ slackAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
50
+ slackAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
51
+ mailAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
52
+ mailAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
53
+ slackAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
54
+ slackAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
55
+ }, z.core.$strip>>;
56
+ proxyPassword: z.ZodOptional<z.ZodString>;
57
+ proxyUsername: z.ZodOptional<z.ZodString>;
58
+ idempotencyKey: z.ZodOptional<z.ZodString>;
59
+ maxParallelism: z.ZodOptional<z.ZodNumber>;
60
+ maxRetryNumber: z.ZodOptional<z.ZodNumber>;
61
+ executionTimeLimit: z.ZodOptional<z.ZodNumber>;
62
+ fileMgmtMaxFolders: z.ZodOptional<z.ZodNumber>;
63
+ launchAfterAgentId: z.ZodOptional<z.ZodString>;
64
+ repeatedLaunchTimes: z.ZodOptional<z.ZodObject<{
65
+ day: z.ZodArray<z.ZodNumber>;
66
+ dow: z.ZodArray<z.ZodString>;
67
+ hour: z.ZodArray<z.ZodNumber>;
68
+ month: z.ZodArray<z.ZodString>;
69
+ minute: z.ZodArray<z.ZodNumber>;
70
+ timezone: z.ZodString;
71
+ simplePreset: z.ZodOptional<z.ZodEnum<{
72
+ "Once every other day": "Once every other day";
73
+ "Once per day": "Once per day";
74
+ "Once per day, at the start of the day": "Once per day, at the start of the day";
75
+ "Twice per day": "Twice per day";
76
+ "Thrice per day": "Thrice per day";
77
+ "4 times per day": "4 times per day";
78
+ "6 times per day": "6 times per day";
79
+ "8 times per day": "8 times per day";
80
+ "Once every other hour": "Once every other hour";
81
+ "Once per hour": "Once per hour";
82
+ "Twice per hour": "Twice per hour";
83
+ "Thrice per hour": "Thrice per hour";
84
+ "4 times per hour": "4 times per hour";
85
+ "Once every other working hour": "Once every other working hour";
86
+ "Once per working hour": "Once per working hour";
87
+ "Twice per working hour": "Twice per working hour";
88
+ "Thrice per working hour": "Thrice per working hour";
89
+ "4 times per working hour": "4 times per working hour";
90
+ "Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
91
+ "Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
92
+ "Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
93
+ "Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
94
+ "4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
95
+ }>>;
96
+ isSimplePresetEnabled: z.ZodOptional<z.ZodBoolean>;
97
+ }, z.core.$strip>>;
98
+ repeatedLaunchPreset: z.ZodOptional<z.ZodEnum<{
99
+ "Once every other day": "Once every other day";
100
+ "Once per day": "Once per day";
101
+ "Once per day, at the start of the day": "Once per day, at the start of the day";
102
+ "Twice per day": "Twice per day";
103
+ "Thrice per day": "Thrice per day";
104
+ "4 times per day": "4 times per day";
105
+ "6 times per day": "6 times per day";
106
+ "8 times per day": "8 times per day";
107
+ "Once every other hour": "Once every other hour";
108
+ "Once per hour": "Once per hour";
109
+ "Twice per hour": "Twice per hour";
110
+ "Thrice per hour": "Thrice per hour";
111
+ "4 times per hour": "4 times per hour";
112
+ "Once every other working hour": "Once every other working hour";
113
+ "Once per working hour": "Once per working hour";
114
+ "Twice per working hour": "Twice per working hour";
115
+ "Thrice per working hour": "Thrice per working hour";
116
+ "4 times per working hour": "4 times per working hour";
117
+ "Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
118
+ "Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
119
+ "Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
120
+ "Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
121
+ "4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
122
+ }>>;
123
+ squidLeaseIdentifier: z.ZodOptional<z.ZodObject<{
124
+ location: z.ZodOptional<z.ZodString>;
125
+ groupSlug: z.ZodString;
126
+ refreshRate: z.ZodNumber;
127
+ sublocation: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>>;
129
+ masterAgentLaunchAfter: z.ZodOptional<z.ZodNumber>;
130
+ masterAgentLaunchOnExitCodes: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>>;
131
+ applyScriptManifestDefaultSettings: z.ZodOptional<z.ZodBoolean>;
132
+ wasSetupValidWhenSubmittedByTheFrontend: z.ZodOptional<z.ZodBoolean>;
133
+ shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.ZodOptional<z.ZodBoolean>;
134
+ }, z.core.$strip>;
135
+ declare const PhantombusterSaveAgentOutput: z.ZodObject<{
136
+ id: z.ZodNullable<z.ZodString>;
137
+ }, z.core.$loose>;
138
+ declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
139
+ id?: string | undefined;
140
+ org?: string | undefined;
141
+ name?: string | undefined;
142
+ branch?: string | undefined;
143
+ script?: string | undefined;
144
+ argument?: string | Record<string, unknown> | undefined;
145
+ expireAt?: number | undefined;
146
+ fileMgmt?: "folders" | "mix" | "delete" | undefined;
147
+ proxyType?: "none" | "http" | "pool" | "squid lease" | undefined;
148
+ launchType?: "manually" | "repeatedly" | "once" | "after agent" | undefined;
149
+ agentObject?: string | undefined;
150
+ environment?: "staging" | "release" | undefined;
151
+ launchOnceAt?: number | undefined;
152
+ proxyAddress?: string | undefined;
153
+ notifications?: {
154
+ webhook?: string | undefined;
155
+ slackWebHook?: string | undefined;
156
+ mailManualExitError?: boolean | undefined;
157
+ mailManualTimeError?: boolean | undefined;
158
+ slackManualExitError?: boolean | undefined;
159
+ slackManualTimeError?: boolean | undefined;
160
+ mailManualExitSuccess?: boolean | undefined;
161
+ mailManualLaunchError?: boolean | undefined;
162
+ mailAutomaticExitError?: boolean | undefined;
163
+ mailAutomaticTimeError?: boolean | undefined;
164
+ slackManualExitSuccess?: boolean | undefined;
165
+ slackManualLaunchError?: boolean | undefined;
166
+ slackAutomaticExitError?: boolean | undefined;
167
+ slackAutomaticTimeError?: boolean | undefined;
168
+ mailAutomaticExitSuccess?: boolean | undefined;
169
+ mailAutomaticLaunchError?: boolean | undefined;
170
+ slackAutomaticExitSuccess?: boolean | undefined;
171
+ slackAutomaticLaunchError?: boolean | undefined;
172
+ } | undefined;
173
+ proxyPassword?: string | undefined;
174
+ proxyUsername?: string | undefined;
175
+ idempotencyKey?: string | undefined;
176
+ maxParallelism?: number | undefined;
177
+ maxRetryNumber?: number | undefined;
178
+ executionTimeLimit?: number | undefined;
179
+ fileMgmtMaxFolders?: number | undefined;
180
+ launchAfterAgentId?: string | undefined;
181
+ repeatedLaunchTimes?: {
182
+ day: number[];
183
+ dow: string[];
184
+ hour: number[];
185
+ month: string[];
186
+ minute: number[];
187
+ timezone: string;
188
+ simplePreset?: "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" | undefined;
189
+ isSimplePresetEnabled?: boolean | undefined;
190
+ } | undefined;
191
+ repeatedLaunchPreset?: "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" | undefined;
192
+ squidLeaseIdentifier?: {
193
+ groupSlug: string;
194
+ refreshRate: number;
195
+ location?: string | undefined;
196
+ sublocation?: string | undefined;
197
+ } | undefined;
198
+ masterAgentLaunchAfter?: number | undefined;
199
+ masterAgentLaunchOnExitCodes?: string | number[] | undefined;
200
+ applyScriptManifestDefaultSettings?: boolean | undefined;
201
+ wasSetupValidWhenSubmittedByTheFrontend?: boolean | undefined;
202
+ shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType?: boolean | undefined;
203
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
204
  //#endregion
8
205
  export { phantombusterSaveAgent };
9
206
  //# sourceMappingURL=save-agent.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;sBAMjC,MAAA"}