@keystrokehq/phantombuster 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/actions/abort-agent-v1.cjs +2 -2
  2. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.d.cts +2 -2
  4. package/dist/actions/abort-agent-v1.d.mts +2 -2
  5. package/dist/actions/abort-agent-v1.mjs +2 -2
  6. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  7. package/dist/actions/delete-agent.cjs +2 -2
  8. package/dist/actions/delete-agent.cjs.map +1 -1
  9. package/dist/actions/delete-agent.d.cts +2 -2
  10. package/dist/actions/delete-agent.d.mts +2 -2
  11. package/dist/actions/delete-agent.mjs +2 -2
  12. package/dist/actions/delete-agent.mjs.map +1 -1
  13. package/dist/actions/delete-lead-objects.cjs +1 -1
  14. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  15. package/dist/actions/delete-lead-objects.d.cts +1 -1
  16. package/dist/actions/delete-lead-objects.d.mts +1 -1
  17. package/dist/actions/delete-lead-objects.mjs +1 -1
  18. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  19. package/dist/actions/delete-leads-many.cjs +1 -1
  20. package/dist/actions/delete-leads-many.cjs.map +1 -1
  21. package/dist/actions/delete-leads-many.d.cts +1 -1
  22. package/dist/actions/delete-leads-many.d.mts +1 -1
  23. package/dist/actions/delete-leads-many.mjs +1 -1
  24. package/dist/actions/delete-leads-many.mjs.map +1 -1
  25. package/dist/actions/delete-list.cjs +1 -1
  26. package/dist/actions/delete-list.cjs.map +1 -1
  27. package/dist/actions/delete-list.d.cts +1 -1
  28. package/dist/actions/delete-list.d.mts +1 -1
  29. package/dist/actions/delete-list.mjs +1 -1
  30. package/dist/actions/delete-list.mjs.map +1 -1
  31. package/dist/actions/delete-script.cjs +2 -2
  32. package/dist/actions/delete-script.cjs.map +1 -1
  33. package/dist/actions/delete-script.d.cts +2 -2
  34. package/dist/actions/delete-script.d.mts +2 -2
  35. package/dist/actions/delete-script.mjs +2 -2
  36. package/dist/actions/delete-script.mjs.map +1 -1
  37. package/dist/actions/get-agent-containers.cjs +2 -2
  38. package/dist/actions/get-agent-containers.cjs.map +1 -1
  39. package/dist/actions/get-agent-containers.d.cts +2 -2
  40. package/dist/actions/get-agent-containers.d.mts +2 -2
  41. package/dist/actions/get-agent-containers.mjs +2 -2
  42. package/dist/actions/get-agent-containers.mjs.map +1 -1
  43. package/dist/actions/get-agent-output.cjs +4 -4
  44. package/dist/actions/get-agent-output.cjs.map +1 -1
  45. package/dist/actions/get-agent-output.d.cts +4 -4
  46. package/dist/actions/get-agent-output.d.mts +4 -4
  47. package/dist/actions/get-agent-output.mjs +4 -4
  48. package/dist/actions/get-agent-output.mjs.map +1 -1
  49. package/dist/actions/get-agent.cjs +13 -13
  50. package/dist/actions/get-agent.cjs.map +1 -1
  51. package/dist/actions/get-agent.d.cts +13 -13
  52. package/dist/actions/get-agent.d.mts +13 -13
  53. package/dist/actions/get-agent.mjs +13 -13
  54. package/dist/actions/get-agent.mjs.map +1 -1
  55. package/dist/actions/get-agents-fetch-all.cjs +2 -2
  56. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  57. package/dist/actions/get-agents-fetch-all.d.cts +2 -2
  58. package/dist/actions/get-agents-fetch-all.d.mts +2 -2
  59. package/dist/actions/get-agents-fetch-all.mjs +2 -2
  60. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  61. package/dist/actions/get-branches-fetch-all.cjs +2 -2
  62. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  63. package/dist/actions/get-branches-fetch-all.d.cts +2 -2
  64. package/dist/actions/get-branches-fetch-all.d.mts +2 -2
  65. package/dist/actions/get-branches-fetch-all.mjs +2 -2
  66. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  67. package/dist/actions/get-containers-fetch-all.cjs +2 -2
  68. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  69. package/dist/actions/get-containers-fetch-all.d.cts +2 -2
  70. package/dist/actions/get-containers-fetch-all.d.mts +2 -2
  71. package/dist/actions/get-containers-fetch-all.mjs +2 -2
  72. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  73. package/dist/actions/get-leads-by-list.cjs +1 -1
  74. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  75. package/dist/actions/get-leads-by-list.d.cts +1 -1
  76. package/dist/actions/get-leads-by-list.d.mts +1 -1
  77. package/dist/actions/get-leads-by-list.mjs +1 -1
  78. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  79. package/dist/actions/get-location-ip.cjs +1 -1
  80. package/dist/actions/get-location-ip.cjs.map +1 -1
  81. package/dist/actions/get-location-ip.d.cts +1 -1
  82. package/dist/actions/get-location-ip.d.mts +1 -1
  83. package/dist/actions/get-location-ip.mjs +1 -1
  84. package/dist/actions/get-location-ip.mjs.map +1 -1
  85. package/dist/actions/get-org-storage-lists-fetch-all.cjs +2 -2
  86. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  87. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +2 -2
  88. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +2 -2
  89. package/dist/actions/get-org-storage-lists-fetch-all.mjs +2 -2
  90. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  91. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
  92. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  93. package/dist/actions/get-orgs-export-agent-usage.d.cts +1 -1
  94. package/dist/actions/get-orgs-export-agent-usage.d.mts +1 -1
  95. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
  96. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  97. package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
  98. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  99. package/dist/actions/get-orgs-export-container-usage.d.cts +1 -1
  100. package/dist/actions/get-orgs-export-container-usage.d.mts +1 -1
  101. package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
  102. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  103. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -1
  104. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  105. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +1 -1
  106. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +1 -1
  107. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
  108. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  109. package/dist/actions/get-orgs-fetch-resources.cjs +4 -4
  110. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  111. package/dist/actions/get-orgs-fetch-resources.d.cts +4 -4
  112. package/dist/actions/get-orgs-fetch-resources.d.mts +4 -4
  113. package/dist/actions/get-orgs-fetch-resources.mjs +4 -4
  114. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  115. package/dist/actions/get-orgs-fetch-running-containers.cjs +2 -2
  116. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  117. package/dist/actions/get-orgs-fetch-running-containers.d.cts +2 -2
  118. package/dist/actions/get-orgs-fetch-running-containers.d.mts +2 -2
  119. package/dist/actions/get-orgs-fetch-running-containers.mjs +2 -2
  120. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  121. package/dist/actions/get-orgs-fetch.cjs +1 -1
  122. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  123. package/dist/actions/get-orgs-fetch.d.cts +1 -1
  124. package/dist/actions/get-orgs-fetch.d.mts +1 -1
  125. package/dist/actions/get-orgs-fetch.mjs +1 -1
  126. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  127. package/dist/actions/get-script-by-name.cjs +3 -3
  128. package/dist/actions/get-script-by-name.cjs.map +1 -1
  129. package/dist/actions/get-script-by-name.d.cts +3 -3
  130. package/dist/actions/get-script-by-name.d.mts +3 -3
  131. package/dist/actions/get-script-by-name.mjs +3 -3
  132. package/dist/actions/get-script-by-name.mjs.map +1 -1
  133. package/dist/actions/get-script.cjs +4 -4
  134. package/dist/actions/get-script.cjs.map +1 -1
  135. package/dist/actions/get-script.d.cts +4 -4
  136. package/dist/actions/get-script.d.mts +4 -4
  137. package/dist/actions/get-script.mjs +4 -4
  138. package/dist/actions/get-script.mjs.map +1 -1
  139. package/dist/actions/get-scripts-code.cjs +1 -1
  140. package/dist/actions/get-scripts-code.cjs.map +1 -1
  141. package/dist/actions/get-scripts-code.d.cts +1 -1
  142. package/dist/actions/get-scripts-code.d.mts +1 -1
  143. package/dist/actions/get-scripts-code.mjs +1 -1
  144. package/dist/actions/get-scripts-code.mjs.map +1 -1
  145. package/dist/actions/get-scripts-fetch-all.cjs +3 -3
  146. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  147. package/dist/actions/get-scripts-fetch-all.d.cts +3 -3
  148. package/dist/actions/get-scripts-fetch-all.d.mts +3 -3
  149. package/dist/actions/get-scripts-fetch-all.mjs +3 -3
  150. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  151. package/dist/actions/get-user.cjs +3 -3
  152. package/dist/actions/get-user.cjs.map +1 -1
  153. package/dist/actions/get-user.d.cts +3 -3
  154. package/dist/actions/get-user.d.mts +3 -3
  155. package/dist/actions/get-user.mjs +3 -3
  156. package/dist/actions/get-user.mjs.map +1 -1
  157. package/dist/actions/post-agents-unschedule-all.cjs +1 -1
  158. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  159. package/dist/actions/post-agents-unschedule-all.d.cts +1 -1
  160. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  161. package/dist/actions/post-agents-unschedule-all.d.mts +1 -1
  162. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  163. package/dist/actions/post-agents-unschedule-all.mjs +1 -1
  164. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  165. package/dist/actions/post-ai-completions.cjs +3 -3
  166. package/dist/actions/post-ai-completions.cjs.map +1 -1
  167. package/dist/actions/post-ai-completions.d.cts +3 -3
  168. package/dist/actions/post-ai-completions.d.mts +3 -3
  169. package/dist/actions/post-ai-completions.mjs +3 -3
  170. package/dist/actions/post-ai-completions.mjs.map +1 -1
  171. package/dist/actions/post-branches-create.cjs +1 -1
  172. package/dist/actions/post-branches-create.cjs.map +1 -1
  173. package/dist/actions/post-branches-create.d.cts +1 -1
  174. package/dist/actions/post-branches-create.d.mts +1 -1
  175. package/dist/actions/post-branches-create.mjs +1 -1
  176. package/dist/actions/post-branches-create.mjs.map +1 -1
  177. package/dist/actions/post-branches-delete.cjs +2 -2
  178. package/dist/actions/post-branches-delete.cjs.map +1 -1
  179. package/dist/actions/post-branches-delete.d.cts +2 -2
  180. package/dist/actions/post-branches-delete.d.mts +2 -2
  181. package/dist/actions/post-branches-delete.mjs +2 -2
  182. package/dist/actions/post-branches-delete.mjs.map +1 -1
  183. package/dist/actions/post-hcaptcha.cjs +1 -1
  184. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  185. package/dist/actions/post-hcaptcha.d.cts +1 -1
  186. package/dist/actions/post-hcaptcha.d.mts +1 -1
  187. package/dist/actions/post-hcaptcha.mjs +1 -1
  188. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  189. package/dist/actions/post-identities-generate-token.cjs +1 -1
  190. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  191. package/dist/actions/post-identities-generate-token.d.cts +1 -1
  192. package/dist/actions/post-identities-generate-token.d.mts +1 -1
  193. package/dist/actions/post-identities-generate-token.mjs +1 -1
  194. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  195. package/dist/actions/post-org-storage-leads-save-many.cjs +8 -8
  196. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  197. package/dist/actions/post-org-storage-leads-save-many.d.cts +13 -12
  198. package/dist/actions/post-org-storage-leads-save-many.d.mts +13 -12
  199. package/dist/actions/post-org-storage-leads-save-many.mjs +8 -8
  200. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  201. package/dist/actions/post-recaptcha.cjs +1 -1
  202. package/dist/actions/post-recaptcha.cjs.map +1 -1
  203. package/dist/actions/post-recaptcha.d.cts +1 -1
  204. package/dist/actions/post-recaptcha.d.mts +1 -1
  205. package/dist/actions/post-recaptcha.mjs +1 -1
  206. package/dist/actions/post-recaptcha.mjs.map +1 -1
  207. package/dist/actions/post-scripts-visibility.cjs +1 -1
  208. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  209. package/dist/actions/post-scripts-visibility.d.cts +1 -1
  210. package/dist/actions/post-scripts-visibility.d.mts +1 -1
  211. package/dist/actions/post-scripts-visibility.mjs +1 -1
  212. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  213. package/dist/actions/release-branch.cjs +1 -1
  214. package/dist/actions/release-branch.cjs.map +1 -1
  215. package/dist/actions/release-branch.d.cts +1 -1
  216. package/dist/actions/release-branch.d.mts +1 -1
  217. package/dist/actions/release-branch.mjs +1 -1
  218. package/dist/actions/release-branch.mjs.map +1 -1
  219. package/dist/actions/save-agent-groups.cjs +3 -3
  220. package/dist/actions/save-agent-groups.cjs.map +1 -1
  221. package/dist/actions/save-agent-groups.d.cts +4 -3
  222. package/dist/actions/save-agent-groups.d.mts +4 -3
  223. package/dist/actions/save-agent-groups.mjs +3 -3
  224. package/dist/actions/save-agent-groups.mjs.map +1 -1
  225. package/dist/actions/save-agent.cjs +2 -2
  226. package/dist/actions/save-agent.cjs.map +1 -1
  227. package/dist/actions/save-agent.d.cts +3 -3
  228. package/dist/actions/save-agent.d.mts +3 -3
  229. package/dist/actions/save-agent.mjs +2 -2
  230. package/dist/actions/save-agent.mjs.map +1 -1
  231. package/dist/actions/save-company-object.cjs +1 -1
  232. package/dist/actions/save-company-object.cjs.map +1 -1
  233. package/dist/actions/save-company-object.d.cts +1 -1
  234. package/dist/actions/save-company-object.d.mts +1 -1
  235. package/dist/actions/save-company-object.mjs +1 -1
  236. package/dist/actions/save-company-object.mjs.map +1 -1
  237. package/dist/actions/save-company-objects-many.cjs +7 -7
  238. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  239. package/dist/actions/save-company-objects-many.d.cts +9 -8
  240. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  241. package/dist/actions/save-company-objects-many.d.mts +9 -8
  242. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  243. package/dist/actions/save-company-objects-many.mjs +7 -7
  244. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  245. package/dist/actions/save-identity-event.cjs +1 -1
  246. package/dist/actions/save-identity-event.cjs.map +1 -1
  247. package/dist/actions/save-identity-event.d.cts +1 -1
  248. package/dist/actions/save-identity-event.d.mts +1 -1
  249. package/dist/actions/save-identity-event.mjs +1 -1
  250. package/dist/actions/save-identity-event.mjs.map +1 -1
  251. package/dist/actions/save-lead-object.cjs +1 -1
  252. package/dist/actions/save-lead-object.cjs.map +1 -1
  253. package/dist/actions/save-lead-object.d.cts +1 -1
  254. package/dist/actions/save-lead-object.d.mts +1 -1
  255. package/dist/actions/save-lead-object.mjs +1 -1
  256. package/dist/actions/save-lead-object.mjs.map +1 -1
  257. package/dist/actions/save-lead.cjs +1 -1
  258. package/dist/actions/save-lead.cjs.map +1 -1
  259. package/dist/actions/save-lead.d.cts +1 -1
  260. package/dist/actions/save-lead.d.mts +1 -1
  261. package/dist/actions/save-lead.mjs +1 -1
  262. package/dist/actions/save-lead.mjs.map +1 -1
  263. package/dist/actions/save-leads-objects-many.cjs +5 -5
  264. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  265. package/dist/actions/save-leads-objects-many.d.cts +7 -6
  266. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  267. package/dist/actions/save-leads-objects-many.d.mts +7 -6
  268. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  269. package/dist/actions/save-leads-objects-many.mjs +5 -5
  270. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  271. package/dist/actions/save-list.cjs +2 -2
  272. package/dist/actions/save-list.cjs.map +1 -1
  273. package/dist/actions/save-list.d.cts +3 -3
  274. package/dist/actions/save-list.d.mts +3 -3
  275. package/dist/actions/save-list.mjs +2 -2
  276. package/dist/actions/save-list.mjs.map +1 -1
  277. package/dist/actions/save-script.cjs +2 -2
  278. package/dist/actions/save-script.cjs.map +1 -1
  279. package/dist/actions/save-script.d.cts +3 -3
  280. package/dist/actions/save-script.d.mts +3 -3
  281. package/dist/actions/save-script.mjs +2 -2
  282. package/dist/actions/save-script.mjs.map +1 -1
  283. package/dist/actions/search-company-objects.cjs +4 -4
  284. package/dist/actions/search-company-objects.cjs.map +1 -1
  285. package/dist/actions/search-company-objects.d.cts +7 -7
  286. package/dist/actions/search-company-objects.d.mts +7 -7
  287. package/dist/actions/search-company-objects.mjs +4 -4
  288. package/dist/actions/search-company-objects.mjs.map +1 -1
  289. package/dist/actions/search-lead-objects.cjs +1 -1
  290. package/dist/actions/search-lead-objects.cjs.map +1 -1
  291. package/dist/actions/search-lead-objects.d.cts +1 -1
  292. package/dist/actions/search-lead-objects.d.mts +1 -1
  293. package/dist/actions/search-lead-objects.mjs +1 -1
  294. package/dist/actions/search-lead-objects.mjs.map +1 -1
  295. package/dist/actions/stop-agent.cjs +1 -1
  296. package/dist/actions/stop-agent.cjs.map +1 -1
  297. package/dist/actions/stop-agent.d.cts +1 -1
  298. package/dist/actions/stop-agent.d.mts +1 -1
  299. package/dist/actions/stop-agent.mjs +1 -1
  300. package/dist/actions/stop-agent.mjs.map +1 -1
  301. package/dist/actions/update-script.cjs +1 -1
  302. package/dist/actions/update-script.cjs.map +1 -1
  303. package/dist/actions/update-script.d.cts +1 -1
  304. package/dist/actions/update-script.d.mts +1 -1
  305. package/dist/actions/update-script.mjs +1 -1
  306. package/dist/actions/update-script.mjs.map +1 -1
  307. package/dist/actions/update-scripts-access-list.cjs +1 -1
  308. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  309. package/dist/actions/update-scripts-access-list.d.cts +1 -1
  310. package/dist/actions/update-scripts-access-list.d.mts +1 -1
  311. package/dist/actions/update-scripts-access-list.mjs +1 -1
  312. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  313. package/dist/catalog.cjs +1 -1
  314. package/dist/catalog.cjs.map +1 -1
  315. package/dist/catalog.d.cts +1 -1
  316. package/dist/catalog.d.mts +1 -1
  317. package/dist/catalog.mjs +1 -1
  318. package/dist/catalog.mjs.map +1 -1
  319. package/package.json +1 -1
@@ -7,7 +7,7 @@ const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({
7
7
  civility: z.string().describe("Title or civility of the lead (e.g., Mr., Ms., Dr.).").optional(),
8
8
  lastName: z.string().describe("Last name of the lead.").optional(),
9
9
  location: z.string().describe("Geographic location of the lead.").optional(),
10
- metadata: z.object({}).describe("Additional custom metadata as key-value pairs.").optional(),
10
+ metadata: z.record(z.string(), z.unknown()).describe("Additional custom metadata as key-value pairs.").optional(),
11
11
  websites: z.array(z.string()).describe("List of personal or professional websites.").optional(),
12
12
  firstName: z.string().describe("First name of the lead.").optional(),
13
13
  companyName: z.string().describe("Name of the company where the lead works.").optional(),
@@ -34,7 +34,7 @@ const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({
34
34
  previousCompanyName: z.string().describe("Name of the lead's previous company.").optional(),
35
35
  linkedinJobDateRange: z.string().describe("Date range of the lead's current job.").optional(),
36
36
  linkedinSchoolDegree: z.string().describe("Degree obtained at the current school.").optional(),
37
- aiGeneratedProperties: z.object({}).describe("AI-generated properties for this lead.").optional(),
37
+ aiGeneratedProperties: z.record(z.string(), z.unknown()).describe("AI-generated properties for this lead.").optional(),
38
38
  customResultsFileName: z.string().describe("Custom results file name for this lead.").optional(),
39
39
  linkedinIsHiringBadge: z.boolean().describe("Whether the lead displays a hiring badge on LinkedIn.").optional(),
40
40
  linkedinFollowersCount: z.number().int().describe("Number of followers on LinkedIn.").optional(),
@@ -50,33 +50,33 @@ const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({
50
50
  linkedinPreviousCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous company.").optional(),
51
51
  linkedinPreviousSchoolName: z.string().describe("Name of the lead's previous school.").optional(),
52
52
  linkedinPreviousJobLocation: z.string().describe("Location of the lead's previous job.").optional(),
53
- crmAccountRelativeProperties: z.array(z.object({})).describe("CRM account-relative properties.").optional(),
53
+ crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("CRM account-relative properties.").optional(),
54
54
  linkedinPreviousJobDateRange: z.string().describe("Date range of the lead's previous job.").optional(),
55
55
  linkedinPreviousSchoolDegree: z.string().describe("Degree obtained at the previous school.").optional(),
56
56
  linkedinPreviousJobDescription: z.string().describe("Description of the lead's previous job.").optional(),
57
57
  linkedinPreviousSchoolDateRange: z.string().describe("Date range of studies at the previous school.").optional(),
58
58
  linkedinPreviousSchoolCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous school.").optional(),
59
- linkedinAccountRelativeProperties: z.array(z.object({})).describe("LinkedIn account-relative properties.").optional(),
59
+ linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("LinkedIn account-relative properties.").optional(),
60
60
  linkedinPreviousSchoolDescription: z.string().describe("Description of studies at the previous school.").optional()
61
- }).describe("Lead object with LinkedIn profile URL as the required identifier.\nAll other fields are optional and used for enrichment.")).describe("Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl."),
61
+ }).passthrough().describe("Lead object with LinkedIn profile URL as the required identifier.\nAll other fields are optional and used for enrichment.")).describe("Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl."),
62
62
  "X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not necessary when using a third party key).").optional()
63
63
  }).describe("Request model for saving multiple leads to org storage (Beta).");
64
64
  const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema = z.object({
65
65
  status: z.string().describe("Status of the save operation.").nullable(),
66
66
  isCreation: z.boolean().describe("Whether this was a new lead creation (true) or an update (false).").nullable(),
67
67
  linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the saved lead.").nullable()
68
- }).describe("Success response for a saved lead.");
68
+ }).passthrough().describe("Success response for a saved lead.");
69
69
  const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema = z.object({
70
70
  error: z.string().describe("Error message describing why the save failed.").nullable(),
71
71
  status: z.string().describe("Status of the save operation.").nullable(),
72
72
  linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the lead that failed to save.").nullable()
73
- }).describe("Error response for a failed lead save.");
73
+ }).passthrough().describe("Error response for a failed lead save.");
74
74
  const phantombusterPostOrgStorageLeadsSaveMany = action("PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY", {
75
75
  slug: "phantombuster-post-org-storage-leads-save-many",
76
76
  name: "Save Many Leads",
77
77
  description: "Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.",
78
78
  input: PhantombusterPostOrgStorageLeadsSaveManyInput,
79
- output: z.object({ results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe("Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.") }).describe("Response schema for saving multiple leads. Returns an array of results\nfor each lead, indicating success or error.")
79
+ output: z.object({ results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe("Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.") }).passthrough().describe("Response schema for saving multiple leads. Returns an array of results\nfor each lead, indicating success or error.")
80
80
  });
81
81
  //#endregion
82
82
  export { phantombusterPostOrgStorageLeadsSaveMany };
@@ -1 +1 @@
1
- {"version":3,"file":"post-org-storage-leads-save-many.mjs","names":[],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({\n leads: z.array(z.object({\n error: z.string().describe(\"Error message if lead processing failed.\").optional(),\n civility: z.string().describe(\"Title or civility of the lead (e.g., Mr., Ms., Dr.).\").optional(),\n lastName: z.string().describe(\"Last name of the lead.\").optional(),\n location: z.string().describe(\"Geographic location of the lead.\").optional(),\n metadata: z.object({}).describe(\"Additional custom metadata as key-value pairs.\").optional(),\n websites: z.array(z.string()).describe(\"List of personal or professional websites.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Name of the company where the lead works.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers.\").optional(),\n companyWebsite: z.string().describe(\"Website of the company where the lead works.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses.\").optional(),\n audienceOfLeads: z.array(z.string()).describe(\"List of audience identifiers this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the company where the lead works.\").optional(),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL for the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL where the lead works.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL.\"),\n linkedinProfileUrn: z.string().describe(\"LinkedIn profile URN identifier.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's current/most recent school.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses.\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug identifier.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn about/description section of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Comma-separated list of LinkedIn skills.\").optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the current school.\").optional(),\n aiGeneratedProperties: z.object({}).describe(\"AI-generated properties for this lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for this lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead displays a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().int().describe(\"Number of followers on LinkedIn.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job.\").optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of studies at the current school.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Title of the lead's previous job.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's current school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL for the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead displays an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of studies at the current school.\").optional(),\n linkedinPreviousCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous company.\").optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job.\").optional(),\n crmAccountRelativeProperties: z.array(z.object({})).describe(\"CRM account-relative properties.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the previous school.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of studies at the previous school.\").optional(),\n linkedinPreviousSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous school.\").optional(),\n linkedinAccountRelativeProperties: z.array(z.object({})).describe(\"LinkedIn account-relative properties.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of studies at the previous school.\").optional(),\n}).describe(\"Lead object with LinkedIn profile URL as the required identifier.\\nAll other fields are optional and used for enrichment.\")).describe(\"Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving multiple leads to org storage (Beta).\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema = z.object({\n status: z.string().describe(\"Status of the save operation.\").nullable(),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\").nullable(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the saved lead.\").nullable(),\n}).describe(\"Success response for a saved lead.\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema = z.object({\n error: z.string().describe(\"Error message describing why the save failed.\").nullable(),\n status: z.string().describe(\"Status of the save operation.\").nullable(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead that failed to save.\").nullable(),\n}).describe(\"Error response for a failed lead save.\");\nexport const PhantombusterPostOrgStorageLeadsSaveManyOutput = z.object({\n results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe(\"Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.\"),\n}).describe(\"Response schema for saving multiple leads. Returns an array of results\\nfor each lead, indicating success or error.\");\n\nexport const phantombusterPostOrgStorageLeadsSaveMany = action(\"PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY\", {\n slug: \"phantombuster-post-org-storage-leads-save-many\",\n name: \"Save Many Leads\",\n description: \"Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.\",\n input: PhantombusterPostOrgStorageLeadsSaveManyInput,\n output: PhantombusterPostOrgStorageLeadsSaveManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAA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mE,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,+DAA+D,EAAE,OAAO;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,2CAA2C,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,gEAAgE,4DAA4D,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,EACrS,CAAC,CAAC,CAAC,SAAS,qHAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-org-storage-leads-save-many.mjs","names":[],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({\n leads: z.array(z.object({\n error: z.string().describe(\"Error message if lead processing failed.\").optional(),\n civility: z.string().describe(\"Title or civility of the lead (e.g., Mr., Ms., Dr.).\").optional(),\n lastName: z.string().describe(\"Last name of the lead.\").optional(),\n location: z.string().describe(\"Geographic location of the lead.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional custom metadata as key-value pairs.\").optional(),\n websites: z.array(z.string()).describe(\"List of personal or professional websites.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Name of the company where the lead works.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers.\").optional(),\n companyWebsite: z.string().describe(\"Website of the company where the lead works.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses.\").optional(),\n audienceOfLeads: z.array(z.string()).describe(\"List of audience identifiers this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the company where the lead works.\").optional(),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL for the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL where the lead works.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL.\"),\n linkedinProfileUrn: z.string().describe(\"LinkedIn profile URN identifier.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's current/most recent school.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses.\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug identifier.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn about/description section of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Comma-separated list of LinkedIn skills.\").optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the current school.\").optional(),\n aiGeneratedProperties: z.record(z.string(), z.unknown()).describe(\"AI-generated properties for this lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for this lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead displays a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().int().describe(\"Number of followers on LinkedIn.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job.\").optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of studies at the current school.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Title of the lead's previous job.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's current school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL for the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead displays an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of studies at the current school.\").optional(),\n linkedinPreviousCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous company.\").optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job.\").optional(),\n crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"CRM account-relative properties.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the previous school.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of studies at the previous school.\").optional(),\n linkedinPreviousSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous school.\").optional(),\n linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"LinkedIn account-relative properties.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of studies at the previous school.\").optional(),\n}).passthrough().describe(\"Lead object with LinkedIn profile URL as the required identifier.\\nAll other fields are optional and used for enrichment.\")).describe(\"Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving multiple leads to org storage (Beta).\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema = z.object({\n status: z.string().describe(\"Status of the save operation.\").nullable(),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\").nullable(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the saved lead.\").nullable(),\n}).passthrough().describe(\"Success response for a saved lead.\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema = z.object({\n error: z.string().describe(\"Error message describing why the save failed.\").nullable(),\n status: z.string().describe(\"Status of the save operation.\").nullable(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead that failed to save.\").nullable(),\n}).passthrough().describe(\"Error response for a failed lead save.\");\nexport const PhantombusterPostOrgStorageLeadsSaveManyOutput = z.object({\n results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe(\"Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.\"),\n}).passthrough().describe(\"Response schema for saving multiple leads. Returns an array of results\\nfor each lead, indicating success or error.\");\n\nexport const phantombusterPostOrgStorageLeadsSaveMany = action(\"PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY\", {\n slug: \"phantombuster-post-org-storage-leads-save-many\",\n name: \"Save Many Leads\",\n description: \"Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.\",\n input: PhantombusterPostOrgStorageLeadsSaveManyInput,\n output: PhantombusterPostOrgStorageLeadsSaveManyOutput,\n});\n"],"mappings":";;;AAIA,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S;CACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,2CAA2C,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,gEAAgE,4DAA4D,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,EACrS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const PhantombusterPostRecaptchaInput = zod.z.object({
11
11
  const PhantombusterPostRecaptchaOutput = zod.z.object({
12
12
  error: zod.z.string().describe("Error message if the challenge could not be solved. Present on failure.").nullable().optional(),
13
13
  response: zod.z.string().describe("The reCAPTCHA response token to use for form submissions. Present on success.").nullable().optional()
14
- }).describe("Response schema for reCAPTCHA solving endpoint.");
14
+ }).passthrough().describe("Response schema for reCAPTCHA solving endpoint.");
15
15
  const phantombusterPostRecaptcha = require_action.action("PHANTOMBUSTER_POST_RECAPTCHA", {
16
16
  slug: "phantombuster-post-recaptcha",
17
17
  name: "Solve reCAPTCHA",
@@ -1 +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.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.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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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"}
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.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.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}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const PhantombusterPostRecaptchaInput: z.ZodObject<{
14
14
  declare const PhantombusterPostRecaptchaOutput: z.ZodObject<{
15
15
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const phantombusterPostRecaptcha: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  key: string;
20
20
  url: string;
@@ -14,7 +14,7 @@ declare const PhantombusterPostRecaptchaInput: z.ZodObject<{
14
14
  declare const PhantombusterPostRecaptchaOutput: z.ZodObject<{
15
15
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const phantombusterPostRecaptcha: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  key: string;
20
20
  url: string;
@@ -14,7 +14,7 @@ const phantombusterPostRecaptcha = action("PHANTOMBUSTER_POST_RECAPTCHA", {
14
14
  output: z.object({
15
15
  error: z.string().describe("Error message if the challenge could not be solved. Present on failure.").nullable().optional(),
16
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.")
17
+ }).passthrough().describe("Response schema for reCAPTCHA solving endpoint.")
18
18
  });
19
19
  //#endregion
20
20
  export { phantombusterPostRecaptcha };
@@ -1 +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.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.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,OAhB6C,EAAE,OAAO;EACtD,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,QAV8C,EAAE,OAAO;EACvD,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"}
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.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.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}).passthrough().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,OAhB6C,EAAE,OAAO;EACtD,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,QAV8C,EAAE,OAAO;EACvD,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,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const PhantombusterPostScriptsVisibilityInput = zod.z.object({
13
13
  ]).describe("New branch visibility."),
14
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
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.");
16
+ const PhantombusterPostScriptsVisibilityOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates that the visibility was successfully updated").nullable().optional() }).passthrough().describe("Response schema for script visibility update.");
17
17
  const phantombusterPostScriptsVisibility = require_action.action("PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY", {
18
18
  slug: "phantombuster-post-scripts-visibility",
19
19
  name: "Update Script Visibility",
@@ -1 +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.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.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,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,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"}
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.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.object({\n success: z.boolean().default(true).describe(\"Indicates that the visibility was successfully updated\").nullable().optional(),\n}).passthrough().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,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const PhantombusterPostScriptsVisibilityInput: z.ZodObject<{
15
15
  }, z.core.$strip>;
16
16
  declare const PhantombusterPostScriptsVisibilityOutput: z.ZodObject<{
17
17
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterPostScriptsVisibility: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  name: string;
21
21
  branch: string;
@@ -15,7 +15,7 @@ declare const PhantombusterPostScriptsVisibilityInput: z.ZodObject<{
15
15
  }, z.core.$strip>;
16
16
  declare const PhantombusterPostScriptsVisibilityOutput: z.ZodObject<{
17
17
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterPostScriptsVisibility: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  name: string;
21
21
  branch: string;
@@ -16,7 +16,7 @@ const phantombusterPostScriptsVisibility = action("PHANTOMBUSTER_POST_SCRIPTS_VI
16
16
  ]).describe("New branch visibility."),
17
17
  "X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
18
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.")
19
+ output: z.object({ success: z.boolean().default(true).describe("Indicates that the visibility was successfully updated").nullable().optional() }).passthrough().describe("Response schema for script visibility update.")
20
20
  });
21
21
  //#endregion
22
22
  export { phantombusterPostScriptsVisibility };
@@ -1 +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.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.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,OAdqD,EAAE,OAAO;EAC9D,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,QATsD,EAAE,OAAO,EAC/D,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"}
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.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.object({\n success: z.boolean().default(true).describe(\"Indicates that the visibility was successfully updated\").nullable().optional(),\n}).passthrough().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,OAdqD,EAAE,OAAO;EAC9D,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,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const PhantombusterReleaseBranchInput = zod.z.object({
9
9
  const PhantombusterReleaseBranchOutput = zod.z.object({
10
10
  status: zod.z.string().describe("Status of the release operation (e.g., 'success').").nullable(),
11
11
  message: zod.z.string().describe("Optional message describing the release result.").nullable().optional()
12
- }).describe("Response schema for a released branch.");
12
+ }).passthrough().describe("Response schema for a released branch.");
13
13
  const phantombusterReleaseBranch = require_action.action("PHANTOMBUSTER_RELEASE_BRANCH", {
14
14
  slug: "phantombuster-release-branch",
15
15
  name: "Release Branch",
@@ -1 +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.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}).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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,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"}
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.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":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const PhantombusterReleaseBranchInput: z.ZodObject<{
9
9
  declare const PhantombusterReleaseBranchOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodString>;
11
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const phantombusterReleaseBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  name: string;
15
15
  scriptIds: string[];
@@ -9,7 +9,7 @@ declare const PhantombusterReleaseBranchInput: z.ZodObject<{
9
9
  declare const PhantombusterReleaseBranchOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodString>;
11
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const phantombusterReleaseBranch: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  name: string;
15
15
  scriptIds: string[];
@@ -12,7 +12,7 @@ const phantombusterReleaseBranch = action("PHANTOMBUSTER_RELEASE_BRANCH", {
12
12
  output: z.object({
13
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.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}).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,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
13
  id: zod.z.string().describe("Unique identifier for the agent group").nullable(),
14
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.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.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}).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}).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,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,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,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"}
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.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: PhantombusterSaveAgentGroup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AAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PhantombusterSaveAgentGroupsInput: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  name: z.ZodString;
8
8
  agents: z.ZodArray<z.ZodString>;
9
- }, z.core.$strip>]>>;
9
+ }, z.core.$loose>]>>;
10
10
  "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
11
11
  }, z.core.$strip>;
12
12
  declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
@@ -14,10 +14,11 @@ declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
16
  agents: z.ZodArray<z.ZodString>;
17
- }, z.core.$strip>]>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>]>>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  agentGroups: (string | {
21
+ [x: string]: unknown;
21
22
  id: string;
22
23
  name: string;
23
24
  agents: string[];
@@ -6,7 +6,7 @@ declare const PhantombusterSaveAgentGroupsInput: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  name: z.ZodString;
8
8
  agents: z.ZodArray<z.ZodString>;
9
- }, z.core.$strip>]>>;
9
+ }, z.core.$loose>]>>;
10
10
  "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
11
11
  }, z.core.$strip>;
12
12
  declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
@@ -14,10 +14,11 @@ declare const PhantombusterSaveAgentGroupsOutput: z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
16
  agents: z.ZodArray<z.ZodString>;
17
- }, z.core.$strip>]>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>]>>;
18
+ }, z.core.$loose>;
19
19
  declare const phantombusterSaveAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  agentGroups: (string | {
21
+ [x: string]: unknown;
21
22
  id: string;
22
23
  name: string;
23
24
  agents: string[];
@@ -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
13
  id: z.string().describe("Unique identifier for the agent group").nullable(),
14
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.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.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}).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}).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,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,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,SAAS,sEAAsE;AAKlF,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,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").nullable() }).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.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.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\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,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,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,SA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"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,UAA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