@keystrokehq/phantombuster 0.1.5 → 0.1.6

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 (437) 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 +1 -0
  4. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  5. package/dist/actions/abort-agent-v1.d.cts +3 -16
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +3 -16
  8. package/dist/actions/abort-agent-v1.d.mts.map +1 -1
  9. package/dist/actions/abort-agent-v1.mjs +1 -0
  10. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  11. package/dist/actions/delete-agent.cjs +1 -0
  12. package/dist/actions/delete-agent.cjs.map +1 -1
  13. package/dist/actions/delete-agent.d.cts +3 -16
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +3 -16
  16. package/dist/actions/delete-agent.d.mts.map +1 -1
  17. package/dist/actions/delete-agent.mjs +1 -0
  18. package/dist/actions/delete-agent.mjs.map +1 -1
  19. package/dist/actions/delete-lead-objects.cjs +1 -0
  20. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  21. package/dist/actions/delete-lead-objects.d.cts +3 -17
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +3 -17
  24. package/dist/actions/delete-lead-objects.d.mts.map +1 -1
  25. package/dist/actions/delete-lead-objects.mjs +1 -0
  26. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  27. package/dist/actions/delete-leads-many.cjs +1 -0
  28. package/dist/actions/delete-leads-many.cjs.map +1 -1
  29. package/dist/actions/delete-leads-many.d.cts +3 -16
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +3 -16
  32. package/dist/actions/delete-leads-many.d.mts.map +1 -1
  33. package/dist/actions/delete-leads-many.mjs +1 -0
  34. package/dist/actions/delete-leads-many.mjs.map +1 -1
  35. package/dist/actions/delete-list.cjs +1 -0
  36. package/dist/actions/delete-list.cjs.map +1 -1
  37. package/dist/actions/delete-list.d.cts +3 -16
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +3 -16
  40. package/dist/actions/delete-list.d.mts.map +1 -1
  41. package/dist/actions/delete-list.mjs +1 -0
  42. package/dist/actions/delete-list.mjs.map +1 -1
  43. package/dist/actions/delete-script.cjs +1 -0
  44. package/dist/actions/delete-script.cjs.map +1 -1
  45. package/dist/actions/delete-script.d.cts +3 -18
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +3 -18
  48. package/dist/actions/delete-script.d.mts.map +1 -1
  49. package/dist/actions/delete-script.mjs +1 -0
  50. package/dist/actions/delete-script.mjs.map +1 -1
  51. package/dist/actions/get-agent-containers.cjs +1 -0
  52. package/dist/actions/get-agent-containers.cjs.map +1 -1
  53. package/dist/actions/get-agent-containers.d.cts +3 -15
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +3 -15
  56. package/dist/actions/get-agent-containers.d.mts.map +1 -1
  57. package/dist/actions/get-agent-containers.mjs +1 -0
  58. package/dist/actions/get-agent-containers.mjs.map +1 -1
  59. package/dist/actions/get-agent-output.cjs +1 -0
  60. package/dist/actions/get-agent-output.cjs.map +1 -1
  61. package/dist/actions/get-agent-output.d.cts +3 -19
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +3 -19
  64. package/dist/actions/get-agent-output.d.mts.map +1 -1
  65. package/dist/actions/get-agent-output.mjs +1 -0
  66. package/dist/actions/get-agent-output.mjs.map +1 -1
  67. package/dist/actions/get-agent.cjs +1 -0
  68. package/dist/actions/get-agent.cjs.map +1 -1
  69. package/dist/actions/get-agent.d.cts +3 -21
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +3 -21
  72. package/dist/actions/get-agent.d.mts.map +1 -1
  73. package/dist/actions/get-agent.mjs +1 -0
  74. package/dist/actions/get-agent.mjs.map +1 -1
  75. package/dist/actions/get-agents-fetch-all.cjs +1 -0
  76. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  77. package/dist/actions/get-agents-fetch-all.d.cts +3 -13
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +3 -13
  80. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
  81. package/dist/actions/get-agents-fetch-all.mjs +1 -0
  82. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  83. package/dist/actions/get-agents-fetch-deleted.cjs +1 -0
  84. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
  85. package/dist/actions/get-agents-fetch-deleted.d.cts +3 -13
  86. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  87. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -13
  88. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
  89. package/dist/actions/get-agents-fetch-deleted.mjs +1 -0
  90. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
  91. package/dist/actions/get-branches-diff.cjs +1 -0
  92. package/dist/actions/get-branches-diff.cjs.map +1 -1
  93. package/dist/actions/get-branches-diff.d.cts +3 -16
  94. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  95. package/dist/actions/get-branches-diff.d.mts +3 -16
  96. package/dist/actions/get-branches-diff.d.mts.map +1 -1
  97. package/dist/actions/get-branches-diff.mjs +1 -0
  98. package/dist/actions/get-branches-diff.mjs.map +1 -1
  99. package/dist/actions/get-branches-fetch-all.cjs +1 -0
  100. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  101. package/dist/actions/get-branches-fetch-all.d.cts +3 -13
  102. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  103. package/dist/actions/get-branches-fetch-all.d.mts +3 -13
  104. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
  105. package/dist/actions/get-branches-fetch-all.mjs +1 -0
  106. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  107. package/dist/actions/get-containers-fetch-all.cjs +1 -0
  108. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  109. package/dist/actions/get-containers-fetch-all.d.cts +3 -15
  110. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  111. package/dist/actions/get-containers-fetch-all.d.mts +3 -15
  112. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
  113. package/dist/actions/get-containers-fetch-all.mjs +1 -0
  114. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  115. package/dist/actions/get-leads-by-list.cjs +1 -0
  116. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  117. package/dist/actions/get-leads-by-list.d.cts +3 -25
  118. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  119. package/dist/actions/get-leads-by-list.d.mts +3 -25
  120. package/dist/actions/get-leads-by-list.d.mts.map +1 -1
  121. package/dist/actions/get-leads-by-list.mjs +1 -0
  122. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  123. package/dist/actions/get-location-ip.cjs +1 -0
  124. package/dist/actions/get-location-ip.cjs.map +1 -1
  125. package/dist/actions/get-location-ip.d.cts +3 -15
  126. package/dist/actions/get-location-ip.d.cts.map +1 -1
  127. package/dist/actions/get-location-ip.d.mts +3 -15
  128. package/dist/actions/get-location-ip.d.mts.map +1 -1
  129. package/dist/actions/get-location-ip.mjs +1 -0
  130. package/dist/actions/get-location-ip.mjs.map +1 -1
  131. package/dist/actions/get-org-storage-lists-fetch-all.cjs +1 -0
  132. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  133. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +3 -13
  134. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
  135. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +3 -13
  136. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
  137. package/dist/actions/get-org-storage-lists-fetch-all.mjs +1 -0
  138. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  139. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -0
  140. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  141. package/dist/actions/get-orgs-export-agent-usage.d.cts +3 -16
  142. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
  143. package/dist/actions/get-orgs-export-agent-usage.d.mts +3 -16
  144. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
  145. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -0
  146. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  147. package/dist/actions/get-orgs-export-container-usage.cjs +1 -0
  148. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  149. package/dist/actions/get-orgs-export-container-usage.d.cts +3 -16
  150. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
  151. package/dist/actions/get-orgs-export-container-usage.d.mts +3 -16
  152. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
  153. package/dist/actions/get-orgs-export-container-usage.mjs +1 -0
  154. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  155. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -0
  156. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  157. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +3 -15
  158. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
  159. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +3 -15
  160. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
  161. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -0
  162. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  163. package/dist/actions/get-orgs-fetch-resources.cjs +1 -0
  164. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  165. package/dist/actions/get-orgs-fetch-resources.d.cts +3 -13
  166. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  167. package/dist/actions/get-orgs-fetch-resources.d.mts +3 -13
  168. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
  169. package/dist/actions/get-orgs-fetch-resources.mjs +1 -0
  170. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  171. package/dist/actions/get-orgs-fetch-running-containers.cjs +1 -0
  172. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  173. package/dist/actions/get-orgs-fetch-running-containers.d.cts +3 -13
  174. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
  175. package/dist/actions/get-orgs-fetch-running-containers.d.mts +3 -13
  176. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
  177. package/dist/actions/get-orgs-fetch-running-containers.mjs +1 -0
  178. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  179. package/dist/actions/get-orgs-fetch.cjs +1 -0
  180. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  181. package/dist/actions/get-orgs-fetch.d.cts +3 -13
  182. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  183. package/dist/actions/get-orgs-fetch.d.mts +3 -13
  184. package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
  185. package/dist/actions/get-orgs-fetch.mjs +1 -0
  186. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  187. package/dist/actions/get-script-by-name.cjs +1 -0
  188. package/dist/actions/get-script-by-name.cjs.map +1 -1
  189. package/dist/actions/get-script-by-name.d.cts +3 -16
  190. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  191. package/dist/actions/get-script-by-name.d.mts +3 -16
  192. package/dist/actions/get-script-by-name.d.mts.map +1 -1
  193. package/dist/actions/get-script-by-name.mjs +1 -0
  194. package/dist/actions/get-script-by-name.mjs.map +1 -1
  195. package/dist/actions/get-script.cjs +1 -0
  196. package/dist/actions/get-script.cjs.map +1 -1
  197. package/dist/actions/get-script.d.cts +3 -19
  198. package/dist/actions/get-script.d.cts.map +1 -1
  199. package/dist/actions/get-script.d.mts +3 -19
  200. package/dist/actions/get-script.d.mts.map +1 -1
  201. package/dist/actions/get-script.mjs +1 -0
  202. package/dist/actions/get-script.mjs.map +1 -1
  203. package/dist/actions/get-scripts-code.cjs +1 -0
  204. package/dist/actions/get-scripts-code.cjs.map +1 -1
  205. package/dist/actions/get-scripts-code.d.cts +3 -19
  206. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  207. package/dist/actions/get-scripts-code.d.mts +3 -19
  208. package/dist/actions/get-scripts-code.d.mts.map +1 -1
  209. package/dist/actions/get-scripts-code.mjs +1 -0
  210. package/dist/actions/get-scripts-code.mjs.map +1 -1
  211. package/dist/actions/get-scripts-fetch-all.cjs +1 -0
  212. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  213. package/dist/actions/get-scripts-fetch-all.d.cts +3 -13
  214. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  215. package/dist/actions/get-scripts-fetch-all.d.mts +3 -13
  216. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
  217. package/dist/actions/get-scripts-fetch-all.mjs +1 -0
  218. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  219. package/dist/actions/get-user.cjs +1 -0
  220. package/dist/actions/get-user.cjs.map +1 -1
  221. package/dist/actions/get-user.d.cts +3 -13
  222. package/dist/actions/get-user.d.cts.map +1 -1
  223. package/dist/actions/get-user.d.mts +3 -13
  224. package/dist/actions/get-user.d.mts.map +1 -1
  225. package/dist/actions/get-user.mjs +1 -0
  226. package/dist/actions/get-user.mjs.map +1 -1
  227. package/dist/actions/post-agents-unschedule-all.cjs +1 -0
  228. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  229. package/dist/actions/post-agents-unschedule-all.d.cts +3 -13
  230. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  231. package/dist/actions/post-agents-unschedule-all.d.mts +3 -13
  232. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  233. package/dist/actions/post-agents-unschedule-all.mjs +1 -0
  234. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  235. package/dist/actions/post-ai-completions.cjs +1 -0
  236. package/dist/actions/post-ai-completions.cjs.map +1 -1
  237. package/dist/actions/post-ai-completions.d.cts +3 -21
  238. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  239. package/dist/actions/post-ai-completions.d.mts +3 -21
  240. package/dist/actions/post-ai-completions.d.mts.map +1 -1
  241. package/dist/actions/post-ai-completions.mjs +1 -0
  242. package/dist/actions/post-ai-completions.mjs.map +1 -1
  243. package/dist/actions/post-branches-create.cjs +1 -0
  244. package/dist/actions/post-branches-create.cjs.map +1 -1
  245. package/dist/actions/post-branches-create.d.cts +3 -16
  246. package/dist/actions/post-branches-create.d.cts.map +1 -1
  247. package/dist/actions/post-branches-create.d.mts +3 -16
  248. package/dist/actions/post-branches-create.d.mts.map +1 -1
  249. package/dist/actions/post-branches-create.mjs +1 -0
  250. package/dist/actions/post-branches-create.mjs.map +1 -1
  251. package/dist/actions/post-branches-delete.cjs +1 -0
  252. package/dist/actions/post-branches-delete.cjs.map +1 -1
  253. package/dist/actions/post-branches-delete.d.cts +3 -15
  254. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  255. package/dist/actions/post-branches-delete.d.mts +3 -15
  256. package/dist/actions/post-branches-delete.d.mts.map +1 -1
  257. package/dist/actions/post-branches-delete.mjs +1 -0
  258. package/dist/actions/post-branches-delete.mjs.map +1 -1
  259. package/dist/actions/post-hcaptcha.cjs +1 -0
  260. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  261. package/dist/actions/post-hcaptcha.d.cts +3 -18
  262. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  263. package/dist/actions/post-hcaptcha.d.mts +3 -18
  264. package/dist/actions/post-hcaptcha.d.mts.map +1 -1
  265. package/dist/actions/post-hcaptcha.mjs +1 -0
  266. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  267. package/dist/actions/post-identities-generate-token.cjs +1 -0
  268. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  269. package/dist/actions/post-identities-generate-token.d.cts +3 -13
  270. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  271. package/dist/actions/post-identities-generate-token.d.mts +3 -13
  272. package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
  273. package/dist/actions/post-identities-generate-token.mjs +1 -0
  274. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  275. package/dist/actions/post-org-storage-leads-save-many.cjs +1 -0
  276. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  277. package/dist/actions/post-org-storage-leads-save-many.d.cts +3 -73
  278. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
  279. package/dist/actions/post-org-storage-leads-save-many.d.mts +3 -73
  280. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
  281. package/dist/actions/post-org-storage-leads-save-many.mjs +1 -0
  282. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  283. package/dist/actions/post-recaptcha.cjs +1 -0
  284. package/dist/actions/post-recaptcha.cjs.map +1 -1
  285. package/dist/actions/post-recaptcha.d.cts +3 -19
  286. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  287. package/dist/actions/post-recaptcha.d.mts +3 -19
  288. package/dist/actions/post-recaptcha.d.mts.map +1 -1
  289. package/dist/actions/post-recaptcha.mjs +1 -0
  290. package/dist/actions/post-recaptcha.mjs.map +1 -1
  291. package/dist/actions/post-scripts-visibility.cjs +1 -0
  292. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  293. package/dist/actions/post-scripts-visibility.d.cts +3 -18
  294. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  295. package/dist/actions/post-scripts-visibility.d.mts +3 -18
  296. package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
  297. package/dist/actions/post-scripts-visibility.mjs +1 -0
  298. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  299. package/dist/actions/release-branch.cjs +1 -0
  300. package/dist/actions/release-branch.cjs.map +1 -1
  301. package/dist/actions/release-branch.d.cts +3 -17
  302. package/dist/actions/release-branch.d.cts.map +1 -1
  303. package/dist/actions/release-branch.d.mts +3 -17
  304. package/dist/actions/release-branch.d.mts.map +1 -1
  305. package/dist/actions/release-branch.mjs +1 -0
  306. package/dist/actions/release-branch.mjs.map +1 -1
  307. package/dist/actions/save-agent-groups.cjs +1 -0
  308. package/dist/actions/save-agent-groups.cjs.map +1 -1
  309. package/dist/actions/save-agent-groups.d.cts +3 -21
  310. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  311. package/dist/actions/save-agent-groups.d.mts +3 -21
  312. package/dist/actions/save-agent-groups.d.mts.map +1 -1
  313. package/dist/actions/save-agent-groups.mjs +1 -0
  314. package/dist/actions/save-agent-groups.mjs.map +1 -1
  315. package/dist/actions/save-agent.cjs +1 -0
  316. package/dist/actions/save-agent.cjs.map +1 -1
  317. package/dist/actions/save-agent.d.cts +3 -78
  318. package/dist/actions/save-agent.d.cts.map +1 -1
  319. package/dist/actions/save-agent.d.mts +3 -78
  320. package/dist/actions/save-agent.d.mts.map +1 -1
  321. package/dist/actions/save-agent.mjs +1 -0
  322. package/dist/actions/save-agent.mjs.map +1 -1
  323. package/dist/actions/save-company-object.cjs +1 -0
  324. package/dist/actions/save-company-object.cjs.map +1 -1
  325. package/dist/actions/save-company-object.d.cts +3 -20
  326. package/dist/actions/save-company-object.d.cts.map +1 -1
  327. package/dist/actions/save-company-object.d.mts +3 -20
  328. package/dist/actions/save-company-object.d.mts.map +1 -1
  329. package/dist/actions/save-company-object.mjs +1 -0
  330. package/dist/actions/save-company-object.mjs.map +1 -1
  331. package/dist/actions/save-company-objects-many.cjs +1 -0
  332. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  333. package/dist/actions/save-company-objects-many.d.cts +3 -23
  334. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  335. package/dist/actions/save-company-objects-many.d.mts +3 -23
  336. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  337. package/dist/actions/save-company-objects-many.mjs +1 -0
  338. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  339. package/dist/actions/save-identity-event.cjs +1 -0
  340. package/dist/actions/save-identity-event.cjs.map +1 -1
  341. package/dist/actions/save-identity-event.d.cts +3 -19
  342. package/dist/actions/save-identity-event.d.cts.map +1 -1
  343. package/dist/actions/save-identity-event.d.mts +3 -19
  344. package/dist/actions/save-identity-event.d.mts.map +1 -1
  345. package/dist/actions/save-identity-event.mjs +1 -0
  346. package/dist/actions/save-identity-event.mjs.map +1 -1
  347. package/dist/actions/save-lead-object.cjs +1 -0
  348. package/dist/actions/save-lead-object.cjs.map +1 -1
  349. package/dist/actions/save-lead-object.d.cts +3 -22
  350. package/dist/actions/save-lead-object.d.cts.map +1 -1
  351. package/dist/actions/save-lead-object.d.mts +3 -22
  352. package/dist/actions/save-lead-object.d.mts.map +1 -1
  353. package/dist/actions/save-lead-object.mjs +1 -0
  354. package/dist/actions/save-lead-object.mjs.map +1 -1
  355. package/dist/actions/save-lead.cjs +1 -0
  356. package/dist/actions/save-lead.cjs.map +1 -1
  357. package/dist/actions/save-lead.d.cts +3 -70
  358. package/dist/actions/save-lead.d.cts.map +1 -1
  359. package/dist/actions/save-lead.d.mts +3 -70
  360. package/dist/actions/save-lead.d.mts.map +1 -1
  361. package/dist/actions/save-lead.mjs +1 -0
  362. package/dist/actions/save-lead.mjs.map +1 -1
  363. package/dist/actions/save-leads-objects-many.cjs +1 -0
  364. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  365. package/dist/actions/save-leads-objects-many.d.cts +3 -25
  366. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  367. package/dist/actions/save-leads-objects-many.d.mts +3 -25
  368. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  369. package/dist/actions/save-leads-objects-many.mjs +1 -0
  370. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  371. package/dist/actions/save-list.cjs +1 -0
  372. package/dist/actions/save-list.cjs.map +1 -1
  373. package/dist/actions/save-list.d.cts +3 -20
  374. package/dist/actions/save-list.d.cts.map +1 -1
  375. package/dist/actions/save-list.d.mts +3 -20
  376. package/dist/actions/save-list.d.mts.map +1 -1
  377. package/dist/actions/save-list.mjs +1 -0
  378. package/dist/actions/save-list.mjs.map +1 -1
  379. package/dist/actions/save-script.cjs +1 -0
  380. package/dist/actions/save-script.cjs.map +1 -1
  381. package/dist/actions/save-script.d.cts +3 -31
  382. package/dist/actions/save-script.d.cts.map +1 -1
  383. package/dist/actions/save-script.d.mts +3 -31
  384. package/dist/actions/save-script.d.mts.map +1 -1
  385. package/dist/actions/save-script.mjs +1 -0
  386. package/dist/actions/save-script.mjs.map +1 -1
  387. package/dist/actions/search-company-objects.cjs +1 -0
  388. package/dist/actions/search-company-objects.cjs.map +1 -1
  389. package/dist/actions/search-company-objects.d.cts +3 -18
  390. package/dist/actions/search-company-objects.d.cts.map +1 -1
  391. package/dist/actions/search-company-objects.d.mts +3 -18
  392. package/dist/actions/search-company-objects.d.mts.map +1 -1
  393. package/dist/actions/search-company-objects.mjs +1 -0
  394. package/dist/actions/search-company-objects.mjs.map +1 -1
  395. package/dist/actions/search-lead-objects.cjs +1 -0
  396. package/dist/actions/search-lead-objects.cjs.map +1 -1
  397. package/dist/actions/search-lead-objects.d.cts +3 -18
  398. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  399. package/dist/actions/search-lead-objects.d.mts +3 -18
  400. package/dist/actions/search-lead-objects.d.mts.map +1 -1
  401. package/dist/actions/search-lead-objects.mjs +1 -0
  402. package/dist/actions/search-lead-objects.mjs.map +1 -1
  403. package/dist/actions/stop-agent.cjs +1 -0
  404. package/dist/actions/stop-agent.cjs.map +1 -1
  405. package/dist/actions/stop-agent.d.cts +3 -19
  406. package/dist/actions/stop-agent.d.cts.map +1 -1
  407. package/dist/actions/stop-agent.d.mts +3 -19
  408. package/dist/actions/stop-agent.d.mts.map +1 -1
  409. package/dist/actions/stop-agent.mjs +1 -0
  410. package/dist/actions/stop-agent.mjs.map +1 -1
  411. package/dist/actions/update-script.cjs +1 -0
  412. package/dist/actions/update-script.cjs.map +1 -1
  413. package/dist/actions/update-script.d.cts +3 -17
  414. package/dist/actions/update-script.d.cts.map +1 -1
  415. package/dist/actions/update-script.d.mts +3 -17
  416. package/dist/actions/update-script.d.mts.map +1 -1
  417. package/dist/actions/update-script.mjs +1 -0
  418. package/dist/actions/update-script.mjs.map +1 -1
  419. package/dist/actions/update-scripts-access-list.cjs +1 -0
  420. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  421. package/dist/actions/update-scripts-access-list.d.cts +3 -19
  422. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  423. package/dist/actions/update-scripts-access-list.d.mts +3 -19
  424. package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
  425. package/dist/actions/update-scripts-access-list.mjs +1 -0
  426. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  427. package/dist/app.cjs +2 -2
  428. package/dist/app.cjs.map +1 -1
  429. package/dist/app.d.cts +4 -6
  430. package/dist/app.d.cts.map +1 -1
  431. package/dist/app.d.mts +4 -6
  432. package/dist/app.d.mts.map +1 -1
  433. package/dist/app.mjs +0 -1
  434. package/dist/app.mjs.map +1 -1
  435. package/dist/index.d.cts +1 -1
  436. package/dist/index.d.mts +1 -1
  437. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-orgs-fetch.d.ts
@@ -9,19 +11,7 @@ declare const PhantombusterGetOrgsFetchOutput: z.ZodObject<{
9
11
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
10
12
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
11
13
  }, z.core.$loose>;
12
- declare const phantombusterGetOrgsFetch: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const phantombusterGetOrgsFetch: AppAction<typeof PhantombusterGetOrgsFetchInput, typeof PhantombusterGetOrgsFetchOutput, typeof phantombuster.credential>;
25
15
  //#endregion
26
16
  export { phantombusterGetOrgsFetch };
27
17
  //# sourceMappingURL=get-orgs-fetch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-orgs-fetch.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-orgs-fetch.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-orgs-fetch.d.ts
@@ -9,19 +11,7 @@ declare const PhantombusterGetOrgsFetchOutput: z.ZodObject<{
9
11
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
10
12
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
11
13
  }, z.core.$loose>;
12
- declare const phantombusterGetOrgsFetch: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const phantombusterGetOrgsFetch: AppAction<typeof PhantombusterGetOrgsFetchInput, typeof PhantombusterGetOrgsFetchOutput, typeof phantombuster.credential>;
25
15
  //#endregion
26
16
  export { phantombusterGetOrgsFetch };
27
17
  //# sourceMappingURL=get-orgs-fetch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-orgs-fetch.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-orgs-fetch.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const phantombusterGetOrgsFetch = action("PHANTOMBUSTER_GET_ORGS_FETCH", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-orgs-fetch.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nexport const PhantombusterGetOrgsFetchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the organization.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.\");\n\nexport const phantombusterGetOrgsFetch = action(\"PHANTOMBUSTER_GET_ORGS_FETCH\", {\n slug: \"phantombuster-get-orgs-fetch\",\n name: \"Get Organization\",\n description: \"Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.\",\n input: PhantombusterGetOrgsFetchInput,\n output: PhantombusterGetOrgsFetchOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAa3D;CACP,QAb6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EACjD,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-orgs-fetch.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\n\nexport const PhantombusterGetOrgsFetchInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nexport const PhantombusterGetOrgsFetchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the organization.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.\");\n\nexport const phantombusterGetOrgsFetch: AppAction<\n typeof PhantombusterGetOrgsFetchInput,\n typeof PhantombusterGetOrgsFetchOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_GET_ORGS_FETCH\", {\n slug: \"phantombuster-get-orgs-fetch\",\n name: \"Get Organization\",\n description: \"Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.\",\n input: PhantombusterGetOrgsFetchInput,\n output: PhantombusterGetOrgsFetchOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAiB3D;CACP,QAjB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EACjD,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-script-by-name.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-script-by-name.cjs","names":["z","action"],"sources":["../../src/actions/get-script-by-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptByNameInput = z.object({\n mode: z.enum([\"json\"]).default(\"json\").describe(\"Response format: 'json' returns structured metadata.\").optional(),\n name: z.string().describe(\"Name of the script to retrieve, with its extension (.js or .coffee).\"),\n}).describe(\"Request model for GET /api/v1/script/by-name/{mode}/{name}.\");\nconst PhantombusterGetScriptByName_ScriptDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the script\").nullable().optional(),\n url: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the script\").nullable().optional(),\n text: z.string().describe(\"Script contents (omitted if withoutText=true)\").nullable().optional(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable().optional(),\n source: z.string().describe(\"Source of the script (e.g., 'phantombuster')\").nullable().optional(),\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 of the last save date\").nullable().optional(),\n}).passthrough().describe(\"Represents the script metadata and content.\");\nexport const PhantombusterGetScriptByNameOutput = z.object({\n data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /api/v1/script/by-name/{mode}/{name}.\");\n\nexport const phantombusterGetScriptByName = action(\"PHANTOMBUSTER_GET_SCRIPT_BY_NAME\", {\n slug: \"phantombuster-get-script-by-name\",\n name: \"Get Script by Name\",\n description: \"Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.\",\n input: PhantombusterGetScriptByNameInput,\n output: PhantombusterGetScriptByNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD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AA8C,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-script-by-name.cjs","names":["z","action"],"sources":["../../src/actions/get-script-by-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\n\nexport const PhantombusterGetScriptByNameInput = z.object({\n mode: z.enum([\"json\"]).default(\"json\").describe(\"Response format: 'json' returns structured metadata.\").optional(),\n name: z.string().describe(\"Name of the script to retrieve, with its extension (.js or .coffee).\"),\n}).describe(\"Request model for GET /api/v1/script/by-name/{mode}/{name}.\");\nconst PhantombusterGetScriptByName_ScriptDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the script\").nullable().optional(),\n url: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the script\").nullable().optional(),\n text: z.string().describe(\"Script contents (omitted if withoutText=true)\").nullable().optional(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable().optional(),\n source: z.string().describe(\"Source of the script (e.g., 'phantombuster')\").nullable().optional(),\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 of the last save date\").nullable().optional(),\n}).passthrough().describe(\"Represents the script metadata and content.\");\nexport const PhantombusterGetScriptByNameOutput = z.object({\n data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /api/v1/script/by-name/{mode}/{name}.\");\n\nexport const phantombusterGetScriptByName: AppAction<\n typeof PhantombusterGetScriptByNameInput,\n typeof PhantombusterGetScriptByNameOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_GET_SCRIPT_BY_NAME\", {\n slug: \"phantombuster-get-script-by-name\",\n name: \"Get Script by Name\",\n description: \"Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.\",\n input: PhantombusterGetScriptByNameInput,\n output: PhantombusterGetScriptByNameOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAClG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-script-by-name.d.ts
@@ -20,22 +22,7 @@ declare const PhantombusterGetScriptByNameOutput: z.ZodObject<{
20
22
  }, z.core.$loose>>>;
21
23
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const phantombusterGetScriptByName: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- name: string;
25
- mode?: "json" | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
25
+ declare const phantombusterGetScriptByName: AppAction<typeof PhantombusterGetScriptByNameInput, typeof PhantombusterGetScriptByNameOutput, typeof phantombuster.credential>;
39
26
  //#endregion
40
27
  export { phantombusterGetScriptByName };
41
28
  //# sourceMappingURL=get-script-by-name.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-script-by-name.d.cts","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-script-by-name.d.cts","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-script-by-name.d.ts
@@ -20,22 +22,7 @@ declare const PhantombusterGetScriptByNameOutput: z.ZodObject<{
20
22
  }, z.core.$loose>>>;
21
23
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const phantombusterGetScriptByName: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- name: string;
25
- mode?: "json" | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
25
+ declare const phantombusterGetScriptByName: AppAction<typeof PhantombusterGetScriptByNameInput, typeof PhantombusterGetScriptByNameOutput, typeof phantombuster.credential>;
39
26
  //#endregion
40
27
  export { phantombusterGetScriptByName };
41
28
  //# sourceMappingURL=get-script-by-name.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-script-by-name.d.mts","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-script-by-name.d.mts","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-script-by-name.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-script-by-name.mjs","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptByNameInput = z.object({\n mode: z.enum([\"json\"]).default(\"json\").describe(\"Response format: 'json' returns structured metadata.\").optional(),\n name: z.string().describe(\"Name of the script to retrieve, with its extension (.js or .coffee).\"),\n}).describe(\"Request model for GET /api/v1/script/by-name/{mode}/{name}.\");\nconst PhantombusterGetScriptByName_ScriptDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the script\").nullable().optional(),\n url: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the script\").nullable().optional(),\n text: z.string().describe(\"Script contents (omitted if withoutText=true)\").nullable().optional(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable().optional(),\n source: z.string().describe(\"Source of the script (e.g., 'phantombuster')\").nullable().optional(),\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 of the last save date\").nullable().optional(),\n}).passthrough().describe(\"Represents the script metadata and content.\");\nexport const PhantombusterGetScriptByNameOutput = z.object({\n data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /api/v1/script/by-name/{mode}/{name}.\");\n\nexport const phantombusterGetScriptByName = action(\"PHANTOMBUSTER_GET_SCRIPT_BY_NAME\", {\n slug: \"phantombuster-get-script-by-name\",\n name: \"Get Script by Name\",\n description: \"Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.\",\n input: PhantombusterGetScriptByNameInput,\n output: PhantombusterGetScriptByNameOutput,\n});\n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N,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-script-by-name.mjs","names":[],"sources":["../../src/actions/get-script-by-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\n\nexport const PhantombusterGetScriptByNameInput = z.object({\n mode: z.enum([\"json\"]).default(\"json\").describe(\"Response format: 'json' returns structured metadata.\").optional(),\n name: z.string().describe(\"Name of the script to retrieve, with its extension (.js or .coffee).\"),\n}).describe(\"Request model for GET /api/v1/script/by-name/{mode}/{name}.\");\nconst PhantombusterGetScriptByName_ScriptDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the script\").nullable().optional(),\n url: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the script\").nullable().optional(),\n text: z.string().describe(\"Script contents (omitted if withoutText=true)\").nullable().optional(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable().optional(),\n source: z.string().describe(\"Source of the script (e.g., 'phantombuster')\").nullable().optional(),\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 of the last save date\").nullable().optional(),\n}).passthrough().describe(\"Represents the script metadata and content.\");\nexport const PhantombusterGetScriptByNameOutput = z.object({\n data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /api/v1/script/by-name/{mode}/{name}.\");\n\nexport const phantombusterGetScriptByName: AppAction<\n typeof PhantombusterGetScriptByNameInput,\n typeof PhantombusterGetScriptByNameOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_GET_SCRIPT_BY_NAME\", {\n slug: \"phantombuster-get-script-by-name\",\n name: \"Get Script by Name\",\n description: \"Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.\",\n input: PhantombusterGetScriptByNameInput,\n output: PhantombusterGetScriptByNameOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAClG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-script.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-script.cjs","names":["z","action"],"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,8BA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ACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-script.cjs","names":["z","action"],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\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: AppAction<\n typeof PhantombusterGetScriptInput,\n typeof PhantombusterGetScriptOutput,\n typeof phantombuster.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA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AQ,CAAC,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpR,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,qBAAqB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC1F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-script.d.ts
@@ -59,25 +61,7 @@ declare const PhantombusterGetScriptOutput: z.ZodObject<{
59
61
  }, z.core.$loose>>>;
60
62
  reservedAgentSlotsFactor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
63
  }, 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<"phantombuster", z.ZodObject<{
69
- connectionId: z.ZodString;
70
- entityId: z.ZodString;
71
- instanceId: z.ZodString;
72
- }, z.core.$strip>, z.ZodObject<{
73
- generic_api_key: z.ZodString;
74
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
75
- connectionId: z.ZodString;
76
- entityId: z.ZodString;
77
- instanceId: z.ZodString;
78
- }, z.core.$strip>, z.ZodObject<{
79
- generic_api_key: z.ZodString;
80
- }, z.core.$strip>>]>;
64
+ declare const phantombusterGetScript: AppAction<typeof PhantombusterGetScriptInput, typeof PhantombusterGetScriptOutput, typeof phantombuster.credential>;
81
65
  //#endregion
82
66
  export { phantombusterGetScript };
83
67
  //# sourceMappingURL=get-script.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-script.d.cts","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"}
1
+ {"version":3,"file":"get-script.d.cts","names":[],"sources":["../../src/actions/get-script.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-script.d.ts
@@ -59,25 +61,7 @@ declare const PhantombusterGetScriptOutput: z.ZodObject<{
59
61
  }, z.core.$loose>>>;
60
62
  reservedAgentSlotsFactor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
63
  }, 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<"phantombuster", z.ZodObject<{
69
- connectionId: z.ZodString;
70
- entityId: z.ZodString;
71
- instanceId: z.ZodString;
72
- }, z.core.$strip>, z.ZodObject<{
73
- generic_api_key: z.ZodString;
74
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
75
- connectionId: z.ZodString;
76
- entityId: z.ZodString;
77
- instanceId: z.ZodString;
78
- }, z.core.$strip>, z.ZodObject<{
79
- generic_api_key: z.ZodString;
80
- }, z.core.$strip>>]>;
64
+ declare const phantombusterGetScript: AppAction<typeof PhantombusterGetScriptInput, typeof PhantombusterGetScriptOutput, typeof phantombuster.credential>;
81
65
  //#endregion
82
66
  export { phantombusterGetScript };
83
67
  //# 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,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-script.d.mts","names":[],"sources":["../../src/actions/get-script.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-script.ts
@@ -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.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;CAC9G,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAA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AAS,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"}
1
+ {"version":3,"file":"get-script.mjs","names":[],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\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: AppAction<\n typeof PhantombusterGetScriptInput,\n typeof PhantombusterGetScriptOutput,\n typeof phantombuster.credential\n> = 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":";;;;AAMA,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;CAC9G,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,uBAAuB,EAAE,OAAO,CAAC,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C,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,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-scripts-code.ts
@@ -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.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
+ {"version":3,"file":"get-scripts-code.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\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: AppAction<\n typeof PhantombusterGetScriptsCodeInput,\n typeof PhantombusterGetScriptsCodeOutput,\n typeof phantombuster.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-scripts-code.d.ts
@@ -14,25 +16,7 @@ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
14
16
  declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
15
17
  code: z.ZodNullable<z.ZodString>;
16
18
  }, 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<"phantombuster", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
19
+ declare const phantombusterGetScriptsCode: AppAction<typeof PhantombusterGetScriptsCodeInput, typeof PhantombusterGetScriptsCodeOutput, typeof phantombuster.credential>;
36
20
  //#endregion
37
21
  export { phantombusterGetScriptsCode };
38
22
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-scripts-code.d.cts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-scripts-code.d.ts
@@ -14,25 +16,7 @@ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
14
16
  declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
15
17
  code: z.ZodNullable<z.ZodString>;
16
18
  }, 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<"phantombuster", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
19
+ declare const phantombusterGetScriptsCode: AppAction<typeof PhantombusterGetScriptsCodeInput, typeof PhantombusterGetScriptsCodeOutput, typeof phantombuster.credential>;
36
20
  //#endregion
37
21
  export { phantombusterGetScriptsCode };
38
22
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-scripts-code.d.mts","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const phantombusterGetScriptsCode = action("PHANTOMBUSTER_GET_SCRIPTS_CODE", {
@@ -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.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"}
1
+ {"version":3,"file":"get-scripts-code.mjs","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\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: AppAction<\n typeof PhantombusterGetScriptsCodeInput,\n typeof PhantombusterGetScriptsCodeOutput,\n typeof phantombuster.credential\n> = 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":";;;AAiBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8C,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,sCAaH;CACP,QAb+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-scripts-fetch-all.ts
@@ -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.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
+ {"version":3,"file":"get-scripts-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { phantombuster } from \"../app\";\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: AppAction<\n typeof PhantombusterGetScriptsFetchAllInput,\n typeof PhantombusterGetScriptsFetchAllOutput,\n typeof phantombuster.credential\n> = 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":";;;;AAMA,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,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-scripts-fetch-all.d.ts
@@ -13,19 +15,7 @@ declare const PhantombusterGetScriptsFetchAllOutput: z.ZodObject<{
13
15
  lastSaveDate: z.ZodNullable<z.ZodNumber>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
18
+ declare const phantombusterGetScriptsFetchAll: AppAction<typeof PhantombusterGetScriptsFetchAllInput, typeof PhantombusterGetScriptsFetchAllOutput, typeof phantombuster.credential>;
29
19
  //#endregion
30
20
  export { phantombusterGetScriptsFetchAll };
31
21
  //# 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,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,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-scripts-fetch-all.d.cts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,aAAA,CAAc,UAAA"}