@keystrokehq/phantombuster 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.cjs +3 -3
  4. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  5. package/dist/actions/abort-agent-v1.d.cts +12 -3
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +12 -3
  8. package/dist/actions/abort-agent-v1.d.mts.map +1 -1
  9. package/dist/actions/abort-agent-v1.mjs +3 -3
  10. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  11. package/dist/actions/delete-agent.cjs +3 -3
  12. package/dist/actions/delete-agent.cjs.map +1 -1
  13. package/dist/actions/delete-agent.d.cts +14 -3
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +14 -3
  16. package/dist/actions/delete-agent.d.mts.map +1 -1
  17. package/dist/actions/delete-agent.mjs +3 -3
  18. package/dist/actions/delete-agent.mjs.map +1 -1
  19. package/dist/actions/delete-lead-objects.cjs +1 -1
  20. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  21. package/dist/actions/delete-lead-objects.d.cts +13 -3
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +13 -3
  24. package/dist/actions/delete-lead-objects.d.mts.map +1 -1
  25. package/dist/actions/delete-lead-objects.mjs +1 -1
  26. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  27. package/dist/actions/delete-leads-many.cjs +1 -1
  28. package/dist/actions/delete-leads-many.cjs.map +1 -1
  29. package/dist/actions/delete-leads-many.d.cts +11 -3
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +11 -3
  32. package/dist/actions/delete-leads-many.d.mts.map +1 -1
  33. package/dist/actions/delete-leads-many.mjs +1 -1
  34. package/dist/actions/delete-leads-many.mjs.map +1 -1
  35. package/dist/actions/delete-list.cjs +1 -1
  36. package/dist/actions/delete-list.cjs.map +1 -1
  37. package/dist/actions/delete-list.d.cts +11 -3
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +11 -3
  40. package/dist/actions/delete-list.d.mts.map +1 -1
  41. package/dist/actions/delete-list.mjs +1 -1
  42. package/dist/actions/delete-list.mjs.map +1 -1
  43. package/dist/actions/delete-script.cjs +3 -3
  44. package/dist/actions/delete-script.cjs.map +1 -1
  45. package/dist/actions/delete-script.d.cts +21 -3
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +21 -3
  48. package/dist/actions/delete-script.d.mts.map +1 -1
  49. package/dist/actions/delete-script.mjs +3 -3
  50. package/dist/actions/delete-script.mjs.map +1 -1
  51. package/dist/actions/get-agent-containers.cjs +2 -2
  52. package/dist/actions/get-agent-containers.cjs.map +1 -1
  53. package/dist/actions/get-agent-containers.d.cts +20 -3
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +20 -3
  56. package/dist/actions/get-agent-containers.d.mts.map +1 -1
  57. package/dist/actions/get-agent-containers.mjs +2 -2
  58. package/dist/actions/get-agent-containers.mjs.map +1 -1
  59. package/dist/actions/get-agent-output.cjs +4 -4
  60. package/dist/actions/get-agent-output.cjs.map +1 -1
  61. package/dist/actions/get-agent-output.d.cts +36 -3
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +36 -3
  64. package/dist/actions/get-agent-output.d.mts.map +1 -1
  65. package/dist/actions/get-agent-output.mjs +4 -4
  66. package/dist/actions/get-agent-output.mjs.map +1 -1
  67. package/dist/actions/get-agent.cjs +26 -26
  68. package/dist/actions/get-agent.cjs.map +1 -1
  69. package/dist/actions/get-agent.d.cts +198 -3
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +198 -3
  72. package/dist/actions/get-agent.d.mts.map +1 -1
  73. package/dist/actions/get-agent.mjs +26 -26
  74. package/dist/actions/get-agent.mjs.map +1 -1
  75. package/dist/actions/get-agents-fetch-all.cjs +4 -4
  76. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  77. package/dist/actions/get-agents-fetch-all.d.cts +29 -3
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +29 -3
  80. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
  81. package/dist/actions/get-agents-fetch-all.mjs +4 -4
  82. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  83. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
  84. package/dist/actions/get-agents-fetch-deleted.d.cts +3 -3
  85. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  86. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -3
  87. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
  88. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
  89. package/dist/actions/get-branches-diff.cjs.map +1 -1
  90. package/dist/actions/get-branches-diff.d.cts +9 -3
  91. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  92. package/dist/actions/get-branches-diff.d.mts +9 -3
  93. package/dist/actions/get-branches-diff.d.mts.map +1 -1
  94. package/dist/actions/get-branches-diff.mjs.map +1 -1
  95. package/dist/actions/get-branches-fetch-all.cjs +4 -4
  96. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  97. package/dist/actions/get-branches-fetch-all.d.cts +11 -3
  98. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  99. package/dist/actions/get-branches-fetch-all.d.mts +11 -3
  100. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
  101. package/dist/actions/get-branches-fetch-all.mjs +4 -4
  102. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  103. package/dist/actions/get-containers-fetch-all.cjs +8 -8
  104. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  105. package/dist/actions/get-containers-fetch-all.d.cts +21 -3
  106. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  107. package/dist/actions/get-containers-fetch-all.d.mts +21 -3
  108. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
  109. package/dist/actions/get-containers-fetch-all.mjs +8 -8
  110. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  111. package/dist/actions/get-leads-by-list.cjs +1 -1
  112. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  113. package/dist/actions/get-leads-by-list.d.cts +33 -3
  114. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  115. package/dist/actions/get-leads-by-list.d.mts +33 -3
  116. package/dist/actions/get-leads-by-list.d.mts.map +1 -1
  117. package/dist/actions/get-leads-by-list.mjs +1 -1
  118. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  119. package/dist/actions/get-location-ip.cjs +1 -1
  120. package/dist/actions/get-location-ip.cjs.map +1 -1
  121. package/dist/actions/get-location-ip.d.cts +9 -3
  122. package/dist/actions/get-location-ip.d.cts.map +1 -1
  123. package/dist/actions/get-location-ip.d.mts +9 -3
  124. package/dist/actions/get-location-ip.d.mts.map +1 -1
  125. package/dist/actions/get-location-ip.mjs +1 -1
  126. package/dist/actions/get-location-ip.mjs.map +1 -1
  127. package/dist/actions/get-org-storage-lists-fetch-all.cjs +5 -5
  128. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  129. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +13 -3
  130. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
  131. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +13 -3
  132. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
  133. package/dist/actions/get-org-storage-lists-fetch-all.mjs +5 -5
  134. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  135. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
  136. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  137. package/dist/actions/get-orgs-export-agent-usage.d.cts +11 -3
  138. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
  139. package/dist/actions/get-orgs-export-agent-usage.d.mts +11 -3
  140. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
  141. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
  142. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  143. package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
  144. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  145. package/dist/actions/get-orgs-export-container-usage.d.cts +11 -3
  146. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
  147. package/dist/actions/get-orgs-export-container-usage.d.mts +11 -3
  148. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
  149. package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
  150. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  151. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -1
  152. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  153. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -3
  154. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
  155. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -3
  156. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
  157. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
  158. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  159. package/dist/actions/get-orgs-fetch-resources.cjs +33 -33
  160. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  161. package/dist/actions/get-orgs-fetch-resources.d.cts +48 -3
  162. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  163. package/dist/actions/get-orgs-fetch-resources.d.mts +48 -3
  164. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
  165. package/dist/actions/get-orgs-fetch-resources.mjs +33 -33
  166. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  167. package/dist/actions/get-orgs-fetch-running-containers.cjs +7 -7
  168. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  169. package/dist/actions/get-orgs-fetch-running-containers.d.cts +11 -3
  170. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
  171. package/dist/actions/get-orgs-fetch-running-containers.d.mts +11 -3
  172. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
  173. package/dist/actions/get-orgs-fetch-running-containers.mjs +7 -7
  174. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  175. package/dist/actions/get-orgs-fetch.cjs +3 -3
  176. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  177. package/dist/actions/get-orgs-fetch.d.cts +9 -3
  178. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  179. package/dist/actions/get-orgs-fetch.d.mts +9 -3
  180. package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
  181. package/dist/actions/get-orgs-fetch.mjs +3 -3
  182. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  183. package/dist/actions/get-script-by-name.cjs +3 -3
  184. package/dist/actions/get-script-by-name.cjs.map +1 -1
  185. package/dist/actions/get-script-by-name.d.cts +23 -3
  186. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  187. package/dist/actions/get-script-by-name.d.mts +23 -3
  188. package/dist/actions/get-script-by-name.d.mts.map +1 -1
  189. package/dist/actions/get-script-by-name.mjs +3 -3
  190. package/dist/actions/get-script-by-name.mjs.map +1 -1
  191. package/dist/actions/get-script.cjs +13 -13
  192. package/dist/actions/get-script.cjs.map +1 -1
  193. package/dist/actions/get-script.d.cts +65 -3
  194. package/dist/actions/get-script.d.cts.map +1 -1
  195. package/dist/actions/get-script.d.mts +65 -3
  196. package/dist/actions/get-script.d.mts.map +1 -1
  197. package/dist/actions/get-script.mjs +13 -13
  198. package/dist/actions/get-script.mjs.map +1 -1
  199. package/dist/actions/get-scripts-code.cjs +1 -1
  200. package/dist/actions/get-scripts-code.cjs.map +1 -1
  201. package/dist/actions/get-scripts-code.d.cts +20 -3
  202. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  203. package/dist/actions/get-scripts-code.d.mts +20 -3
  204. package/dist/actions/get-scripts-code.d.mts.map +1 -1
  205. package/dist/actions/get-scripts-code.mjs +1 -1
  206. package/dist/actions/get-scripts-code.mjs.map +1 -1
  207. package/dist/actions/get-scripts-fetch-all.cjs +9 -9
  208. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  209. package/dist/actions/get-scripts-fetch-all.d.cts +13 -3
  210. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  211. package/dist/actions/get-scripts-fetch-all.d.mts +13 -3
  212. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
  213. package/dist/actions/get-scripts-fetch-all.mjs +9 -9
  214. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  215. package/dist/actions/get-user.cjs +7 -7
  216. package/dist/actions/get-user.cjs.map +1 -1
  217. package/dist/actions/get-user.d.cts +22 -3
  218. package/dist/actions/get-user.d.cts.map +1 -1
  219. package/dist/actions/get-user.d.mts +22 -3
  220. package/dist/actions/get-user.d.mts.map +1 -1
  221. package/dist/actions/get-user.mjs +7 -7
  222. package/dist/actions/get-user.mjs.map +1 -1
  223. package/dist/actions/post-agents-unschedule-all.cjs +1 -1
  224. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  225. package/dist/actions/post-agents-unschedule-all.d.cts +3 -3
  226. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  227. package/dist/actions/post-agents-unschedule-all.d.mts +3 -3
  228. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  229. package/dist/actions/post-agents-unschedule-all.mjs +1 -1
  230. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  231. package/dist/actions/post-ai-completions.cjs +8 -8
  232. package/dist/actions/post-ai-completions.cjs.map +1 -1
  233. package/dist/actions/post-ai-completions.d.cts +31 -3
  234. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  235. package/dist/actions/post-ai-completions.d.mts +31 -3
  236. package/dist/actions/post-ai-completions.d.mts.map +1 -1
  237. package/dist/actions/post-ai-completions.mjs +8 -8
  238. package/dist/actions/post-ai-completions.mjs.map +1 -1
  239. package/dist/actions/post-branches-create.cjs +3 -3
  240. package/dist/actions/post-branches-create.cjs.map +1 -1
  241. package/dist/actions/post-branches-create.d.cts +12 -3
  242. package/dist/actions/post-branches-create.d.cts.map +1 -1
  243. package/dist/actions/post-branches-create.d.mts +12 -3
  244. package/dist/actions/post-branches-create.d.mts.map +1 -1
  245. package/dist/actions/post-branches-create.mjs +3 -3
  246. package/dist/actions/post-branches-create.mjs.map +1 -1
  247. package/dist/actions/post-branches-delete.cjs +3 -3
  248. package/dist/actions/post-branches-delete.cjs.map +1 -1
  249. package/dist/actions/post-branches-delete.d.cts +12 -3
  250. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  251. package/dist/actions/post-branches-delete.d.mts +12 -3
  252. package/dist/actions/post-branches-delete.d.mts.map +1 -1
  253. package/dist/actions/post-branches-delete.mjs +3 -3
  254. package/dist/actions/post-branches-delete.mjs.map +1 -1
  255. package/dist/actions/post-hcaptcha.cjs +1 -1
  256. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  257. package/dist/actions/post-hcaptcha.d.cts +16 -3
  258. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  259. package/dist/actions/post-hcaptcha.d.mts +16 -3
  260. package/dist/actions/post-hcaptcha.d.mts.map +1 -1
  261. package/dist/actions/post-hcaptcha.mjs +1 -1
  262. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  263. package/dist/actions/post-identities-generate-token.cjs +4 -4
  264. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  265. package/dist/actions/post-identities-generate-token.d.cts +7 -3
  266. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  267. package/dist/actions/post-identities-generate-token.d.mts +7 -3
  268. package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
  269. package/dist/actions/post-identities-generate-token.mjs +4 -4
  270. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  271. package/dist/actions/post-org-storage-leads-save-many.cjs +14 -14
  272. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  273. package/dist/actions/post-org-storage-leads-save-many.d.cts +132 -3
  274. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
  275. package/dist/actions/post-org-storage-leads-save-many.d.mts +132 -3
  276. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
  277. package/dist/actions/post-org-storage-leads-save-many.mjs +14 -14
  278. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  279. package/dist/actions/post-recaptcha.cjs +1 -1
  280. package/dist/actions/post-recaptcha.cjs.map +1 -1
  281. package/dist/actions/post-recaptcha.d.cts +21 -3
  282. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  283. package/dist/actions/post-recaptcha.d.mts +21 -3
  284. package/dist/actions/post-recaptcha.d.mts.map +1 -1
  285. package/dist/actions/post-recaptcha.mjs +1 -1
  286. package/dist/actions/post-recaptcha.mjs.map +1 -1
  287. package/dist/actions/post-scripts-visibility.cjs +1 -1
  288. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  289. package/dist/actions/post-scripts-visibility.d.cts +21 -3
  290. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  291. package/dist/actions/post-scripts-visibility.d.mts +21 -3
  292. package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
  293. package/dist/actions/post-scripts-visibility.mjs +1 -1
  294. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  295. package/dist/actions/release-branch.cjs +2 -2
  296. package/dist/actions/release-branch.cjs.map +1 -1
  297. package/dist/actions/release-branch.d.cts +14 -3
  298. package/dist/actions/release-branch.d.cts.map +1 -1
  299. package/dist/actions/release-branch.d.mts +14 -3
  300. package/dist/actions/release-branch.d.mts.map +1 -1
  301. package/dist/actions/release-branch.mjs +2 -2
  302. package/dist/actions/release-branch.mjs.map +1 -1
  303. package/dist/actions/save-agent-groups.cjs +5 -5
  304. package/dist/actions/save-agent-groups.cjs.map +1 -1
  305. package/dist/actions/save-agent-groups.d.cts +24 -3
  306. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  307. package/dist/actions/save-agent-groups.d.mts +24 -3
  308. package/dist/actions/save-agent-groups.d.mts.map +1 -1
  309. package/dist/actions/save-agent-groups.mjs +5 -5
  310. package/dist/actions/save-agent-groups.mjs.map +1 -1
  311. package/dist/actions/save-agent.cjs +2 -2
  312. package/dist/actions/save-agent.cjs.map +1 -1
  313. package/dist/actions/save-agent.d.cts +200 -3
  314. package/dist/actions/save-agent.d.cts.map +1 -1
  315. package/dist/actions/save-agent.d.mts +200 -3
  316. package/dist/actions/save-agent.d.mts.map +1 -1
  317. package/dist/actions/save-agent.mjs +2 -2
  318. package/dist/actions/save-agent.mjs.map +1 -1
  319. package/dist/actions/save-company-object.cjs +5 -5
  320. package/dist/actions/save-company-object.cjs.map +1 -1
  321. package/dist/actions/save-company-object.d.cts +24 -3
  322. package/dist/actions/save-company-object.d.cts.map +1 -1
  323. package/dist/actions/save-company-object.d.mts +24 -3
  324. package/dist/actions/save-company-object.d.mts.map +1 -1
  325. package/dist/actions/save-company-object.mjs +5 -5
  326. package/dist/actions/save-company-object.mjs.map +1 -1
  327. package/dist/actions/save-company-objects-many.cjs +14 -14
  328. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  329. package/dist/actions/save-company-objects-many.d.cts +38 -3
  330. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  331. package/dist/actions/save-company-objects-many.d.mts +38 -3
  332. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  333. package/dist/actions/save-company-objects-many.mjs +14 -14
  334. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  335. package/dist/actions/save-identity-event.cjs +7 -7
  336. package/dist/actions/save-identity-event.cjs.map +1 -1
  337. package/dist/actions/save-identity-event.d.cts +23 -3
  338. package/dist/actions/save-identity-event.d.cts.map +1 -1
  339. package/dist/actions/save-identity-event.d.mts +23 -3
  340. package/dist/actions/save-identity-event.d.mts.map +1 -1
  341. package/dist/actions/save-identity-event.mjs +7 -7
  342. package/dist/actions/save-identity-event.mjs.map +1 -1
  343. package/dist/actions/save-lead-object.cjs +5 -5
  344. package/dist/actions/save-lead-object.cjs.map +1 -1
  345. package/dist/actions/save-lead-object.d.cts +30 -3
  346. package/dist/actions/save-lead-object.d.cts.map +1 -1
  347. package/dist/actions/save-lead-object.d.mts +30 -3
  348. package/dist/actions/save-lead-object.d.mts.map +1 -1
  349. package/dist/actions/save-lead-object.mjs +5 -5
  350. package/dist/actions/save-lead-object.mjs.map +1 -1
  351. package/dist/actions/save-lead.cjs +3 -3
  352. package/dist/actions/save-lead.cjs.map +1 -1
  353. package/dist/actions/save-lead.d.cts +175 -3
  354. package/dist/actions/save-lead.d.cts.map +1 -1
  355. package/dist/actions/save-lead.d.mts +175 -3
  356. package/dist/actions/save-lead.d.mts.map +1 -1
  357. package/dist/actions/save-lead.mjs +3 -3
  358. package/dist/actions/save-lead.mjs.map +1 -1
  359. package/dist/actions/save-leads-objects-many.cjs +9 -9
  360. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  361. package/dist/actions/save-leads-objects-many.d.cts +36 -3
  362. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  363. package/dist/actions/save-leads-objects-many.d.mts +36 -3
  364. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  365. package/dist/actions/save-leads-objects-many.mjs +9 -9
  366. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  367. package/dist/actions/save-list.cjs +4 -4
  368. package/dist/actions/save-list.cjs.map +1 -1
  369. package/dist/actions/save-list.d.cts +28 -3
  370. package/dist/actions/save-list.d.cts.map +1 -1
  371. package/dist/actions/save-list.d.mts +28 -3
  372. package/dist/actions/save-list.d.mts.map +1 -1
  373. package/dist/actions/save-list.mjs +4 -4
  374. package/dist/actions/save-list.mjs.map +1 -1
  375. package/dist/actions/save-script.cjs +4 -4
  376. package/dist/actions/save-script.cjs.map +1 -1
  377. package/dist/actions/save-script.d.cts +41 -3
  378. package/dist/actions/save-script.d.cts.map +1 -1
  379. package/dist/actions/save-script.d.mts +41 -3
  380. package/dist/actions/save-script.d.mts.map +1 -1
  381. package/dist/actions/save-script.mjs +4 -4
  382. package/dist/actions/save-script.mjs.map +1 -1
  383. package/dist/actions/search-company-objects.cjs +4 -4
  384. package/dist/actions/search-company-objects.cjs.map +1 -1
  385. package/dist/actions/search-company-objects.d.cts +16 -3
  386. package/dist/actions/search-company-objects.d.cts.map +1 -1
  387. package/dist/actions/search-company-objects.d.mts +16 -3
  388. package/dist/actions/search-company-objects.d.mts.map +1 -1
  389. package/dist/actions/search-company-objects.mjs +4 -4
  390. package/dist/actions/search-company-objects.mjs.map +1 -1
  391. package/dist/actions/search-lead-objects.cjs +1 -1
  392. package/dist/actions/search-lead-objects.cjs.map +1 -1
  393. package/dist/actions/search-lead-objects.d.cts +17 -3
  394. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  395. package/dist/actions/search-lead-objects.d.mts +17 -3
  396. package/dist/actions/search-lead-objects.d.mts.map +1 -1
  397. package/dist/actions/search-lead-objects.mjs +1 -1
  398. package/dist/actions/search-lead-objects.mjs.map +1 -1
  399. package/dist/actions/stop-agent.cjs +1 -1
  400. package/dist/actions/stop-agent.cjs.map +1 -1
  401. package/dist/actions/stop-agent.d.cts +18 -3
  402. package/dist/actions/stop-agent.d.cts.map +1 -1
  403. package/dist/actions/stop-agent.d.mts +18 -3
  404. package/dist/actions/stop-agent.d.mts.map +1 -1
  405. package/dist/actions/stop-agent.mjs +1 -1
  406. package/dist/actions/stop-agent.mjs.map +1 -1
  407. package/dist/actions/update-script.cjs +2 -2
  408. package/dist/actions/update-script.cjs.map +1 -1
  409. package/dist/actions/update-script.d.cts +14 -3
  410. package/dist/actions/update-script.d.cts.map +1 -1
  411. package/dist/actions/update-script.d.mts +14 -3
  412. package/dist/actions/update-script.d.mts.map +1 -1
  413. package/dist/actions/update-script.mjs +2 -2
  414. package/dist/actions/update-script.mjs.map +1 -1
  415. package/dist/actions/update-scripts-access-list.cjs +2 -2
  416. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  417. package/dist/actions/update-scripts-access-list.d.cts +18 -3
  418. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  419. package/dist/actions/update-scripts-access-list.d.mts +18 -3
  420. package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
  421. package/dist/actions/update-scripts-access-list.mjs +2 -2
  422. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  423. package/dist/catalog.cjs +7 -1
  424. package/dist/catalog.cjs.map +1 -1
  425. package/dist/catalog.d.cts +8 -0
  426. package/dist/catalog.d.mts +8 -0
  427. package/dist/catalog.mjs +7 -1
  428. package/dist/catalog.mjs.map +1 -1
  429. package/package.json +2 -2
@@ -1,9 +1,71 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-script.d.ts
4
- declare const PhantombusterGetScriptInput: z.ZodTypeAny;
5
- declare const PhantombusterGetScriptOutput: z.ZodTypeAny;
6
- declare const phantombusterGetScript: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetScriptInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ branch: z.ZodOptional<z.ZodString>;
7
+ withCode: z.ZodOptional<z.ZodEnum<{
8
+ staging: "staging";
9
+ release: "release";
10
+ }>>;
11
+ environment: z.ZodOptional<z.ZodEnum<{
12
+ staging: "staging";
13
+ release: "release";
14
+ }>>;
15
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const PhantombusterGetScriptOutput: z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodNullable<z.ZodString>;
21
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ orgId: z.ZodNullable<z.ZodString>;
23
+ branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>;
28
+ orgSlug: z.ZodNullable<z.ZodString>;
29
+ branches: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodNullable<z.ZodString>;
32
+ accessList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
+ inputTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
34
+ visibility: z.ZodNullable<z.ZodString>;
35
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ outputTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
37
+ }, z.core.$loose>>;
38
+ markdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ unlisted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
+ inputIcon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ accessList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
+ categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
43
+ outputIcon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ visibility: z.ZodNullable<z.ZodString>;
45
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ environment: z.ZodNullable<z.ZodString>;
47
+ outputTypes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
48
+ argumentForm: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
+ isDeprecated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50
+ argumentTypes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
51
+ argumentSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ markdownRender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ outputDescription: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
54
+ reservedAgentSlots: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ recommenderMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
+ workers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
57
+ disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$loose>>>;
60
+ reservedAgentSlotsFactor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
+ }, z.core.$loose>;
62
+ declare const phantombusterGetScript: import("@keystrokehq/action").WorkflowActionDefinition<{
63
+ id: string;
64
+ branch?: string | undefined;
65
+ withCode?: "staging" | "release" | undefined;
66
+ environment?: "staging" | "release" | undefined;
67
+ "X-Phantombuster-Org"?: string | undefined;
68
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
69
  //#endregion
8
70
  export { phantombusterGetScript };
9
71
  //# sourceMappingURL=get-script.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-script.d.mts","names":[],"sources":["../../src/actions/get-script.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMQ;AAAA,cAmBvC,4BAAA,EAA8B,CAAA,CAAE,UA6BS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-script.d.mts","names":[],"sources":["../../src/actions/get-script.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B5B,sBAAA,gCAAsB,wBAAA"}
@@ -11,35 +11,35 @@ const PhantombusterGetScriptInput = z.object({
11
11
  const PhantombusterGetScript_ScriptStatusSchema = z.object({
12
12
  type: z.string().describe("Status type identifier.").nullable().optional(),
13
13
  description: z.string().describe("Status description.").nullable().optional()
14
- }).describe("Status information for a script.");
14
+ }).passthrough().describe("Status information for a script.");
15
15
  const PhantombusterGetScript_ScriptBranchSchema = z.object({
16
- id: z.string().describe("Unique identifier of the branch."),
17
- name: z.string().describe("Name of the branch."),
16
+ id: z.string().describe("Unique identifier of the branch.").nullable(),
17
+ name: z.string().describe("Name of the branch.").nullable(),
18
18
  accessList: z.array(z.string()).describe("List of accounts with access to the branch.").nullable().optional(),
19
19
  inputTypes: z.array(z.string()).describe("List of input types supported by the branch.").nullable().optional(),
20
- visibility: z.string().describe("Visibility level of the branch."),
20
+ visibility: z.string().describe("Visibility level of the branch.").nullable(),
21
21
  environment: z.string().describe("Environment of the branch.").nullable().optional(),
22
22
  outputTypes: z.array(z.string()).describe("List of output types supported by the branch.").nullable().optional()
23
- }).describe("Represents metadata for a script branch.");
23
+ }).passthrough().describe("Represents metadata for a script branch.");
24
24
  const PhantombusterGetScript_RecommenderMetadataSchema = z.object({
25
25
  workers: z.array(z.string()).describe("List of worker identifiers.").nullable().optional(),
26
26
  disabled: z.boolean().describe("Whether the recommender is disabled.").nullable().optional(),
27
27
  description: z.string().describe("Description for AI recommender system.").nullable().optional()
28
- }).describe("Configuration for the AI recommender (campaign_agent) system.");
28
+ }).passthrough().describe("Configuration for the AI recommender (campaign_agent) system.");
29
29
  const phantombusterGetScript = action("PHANTOMBUSTER_GET_SCRIPT", {
30
30
  slug: "phantombuster-get-script",
31
31
  name: "Get Script",
32
32
  description: "Tool to fetch a script by its unique ID. Use when you need to retrieve detailed metadata about a specific script, including its branches, visibility, and optionally its source code.",
33
33
  input: PhantombusterGetScriptInput,
34
34
  output: z.object({
35
- id: z.string().describe("Unique identifier of the script."),
35
+ id: z.string().describe("Unique identifier of the script.").nullable(),
36
36
  code: z.string().describe("Source code of the script. Only present if withCode parameter was set.").nullable().optional(),
37
- name: z.string().describe("Name of the script."),
37
+ name: z.string().describe("Name of the script.").nullable(),
38
38
  slug: z.string().describe("URL-friendly slug of the script.").nullable().optional(),
39
- orgId: z.string().describe("Organization ID owning the script."),
39
+ orgId: z.string().describe("Organization ID owning the script.").nullable(),
40
40
  branch: z.string().describe("Current branch name.").nullable().optional(),
41
41
  status: PhantombusterGetScript_ScriptStatusSchema.nullable().optional(),
42
- orgSlug: z.string().describe("Organization slug."),
42
+ orgSlug: z.string().describe("Organization slug.").nullable(),
43
43
  branches: z.array(PhantombusterGetScript_ScriptBranchSchema).describe("List of script branches."),
44
44
  markdown: z.string().describe("Markdown documentation for the script.").nullable().optional(),
45
45
  unlisted: z.boolean().describe("Whether the script is unlisted.").nullable().optional(),
@@ -47,9 +47,9 @@ const phantombusterGetScript = action("PHANTOMBUSTER_GET_SCRIPT", {
47
47
  accessList: z.array(z.string()).describe("List of accounts with access to the script.").nullable().optional(),
48
48
  categories: z.array(z.string()).describe("List of categories the script belongs to.").nullable().optional(),
49
49
  outputIcon: z.string().describe("Output icon identifier.").nullable().optional(),
50
- visibility: z.string().describe("Visibility level of the script."),
50
+ visibility: z.string().describe("Visibility level of the script.").nullable(),
51
51
  description: z.string().describe("Description of the script.").nullable().optional(),
52
- environment: z.string().describe("Environment of the script."),
52
+ environment: z.string().describe("Environment of the script.").nullable(),
53
53
  outputTypes: z.record(z.string(), z.unknown()).describe("Type definitions for script outputs, keyed by output name. Each value defines the output's type metadata (e.g., types, filenameBeginsWith). Structure varies per script.").nullable().optional(),
54
54
  argumentForm: z.record(z.string(), z.unknown()).describe("Form UI configuration for script arguments. Structure is per-script and may include fields like 'enabled' (bool) and 'steps' (list of step configurations with field settings).").nullable().optional(),
55
55
  isDeprecated: z.boolean().describe("Whether the script is deprecated.").nullable().optional(),
@@ -60,7 +60,7 @@ const phantombusterGetScript = action("PHANTOMBUSTER_GET_SCRIPT", {
60
60
  reservedAgentSlots: z.number().describe("Number of reserved agent slots.").nullable().optional(),
61
61
  recommenderMetadata: PhantombusterGetScript_RecommenderMetadataSchema.nullable().optional(),
62
62
  reservedAgentSlotsFactor: z.number().describe("Factor for reserved agent slots.").nullable().optional()
63
- }).describe("Response schema for GET /scripts/fetch.")
63
+ }).passthrough().describe("Response schema for GET /scripts/fetch.")
64
64
  });
65
65
  //#endregion
66
66
  export { phantombusterGetScript };
@@ -1 +1 @@
1
- {"version":3,"file":"get-script.mjs","names":[],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the script to fetch.\"),\n branch: z.string().describe(\"If set, the specified branch will be used to retrieve the script.\").optional(),\n withCode: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for withCode parameter.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for script branches.\").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}).describe(\"Request model for GET /scripts/fetch.\");\nconst PhantombusterGetScript_ScriptStatusSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Status type identifier.\").nullable().optional(),\n description: z.string().describe(\"Status description.\").nullable().optional(),\n}).describe(\"Status information for a script.\");\nconst PhantombusterGetScript_ScriptBranchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the branch.\"),\n name: z.string().describe(\"Name of the branch.\"),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the branch.\").nullable().optional(),\n inputTypes: z.array(z.string()).describe(\"List of input types supported by the branch.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the branch.\"),\n environment: z.string().describe(\"Environment of the branch.\").nullable().optional(),\n outputTypes: z.array(z.string()).describe(\"List of output types supported by the branch.\").nullable().optional(),\n}).describe(\"Represents metadata for a script branch.\");\nconst PhantombusterGetScript_RecommenderMetadataSchema: z.ZodTypeAny = z.object({\n workers: z.array(z.string()).describe(\"List of worker identifiers.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the recommender is disabled.\").nullable().optional(),\n description: z.string().describe(\"Description for AI recommender system.\").nullable().optional(),\n}).describe(\"Configuration for the AI recommender (campaign_agent) system.\");\nexport const PhantombusterGetScriptOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the script.\"),\n code: z.string().describe(\"Source code of the script. Only present if withCode parameter was set.\").nullable().optional(),\n name: z.string().describe(\"Name of the script.\"),\n slug: z.string().describe(\"URL-friendly slug of the script.\").nullable().optional(),\n orgId: z.string().describe(\"Organization ID owning the script.\"),\n branch: z.string().describe(\"Current branch name.\").nullable().optional(),\n status: PhantombusterGetScript_ScriptStatusSchema.nullable().optional(),\n orgSlug: z.string().describe(\"Organization slug.\"),\n branches: z.array(PhantombusterGetScript_ScriptBranchSchema).describe(\"List of script branches.\"),\n markdown: z.string().describe(\"Markdown documentation for the script.\").nullable().optional(),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").nullable().optional(),\n inputIcon: z.string().describe(\"Input icon identifier.\").nullable().optional(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the script.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the script belongs to.\").nullable().optional(),\n outputIcon: z.string().describe(\"Output icon identifier.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the script.\"),\n description: z.string().describe(\"Description of the script.\").nullable().optional(),\n environment: z.string().describe(\"Environment of the script.\"),\n outputTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script outputs, keyed by output name. Each value defines the output's type metadata (e.g., types, filenameBeginsWith). Structure varies per script.\").nullable().optional(),\n argumentForm: z.record(z.string(), z.unknown()).describe(\"Form UI configuration for script arguments. Structure is per-script and may include fields like 'enabled' (bool) and 'steps' (list of step configurations with field settings).\").nullable().optional(),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").nullable().optional(),\n argumentTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script arguments, keyed by argument name. Each value defines the argument's type metadata (e.g., types, pipe, targetsColumn). Structure varies per script.\").nullable().optional(),\n argumentSchema: z.record(z.string(), z.unknown()).describe(\"JSON Schema definition for script arguments. This is a per-script configuration that follows JSON Schema format but may include custom extensions like 'ui-required'. Structure varies by script.\").nullable().optional(),\n markdownRender: z.string().describe(\"Rendered markdown content.\").nullable().optional(),\n outputDescription: z.record(z.string(), z.unknown()).describe(\"Description of each output field, keyed by field name.\").nullable().optional(),\n reservedAgentSlots: z.number().describe(\"Number of reserved agent slots.\").nullable().optional(),\n recommenderMetadata: PhantombusterGetScript_RecommenderMetadataSchema.nullable().optional(),\n reservedAgentSlotsFactor: z.number().describe(\"Factor for reserved agent slots.\").nullable().optional(),\n}).describe(\"Response schema for GET /scripts/fetch.\");\n\nexport const phantombusterGetScript = action(\"PHANTOMBUSTER_GET_SCRIPT\", {\n slug: \"phantombuster-get-script\",\n name: \"Get Script\",\n description: \"Tool to fetch a script by its unique ID. Use when you need to retrieve detailed metadata about a specific script, including its branches, visibility, and optionally its source code.\",\n input: PhantombusterGetScriptInput,\n output: PhantombusterGetScriptOutput,\n});\n"],"mappings":";;;AAIA,MA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gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,qBAAqB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC1F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-script.mjs","names":[],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptInput = z.object({\n id: z.string().describe(\"Id of the script to fetch.\"),\n branch: z.string().describe(\"If set, the specified branch will be used to retrieve the script.\").optional(),\n withCode: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for withCode parameter.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for script branches.\").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}).describe(\"Request model for GET /scripts/fetch.\");\nconst PhantombusterGetScript_ScriptStatusSchema = z.object({\n type: z.string().describe(\"Status type identifier.\").nullable().optional(),\n description: z.string().describe(\"Status description.\").nullable().optional(),\n}).passthrough().describe(\"Status information for a script.\");\nconst PhantombusterGetScript_ScriptBranchSchema = z.object({\n id: z.string().describe(\"Unique identifier of the branch.\").nullable(),\n name: z.string().describe(\"Name of the branch.\").nullable(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the branch.\").nullable().optional(),\n inputTypes: z.array(z.string()).describe(\"List of input types supported by the branch.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the branch.\").nullable(),\n environment: z.string().describe(\"Environment of the branch.\").nullable().optional(),\n outputTypes: z.array(z.string()).describe(\"List of output types supported by the branch.\").nullable().optional(),\n}).passthrough().describe(\"Represents metadata for a script branch.\");\nconst PhantombusterGetScript_RecommenderMetadataSchema = z.object({\n workers: z.array(z.string()).describe(\"List of worker identifiers.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the recommender is disabled.\").nullable().optional(),\n description: z.string().describe(\"Description for AI recommender system.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for the AI recommender (campaign_agent) system.\");\nexport const PhantombusterGetScriptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the script.\").nullable(),\n code: z.string().describe(\"Source code of the script. Only present if withCode parameter was set.\").nullable().optional(),\n name: z.string().describe(\"Name of the script.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the script.\").nullable().optional(),\n orgId: z.string().describe(\"Organization ID owning the script.\").nullable(),\n branch: z.string().describe(\"Current branch name.\").nullable().optional(),\n status: PhantombusterGetScript_ScriptStatusSchema.nullable().optional(),\n orgSlug: z.string().describe(\"Organization slug.\").nullable(),\n branches: z.array(PhantombusterGetScript_ScriptBranchSchema).describe(\"List of script branches.\"),\n markdown: z.string().describe(\"Markdown documentation for the script.\").nullable().optional(),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").nullable().optional(),\n inputIcon: z.string().describe(\"Input icon identifier.\").nullable().optional(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the script.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the script belongs to.\").nullable().optional(),\n outputIcon: z.string().describe(\"Output icon identifier.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the script.\").nullable(),\n description: z.string().describe(\"Description of the script.\").nullable().optional(),\n environment: z.string().describe(\"Environment of the script.\").nullable(),\n outputTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script outputs, keyed by output name. Each value defines the output's type metadata (e.g., types, filenameBeginsWith). Structure varies per script.\").nullable().optional(),\n argumentForm: z.record(z.string(), z.unknown()).describe(\"Form UI configuration for script arguments. Structure is per-script and may include fields like 'enabled' (bool) and 'steps' (list of step configurations with field settings).\").nullable().optional(),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").nullable().optional(),\n argumentTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script arguments, keyed by argument name. Each value defines the argument's type metadata (e.g., types, pipe, targetsColumn). Structure varies per script.\").nullable().optional(),\n argumentSchema: z.record(z.string(), z.unknown()).describe(\"JSON Schema definition for script arguments. This is a per-script configuration that follows JSON Schema format but may include custom extensions like 'ui-required'. Structure varies by script.\").nullable().optional(),\n markdownRender: z.string().describe(\"Rendered markdown content.\").nullable().optional(),\n outputDescription: z.record(z.string(), z.unknown()).describe(\"Description of each output field, keyed by field name.\").nullable().optional(),\n reservedAgentSlots: z.number().describe(\"Number of reserved agent slots.\").nullable().optional(),\n recommenderMetadata: PhantombusterGetScript_RecommenderMetadataSchema.nullable().optional(),\n reservedAgentSlotsFactor: z.number().describe(\"Factor for reserved agent slots.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch.\");\n\nexport const phantombusterGetScript = action(\"PHANTOMBUSTER_GET_SCRIPT\", {\n slug: \"phantombuster-get-script\",\n name: \"Get Script\",\n description: \"Tool to fetch a script by its unique ID. Use when you need to retrieve detailed metadata about a specific script, including its branches, visibility, and optionally its source code.\",\n input: PhantombusterGetScriptInput,\n output: PhantombusterGetScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CA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,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,qBAAqB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC1F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const PhantombusterGetScriptsCodeInput = zod.z.object({
8
8
  environment: zod.z.enum(["staging", "release"]).describe("Environment enum for script code fetching.").optional(),
9
9
  "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()
10
10
  }).describe("Request model for GET /scripts/code.");
11
- const PhantombusterGetScriptsCodeOutput = zod.z.object({ code: zod.z.string().describe("The code content of the requested script.") }).describe("Response schema for GET /scripts/code.");
11
+ const PhantombusterGetScriptsCodeOutput = zod.z.object({ code: zod.z.string().describe("The code content of the requested script.").nullable() }).passthrough().describe("Response schema for GET /scripts/code.");
12
12
  const phantombusterGetScriptsCode = require_action.action("PHANTOMBUSTER_GET_SCRIPTS_CODE", {
13
13
  slug: "phantombuster-get-scripts-code",
14
14
  name: "Get Script Code",
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-code.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput: z.ZodTypeAny = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").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}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"The code content of the requested script.\"),\n}).describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACvE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-scripts-code.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").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}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).passthrough().describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-scripts-code.d.ts
4
- declare const PhantombusterGetScriptsCodeInput: z.ZodTypeAny;
5
- declare const PhantombusterGetScriptsCodeOutput: z.ZodTypeAny;
6
- declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
5
+ org: z.ZodOptional<z.ZodString>;
6
+ branch: z.ZodOptional<z.ZodString>;
7
+ script: z.ZodString;
8
+ environment: z.ZodOptional<z.ZodEnum<{
9
+ staging: "staging";
10
+ release: "release";
11
+ }>>;
12
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
15
+ code: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>;
17
+ declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ script: string;
19
+ org?: string | undefined;
20
+ branch?: string | undefined;
21
+ environment?: "staging" | "release" | undefined;
22
+ "X-Phantombuster-Org"?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { phantombusterGetScriptsCode };
9
26
  //# sourceMappingURL=get-scripts-code.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-code.d.cts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAME;AAAA,cACtC,iCAAA,EAAmC,CAAA,CAAE,UAEG;AAAA,cAExC,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-scripts-code.d.cts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-scripts-code.d.ts
4
- declare const PhantombusterGetScriptsCodeInput: z.ZodTypeAny;
5
- declare const PhantombusterGetScriptsCodeOutput: z.ZodTypeAny;
6
- declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
5
+ org: z.ZodOptional<z.ZodString>;
6
+ branch: z.ZodOptional<z.ZodString>;
7
+ script: z.ZodString;
8
+ environment: z.ZodOptional<z.ZodEnum<{
9
+ staging: "staging";
10
+ release: "release";
11
+ }>>;
12
+ "X-Phantombuster-Org": z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
15
+ code: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>;
17
+ declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ script: string;
19
+ org?: string | undefined;
20
+ branch?: string | undefined;
21
+ environment?: "staging" | "release" | undefined;
22
+ "X-Phantombuster-Org"?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { phantombusterGetScriptsCode };
9
26
  //# sourceMappingURL=get-scripts-code.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-code.d.mts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAME;AAAA,cACtC,iCAAA,EAAmC,CAAA,CAAE,UAEG;AAAA,cAExC,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-scripts-code.d.mts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -11,7 +11,7 @@ const phantombusterGetScriptsCode = action("PHANTOMBUSTER_GET_SCRIPTS_CODE", {
11
11
  environment: z.enum(["staging", "release"]).describe("Environment enum for script code fetching.").optional(),
12
12
  "X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
13
13
  }).describe("Request model for GET /scripts/code."),
14
- output: z.object({ code: z.string().describe("The code content of the requested script.") }).describe("Response schema for GET /scripts/code.")
14
+ output: z.object({ code: z.string().describe("The code content of the requested script.").nullable() }).passthrough().describe("Response schema for GET /scripts/code.")
15
15
  });
16
16
  //#endregion
17
17
  export { phantombusterGetScriptsCode };
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-code.mjs","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput: z.ZodTypeAny = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").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}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"The code content of the requested script.\"),\n}).describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4D,EAAE,OAAO;EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACxE,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACvE,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-scripts-code.mjs","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").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}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).passthrough().describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACxE,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/get-scripts-fetch-all.ts
4
4
  const PhantombusterGetScriptsFetchAllInput = zod.z.object({}).describe("Request model for GET /scripts/fetch-all. No parameters required.");
5
5
  const PhantombusterGetScriptsFetchAll_ScriptSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the script"),
7
- url: zod.z.string().describe("URL associated with the script"),
8
- name: zod.z.string().describe("Name of the script"),
9
- nonce: zod.z.number().int().describe("Nonce associated with the script"),
10
- source: zod.z.string().describe("Source of the script"),
11
- httpHeaders: zod.z.object({}).describe("HTTP headers of the script, if any").nullable().optional(),
12
- lastSaveDate: zod.z.number().int().describe("Unix timestamp (ms) of the last save date")
13
- }).describe("Represents metadata for a single script.");
14
- const PhantombusterGetScriptsFetchAllOutput = zod.z.object({ scripts: zod.z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).describe("Response schema for GET /scripts/fetch-all.");
6
+ id: zod.z.string().describe("Unique identifier of the script").nullable(),
7
+ url: zod.z.string().describe("URL associated with the script").nullable(),
8
+ name: zod.z.string().describe("Name of the script").nullable(),
9
+ nonce: zod.z.number().int().describe("Nonce associated with the script").nullable(),
10
+ source: zod.z.string().describe("Source of the script").nullable(),
11
+ httpHeaders: zod.z.record(zod.z.string(), zod.z.unknown()).describe("HTTP headers of the script, if any").nullable().optional(),
12
+ lastSaveDate: zod.z.number().int().describe("Unix timestamp (ms) of the last save date").nullable()
13
+ }).passthrough().describe("Represents metadata for a single script.");
14
+ const PhantombusterGetScriptsFetchAllOutput = zod.z.object({ scripts: zod.z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).passthrough().describe("Response schema for GET /scripts/fetch-all.");
15
15
  const phantombusterGetScriptsFetchAll = require_action.action("PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL", {
16
16
  slug: "phantombuster-get-scripts-fetch-all",
17
17
  name: "Get All Scripts",
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the script\"),\n url: z.string().describe(\"URL associated with the script\"),\n name: z.string().describe(\"Name of the script\"),\n nonce: z.number().int().describe(\"Nonce associated with the script\"),\n source: z.string().describe(\"Source of the script\"),\n httpHeaders: z.object({}).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\"),\n}).describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput: z.ZodTypeAny = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC3J,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;AACrF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-scripts-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.record(z.string(), z.unknown()).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\").nullable(),\n}).passthrough().describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-scripts-fetch-all.d.ts
4
- declare const PhantombusterGetScriptsFetchAllInput: z.ZodTypeAny;
5
- declare const PhantombusterGetScriptsFetchAllOutput: z.ZodTypeAny;
6
- declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetScriptsFetchAllInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PhantombusterGetScriptsFetchAllOutput: z.ZodObject<{
6
+ scripts: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ url: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ nonce: z.ZodNullable<z.ZodNumber>;
11
+ source: z.ZodNullable<z.ZodString>;
12
+ httpHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ lastSaveDate: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { phantombusterGetScriptsFetchAll };
9
19
  //# sourceMappingURL=get-scripts-fetch-all.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAuG;AAAA,cAU/I,qCAAA,EAAuC,CAAA,CAAE,UAEI;AAAA,cAE7C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-scripts-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-scripts-fetch-all.d.ts
4
- declare const PhantombusterGetScriptsFetchAllInput: z.ZodTypeAny;
5
- declare const PhantombusterGetScriptsFetchAllOutput: z.ZodTypeAny;
6
- declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetScriptsFetchAllInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PhantombusterGetScriptsFetchAllOutput: z.ZodObject<{
6
+ scripts: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ url: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ nonce: z.ZodNullable<z.ZodNumber>;
11
+ source: z.ZodNullable<z.ZodString>;
12
+ httpHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ lastSaveDate: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { phantombusterGetScriptsFetchAll };
9
19
  //# sourceMappingURL=get-scripts-fetch-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAuG;AAAA,cAU/I,qCAAA,EAAuC,CAAA,CAAE,UAEI;AAAA,cAE7C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-scripts-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,20 +3,20 @@ import { z } from "zod";
3
3
  //#region src/actions/get-scripts-fetch-all.ts
4
4
  const PhantombusterGetScriptsFetchAllInput = z.object({}).describe("Request model for GET /scripts/fetch-all. No parameters required.");
5
5
  const PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({
6
- id: z.string().describe("Unique identifier of the script"),
7
- url: z.string().describe("URL associated with the script"),
8
- name: z.string().describe("Name of the script"),
9
- nonce: z.number().int().describe("Nonce associated with the script"),
10
- source: z.string().describe("Source of the script"),
11
- httpHeaders: z.object({}).describe("HTTP headers of the script, if any").nullable().optional(),
12
- lastSaveDate: z.number().int().describe("Unix timestamp (ms) of the last save date")
13
- }).describe("Represents metadata for a single script.");
6
+ id: z.string().describe("Unique identifier of the script").nullable(),
7
+ url: z.string().describe("URL associated with the script").nullable(),
8
+ name: z.string().describe("Name of the script").nullable(),
9
+ nonce: z.number().int().describe("Nonce associated with the script").nullable(),
10
+ source: z.string().describe("Source of the script").nullable(),
11
+ httpHeaders: z.record(z.string(), z.unknown()).describe("HTTP headers of the script, if any").nullable().optional(),
12
+ lastSaveDate: z.number().int().describe("Unix timestamp (ms) of the last save date").nullable()
13
+ }).passthrough().describe("Represents metadata for a single script.");
14
14
  const phantombusterGetScriptsFetchAll = action("PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL", {
15
15
  slug: "phantombuster-get-scripts-fetch-all",
16
16
  name: "Get All Scripts",
17
17
  description: "Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.",
18
18
  input: PhantombusterGetScriptsFetchAllInput,
19
- output: z.object({ scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).describe("Response schema for GET /scripts/fetch-all.")
19
+ output: z.object({ scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).passthrough().describe("Response schema for GET /scripts/fetch-all.")
20
20
  });
21
21
  //#endregion
22
22
  export { phantombusterGetScriptsFetchAll };
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the script\"),\n url: z.string().describe(\"URL associated with the script\"),\n name: z.string().describe(\"Name of the script\"),\n nonce: z.number().int().describe(\"Nonce associated with the script\"),\n source: z.string().describe(\"Source of the script\"),\n httpHeaders: z.object({}).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\"),\n}).describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput: z.ZodTypeAny = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC3J,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAClD,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;AACrF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.record(z.string(), z.unknown()).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\").nullable(),\n}).passthrough().describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -3,27 +3,27 @@ let zod = require("zod");
3
3
  //#region src/actions/get-user.ts
4
4
  const PhantombusterGetUserInput = zod.z.object({}).describe("No parameters are required for this endpoint.");
5
5
  const PhantombusterGetUser_AgentInfoSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique numeric identifier for the agent"),
7
- name: zod.z.string().describe("Display name of the agent"),
6
+ id: zod.z.number().int().describe("Unique numeric identifier for the agent").nullable(),
7
+ name: zod.z.string().describe("Display name of the agent").nullable(),
8
8
  scriptId: zod.z.number().int().describe("ID of the script associated with this agent").nullable().optional(),
9
9
  lastEndStatus: zod.z.string().describe("Last execution status (e.g., 'success', 'launch failed')").nullable().optional(),
10
10
  lastEndMessage: zod.z.string().describe("Last message when the agent finished execution").nullable().optional(),
11
11
  queuedContainers: zod.z.number().int().describe("Number of containers queued for this agent").nullable().optional(),
12
12
  runningContainers: zod.z.number().int().describe("Number of containers currently running for this agent").nullable().optional()
13
- }).describe("Information about a single agent in the user's account.");
13
+ }).passthrough().describe("Information about a single agent in the user's account.");
14
14
  const PhantombusterGetUser_UserDataSchema = zod.z.object({
15
- email: zod.z.string().describe("User's email address"),
15
+ email: zod.z.string().describe("User's email address").nullable(),
16
16
  agents: zod.z.array(PhantombusterGetUser_AgentInfoSchema).describe("List of agents associated with the user's account").nullable().optional(),
17
17
  timeLeft: zod.z.number().describe("Remaining execution time in milliseconds").nullable().optional(),
18
18
  emailsLeft: zod.z.number().describe("Number of emails remaining in quota").nullable().optional(),
19
19
  storageLeft: zod.z.number().describe("Remaining storage space in bytes").nullable().optional(),
20
20
  captchasLeft: zod.z.number().describe("Number of CAPTCHA solves remaining in quota").nullable().optional(),
21
21
  databaseLeft: zod.z.number().describe("Remaining database storage in bytes").nullable().optional()
22
- }).describe("User account data including quotas and agents.");
22
+ }).passthrough().describe("User account data including quotas and agents.");
23
23
  const PhantombusterGetUserOutput = zod.z.object({
24
24
  data: PhantombusterGetUser_UserDataSchema.nullable(),
25
- status: zod.z.string().describe("Response status (e.g., 'success')")
26
- }).describe("Response schema for GET_USER.");
25
+ status: zod.z.string().describe("Response status (e.g., 'success')").nullable()
26
+ }).passthrough().describe("Response schema for GET_USER.");
27
27
  const phantombusterGetUser = require_action.action("PHANTOMBUSTER_GET_USER", {
28
28
  slug: "phantombuster-get-user",
29
29
  name: "Get User Information",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\"),\n name: z.string().describe(\"Display name of the agent\"),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"User's email address\"),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput: z.ZodTypeAny = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\"),\n}).describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC5H,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAM,oCAAoC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAE3C,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,C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,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,oCAAoC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const PhantombusterGetUserInput: z.ZodTypeAny;
5
- declare const PhantombusterGetUserOutput: z.ZodTypeAny;
6
- declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PhantombusterGetUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PhantombusterGetUserOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ email: z.ZodNullable<z.ZodString>;
8
+ agents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ scriptId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ lastEndStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ lastEndMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ queuedContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ runningContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, z.core.$loose>>>>;
17
+ timeLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ emailsLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ storageLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ captchasLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ databaseLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$loose>;
25
+ declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { phantombusterGetUser };
9
28
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAmF;AAAA,cAmBhH,0BAAA,EAA4B,CAAA,CAAE,UAGC;AAAA,cAE/B,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}