@keystrokehq/phantombuster 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/abort-agent-v1.cjs +23 -0
  7. package/dist/actions/abort-agent-v1.cjs.map +1 -0
  8. package/dist/actions/abort-agent-v1.d.cts +9 -0
  9. package/dist/actions/abort-agent-v1.d.cts.map +1 -0
  10. package/dist/actions/abort-agent-v1.d.mts +9 -0
  11. package/dist/actions/abort-agent-v1.d.mts.map +1 -0
  12. package/dist/actions/abort-agent-v1.mjs +22 -0
  13. package/dist/actions/abort-agent-v1.mjs.map +1 -0
  14. package/dist/actions/delete-agent.cjs +23 -0
  15. package/dist/actions/delete-agent.cjs.map +1 -0
  16. package/dist/actions/delete-agent.d.cts +9 -0
  17. package/dist/actions/delete-agent.d.cts.map +1 -0
  18. package/dist/actions/delete-agent.d.mts +9 -0
  19. package/dist/actions/delete-agent.d.mts.map +1 -0
  20. package/dist/actions/delete-agent.mjs +22 -0
  21. package/dist/actions/delete-agent.mjs.map +1 -0
  22. package/dist/actions/delete-lead-objects.cjs +20 -0
  23. package/dist/actions/delete-lead-objects.cjs.map +1 -0
  24. package/dist/actions/delete-lead-objects.d.cts +9 -0
  25. package/dist/actions/delete-lead-objects.d.cts.map +1 -0
  26. package/dist/actions/delete-lead-objects.d.mts +9 -0
  27. package/dist/actions/delete-lead-objects.d.mts.map +1 -0
  28. package/dist/actions/delete-lead-objects.mjs +17 -0
  29. package/dist/actions/delete-lead-objects.mjs.map +1 -0
  30. package/dist/actions/delete-leads-many.cjs +19 -0
  31. package/dist/actions/delete-leads-many.cjs.map +1 -0
  32. package/dist/actions/delete-leads-many.d.cts +9 -0
  33. package/dist/actions/delete-leads-many.d.cts.map +1 -0
  34. package/dist/actions/delete-leads-many.d.mts +9 -0
  35. package/dist/actions/delete-leads-many.d.mts.map +1 -0
  36. package/dist/actions/delete-leads-many.mjs +16 -0
  37. package/dist/actions/delete-leads-many.mjs.map +1 -0
  38. package/dist/actions/delete-list.cjs +19 -0
  39. package/dist/actions/delete-list.cjs.map +1 -0
  40. package/dist/actions/delete-list.d.cts +9 -0
  41. package/dist/actions/delete-list.d.cts.map +1 -0
  42. package/dist/actions/delete-list.d.mts +9 -0
  43. package/dist/actions/delete-list.d.mts.map +1 -0
  44. package/dist/actions/delete-list.mjs +16 -0
  45. package/dist/actions/delete-list.mjs.map +1 -0
  46. package/dist/actions/delete-script.cjs +25 -0
  47. package/dist/actions/delete-script.cjs.map +1 -0
  48. package/dist/actions/delete-script.d.cts +9 -0
  49. package/dist/actions/delete-script.d.cts.map +1 -0
  50. package/dist/actions/delete-script.d.mts +9 -0
  51. package/dist/actions/delete-script.d.mts.map +1 -0
  52. package/dist/actions/delete-script.mjs +24 -0
  53. package/dist/actions/delete-script.mjs.map +1 -0
  54. package/dist/actions/get-agent-containers.cjs +30 -0
  55. package/dist/actions/get-agent-containers.cjs.map +1 -0
  56. package/dist/actions/get-agent-containers.d.cts +9 -0
  57. package/dist/actions/get-agent-containers.d.cts.map +1 -0
  58. package/dist/actions/get-agent-containers.d.mts +9 -0
  59. package/dist/actions/get-agent-containers.d.mts.map +1 -0
  60. package/dist/actions/get-agent-containers.mjs +29 -0
  61. package/dist/actions/get-agent-containers.mjs.map +1 -0
  62. package/dist/actions/get-agent-output.cjs +42 -0
  63. package/dist/actions/get-agent-output.cjs.map +1 -0
  64. package/dist/actions/get-agent-output.d.cts +9 -0
  65. package/dist/actions/get-agent-output.d.cts.map +1 -0
  66. package/dist/actions/get-agent-output.d.mts +9 -0
  67. package/dist/actions/get-agent-output.d.mts.map +1 -0
  68. package/dist/actions/get-agent-output.mjs +41 -0
  69. package/dist/actions/get-agent-output.mjs.map +1 -0
  70. package/dist/actions/get-agent.cjs +212 -0
  71. package/dist/actions/get-agent.cjs.map +1 -0
  72. package/dist/actions/get-agent.d.cts +9 -0
  73. package/dist/actions/get-agent.d.cts.map +1 -0
  74. package/dist/actions/get-agent.d.mts +9 -0
  75. package/dist/actions/get-agent.d.mts.map +1 -0
  76. package/dist/actions/get-agent.mjs +211 -0
  77. package/dist/actions/get-agent.mjs.map +1 -0
  78. package/dist/actions/get-agents-fetch-all.cjs +41 -0
  79. package/dist/actions/get-agents-fetch-all.cjs.map +1 -0
  80. package/dist/actions/get-agents-fetch-all.d.cts +9 -0
  81. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -0
  82. package/dist/actions/get-agents-fetch-all.d.mts +9 -0
  83. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -0
  84. package/dist/actions/get-agents-fetch-all.mjs +40 -0
  85. package/dist/actions/get-agents-fetch-all.mjs.map +1 -0
  86. package/dist/actions/get-agents-fetch-deleted.cjs +16 -0
  87. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -0
  88. package/dist/actions/get-agents-fetch-deleted.d.cts +9 -0
  89. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -0
  90. package/dist/actions/get-agents-fetch-deleted.d.mts +9 -0
  91. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -0
  92. package/dist/actions/get-agents-fetch-deleted.mjs +13 -0
  93. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -0
  94. package/dist/actions/get-branches-diff.cjs +19 -0
  95. package/dist/actions/get-branches-diff.cjs.map +1 -0
  96. package/dist/actions/get-branches-diff.d.cts +9 -0
  97. package/dist/actions/get-branches-diff.d.cts.map +1 -0
  98. package/dist/actions/get-branches-diff.d.mts +9 -0
  99. package/dist/actions/get-branches-diff.d.mts.map +1 -0
  100. package/dist/actions/get-branches-diff.mjs +16 -0
  101. package/dist/actions/get-branches-diff.mjs.map +1 -0
  102. package/dist/actions/get-branches-fetch-all.cjs +23 -0
  103. package/dist/actions/get-branches-fetch-all.cjs.map +1 -0
  104. package/dist/actions/get-branches-fetch-all.d.cts +9 -0
  105. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -0
  106. package/dist/actions/get-branches-fetch-all.d.mts +9 -0
  107. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -0
  108. package/dist/actions/get-branches-fetch-all.mjs +22 -0
  109. package/dist/actions/get-branches-fetch-all.mjs.map +1 -0
  110. package/dist/actions/get-containers-fetch-all.cjs +31 -0
  111. package/dist/actions/get-containers-fetch-all.cjs.map +1 -0
  112. package/dist/actions/get-containers-fetch-all.d.cts +9 -0
  113. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -0
  114. package/dist/actions/get-containers-fetch-all.d.mts +9 -0
  115. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -0
  116. package/dist/actions/get-containers-fetch-all.mjs +30 -0
  117. package/dist/actions/get-containers-fetch-all.mjs.map +1 -0
  118. package/dist/actions/get-leads-by-list.cjs +32 -0
  119. package/dist/actions/get-leads-by-list.cjs.map +1 -0
  120. package/dist/actions/get-leads-by-list.d.cts +9 -0
  121. package/dist/actions/get-leads-by-list.d.cts.map +1 -0
  122. package/dist/actions/get-leads-by-list.d.mts +9 -0
  123. package/dist/actions/get-leads-by-list.d.mts.map +1 -0
  124. package/dist/actions/get-leads-by-list.mjs +31 -0
  125. package/dist/actions/get-leads-by-list.mjs.map +1 -0
  126. package/dist/actions/get-location-ip.cjs +16 -0
  127. package/dist/actions/get-location-ip.cjs.map +1 -0
  128. package/dist/actions/get-location-ip.d.cts +9 -0
  129. package/dist/actions/get-location-ip.d.cts.map +1 -0
  130. package/dist/actions/get-location-ip.d.mts +9 -0
  131. package/dist/actions/get-location-ip.d.mts.map +1 -0
  132. package/dist/actions/get-location-ip.mjs +13 -0
  133. package/dist/actions/get-location-ip.mjs.map +1 -0
  134. package/dist/actions/get-org-storage-lists-fetch-all.cjs +27 -0
  135. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -0
  136. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +9 -0
  137. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -0
  138. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +9 -0
  139. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -0
  140. package/dist/actions/get-org-storage-lists-fetch-all.mjs +26 -0
  141. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -0
  142. package/dist/actions/get-orgs-export-agent-usage.cjs +19 -0
  143. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -0
  144. package/dist/actions/get-orgs-export-agent-usage.d.cts +9 -0
  145. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -0
  146. package/dist/actions/get-orgs-export-agent-usage.d.mts +9 -0
  147. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -0
  148. package/dist/actions/get-orgs-export-agent-usage.mjs +16 -0
  149. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -0
  150. package/dist/actions/get-orgs-export-container-usage.cjs +19 -0
  151. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -0
  152. package/dist/actions/get-orgs-export-container-usage.d.cts +9 -0
  153. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -0
  154. package/dist/actions/get-orgs-export-container-usage.d.mts +9 -0
  155. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -0
  156. package/dist/actions/get-orgs-export-container-usage.mjs +16 -0
  157. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -0
  158. package/dist/actions/get-orgs-fetch-agent-groups.cjs +16 -0
  159. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -0
  160. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -0
  161. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -0
  162. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -0
  163. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -0
  164. package/dist/actions/get-orgs-fetch-agent-groups.mjs +13 -0
  165. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -0
  166. package/dist/actions/get-orgs-fetch-resources.cjs +62 -0
  167. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -0
  168. package/dist/actions/get-orgs-fetch-resources.d.cts +9 -0
  169. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -0
  170. package/dist/actions/get-orgs-fetch-resources.d.mts +9 -0
  171. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -0
  172. package/dist/actions/get-orgs-fetch-resources.mjs +61 -0
  173. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -0
  174. package/dist/actions/get-orgs-fetch-running-containers.cjs +23 -0
  175. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -0
  176. package/dist/actions/get-orgs-fetch-running-containers.d.cts +9 -0
  177. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -0
  178. package/dist/actions/get-orgs-fetch-running-containers.d.mts +9 -0
  179. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -0
  180. package/dist/actions/get-orgs-fetch-running-containers.mjs +22 -0
  181. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -0
  182. package/dist/actions/get-orgs-fetch.cjs +22 -0
  183. package/dist/actions/get-orgs-fetch.cjs.map +1 -0
  184. package/dist/actions/get-orgs-fetch.d.cts +9 -0
  185. package/dist/actions/get-orgs-fetch.d.cts.map +1 -0
  186. package/dist/actions/get-orgs-fetch.d.mts +9 -0
  187. package/dist/actions/get-orgs-fetch.d.mts.map +1 -0
  188. package/dist/actions/get-orgs-fetch.mjs +19 -0
  189. package/dist/actions/get-orgs-fetch.mjs.map +1 -0
  190. package/dist/actions/get-script-by-name.cjs +32 -0
  191. package/dist/actions/get-script-by-name.cjs.map +1 -0
  192. package/dist/actions/get-script-by-name.d.cts +9 -0
  193. package/dist/actions/get-script-by-name.d.cts.map +1 -0
  194. package/dist/actions/get-script-by-name.d.mts +9 -0
  195. package/dist/actions/get-script-by-name.d.mts.map +1 -0
  196. package/dist/actions/get-script-by-name.mjs +31 -0
  197. package/dist/actions/get-script-by-name.mjs.map +1 -0
  198. package/dist/actions/get-script.cjs +69 -0
  199. package/dist/actions/get-script.cjs.map +1 -0
  200. package/dist/actions/get-script.d.cts +9 -0
  201. package/dist/actions/get-script.d.cts.map +1 -0
  202. package/dist/actions/get-script.d.mts +9 -0
  203. package/dist/actions/get-script.d.mts.map +1 -0
  204. package/dist/actions/get-script.mjs +68 -0
  205. package/dist/actions/get-script.mjs.map +1 -0
  206. package/dist/actions/get-scripts-code.cjs +22 -0
  207. package/dist/actions/get-scripts-code.cjs.map +1 -0
  208. package/dist/actions/get-scripts-code.d.cts +9 -0
  209. package/dist/actions/get-scripts-code.d.cts.map +1 -0
  210. package/dist/actions/get-scripts-code.d.mts +9 -0
  211. package/dist/actions/get-scripts-code.d.mts.map +1 -0
  212. package/dist/actions/get-scripts-code.mjs +19 -0
  213. package/dist/actions/get-scripts-code.mjs.map +1 -0
  214. package/dist/actions/get-scripts-fetch-all.cjs +25 -0
  215. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -0
  216. package/dist/actions/get-scripts-fetch-all.d.cts +9 -0
  217. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -0
  218. package/dist/actions/get-scripts-fetch-all.d.mts +9 -0
  219. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -0
  220. package/dist/actions/get-scripts-fetch-all.mjs +24 -0
  221. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -0
  222. package/dist/actions/get-user.cjs +37 -0
  223. package/dist/actions/get-user.cjs.map +1 -0
  224. package/dist/actions/get-user.d.cts +9 -0
  225. package/dist/actions/get-user.d.cts.map +1 -0
  226. package/dist/actions/get-user.d.mts +9 -0
  227. package/dist/actions/get-user.d.mts.map +1 -0
  228. package/dist/actions/get-user.mjs +36 -0
  229. package/dist/actions/get-user.mjs.map +1 -0
  230. package/dist/actions/index.cjs +107 -0
  231. package/dist/actions/index.d.cts +54 -0
  232. package/dist/actions/index.d.mts +54 -0
  233. package/dist/actions/index.mjs +54 -0
  234. package/dist/actions/post-agents-unschedule-all.cjs +16 -0
  235. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -0
  236. package/dist/actions/post-agents-unschedule-all.d.cts +9 -0
  237. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -0
  238. package/dist/actions/post-agents-unschedule-all.d.mts +9 -0
  239. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -0
  240. package/dist/actions/post-agents-unschedule-all.mjs +13 -0
  241. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -0
  242. package/dist/actions/post-ai-completions.cjs +38 -0
  243. package/dist/actions/post-ai-completions.cjs.map +1 -0
  244. package/dist/actions/post-ai-completions.d.cts +9 -0
  245. package/dist/actions/post-ai-completions.d.cts.map +1 -0
  246. package/dist/actions/post-ai-completions.d.mts +9 -0
  247. package/dist/actions/post-ai-completions.d.mts.map +1 -0
  248. package/dist/actions/post-ai-completions.mjs +37 -0
  249. package/dist/actions/post-ai-completions.mjs.map +1 -0
  250. package/dist/actions/post-branches-create.cjs +22 -0
  251. package/dist/actions/post-branches-create.cjs.map +1 -0
  252. package/dist/actions/post-branches-create.d.cts +9 -0
  253. package/dist/actions/post-branches-create.d.cts.map +1 -0
  254. package/dist/actions/post-branches-create.d.mts +9 -0
  255. package/dist/actions/post-branches-create.d.mts.map +1 -0
  256. package/dist/actions/post-branches-create.mjs +19 -0
  257. package/dist/actions/post-branches-create.mjs.map +1 -0
  258. package/dist/actions/post-branches-delete.cjs +20 -0
  259. package/dist/actions/post-branches-delete.cjs.map +1 -0
  260. package/dist/actions/post-branches-delete.d.cts +9 -0
  261. package/dist/actions/post-branches-delete.d.cts.map +1 -0
  262. package/dist/actions/post-branches-delete.d.mts +9 -0
  263. package/dist/actions/post-branches-delete.d.mts.map +1 -0
  264. package/dist/actions/post-branches-delete.mjs +19 -0
  265. package/dist/actions/post-branches-delete.mjs.map +1 -0
  266. package/dist/actions/post-hcaptcha.cjs +24 -0
  267. package/dist/actions/post-hcaptcha.cjs.map +1 -0
  268. package/dist/actions/post-hcaptcha.d.cts +9 -0
  269. package/dist/actions/post-hcaptcha.d.cts.map +1 -0
  270. package/dist/actions/post-hcaptcha.d.mts +9 -0
  271. package/dist/actions/post-hcaptcha.d.mts.map +1 -0
  272. package/dist/actions/post-hcaptcha.mjs +21 -0
  273. package/dist/actions/post-hcaptcha.mjs.map +1 -0
  274. package/dist/actions/post-identities-generate-token.cjs +20 -0
  275. package/dist/actions/post-identities-generate-token.cjs.map +1 -0
  276. package/dist/actions/post-identities-generate-token.d.cts +9 -0
  277. package/dist/actions/post-identities-generate-token.d.cts.map +1 -0
  278. package/dist/actions/post-identities-generate-token.d.mts +9 -0
  279. package/dist/actions/post-identities-generate-token.d.mts.map +1 -0
  280. package/dist/actions/post-identities-generate-token.mjs +17 -0
  281. package/dist/actions/post-identities-generate-token.mjs.map +1 -0
  282. package/dist/actions/post-org-storage-leads-save-many.cjs +85 -0
  283. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -0
  284. package/dist/actions/post-org-storage-leads-save-many.d.cts +9 -0
  285. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -0
  286. package/dist/actions/post-org-storage-leads-save-many.d.mts +9 -0
  287. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -0
  288. package/dist/actions/post-org-storage-leads-save-many.mjs +84 -0
  289. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -0
  290. package/dist/actions/post-recaptcha.cjs +25 -0
  291. package/dist/actions/post-recaptcha.cjs.map +1 -0
  292. package/dist/actions/post-recaptcha.d.cts +9 -0
  293. package/dist/actions/post-recaptcha.d.cts.map +1 -0
  294. package/dist/actions/post-recaptcha.d.mts +9 -0
  295. package/dist/actions/post-recaptcha.d.mts.map +1 -0
  296. package/dist/actions/post-recaptcha.mjs +22 -0
  297. package/dist/actions/post-recaptcha.mjs.map +1 -0
  298. package/dist/actions/post-scripts-visibility.cjs +27 -0
  299. package/dist/actions/post-scripts-visibility.cjs.map +1 -0
  300. package/dist/actions/post-scripts-visibility.d.cts +9 -0
  301. package/dist/actions/post-scripts-visibility.d.cts.map +1 -0
  302. package/dist/actions/post-scripts-visibility.d.mts +9 -0
  303. package/dist/actions/post-scripts-visibility.d.mts.map +1 -0
  304. package/dist/actions/post-scripts-visibility.mjs +24 -0
  305. package/dist/actions/post-scripts-visibility.mjs.map +1 -0
  306. package/dist/actions/release-branch.cjs +23 -0
  307. package/dist/actions/release-branch.cjs.map +1 -0
  308. package/dist/actions/release-branch.d.cts +9 -0
  309. package/dist/actions/release-branch.d.cts.map +1 -0
  310. package/dist/actions/release-branch.d.mts +9 -0
  311. package/dist/actions/release-branch.d.mts.map +1 -0
  312. package/dist/actions/release-branch.mjs +20 -0
  313. package/dist/actions/release-branch.mjs.map +1 -0
  314. package/dist/actions/save-agent-groups.cjs +28 -0
  315. package/dist/actions/save-agent-groups.cjs.map +1 -0
  316. package/dist/actions/save-agent-groups.d.cts +9 -0
  317. package/dist/actions/save-agent-groups.d.cts.map +1 -0
  318. package/dist/actions/save-agent-groups.d.mts +9 -0
  319. package/dist/actions/save-agent-groups.d.mts.map +1 -0
  320. package/dist/actions/save-agent-groups.mjs +27 -0
  321. package/dist/actions/save-agent-groups.mjs.map +1 -0
  322. package/dist/actions/save-agent.cjs +143 -0
  323. package/dist/actions/save-agent.cjs.map +1 -0
  324. package/dist/actions/save-agent.d.cts +9 -0
  325. package/dist/actions/save-agent.d.cts.map +1 -0
  326. package/dist/actions/save-agent.d.mts +9 -0
  327. package/dist/actions/save-agent.d.mts.map +1 -0
  328. package/dist/actions/save-agent.mjs +140 -0
  329. package/dist/actions/save-agent.mjs.map +1 -0
  330. package/dist/actions/save-company-object.cjs +30 -0
  331. package/dist/actions/save-company-object.cjs.map +1 -0
  332. package/dist/actions/save-company-object.d.cts +9 -0
  333. package/dist/actions/save-company-object.d.cts.map +1 -0
  334. package/dist/actions/save-company-object.d.mts +9 -0
  335. package/dist/actions/save-company-object.d.mts.map +1 -0
  336. package/dist/actions/save-company-object.mjs +27 -0
  337. package/dist/actions/save-company-object.mjs.map +1 -0
  338. package/dist/actions/save-company-objects-many.cjs +40 -0
  339. package/dist/actions/save-company-objects-many.cjs.map +1 -0
  340. package/dist/actions/save-company-objects-many.d.cts +9 -0
  341. package/dist/actions/save-company-objects-many.d.cts.map +1 -0
  342. package/dist/actions/save-company-objects-many.d.mts +9 -0
  343. package/dist/actions/save-company-objects-many.d.mts.map +1 -0
  344. package/dist/actions/save-company-objects-many.mjs +39 -0
  345. package/dist/actions/save-company-objects-many.mjs.map +1 -0
  346. package/dist/actions/save-identity-event.cjs +30 -0
  347. package/dist/actions/save-identity-event.cjs.map +1 -0
  348. package/dist/actions/save-identity-event.d.cts +9 -0
  349. package/dist/actions/save-identity-event.d.cts.map +1 -0
  350. package/dist/actions/save-identity-event.d.mts +9 -0
  351. package/dist/actions/save-identity-event.d.mts.map +1 -0
  352. package/dist/actions/save-identity-event.mjs +27 -0
  353. package/dist/actions/save-identity-event.mjs.map +1 -0
  354. package/dist/actions/save-lead-object.cjs +34 -0
  355. package/dist/actions/save-lead-object.cjs.map +1 -0
  356. package/dist/actions/save-lead-object.d.cts +9 -0
  357. package/dist/actions/save-lead-object.d.cts.map +1 -0
  358. package/dist/actions/save-lead-object.d.mts +9 -0
  359. package/dist/actions/save-lead-object.d.mts.map +1 -0
  360. package/dist/actions/save-lead-object.mjs +31 -0
  361. package/dist/actions/save-lead-object.mjs.map +1 -0
  362. package/dist/actions/save-lead.cjs +131 -0
  363. package/dist/actions/save-lead.cjs.map +1 -0
  364. package/dist/actions/save-lead.d.cts +9 -0
  365. package/dist/actions/save-lead.d.cts.map +1 -0
  366. package/dist/actions/save-lead.d.mts +9 -0
  367. package/dist/actions/save-lead.d.mts.map +1 -0
  368. package/dist/actions/save-lead.mjs +128 -0
  369. package/dist/actions/save-lead.mjs.map +1 -0
  370. package/dist/actions/save-leads-objects-many.cjs +35 -0
  371. package/dist/actions/save-leads-objects-many.cjs.map +1 -0
  372. package/dist/actions/save-leads-objects-many.d.cts +9 -0
  373. package/dist/actions/save-leads-objects-many.d.cts.map +1 -0
  374. package/dist/actions/save-leads-objects-many.d.mts +9 -0
  375. package/dist/actions/save-leads-objects-many.d.mts.map +1 -0
  376. package/dist/actions/save-leads-objects-many.mjs +34 -0
  377. package/dist/actions/save-leads-objects-many.mjs.map +1 -0
  378. package/dist/actions/save-list.cjs +34 -0
  379. package/dist/actions/save-list.cjs.map +1 -0
  380. package/dist/actions/save-list.d.cts +9 -0
  381. package/dist/actions/save-list.d.cts.map +1 -0
  382. package/dist/actions/save-list.d.mts +9 -0
  383. package/dist/actions/save-list.d.mts.map +1 -0
  384. package/dist/actions/save-list.mjs +31 -0
  385. package/dist/actions/save-list.mjs.map +1 -0
  386. package/dist/actions/save-script.cjs +36 -0
  387. package/dist/actions/save-script.cjs.map +1 -0
  388. package/dist/actions/save-script.d.cts +9 -0
  389. package/dist/actions/save-script.d.cts.map +1 -0
  390. package/dist/actions/save-script.d.mts +9 -0
  391. package/dist/actions/save-script.d.mts.map +1 -0
  392. package/dist/actions/save-script.mjs +33 -0
  393. package/dist/actions/save-script.mjs.map +1 -0
  394. package/dist/actions/search-company-objects.cjs +24 -0
  395. package/dist/actions/search-company-objects.cjs.map +1 -0
  396. package/dist/actions/search-company-objects.d.cts +9 -0
  397. package/dist/actions/search-company-objects.d.cts.map +1 -0
  398. package/dist/actions/search-company-objects.d.mts +9 -0
  399. package/dist/actions/search-company-objects.d.mts.map +1 -0
  400. package/dist/actions/search-company-objects.mjs +21 -0
  401. package/dist/actions/search-company-objects.mjs.map +1 -0
  402. package/dist/actions/search-lead-objects.cjs +20 -0
  403. package/dist/actions/search-lead-objects.cjs.map +1 -0
  404. package/dist/actions/search-lead-objects.d.cts +9 -0
  405. package/dist/actions/search-lead-objects.d.cts.map +1 -0
  406. package/dist/actions/search-lead-objects.d.mts +9 -0
  407. package/dist/actions/search-lead-objects.d.mts.map +1 -0
  408. package/dist/actions/search-lead-objects.mjs +19 -0
  409. package/dist/actions/search-lead-objects.mjs.map +1 -0
  410. package/dist/actions/stop-agent.cjs +25 -0
  411. package/dist/actions/stop-agent.cjs.map +1 -0
  412. package/dist/actions/stop-agent.d.cts +9 -0
  413. package/dist/actions/stop-agent.d.cts.map +1 -0
  414. package/dist/actions/stop-agent.d.mts +9 -0
  415. package/dist/actions/stop-agent.d.mts.map +1 -0
  416. package/dist/actions/stop-agent.mjs +22 -0
  417. package/dist/actions/stop-agent.mjs.map +1 -0
  418. package/dist/actions/update-script.cjs +23 -0
  419. package/dist/actions/update-script.cjs.map +1 -0
  420. package/dist/actions/update-script.d.cts +9 -0
  421. package/dist/actions/update-script.d.cts.map +1 -0
  422. package/dist/actions/update-script.d.mts +9 -0
  423. package/dist/actions/update-script.d.mts.map +1 -0
  424. package/dist/actions/update-script.mjs +20 -0
  425. package/dist/actions/update-script.mjs.map +1 -0
  426. package/dist/actions/update-scripts-access-list.cjs +25 -0
  427. package/dist/actions/update-scripts-access-list.cjs.map +1 -0
  428. package/dist/actions/update-scripts-access-list.d.cts +9 -0
  429. package/dist/actions/update-scripts-access-list.d.cts.map +1 -0
  430. package/dist/actions/update-scripts-access-list.d.mts +9 -0
  431. package/dist/actions/update-scripts-access-list.d.mts.map +1 -0
  432. package/dist/actions/update-scripts-access-list.mjs +22 -0
  433. package/dist/actions/update-scripts-access-list.mjs.map +1 -0
  434. package/dist/app.cjs +9 -0
  435. package/dist/app.cjs.map +1 -0
  436. package/dist/app.d.cts +5 -0
  437. package/dist/app.d.cts.map +1 -0
  438. package/dist/app.d.mts +5 -0
  439. package/dist/app.d.mts.map +1 -0
  440. package/dist/app.mjs +10 -0
  441. package/dist/app.mjs.map +1 -0
  442. package/dist/catalog.cjs +15 -0
  443. package/dist/catalog.cjs.map +1 -0
  444. package/dist/catalog.d.cts +14 -0
  445. package/dist/catalog.d.cts.map +1 -0
  446. package/dist/catalog.d.mts +14 -0
  447. package/dist/catalog.d.mts.map +1 -0
  448. package/dist/catalog.mjs +15 -0
  449. package/dist/catalog.mjs.map +1 -0
  450. package/dist/execute.cjs +18 -0
  451. package/dist/execute.cjs.map +1 -0
  452. package/dist/execute.mjs +18 -0
  453. package/dist/execute.mjs.map +1 -0
  454. package/dist/index.cjs +112 -0
  455. package/dist/index.d.cts +56 -0
  456. package/dist/index.d.mts +56 -0
  457. package/dist/index.mjs +57 -0
  458. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-lead-object.d.ts
4
+ declare const PhantombusterSaveLeadObjectInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveLeadObjectOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveLeadObject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveLeadObject };
9
+ //# sourceMappingURL=save-lead-object.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead-object.d.mts","names":[],"sources":["../../src/actions/save-lead-object.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UASK;AAAA,cACzC,iCAAA,EAAmC,CAAA,CAAE,UASM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterSaveLeadObject = action("PHANTOMBUSTER_SAVE_LEAD_OBJECT", {
4
+ slug: "phantombuster-save-lead-object",
5
+ name: "Save Lead Object",
6
+ description: "Tool to save a lead object to organization storage. Use when you need to store or update lead information with custom properties.",
7
+ input: z.object({
8
+ slug: z.string().describe("Slug of the object to save. Must be 470 characters or less."),
9
+ type: z.string().describe("Type of object to save."),
10
+ leadId: z.string().describe("ID of a lead to associate with this object.").optional(),
11
+ agentId: z.string().describe("ID of the agent associated with this lead object."),
12
+ leadUrn: z.string().describe("URN of a lead to associate with this object.").optional(),
13
+ leadSlug: z.string().describe("Slug of a lead to associate with this object.").optional(),
14
+ properties: z.record(z.string(), z.unknown()).describe("Properties of the object. Can contain any key-value pairs."),
15
+ leadObjectId: z.string().describe("ID of a lead object to update. If provided, updates existing object instead of creating new one.").optional()
16
+ }).describe("Request model for saving a lead object."),
17
+ output: z.object({
18
+ id: z.string().describe("Unique identifier of the saved lead object."),
19
+ slug: z.string().describe("Slug of the saved object."),
20
+ type: z.string().describe("Type of the saved object."),
21
+ orgId: z.string().describe("Organization ID that owns this lead object."),
22
+ leadId: z.string().describe("ID of the associated lead, if any.").nullable().optional(),
23
+ leadUrn: z.string().describe("URN of the associated lead, if any.").nullable().optional(),
24
+ leadSlug: z.string().describe("Slug of the associated lead, if any.").nullable().optional(),
25
+ properties: z.record(z.string(), z.unknown()).describe("Properties of the saved object.")
26
+ }).describe("Response schema for saving a lead object.")
27
+ });
28
+ //#endregion
29
+ export { phantombusterSaveLeadObject };
30
+
31
+ //# sourceMappingURL=save-lead-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead-object.mjs","names":[],"sources":["../../src/actions/save-lead-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveLeadObjectInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Slug of the object to save. Must be 470 characters or less.\"),\n type: z.string().describe(\"Type of object to save.\"),\n leadId: z.string().describe(\"ID of a lead to associate with this object.\").optional(),\n agentId: z.string().describe(\"ID of the agent associated with this lead object.\"),\n leadUrn: z.string().describe(\"URN of a lead to associate with this object.\").optional(),\n leadSlug: z.string().describe(\"Slug of a lead to associate with this object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Properties of the object. Can contain any key-value pairs.\"),\n leadObjectId: z.string().describe(\"ID of a lead object to update. If provided, updates existing object instead of creating new one.\").optional(),\n}).describe(\"Request model for saving a lead object.\");\nexport const PhantombusterSaveLeadObjectOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved lead object.\"),\n slug: z.string().describe(\"Slug of the saved object.\"),\n type: z.string().describe(\"Type of the saved object.\"),\n orgId: z.string().describe(\"Organization ID that owns this lead object.\"),\n leadId: z.string().describe(\"ID of the associated lead, if any.\").nullable().optional(),\n leadUrn: z.string().describe(\"URN of the associated lead, if any.\").nullable().optional(),\n leadSlug: z.string().describe(\"Slug of the associated lead, if any.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Properties of the saved object.\"),\n}).describe(\"Response schema for saving a lead object.\");\n\nexport const phantombusterSaveLeadObject = action(\"PHANTOMBUSTER_SAVE_LEAD_OBJECT\", {\n slug: \"phantombuster-save-lead-object\",\n name: \"Save Lead Object\",\n description: \"Tool to save a lead object to organization storage. Use when you need to store or update lead information with custom properties.\",\n input: PhantombusterSaveLeadObjectInput,\n output: PhantombusterSaveLeadObjectOutput,\n});\n"],"mappings":";;AAyBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,yCAgBH;CACP,QAhB6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC1F,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,131 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-lead.ts
4
+ const PhantombusterSaveLeadInput = zod.z.object({
5
+ error: zod.z.string().describe("Error message if there was an issue processing the lead.").optional(),
6
+ civility: zod.z.string().describe("Civility or title of the lead (e.g., Mr., Ms., Dr.).").optional(),
7
+ lastName: zod.z.string().describe("Last name of the lead.").optional(),
8
+ location: zod.z.string().describe("Geographic location of the lead.").optional(),
9
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the lead.").optional(),
10
+ websites: zod.z.array(zod.z.string()).describe("List of websites associated with the lead.").optional(),
11
+ firstName: zod.z.string().describe("First name of the lead.").optional(),
12
+ companyName: zod.z.string().describe("Current company name of the lead.").optional(),
13
+ phoneNumbers: zod.z.array(zod.z.string()).describe("List of phone numbers of the lead.").optional(),
14
+ companyWebsite: zod.z.string().describe("Website of the lead's current company.").optional(),
15
+ personalEmails: zod.z.array(zod.z.string()).describe("List of personal email addresses of the lead.").optional(),
16
+ audienceOfLeads: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Audience segments this lead belongs to.").optional(),
17
+ companyIndustry: zod.z.string().describe("Industry of the lead's current company.").optional(),
18
+ linkedinHeadline: zod.z.string().describe("LinkedIn headline of the lead.").optional(),
19
+ linkedinJobTitle: zod.z.string().describe("Current job title of the lead on LinkedIn.").optional(),
20
+ linkedinCompanyId: zod.z.string().describe("LinkedIn company ID of the lead's current company.").optional(),
21
+ linkedinProfileId: zod.z.string().describe("LinkedIn profile ID of the lead.").optional(),
22
+ twitterProfileUrl: zod.z.string().describe("Twitter profile URL of the lead.").optional(),
23
+ linkedinCompanyUrl: zod.z.string().describe("LinkedIn company URL.").optional(),
24
+ linkedinProfileUrl: zod.z.string().describe("LinkedIn profile URL of the lead (required). This is the unique identifier for the lead."),
25
+ linkedinProfileUrn: zod.z.string().describe("URN of the lead's LinkedIn profile.").optional(),
26
+ linkedinSchoolName: zod.z.string().describe("Name of the lead's school on LinkedIn.").optional(),
27
+ professionalEmails: zod.z.array(zod.z.string()).describe("List of professional email addresses of the lead.").optional(),
28
+ "X-Phantombuster-Org": zod.z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional(),
29
+ linkedinCompanySlug: zod.z.string().describe("LinkedIn company slug.").optional(),
30
+ linkedinDescription: zod.z.string().describe("LinkedIn description or summary of the lead.").optional(),
31
+ linkedinJobLocation: zod.z.string().describe("Location of the lead's current job on LinkedIn.").optional(),
32
+ linkedinOpenProfile: zod.z.boolean().describe("Whether the lead has an open LinkedIn profile.").optional(),
33
+ linkedinSkillsLabel: zod.z.string().describe("Skills label from the lead's LinkedIn profile.").optional(),
34
+ previousCompanyName: zod.z.string().describe("Name of the lead's previous company.").optional(),
35
+ linkedinJobDateRange: zod.z.string().describe("Date range of the lead's current job on LinkedIn.").optional(),
36
+ linkedinSchoolDegree: zod.z.string().describe("Degree obtained at the lead's school on LinkedIn.").optional(),
37
+ aiGeneratedProperties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("AI-generated properties for the lead.").optional(),
38
+ customResultsFileName: zod.z.string().describe("Custom results file name for the lead.").optional(),
39
+ linkedinIsHiringBadge: zod.z.boolean().describe("Whether the lead has a hiring badge on LinkedIn.").optional(),
40
+ linkedinFollowersCount: zod.z.number().describe("Number of LinkedIn followers the lead has.").optional(),
41
+ linkedinJobDescription: zod.z.string().describe("Description of the lead's current job on LinkedIn.").optional(),
42
+ linkedinProfileImageUrl: zod.z.string().describe("URL of the lead's LinkedIn profile image.").optional(),
43
+ linkedinProfileImageUrn: zod.z.string().describe("URN of the lead's LinkedIn profile image.").optional(),
44
+ linkedinSchoolDateRange: zod.z.string().describe("Date range of the lead's school attendance on LinkedIn.").optional(),
45
+ linkedinPreviousJobTitle: zod.z.string().describe("Previous job title of the lead on LinkedIn.").optional(),
46
+ linkedinSchoolCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's school.").optional(),
47
+ salesNavigatorProfileUrl: zod.z.string().describe("Sales Navigator profile URL of the lead.").optional(),
48
+ linkedinIsOpenToWorkBadge: zod.z.boolean().describe("Whether the lead has an open to work badge on LinkedIn.").optional(),
49
+ linkedinSchoolDescription: zod.z.string().describe("Description of the lead's school on LinkedIn.").optional(),
50
+ linkedinPreviousCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's previous company.").optional(),
51
+ linkedinPreviousSchoolName: zod.z.string().describe("Name of the lead's previous school on LinkedIn.").optional(),
52
+ linkedinPreviousJobLocation: zod.z.string().describe("Location of the lead's previous job on LinkedIn.").optional(),
53
+ crmAccountRelativeProperties: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("CRM account relative properties for the lead.").optional(),
54
+ linkedinPreviousJobDateRange: zod.z.string().describe("Date range of the lead's previous job on LinkedIn.").optional(),
55
+ linkedinPreviousSchoolDegree: zod.z.string().describe("Degree obtained at the lead's previous school on LinkedIn.").optional(),
56
+ linkedinPreviousJobDescription: zod.z.string().describe("Description of the lead's previous job on LinkedIn.").optional(),
57
+ linkedinPreviousSchoolDateRange: zod.z.string().describe("Date range of the lead's previous school attendance on LinkedIn.").optional(),
58
+ linkedinPreviousSchoolCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's previous school.").optional(),
59
+ linkedinAccountRelativeProperties: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("LinkedIn account relative properties for the lead.").optional(),
60
+ linkedinPreviousSchoolDescription: zod.z.string().describe("Description of the lead's previous school on LinkedIn.").optional()
61
+ }).describe("Request model for saving a lead to org storage.");
62
+ const PhantombusterSaveLeadOutput = zod.z.object({
63
+ id: zod.z.string().describe("Unique identifier of the saved lead."),
64
+ company: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Company information associated with the lead.").nullable().optional(),
65
+ civility: zod.z.string().describe("Civility or title of the lead.").nullable().optional(),
66
+ lastName: zod.z.string().describe("Last name of the lead.").nullable().optional(),
67
+ location: zod.z.string().describe("Geographic location of the lead.").nullable().optional(),
68
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the lead.").nullable().optional(),
69
+ websites: zod.z.array(zod.z.string()).describe("List of websites associated with the lead.").nullable().optional(),
70
+ firstName: zod.z.string().describe("First name of the lead.").nullable().optional(),
71
+ isCreation: zod.z.boolean().describe("Whether this was a new lead creation (true) or an update (false).").nullable().optional(),
72
+ companyName: zod.z.string().describe("Current company name of the lead.").nullable().optional(),
73
+ phoneNumbers: zod.z.array(zod.z.string()).describe("List of phone numbers of the lead.").nullable().optional(),
74
+ companyWebsite: zod.z.string().describe("Website of the lead's current company.").nullable().optional(),
75
+ personalEmails: zod.z.array(zod.z.string()).describe("List of personal email addresses of the lead.").nullable().optional(),
76
+ audienceOfLeads: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Audience segments this lead belongs to.").nullable().optional(),
77
+ companyIndustry: zod.z.string().describe("Industry of the lead's current company.").nullable().optional(),
78
+ editionsHistory: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("History of edits made to this lead."),
79
+ linkedinHeadline: zod.z.string().describe("LinkedIn headline of the lead.").nullable().optional(),
80
+ linkedinJobTitle: zod.z.string().describe("Current job title of the lead on LinkedIn.").nullable().optional(),
81
+ linkedinCompanyId: zod.z.string().describe("LinkedIn company ID of the lead's current company.").nullable().optional(),
82
+ linkedinProfileId: zod.z.string().describe("LinkedIn profile ID of the lead.").nullable().optional(),
83
+ linkedinProfileUrn: zod.z.string().describe("URN of the lead's LinkedIn profile.").nullable().optional(),
84
+ linkedinSchoolName: zod.z.string().describe("Name of the lead's school on LinkedIn.").nullable().optional(),
85
+ professionalEmails: zod.z.array(zod.z.string()).describe("List of professional email addresses of the lead.").nullable().optional(),
86
+ linkedinCompanySlug: zod.z.string().describe("LinkedIn company slug.").nullable().optional(),
87
+ linkedinDescription: zod.z.string().describe("LinkedIn description or summary of the lead.").nullable().optional(),
88
+ linkedinJobLocation: zod.z.string().describe("Location of the lead's current job on LinkedIn.").nullable().optional(),
89
+ linkedinOpenProfile: zod.z.boolean().describe("Whether the lead has an open LinkedIn profile.").nullable().optional(),
90
+ linkedinProfileSlug: zod.z.string().describe("LinkedIn profile slug of the saved lead."),
91
+ linkedinSkillsLabel: zod.z.string().describe("Skills label from the lead's LinkedIn profile.").nullable().optional(),
92
+ previousCompanyName: zod.z.string().describe("Name of the lead's previous company.").nullable().optional(),
93
+ linkedinJobDateRange: zod.z.string().describe("Date range of the lead's current job on LinkedIn.").nullable().optional(),
94
+ linkedinSchoolDegree: zod.z.string().describe("Degree obtained at the lead's school on LinkedIn.").nullable().optional(),
95
+ twitterProfileHandle: zod.z.string().describe("Twitter profile handle of the lead.").nullable().optional(),
96
+ aiGeneratedProperties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("AI-generated properties for the lead.").nullable().optional(),
97
+ linkedinIsHiringBadge: zod.z.boolean().describe("Whether the lead has a hiring badge on LinkedIn.").nullable().optional(),
98
+ linkedinFollowersCount: zod.z.number().describe("Number of LinkedIn followers the lead has.").nullable().optional(),
99
+ linkedinJobDescription: zod.z.string().describe("Description of the lead's current job on LinkedIn.").nullable().optional(),
100
+ linkedinProfileImageUrl: zod.z.string().describe("URL of the lead's LinkedIn profile image.").nullable().optional(),
101
+ linkedinProfileImageUrn: zod.z.string().describe("URN of the lead's LinkedIn profile image.").nullable().optional(),
102
+ linkedinSchoolDateRange: zod.z.string().describe("Date range of the lead's school attendance on LinkedIn.").nullable().optional(),
103
+ salesNavigatorCompanyId: zod.z.string().describe("Sales Navigator company ID.").nullable().optional(),
104
+ salesNavigatorProfileId: zod.z.string().describe("Sales Navigator profile ID.").nullable().optional(),
105
+ linkedinPreviousJobTitle: zod.z.string().describe("Previous job title of the lead on LinkedIn.").nullable().optional(),
106
+ linkedinIsOpenToWorkBadge: zod.z.boolean().describe("Whether the lead has an open to work badge on LinkedIn.").nullable().optional(),
107
+ linkedinSchoolCompanySlug: zod.z.string().describe("LinkedIn slug of the lead's school.").nullable().optional(),
108
+ linkedinSchoolDescription: zod.z.string().describe("Description of the lead's school on LinkedIn.").nullable().optional(),
109
+ linkedinPreviousSchoolName: zod.z.string().describe("Name of the lead's previous school on LinkedIn.").nullable().optional(),
110
+ linkedinPreviousCompanySlug: zod.z.string().describe("LinkedIn slug of the lead's previous company.").nullable().optional(),
111
+ linkedinPreviousJobLocation: zod.z.string().describe("Location of the lead's previous job on LinkedIn.").nullable().optional(),
112
+ crmAccountRelativeProperties: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("CRM account relative properties for the lead.").nullable().optional(),
113
+ linkedinPreviousJobDateRange: zod.z.string().describe("Date range of the lead's previous job on LinkedIn.").nullable().optional(),
114
+ linkedinPreviousSchoolDegree: zod.z.string().describe("Degree obtained at the lead's previous school on LinkedIn.").nullable().optional(),
115
+ linkedinPreviousJobDescription: zod.z.string().describe("Description of the lead's previous job on LinkedIn.").nullable().optional(),
116
+ linkedinPreviousSchoolDateRange: zod.z.string().describe("Date range of the lead's previous school attendance on LinkedIn.").nullable().optional(),
117
+ linkedinAccountRelativeProperties: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("LinkedIn account relative properties for the lead.").nullable().optional(),
118
+ linkedinPreviousSchoolCompanySlug: zod.z.string().describe("LinkedIn slug of the lead's previous school.").nullable().optional(),
119
+ linkedinPreviousSchoolDescription: zod.z.string().describe("Description of the lead's previous school on LinkedIn.").nullable().optional()
120
+ }).describe("Response schema for saving a lead to org storage.");
121
+ const phantombusterSaveLead = require_action.action("PHANTOMBUSTER_SAVE_LEAD", {
122
+ slug: "phantombuster-save-lead",
123
+ name: "Save Lead",
124
+ description: "Tool to save or update a lead in Phantombuster org storage. Use when you need to store LinkedIn profile data or other lead information.",
125
+ input: PhantombusterSaveLeadInput,
126
+ output: PhantombusterSaveLeadOutput
127
+ });
128
+ //#endregion
129
+ exports.phantombusterSaveLead = phantombusterSaveLead;
130
+
131
+ //# sourceMappingURL=save-lead.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead.cjs","names":["z","action"],"sources":["../../src/actions/save-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveLeadInput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if there was an issue processing the lead.\").optional(),\n civility: z.string().describe(\"Civility or title 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 metadata for the lead.\").optional(),\n websites: z.array(z.string()).describe(\"List of websites associated with the lead.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Current company name of the lead.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers of the lead.\").optional(),\n companyWebsite: z.string().describe(\"Website of the lead's current company.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses of the lead.\").optional(),\n audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe(\"Audience segments this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the lead's current company.\").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 of the lead's current company.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID of the lead.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL of the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). This is the unique identifier for the lead.\"),\n linkedinProfileUrn: z.string().describe(\"URN of the lead's LinkedIn profile.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's school on LinkedIn.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses of the lead.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn description or summary of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job on LinkedIn.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Skills label from the lead's LinkedIn profile.\").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 on LinkedIn.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the lead's school on LinkedIn.\").optional(),\n aiGeneratedProperties: z.record(z.string(), z.unknown()).describe(\"AI-generated properties for the lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for the lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead has a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().describe(\"Number of LinkedIn followers the lead has.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job on LinkedIn.\").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 the lead's school attendance on LinkedIn.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Previous job title of the lead on LinkedIn.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL of the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead has an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of the lead's school on LinkedIn.\").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 on LinkedIn.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job on LinkedIn.\").optional(),\n crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"CRM account relative properties for the lead.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job on LinkedIn.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the lead's previous school on LinkedIn.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job on LinkedIn.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of the lead's previous school attendance on LinkedIn.\").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 for the lead.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of the lead's previous school on LinkedIn.\").optional(),\n}).describe(\"Request model for saving a lead to org storage.\");\nexport const PhantombusterSaveLeadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved lead.\"),\n company: z.record(z.string(), z.unknown()).describe(\"Company information associated with the lead.\").nullable().optional(),\n civility: z.string().describe(\"Civility or title of the lead.\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the lead.\").nullable().optional(),\n location: z.string().describe(\"Geographic location of the lead.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the lead.\").nullable().optional(),\n websites: z.array(z.string()).describe(\"List of websites associated with the lead.\").nullable().optional(),\n firstName: z.string().describe(\"First name of the lead.\").nullable().optional(),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\").nullable().optional(),\n companyName: z.string().describe(\"Current company name of the lead.\").nullable().optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers of the lead.\").nullable().optional(),\n companyWebsite: z.string().describe(\"Website of the lead's current company.\").nullable().optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses of the lead.\").nullable().optional(),\n audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe(\"Audience segments this lead belongs to.\").nullable().optional(),\n companyIndustry: z.string().describe(\"Industry of the lead's current company.\").nullable().optional(),\n editionsHistory: z.array(z.record(z.string(), z.unknown())).describe(\"History of edits made to this lead.\"),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").nullable().optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").nullable().optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID of the lead's current company.\").nullable().optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID of the lead.\").nullable().optional(),\n linkedinProfileUrn: z.string().describe(\"URN of the lead's LinkedIn profile.\").nullable().optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's school on LinkedIn.\").nullable().optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses of the lead.\").nullable().optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug.\").nullable().optional(),\n linkedinDescription: z.string().describe(\"LinkedIn description or summary of the lead.\").nullable().optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").nullable().optional(),\n linkedinProfileSlug: z.string().describe(\"LinkedIn profile slug of the saved lead.\"),\n linkedinSkillsLabel: z.string().describe(\"Skills label from the lead's LinkedIn profile.\").nullable().optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").nullable().optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the lead's school on LinkedIn.\").nullable().optional(),\n twitterProfileHandle: z.string().describe(\"Twitter profile handle of the lead.\").nullable().optional(),\n aiGeneratedProperties: z.record(z.string(), z.unknown()).describe(\"AI-generated properties for the lead.\").nullable().optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead has a hiring badge on LinkedIn.\").nullable().optional(),\n linkedinFollowersCount: z.number().describe(\"Number of LinkedIn followers the lead has.\").nullable().optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").nullable().optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").nullable().optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of the lead's school attendance on LinkedIn.\").nullable().optional(),\n salesNavigatorCompanyId: z.string().describe(\"Sales Navigator company ID.\").nullable().optional(),\n salesNavigatorProfileId: z.string().describe(\"Sales Navigator profile ID.\").nullable().optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Previous job title of the lead on LinkedIn.\").nullable().optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead has an open to work badge on LinkedIn.\").nullable().optional(),\n linkedinSchoolCompanySlug: z.string().describe(\"LinkedIn slug of the lead's school.\").nullable().optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of the lead's school on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school on LinkedIn.\").nullable().optional(),\n linkedinPreviousCompanySlug: z.string().describe(\"LinkedIn slug of the lead's previous company.\").nullable().optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job on LinkedIn.\").nullable().optional(),\n crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"CRM account relative properties for the lead.\").nullable().optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the lead's previous school on LinkedIn.\").nullable().optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of the lead's previous school attendance on LinkedIn.\").nullable().optional(),\n linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"LinkedIn account relative properties for the lead.\").nullable().optional(),\n linkedinPreviousSchoolCompanySlug: z.string().describe(\"LinkedIn slug of the lead's previous school.\").nullable().optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of the lead's previous school on LinkedIn.\").nullable().optional(),\n}).describe(\"Response schema for saving a lead to org storage.\");\n\nexport const phantombusterSaveLead = action(\"PHANTOMBUSTER_SAVE_LEAD\", {\n slug: \"phantombuster-save-lead\",\n name: \"Save Lead\",\n description: \"Tool to save or update a lead in Phantombuster org storage. Use when you need to store LinkedIn profile data or other lead information.\",\n input: PhantombusterSaveLeadInput,\n output: PhantombusterSaveLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,MAAM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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-lead.d.ts
4
+ declare const PhantombusterSaveLeadInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveLeadOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveLead };
9
+ //# sourceMappingURL=save-lead.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead.d.cts","names":[],"sources":["../../src/actions/save-lead.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAyDmB;AAAA,cACjD,2BAAA,EAA6B,CAAA,CAAE,UA0DoB;AAAA,cAEnD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-lead.d.ts
4
+ declare const PhantombusterSaveLeadInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveLeadOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveLead };
9
+ //# sourceMappingURL=save-lead.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead.d.mts","names":[],"sources":["../../src/actions/save-lead.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAyDmB;AAAA,cACjD,2BAAA,EAA6B,CAAA,CAAE,UA0DoB;AAAA,cAEnD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,128 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const phantombusterSaveLead = action("PHANTOMBUSTER_SAVE_LEAD", {
4
+ slug: "phantombuster-save-lead",
5
+ name: "Save Lead",
6
+ description: "Tool to save or update a lead in Phantombuster org storage. Use when you need to store LinkedIn profile data or other lead information.",
7
+ input: z.object({
8
+ error: z.string().describe("Error message if there was an issue processing the lead.").optional(),
9
+ civility: z.string().describe("Civility or title of the lead (e.g., Mr., Ms., Dr.).").optional(),
10
+ lastName: z.string().describe("Last name of the lead.").optional(),
11
+ location: z.string().describe("Geographic location of the lead.").optional(),
12
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the lead.").optional(),
13
+ websites: z.array(z.string()).describe("List of websites associated with the lead.").optional(),
14
+ firstName: z.string().describe("First name of the lead.").optional(),
15
+ companyName: z.string().describe("Current company name of the lead.").optional(),
16
+ phoneNumbers: z.array(z.string()).describe("List of phone numbers of the lead.").optional(),
17
+ companyWebsite: z.string().describe("Website of the lead's current company.").optional(),
18
+ personalEmails: z.array(z.string()).describe("List of personal email addresses of the lead.").optional(),
19
+ audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe("Audience segments this lead belongs to.").optional(),
20
+ companyIndustry: z.string().describe("Industry of the lead's current company.").optional(),
21
+ linkedinHeadline: z.string().describe("LinkedIn headline of the lead.").optional(),
22
+ linkedinJobTitle: z.string().describe("Current job title of the lead on LinkedIn.").optional(),
23
+ linkedinCompanyId: z.string().describe("LinkedIn company ID of the lead's current company.").optional(),
24
+ linkedinProfileId: z.string().describe("LinkedIn profile ID of the lead.").optional(),
25
+ twitterProfileUrl: z.string().describe("Twitter profile URL of the lead.").optional(),
26
+ linkedinCompanyUrl: z.string().describe("LinkedIn company URL.").optional(),
27
+ linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the lead (required). This is the unique identifier for the lead."),
28
+ linkedinProfileUrn: z.string().describe("URN of the lead's LinkedIn profile.").optional(),
29
+ linkedinSchoolName: z.string().describe("Name of the lead's school on LinkedIn.").optional(),
30
+ professionalEmails: z.array(z.string()).describe("List of professional email addresses of the lead.").optional(),
31
+ "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional(),
32
+ linkedinCompanySlug: z.string().describe("LinkedIn company slug.").optional(),
33
+ linkedinDescription: z.string().describe("LinkedIn description or summary of the lead.").optional(),
34
+ linkedinJobLocation: z.string().describe("Location of the lead's current job on LinkedIn.").optional(),
35
+ linkedinOpenProfile: z.boolean().describe("Whether the lead has an open LinkedIn profile.").optional(),
36
+ linkedinSkillsLabel: z.string().describe("Skills label from the lead's LinkedIn profile.").optional(),
37
+ previousCompanyName: z.string().describe("Name of the lead's previous company.").optional(),
38
+ linkedinJobDateRange: z.string().describe("Date range of the lead's current job on LinkedIn.").optional(),
39
+ linkedinSchoolDegree: z.string().describe("Degree obtained at the lead's school on LinkedIn.").optional(),
40
+ aiGeneratedProperties: z.record(z.string(), z.unknown()).describe("AI-generated properties for the lead.").optional(),
41
+ customResultsFileName: z.string().describe("Custom results file name for the lead.").optional(),
42
+ linkedinIsHiringBadge: z.boolean().describe("Whether the lead has a hiring badge on LinkedIn.").optional(),
43
+ linkedinFollowersCount: z.number().describe("Number of LinkedIn followers the lead has.").optional(),
44
+ linkedinJobDescription: z.string().describe("Description of the lead's current job on LinkedIn.").optional(),
45
+ linkedinProfileImageUrl: z.string().describe("URL of the lead's LinkedIn profile image.").optional(),
46
+ linkedinProfileImageUrn: z.string().describe("URN of the lead's LinkedIn profile image.").optional(),
47
+ linkedinSchoolDateRange: z.string().describe("Date range of the lead's school attendance on LinkedIn.").optional(),
48
+ linkedinPreviousJobTitle: z.string().describe("Previous job title of the lead on LinkedIn.").optional(),
49
+ linkedinSchoolCompanyUrl: z.string().describe("LinkedIn URL of the lead's school.").optional(),
50
+ salesNavigatorProfileUrl: z.string().describe("Sales Navigator profile URL of the lead.").optional(),
51
+ linkedinIsOpenToWorkBadge: z.boolean().describe("Whether the lead has an open to work badge on LinkedIn.").optional(),
52
+ linkedinSchoolDescription: z.string().describe("Description of the lead's school on LinkedIn.").optional(),
53
+ linkedinPreviousCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous company.").optional(),
54
+ linkedinPreviousSchoolName: z.string().describe("Name of the lead's previous school on LinkedIn.").optional(),
55
+ linkedinPreviousJobLocation: z.string().describe("Location of the lead's previous job on LinkedIn.").optional(),
56
+ crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("CRM account relative properties for the lead.").optional(),
57
+ linkedinPreviousJobDateRange: z.string().describe("Date range of the lead's previous job on LinkedIn.").optional(),
58
+ linkedinPreviousSchoolDegree: z.string().describe("Degree obtained at the lead's previous school on LinkedIn.").optional(),
59
+ linkedinPreviousJobDescription: z.string().describe("Description of the lead's previous job on LinkedIn.").optional(),
60
+ linkedinPreviousSchoolDateRange: z.string().describe("Date range of the lead's previous school attendance on LinkedIn.").optional(),
61
+ linkedinPreviousSchoolCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous school.").optional(),
62
+ linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("LinkedIn account relative properties for the lead.").optional(),
63
+ linkedinPreviousSchoolDescription: z.string().describe("Description of the lead's previous school on LinkedIn.").optional()
64
+ }).describe("Request model for saving a lead to org storage."),
65
+ output: z.object({
66
+ id: z.string().describe("Unique identifier of the saved lead."),
67
+ company: z.record(z.string(), z.unknown()).describe("Company information associated with the lead.").nullable().optional(),
68
+ civility: z.string().describe("Civility or title of the lead.").nullable().optional(),
69
+ lastName: z.string().describe("Last name of the lead.").nullable().optional(),
70
+ location: z.string().describe("Geographic location of the lead.").nullable().optional(),
71
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the lead.").nullable().optional(),
72
+ websites: z.array(z.string()).describe("List of websites associated with the lead.").nullable().optional(),
73
+ firstName: z.string().describe("First name of the lead.").nullable().optional(),
74
+ isCreation: z.boolean().describe("Whether this was a new lead creation (true) or an update (false).").nullable().optional(),
75
+ companyName: z.string().describe("Current company name of the lead.").nullable().optional(),
76
+ phoneNumbers: z.array(z.string()).describe("List of phone numbers of the lead.").nullable().optional(),
77
+ companyWebsite: z.string().describe("Website of the lead's current company.").nullable().optional(),
78
+ personalEmails: z.array(z.string()).describe("List of personal email addresses of the lead.").nullable().optional(),
79
+ audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe("Audience segments this lead belongs to.").nullable().optional(),
80
+ companyIndustry: z.string().describe("Industry of the lead's current company.").nullable().optional(),
81
+ editionsHistory: z.array(z.record(z.string(), z.unknown())).describe("History of edits made to this lead."),
82
+ linkedinHeadline: z.string().describe("LinkedIn headline of the lead.").nullable().optional(),
83
+ linkedinJobTitle: z.string().describe("Current job title of the lead on LinkedIn.").nullable().optional(),
84
+ linkedinCompanyId: z.string().describe("LinkedIn company ID of the lead's current company.").nullable().optional(),
85
+ linkedinProfileId: z.string().describe("LinkedIn profile ID of the lead.").nullable().optional(),
86
+ linkedinProfileUrn: z.string().describe("URN of the lead's LinkedIn profile.").nullable().optional(),
87
+ linkedinSchoolName: z.string().describe("Name of the lead's school on LinkedIn.").nullable().optional(),
88
+ professionalEmails: z.array(z.string()).describe("List of professional email addresses of the lead.").nullable().optional(),
89
+ linkedinCompanySlug: z.string().describe("LinkedIn company slug.").nullable().optional(),
90
+ linkedinDescription: z.string().describe("LinkedIn description or summary of the lead.").nullable().optional(),
91
+ linkedinJobLocation: z.string().describe("Location of the lead's current job on LinkedIn.").nullable().optional(),
92
+ linkedinOpenProfile: z.boolean().describe("Whether the lead has an open LinkedIn profile.").nullable().optional(),
93
+ linkedinProfileSlug: z.string().describe("LinkedIn profile slug of the saved lead."),
94
+ linkedinSkillsLabel: z.string().describe("Skills label from the lead's LinkedIn profile.").nullable().optional(),
95
+ previousCompanyName: z.string().describe("Name of the lead's previous company.").nullable().optional(),
96
+ linkedinJobDateRange: z.string().describe("Date range of the lead's current job on LinkedIn.").nullable().optional(),
97
+ linkedinSchoolDegree: z.string().describe("Degree obtained at the lead's school on LinkedIn.").nullable().optional(),
98
+ twitterProfileHandle: z.string().describe("Twitter profile handle of the lead.").nullable().optional(),
99
+ aiGeneratedProperties: z.record(z.string(), z.unknown()).describe("AI-generated properties for the lead.").nullable().optional(),
100
+ linkedinIsHiringBadge: z.boolean().describe("Whether the lead has a hiring badge on LinkedIn.").nullable().optional(),
101
+ linkedinFollowersCount: z.number().describe("Number of LinkedIn followers the lead has.").nullable().optional(),
102
+ linkedinJobDescription: z.string().describe("Description of the lead's current job on LinkedIn.").nullable().optional(),
103
+ linkedinProfileImageUrl: z.string().describe("URL of the lead's LinkedIn profile image.").nullable().optional(),
104
+ linkedinProfileImageUrn: z.string().describe("URN of the lead's LinkedIn profile image.").nullable().optional(),
105
+ linkedinSchoolDateRange: z.string().describe("Date range of the lead's school attendance on LinkedIn.").nullable().optional(),
106
+ salesNavigatorCompanyId: z.string().describe("Sales Navigator company ID.").nullable().optional(),
107
+ salesNavigatorProfileId: z.string().describe("Sales Navigator profile ID.").nullable().optional(),
108
+ linkedinPreviousJobTitle: z.string().describe("Previous job title of the lead on LinkedIn.").nullable().optional(),
109
+ linkedinIsOpenToWorkBadge: z.boolean().describe("Whether the lead has an open to work badge on LinkedIn.").nullable().optional(),
110
+ linkedinSchoolCompanySlug: z.string().describe("LinkedIn slug of the lead's school.").nullable().optional(),
111
+ linkedinSchoolDescription: z.string().describe("Description of the lead's school on LinkedIn.").nullable().optional(),
112
+ linkedinPreviousSchoolName: z.string().describe("Name of the lead's previous school on LinkedIn.").nullable().optional(),
113
+ linkedinPreviousCompanySlug: z.string().describe("LinkedIn slug of the lead's previous company.").nullable().optional(),
114
+ linkedinPreviousJobLocation: z.string().describe("Location of the lead's previous job on LinkedIn.").nullable().optional(),
115
+ crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("CRM account relative properties for the lead.").nullable().optional(),
116
+ linkedinPreviousJobDateRange: z.string().describe("Date range of the lead's previous job on LinkedIn.").nullable().optional(),
117
+ linkedinPreviousSchoolDegree: z.string().describe("Degree obtained at the lead's previous school on LinkedIn.").nullable().optional(),
118
+ linkedinPreviousJobDescription: z.string().describe("Description of the lead's previous job on LinkedIn.").nullable().optional(),
119
+ linkedinPreviousSchoolDateRange: z.string().describe("Date range of the lead's previous school attendance on LinkedIn.").nullable().optional(),
120
+ linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe("LinkedIn account relative properties for the lead.").nullable().optional(),
121
+ linkedinPreviousSchoolCompanySlug: z.string().describe("LinkedIn slug of the lead's previous school.").nullable().optional(),
122
+ linkedinPreviousSchoolDescription: z.string().describe("Description of the lead's previous school on LinkedIn.").nullable().optional()
123
+ }).describe("Response schema for saving a lead to org storage.")
124
+ });
125
+ //#endregion
126
+ export { phantombusterSaveLead };
127
+
128
+ //# sourceMappingURL=save-lead.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-lead.mjs","names":[],"sources":["../../src/actions/save-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveLeadInput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if there was an issue processing the lead.\").optional(),\n civility: z.string().describe(\"Civility or title 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 metadata for the lead.\").optional(),\n websites: z.array(z.string()).describe(\"List of websites associated with the lead.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Current company name of the lead.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers of the lead.\").optional(),\n companyWebsite: z.string().describe(\"Website of the lead's current company.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses of the lead.\").optional(),\n audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe(\"Audience segments this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the lead's current company.\").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 of the lead's current company.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID of the lead.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL of the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). This is the unique identifier for the lead.\"),\n linkedinProfileUrn: z.string().describe(\"URN of the lead's LinkedIn profile.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's school on LinkedIn.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses of the lead.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn description or summary of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job on LinkedIn.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Skills label from the lead's LinkedIn profile.\").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 on LinkedIn.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the lead's school on LinkedIn.\").optional(),\n aiGeneratedProperties: z.record(z.string(), z.unknown()).describe(\"AI-generated properties for the lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for the lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead has a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().describe(\"Number of LinkedIn followers the lead has.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job on LinkedIn.\").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 the lead's school attendance on LinkedIn.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Previous job title of the lead on LinkedIn.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL of the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead has an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of the lead's school on LinkedIn.\").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 on LinkedIn.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job on LinkedIn.\").optional(),\n crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"CRM account relative properties for the lead.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job on LinkedIn.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the lead's previous school on LinkedIn.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job on LinkedIn.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of the lead's previous school attendance on LinkedIn.\").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 for the lead.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of the lead's previous school on LinkedIn.\").optional(),\n}).describe(\"Request model for saving a lead to org storage.\");\nexport const PhantombusterSaveLeadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved lead.\"),\n company: z.record(z.string(), z.unknown()).describe(\"Company information associated with the lead.\").nullable().optional(),\n civility: z.string().describe(\"Civility or title of the lead.\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the lead.\").nullable().optional(),\n location: z.string().describe(\"Geographic location of the lead.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the lead.\").nullable().optional(),\n websites: z.array(z.string()).describe(\"List of websites associated with the lead.\").nullable().optional(),\n firstName: z.string().describe(\"First name of the lead.\").nullable().optional(),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\").nullable().optional(),\n companyName: z.string().describe(\"Current company name of the lead.\").nullable().optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers of the lead.\").nullable().optional(),\n companyWebsite: z.string().describe(\"Website of the lead's current company.\").nullable().optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses of the lead.\").nullable().optional(),\n audienceOfLeads: z.array(z.record(z.string(), z.unknown())).describe(\"Audience segments this lead belongs to.\").nullable().optional(),\n companyIndustry: z.string().describe(\"Industry of the lead's current company.\").nullable().optional(),\n editionsHistory: z.array(z.record(z.string(), z.unknown())).describe(\"History of edits made to this lead.\"),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").nullable().optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").nullable().optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID of the lead's current company.\").nullable().optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID of the lead.\").nullable().optional(),\n linkedinProfileUrn: z.string().describe(\"URN of the lead's LinkedIn profile.\").nullable().optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's school on LinkedIn.\").nullable().optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses of the lead.\").nullable().optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug.\").nullable().optional(),\n linkedinDescription: z.string().describe(\"LinkedIn description or summary of the lead.\").nullable().optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").nullable().optional(),\n linkedinProfileSlug: z.string().describe(\"LinkedIn profile slug of the saved lead.\"),\n linkedinSkillsLabel: z.string().describe(\"Skills label from the lead's LinkedIn profile.\").nullable().optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").nullable().optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the lead's school on LinkedIn.\").nullable().optional(),\n twitterProfileHandle: z.string().describe(\"Twitter profile handle of the lead.\").nullable().optional(),\n aiGeneratedProperties: z.record(z.string(), z.unknown()).describe(\"AI-generated properties for the lead.\").nullable().optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead has a hiring badge on LinkedIn.\").nullable().optional(),\n linkedinFollowersCount: z.number().describe(\"Number of LinkedIn followers the lead has.\").nullable().optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job on LinkedIn.\").nullable().optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").nullable().optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").nullable().optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of the lead's school attendance on LinkedIn.\").nullable().optional(),\n salesNavigatorCompanyId: z.string().describe(\"Sales Navigator company ID.\").nullable().optional(),\n salesNavigatorProfileId: z.string().describe(\"Sales Navigator profile ID.\").nullable().optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Previous job title of the lead on LinkedIn.\").nullable().optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead has an open to work badge on LinkedIn.\").nullable().optional(),\n linkedinSchoolCompanySlug: z.string().describe(\"LinkedIn slug of the lead's school.\").nullable().optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of the lead's school on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school on LinkedIn.\").nullable().optional(),\n linkedinPreviousCompanySlug: z.string().describe(\"LinkedIn slug of the lead's previous company.\").nullable().optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job on LinkedIn.\").nullable().optional(),\n crmAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"CRM account relative properties for the lead.\").nullable().optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the lead's previous school on LinkedIn.\").nullable().optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job on LinkedIn.\").nullable().optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of the lead's previous school attendance on LinkedIn.\").nullable().optional(),\n linkedinAccountRelativeProperties: z.array(z.record(z.string(), z.unknown())).describe(\"LinkedIn account relative properties for the lead.\").nullable().optional(),\n linkedinPreviousSchoolCompanySlug: z.string().describe(\"LinkedIn slug of the lead's previous school.\").nullable().optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of the lead's previous school on LinkedIn.\").nullable().optional(),\n}).describe(\"Response schema for saving a lead to org storage.\");\n\nexport const phantombusterSaveLead = action(\"PHANTOMBUSTER_SAVE_LEAD\", {\n slug: \"phantombuster-save-lead\",\n name: \"Save Lead\",\n description: \"Tool to save or update a lead in Phantombuster org storage. Use when you need to store LinkedIn profile data or other lead information.\",\n input: PhantombusterSaveLeadInput,\n output: PhantombusterSaveLeadOutput,\n});\n"],"mappings":";;AA0HA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1HsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACnG,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,mCAAmC,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,MAAM,EAAE,OAAO,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AS,CAAC,CAAC,SAAS;EACjK,mCAAmC,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,mCAAmC,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-leads-objects-many.ts
4
+ const PhantombusterSaveLeadsObjectsManyInput = zod.z.object({ leadsObjects: zod.z.array(zod.z.object({
5
+ slug: zod.z.string().describe("Unique slug of the object to save (max 470 characters)."),
6
+ type: zod.z.string().describe("Type of object to save."),
7
+ leadId: zod.z.string().describe("ID of the lead this object is associated with.").optional(),
8
+ agentId: zod.z.string().describe("ID of the agent associated with this lead object."),
9
+ leadUrn: zod.z.string().describe("URN of the lead this object is associated with.").optional(),
10
+ leadSlug: zod.z.string().describe("Slug of the lead this object is associated with.").optional(),
11
+ properties: zod.z.object({}).describe("Properties of the object as key-value pairs."),
12
+ leadObjectId: zod.z.string().describe("ID of an existing lead object (used for updates).").optional()
13
+ }).describe("Model representing a single lead object to save.")).describe("Array of lead objects to save. Each object must include type, slug, properties, and agentId.") }).describe("Request model for saving multiple lead objects.");
14
+ const PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema = zod.z.object({
15
+ id: zod.z.string().describe("ID of the created or updated lead object."),
16
+ slug: zod.z.string().describe("Slug of the lead object."),
17
+ status: zod.z.union([zod.z.string(), zod.z.number().int()])
18
+ }).describe("Successful result for a saved lead object.");
19
+ const PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema = zod.z.object({
20
+ slug: zod.z.string().describe("Slug of the lead object that failed."),
21
+ error: zod.z.string().describe("Error message describing what went wrong."),
22
+ status: zod.z.union([zod.z.string(), zod.z.number().int()])
23
+ }).describe("Error result for a failed lead object save operation.");
24
+ const PhantombusterSaveLeadsObjectsManyOutput = zod.z.object({ results: zod.z.array(zod.z.union([PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema, PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema])).describe("Array of results for each lead object save operation. Each result contains status, slug, and either an id (success) or error message (failure).") }).describe("Response schema for saving multiple lead objects. Returns an array of results,\neach containing either success (with id) or error information.");
25
+ const phantombusterSaveLeadsObjectsMany = require_action.action("PHANTOMBUSTER_SAVE_LEADS_OBJECTS_MANY", {
26
+ slug: "phantombuster-save-leads-objects-many",
27
+ name: "Save Many Lead Objects",
28
+ description: "Tool to save multiple lead objects to Phantombuster's organization storage. Use when you need to create or update multiple lead objects in a single API call.",
29
+ input: PhantombusterSaveLeadsObjectsManyInput,
30
+ output: PhantombusterSaveLeadsObjectsManyOutput
31
+ });
32
+ //#endregion
33
+ exports.phantombusterSaveLeadsObjectsMany = phantombusterSaveLeadsObjectsMany;
34
+
35
+ //# sourceMappingURL=save-leads-objects-many.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-leads-objects-many.cjs","names":["z","action"],"sources":["../../src/actions/save-leads-objects-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveLeadsObjectsManyInput: z.ZodTypeAny = z.object({\n leadsObjects: z.array(z.object({\n slug: z.string().describe(\"Unique slug of the object to save (max 470 characters).\"),\n type: z.string().describe(\"Type of object to save.\"),\n leadId: z.string().describe(\"ID of the lead this object is associated with.\").optional(),\n agentId: z.string().describe(\"ID of the agent associated with this lead object.\"),\n leadUrn: z.string().describe(\"URN of the lead this object is associated with.\").optional(),\n leadSlug: z.string().describe(\"Slug of the lead this object is associated with.\").optional(),\n properties: z.object({}).describe(\"Properties of the object as key-value pairs.\"),\n leadObjectId: z.string().describe(\"ID of an existing lead object (used for updates).\").optional(),\n}).describe(\"Model representing a single lead object to save.\")).describe(\"Array of lead objects to save. Each object must include type, slug, properties, and agentId.\"),\n}).describe(\"Request model for saving multiple lead objects.\");\nconst PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the created or updated lead object.\"),\n slug: z.string().describe(\"Slug of the lead object.\"),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Successful result for a saved lead object.\");\nconst PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Slug of the lead object that failed.\"),\n error: z.string().describe(\"Error message describing what went wrong.\"),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Error result for a failed lead object save operation.\");\nexport const PhantombusterSaveLeadsObjectsManyOutput: z.ZodTypeAny = z.object({\n results: z.array(z.union([PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema, PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema])).describe(\"Array of results for each lead object save operation. Each result contains status, slug, and either an id (success) or error message (failure).\"),\n}).describe(\"Response schema for saving multiple lead objects. Returns an array of results,\\neach containing either success (with id) or error information.\");\n\nexport const phantombusterSaveLeadsObjectsMany = action(\"PHANTOMBUSTER_SAVE_LEADS_OBJECTS_MANY\", {\n slug: \"phantombuster-save-leads-objects-many\",\n name: \"Save Many Lead Objects\",\n description: \"Tool to save multiple lead objects to Phantombuster's organization storage. Use when you need to create or update multiple lead objects in a single API call.\",\n input: PhantombusterSaveLeadsObjectsManyInput,\n output: PhantombusterSaveLeadsObjectsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC/B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gD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A6D,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,EACxT,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAE5J,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-leads-objects-many.d.ts
4
+ declare const PhantombusterSaveLeadsObjectsManyInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveLeadsObjectsManyOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveLeadsObjectsMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveLeadsObjectsMany };
9
+ //# sourceMappingURL=save-leads-objects-many.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-leads-objects-many.d.cts","names":[],"sources":["../../src/actions/save-leads-objects-many.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWO;AAAA,cAWjD,uCAAA,EAAyC,CAAA,CAAE,UAEqG;AAAA,cAEhJ,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-leads-objects-many.d.ts
4
+ declare const PhantombusterSaveLeadsObjectsManyInput: z.ZodTypeAny;
5
+ declare const PhantombusterSaveLeadsObjectsManyOutput: z.ZodTypeAny;
6
+ declare const phantombusterSaveLeadsObjectsMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { phantombusterSaveLeadsObjectsMany };
9
+ //# sourceMappingURL=save-leads-objects-many.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-leads-objects-many.d.mts","names":[],"sources":["../../src/actions/save-leads-objects-many.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWO;AAAA,cAWjD,uCAAA,EAAyC,CAAA,CAAE,UAEqG;AAAA,cAEhJ,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/save-leads-objects-many.ts
4
+ const PhantombusterSaveLeadsObjectsManyInput = z.object({ leadsObjects: z.array(z.object({
5
+ slug: z.string().describe("Unique slug of the object to save (max 470 characters)."),
6
+ type: z.string().describe("Type of object to save."),
7
+ leadId: z.string().describe("ID of the lead this object is associated with.").optional(),
8
+ agentId: z.string().describe("ID of the agent associated with this lead object."),
9
+ leadUrn: z.string().describe("URN of the lead this object is associated with.").optional(),
10
+ leadSlug: z.string().describe("Slug of the lead this object is associated with.").optional(),
11
+ properties: z.object({}).describe("Properties of the object as key-value pairs."),
12
+ leadObjectId: z.string().describe("ID of an existing lead object (used for updates).").optional()
13
+ }).describe("Model representing a single lead object to save.")).describe("Array of lead objects to save. Each object must include type, slug, properties, and agentId.") }).describe("Request model for saving multiple lead objects.");
14
+ const PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema = z.object({
15
+ id: z.string().describe("ID of the created or updated lead object."),
16
+ slug: z.string().describe("Slug of the lead object."),
17
+ status: z.union([z.string(), z.number().int()])
18
+ }).describe("Successful result for a saved lead object.");
19
+ const PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema = z.object({
20
+ slug: z.string().describe("Slug of the lead object that failed."),
21
+ error: z.string().describe("Error message describing what went wrong."),
22
+ status: z.union([z.string(), z.number().int()])
23
+ }).describe("Error result for a failed lead object save operation.");
24
+ const phantombusterSaveLeadsObjectsMany = action("PHANTOMBUSTER_SAVE_LEADS_OBJECTS_MANY", {
25
+ slug: "phantombuster-save-leads-objects-many",
26
+ name: "Save Many Lead Objects",
27
+ description: "Tool to save multiple lead objects to Phantombuster's organization storage. Use when you need to create or update multiple lead objects in a single API call.",
28
+ input: PhantombusterSaveLeadsObjectsManyInput,
29
+ output: z.object({ results: z.array(z.union([PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema, PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema])).describe("Array of results for each lead object save operation. Each result contains status, slug, and either an id (success) or error message (failure).") }).describe("Response schema for saving multiple lead objects. Returns an array of results,\neach containing either success (with id) or error information.")
30
+ });
31
+ //#endregion
32
+ export { phantombusterSaveLeadsObjectsMany };
33
+
34
+ //# sourceMappingURL=save-leads-objects-many.mjs.map