@keystrokehq/phantombuster 0.1.4 → 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 -4
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +3 -4
  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 -4
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +3 -4
  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 -5
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +3 -5
  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 -4
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +3 -4
  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 -4
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +3 -4
  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 -6
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +3 -6
  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 -3
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +3 -3
  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 -7
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +3 -7
  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 -9
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +3 -9
  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 -1
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +3 -1
  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 -1
  86. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  87. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -1
  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 -4
  94. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  95. package/dist/actions/get-branches-diff.d.mts +3 -4
  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 -1
  102. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  103. package/dist/actions/get-branches-fetch-all.d.mts +3 -1
  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 -3
  110. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  111. package/dist/actions/get-containers-fetch-all.d.mts +3 -3
  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 -13
  118. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  119. package/dist/actions/get-leads-by-list.d.mts +3 -13
  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 -3
  126. package/dist/actions/get-location-ip.d.cts.map +1 -1
  127. package/dist/actions/get-location-ip.d.mts +3 -3
  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 -1
  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 -1
  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 -4
  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 -4
  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 -4
  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 -4
  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 -3
  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 -3
  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 -1
  166. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  167. package/dist/actions/get-orgs-fetch-resources.d.mts +3 -1
  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 -1
  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 -1
  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 -1
  182. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  183. package/dist/actions/get-orgs-fetch.d.mts +3 -1
  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 -4
  190. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  191. package/dist/actions/get-script-by-name.d.mts +3 -4
  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 -7
  198. package/dist/actions/get-script.d.cts.map +1 -1
  199. package/dist/actions/get-script.d.mts +3 -7
  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 -7
  206. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  207. package/dist/actions/get-scripts-code.d.mts +3 -7
  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 -1
  214. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  215. package/dist/actions/get-scripts-fetch-all.d.mts +3 -1
  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 -1
  222. package/dist/actions/get-user.d.cts.map +1 -1
  223. package/dist/actions/get-user.d.mts +3 -1
  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 -1
  230. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  231. package/dist/actions/post-agents-unschedule-all.d.mts +3 -1
  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 -9
  238. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  239. package/dist/actions/post-ai-completions.d.mts +3 -9
  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 -4
  246. package/dist/actions/post-branches-create.d.cts.map +1 -1
  247. package/dist/actions/post-branches-create.d.mts +3 -4
  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 -3
  254. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  255. package/dist/actions/post-branches-delete.d.mts +3 -3
  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 -6
  262. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  263. package/dist/actions/post-hcaptcha.d.mts +3 -6
  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 -1
  270. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  271. package/dist/actions/post-identities-generate-token.d.mts +3 -1
  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 -61
  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 -61
  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 -7
  286. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  287. package/dist/actions/post-recaptcha.d.mts +3 -7
  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 -6
  294. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  295. package/dist/actions/post-scripts-visibility.d.mts +3 -6
  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 -5
  302. package/dist/actions/release-branch.d.cts.map +1 -1
  303. package/dist/actions/release-branch.d.mts +3 -5
  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 -9
  310. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  311. package/dist/actions/save-agent-groups.d.mts +3 -9
  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 -66
  318. package/dist/actions/save-agent.d.cts.map +1 -1
  319. package/dist/actions/save-agent.d.mts +3 -66
  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 -8
  326. package/dist/actions/save-company-object.d.cts.map +1 -1
  327. package/dist/actions/save-company-object.d.mts +3 -8
  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 -11
  334. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  335. package/dist/actions/save-company-objects-many.d.mts +3 -11
  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 -7
  342. package/dist/actions/save-identity-event.d.cts.map +1 -1
  343. package/dist/actions/save-identity-event.d.mts +3 -7
  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 -10
  350. package/dist/actions/save-lead-object.d.cts.map +1 -1
  351. package/dist/actions/save-lead-object.d.mts +3 -10
  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 -58
  358. package/dist/actions/save-lead.d.cts.map +1 -1
  359. package/dist/actions/save-lead.d.mts +3 -58
  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 -13
  366. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  367. package/dist/actions/save-leads-objects-many.d.mts +3 -13
  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 -8
  374. package/dist/actions/save-list.d.cts.map +1 -1
  375. package/dist/actions/save-list.d.mts +3 -8
  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 -19
  382. package/dist/actions/save-script.d.cts.map +1 -1
  383. package/dist/actions/save-script.d.mts +3 -19
  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 -6
  390. package/dist/actions/search-company-objects.d.cts.map +1 -1
  391. package/dist/actions/search-company-objects.d.mts +3 -6
  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 -6
  398. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  399. package/dist/actions/search-lead-objects.d.mts +3 -6
  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 -7
  406. package/dist/actions/stop-agent.d.cts.map +1 -1
  407. package/dist/actions/stop-agent.d.mts +3 -7
  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 -5
  414. package/dist/actions/update-script.d.cts.map +1 -1
  415. package/dist/actions/update-script.d.mts +3 -5
  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 -7
  422. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  423. package/dist/actions/update-scripts-access-list.d.mts +3 -7
  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 +5 -2
  428. package/dist/app.cjs.map +1 -1
  429. package/dist/app.d.cts +7 -1
  430. package/dist/app.d.cts.map +1 -1
  431. package/dist/app.d.mts +7 -1
  432. package/dist/app.d.mts.map +1 -1
  433. package/dist/app.mjs +3 -2
  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 +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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const phantombusterGetScriptsFetchAll: AppAction<typeof PhantombusterGetScriptsFetchAllInput, typeof PhantombusterGetScriptsFetchAllOutput, typeof phantombuster.credential>;
17
19
  //#endregion
18
20
  export { phantombusterGetScriptsFetchAll };
19
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,4CAAA,UAAA"}
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"}
@@ -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-fetch-all.d.ts
@@ -13,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const phantombusterGetScriptsFetchAll: AppAction<typeof PhantombusterGetScriptsFetchAllInput, typeof PhantombusterGetScriptsFetchAllOutput, typeof phantombuster.credential>;
17
19
  //#endregion
18
20
  export { phantombusterGetScriptsFetchAll };
19
21
  //# sourceMappingURL=get-scripts-fetch-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.d.mts","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-scripts-fetch-all.d.mts","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"}
@@ -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-scripts-fetch-all.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.record(z.string(), z.unknown()).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\").nullable(),\n}).passthrough().describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"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,uCAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,oCAAoC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.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 PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser: AppAction<\n typeof PhantombusterGetUserInput,\n typeof PhantombusterGetUserOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,oCAAoC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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-user.d.ts
@@ -22,7 +24,7 @@ declare const PhantombusterGetUserOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>;
23
25
  status: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>;
25
- declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const phantombusterGetUser: AppAction<typeof PhantombusterGetUserInput, typeof PhantombusterGetUserOutput, typeof phantombuster.credential>;
26
28
  //#endregion
27
29
  export { phantombusterGetUser };
28
30
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-user.d.ts
@@ -22,7 +24,7 @@ declare const PhantombusterGetUserOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>;
23
25
  status: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>;
25
- declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const phantombusterGetUser: AppAction<typeof PhantombusterGetUserInput, typeof PhantombusterGetUserOutput, typeof phantombuster.credential>;
26
28
  //#endregion
27
29
  export { phantombusterGetUser };
28
30
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,oCAAoC,SAAS;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.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 PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser: AppAction<\n typeof PhantombusterGetUserInput,\n typeof PhantombusterGetUserOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,oCAAoC,SAAS;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAWhB;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/post-agents-unschedule-all.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-agents-unschedule-all.cjs","names":["z","action"],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAClM,MAAa,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEvJ,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-agents-unschedule-all.cjs","names":["z","action"],"sources":["../../src/actions/post-agents-unschedule-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 PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll: AppAction<\n typeof PhantombusterPostAgentsUnscheduleAllInput,\n typeof PhantombusterPostAgentsUnscheduleAllOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAClM,MAAa,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEvJ,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
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/post-agents-unschedule-all.d.ts
4
6
  declare const PhantombusterPostAgentsUnscheduleAllInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PhantombusterPostAgentsUnscheduleAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const phantombusterPostAgentsUnscheduleAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const phantombusterPostAgentsUnscheduleAll: AppAction<typeof PhantombusterPostAgentsUnscheduleAllInput, typeof PhantombusterPostAgentsUnscheduleAllOutput, typeof phantombuster.credential>;
7
9
  //#endregion
8
10
  export { phantombusterPostAgentsUnscheduleAll };
9
11
  //# sourceMappingURL=post-agents-unschedule-all.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-agents-unschedule-all.d.cts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-agents-unschedule-all.d.cts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,9 +1,11 @@
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/post-agents-unschedule-all.d.ts
4
6
  declare const PhantombusterPostAgentsUnscheduleAllInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PhantombusterPostAgentsUnscheduleAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const phantombusterPostAgentsUnscheduleAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const phantombusterPostAgentsUnscheduleAll: AppAction<typeof PhantombusterPostAgentsUnscheduleAllInput, typeof PhantombusterPostAgentsUnscheduleAllOutput, typeof phantombuster.credential>;
7
9
  //#endregion
8
10
  export { phantombusterPostAgentsUnscheduleAll };
9
11
  //# sourceMappingURL=post-agents-unschedule-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-agents-unschedule-all.d.mts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-agents-unschedule-all.d.mts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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 phantombusterPostAgentsUnscheduleAll = action("PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-agents-unschedule-all.mjs","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;AAOA,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAOtE;CACP,QAPwD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAO3F;AACV,CAAC"}
1
+ {"version":3,"file":"post-agents-unschedule-all.mjs","names":[],"sources":["../../src/actions/post-agents-unschedule-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 PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll: AppAction<\n typeof PhantombusterPostAgentsUnscheduleAllInput,\n typeof PhantombusterPostAgentsUnscheduleAllOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;;AASA,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAWtE;CACP,QAXwD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAW3F;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/post-ai-completions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-ai-completions.cjs","names":["z","action"],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAE9G,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-ai-completions.cjs","names":["z","action"],"sources":["../../src/actions/post-ai-completions.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 PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions: AppAction<\n typeof PhantombusterPostAiCompletionsInput,\n typeof PhantombusterPostAiCompletionsOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAE9G,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,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/post-ai-completions.d.ts
@@ -23,15 +25,7 @@ declare const PhantombusterPostAiCompletionsOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>;
24
26
  creditsCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  }, z.core.$loose>;
26
- declare const phantombusterPostAiCompletions: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- prompt: string;
28
- n?: number | undefined;
29
- stop?: string[] | undefined;
30
- topP?: number | undefined;
31
- model?: string | undefined;
32
- maxTokens?: number | undefined;
33
- temperature?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const phantombusterPostAiCompletions: AppAction<typeof PhantombusterPostAiCompletionsInput, typeof PhantombusterPostAiCompletionsOutput, typeof phantombuster.credential>;
35
29
  //#endregion
36
30
  export { phantombusterPostAiCompletions };
37
31
  //# sourceMappingURL=post-ai-completions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-ai-completions.d.cts","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"post-ai-completions.d.cts","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/post-ai-completions.d.ts
@@ -23,15 +25,7 @@ declare const PhantombusterPostAiCompletionsOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>;
24
26
  creditsCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  }, z.core.$loose>;
26
- declare const phantombusterPostAiCompletions: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- prompt: string;
28
- n?: number | undefined;
29
- stop?: string[] | undefined;
30
- topP?: number | undefined;
31
- model?: string | undefined;
32
- maxTokens?: number | undefined;
33
- temperature?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const phantombusterPostAiCompletions: AppAction<typeof PhantombusterPostAiCompletionsInput, typeof PhantombusterPostAiCompletionsOutput, typeof phantombuster.credential>;
35
29
  //#endregion
36
30
  export { phantombusterPostAiCompletions };
37
31
  //# sourceMappingURL=post-ai-completions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-ai-completions.d.mts","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"post-ai-completions.d.mts","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/post-ai-completions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-ai-completions.mjs","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;EACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-ai-completions.mjs","names":[],"sources":["../../src/actions/post-ai-completions.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 PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions: AppAction<\n typeof PhantombusterPostAiCompletionsInput,\n typeof PhantombusterPostAiCompletionsOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkD,EAAE,OAAO;EAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;EACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAWhB;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/post-branches-create.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-create.cjs","names":["z","action"],"sources":["../../src/actions/post-branches-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesCreateInput = z.object({\n name: z.string().describe(\"Name of the branch to create.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for creating a new branch.\");\nexport const PhantombusterPostBranchesCreateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created branch.\").nullable(),\n name: z.string().describe(\"Name of the created branch.\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created branch.\");\n\nexport const phantombusterPostBranchesCreate = action(\"PHANTOMBUSTER_POST_BRANCHES_CREATE\", {\n slug: \"phantombuster-post-branches-create\",\n name: \"Create Branch\",\n description: \"Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.\",\n input: PhantombusterPostBranchesCreateInput,\n output: PhantombusterPostBranchesCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-branches-create.cjs","names":["z","action"],"sources":["../../src/actions/post-branches-create.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 PhantombusterPostBranchesCreateInput = z.object({\n name: z.string().describe(\"Name of the branch to create.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for creating a new branch.\");\nexport const PhantombusterPostBranchesCreateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created branch.\").nullable(),\n name: z.string().describe(\"Name of the created branch.\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created branch.\");\n\nexport const phantombusterPostBranchesCreate: AppAction<\n typeof PhantombusterPostBranchesCreateInput,\n typeof PhantombusterPostBranchesCreateOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_BRANCHES_CREATE\", {\n slug: \"phantombuster-post-branches-create\",\n name: \"Create Branch\",\n description: \"Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.\",\n input: PhantombusterPostBranchesCreateInput,\n output: PhantombusterPostBranchesCreateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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/post-branches-create.d.ts
@@ -9,10 +11,7 @@ declare const PhantombusterPostBranchesCreateOutput: z.ZodObject<{
9
11
  id: z.ZodNullable<z.ZodString>;
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const phantombusterPostBranchesCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- name: string;
14
- "X-Phantombuster-Org"?: string | undefined;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const phantombusterPostBranchesCreate: AppAction<typeof PhantombusterPostBranchesCreateInput, typeof PhantombusterPostBranchesCreateOutput, typeof phantombuster.credential>;
16
15
  //#endregion
17
16
  export { phantombusterPostBranchesCreate };
18
17
  //# sourceMappingURL=post-branches-create.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-create.d.cts","names":[],"sources":["../../src/actions/post-branches-create.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"post-branches-create.d.cts","names":[],"sources":["../../src/actions/post-branches-create.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/post-branches-create.d.ts
@@ -9,10 +11,7 @@ declare const PhantombusterPostBranchesCreateOutput: z.ZodObject<{
9
11
  id: z.ZodNullable<z.ZodString>;
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const phantombusterPostBranchesCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- name: string;
14
- "X-Phantombuster-Org"?: string | undefined;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const phantombusterPostBranchesCreate: AppAction<typeof PhantombusterPostBranchesCreateInput, typeof PhantombusterPostBranchesCreateOutput, typeof phantombuster.credential>;
16
15
  //#endregion
17
16
  export { phantombusterPostBranchesCreate };
18
17
  //# sourceMappingURL=post-branches-create.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-create.d.mts","names":[],"sources":["../../src/actions/post-branches-create.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"post-branches-create.d.mts","names":[],"sources":["../../src/actions/post-branches-create.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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 phantombusterPostBranchesCreate = action("PHANTOMBUSTER_POST_BRANCHES_CREATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-create.mjs","names":[],"sources":["../../src/actions/post-branches-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesCreateInput = z.object({\n name: z.string().describe(\"Name of the branch to create.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for creating a new branch.\");\nexport const PhantombusterPostBranchesCreateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created branch.\").nullable(),\n name: z.string().describe(\"Name of the created branch.\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created branch.\");\n\nexport const phantombusterPostBranchesCreate = action(\"PHANTOMBUSTER_POST_BRANCHES_CREATE\", {\n slug: \"phantombuster-post-branches-create\",\n name: \"Create Branch\",\n description: \"Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.\",\n input: PhantombusterPostBranchesCreateInput,\n output: PhantombusterPostBranchesCreateOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-branches-create.mjs","names":[],"sources":["../../src/actions/post-branches-create.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 PhantombusterPostBranchesCreateInput = z.object({\n name: z.string().describe(\"Name of the branch to create.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for creating a new branch.\");\nexport const PhantombusterPostBranchesCreateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created branch.\").nullable(),\n name: z.string().describe(\"Name of the created branch.\").nullable(),\n}).passthrough().describe(\"Response schema for a newly created branch.\");\n\nexport const phantombusterPostBranchesCreate: AppAction<\n typeof PhantombusterPostBranchesCreateInput,\n typeof PhantombusterPostBranchesCreateOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_BRANCHES_CREATE\", {\n slug: \"phantombuster-post-branches-create\",\n name: \"Create Branch\",\n description: \"Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.\",\n input: PhantombusterPostBranchesCreateInput,\n output: PhantombusterPostBranchesCreateOutput,\n});\n"],"mappings":";;;AAeA,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAdmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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/post-branches-delete.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-delete.cjs","names":["z","action"],"sources":["../../src/actions/post-branches-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesDeleteInput = z.object({\n id: z.string().describe(\"The unique identifier of the branch to be deleted.\"),\n}).describe(\"Request model for POST /branches/delete.\");\nconst PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the branch was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete response.\");\nexport const PhantombusterPostBranchesDeleteOutput = z.object({\n data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /branches/delete.\");\n\nexport const phantombusterPostBranchesDelete = action(\"PHANTOMBUSTER_POST_BRANCHES_DELETE\", {\n slug: \"phantombuster-post-branches-delete\",\n name: \"Delete Branch\",\n description: \"Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.\",\n input: PhantombusterPostBranchesDeleteInput,\n output: PhantombusterPostBranchesDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uEAAuEA,IAAAA,EAAE,OAAO,EACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,qEAAqE,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-branches-delete.cjs","names":["z","action"],"sources":["../../src/actions/post-branches-delete.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 PhantombusterPostBranchesDeleteInput = z.object({\n id: z.string().describe(\"The unique identifier of the branch to be deleted.\"),\n}).describe(\"Request model for POST /branches/delete.\");\nconst PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema = z.object({\n deleted: z.boolean().describe(\"Indicates whether the branch was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Data object for delete response.\");\nexport const PhantombusterPostBranchesDeleteOutput = z.object({\n data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\").nullable(),\n}).passthrough().describe(\"Response model for POST /branches/delete.\");\n\nexport const phantombusterPostBranchesDelete: AppAction<\n typeof PhantombusterPostBranchesDeleteInput,\n typeof PhantombusterPostBranchesDeleteOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_POST_BRANCHES_DELETE\", {\n slug: \"phantombuster-post-branches-delete\",\n name: \"Delete Branch\",\n description: \"Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.\",\n input: PhantombusterPostBranchesDeleteInput,\n output: PhantombusterPostBranchesDeleteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uEAAuEA,IAAAA,EAAE,OAAO,EACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,qEAAqE,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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/post-branches-delete.d.ts
@@ -10,9 +12,7 @@ declare const PhantombusterPostBranchesDeleteOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  status: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const phantombusterPostBranchesDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const phantombusterPostBranchesDelete: AppAction<typeof PhantombusterPostBranchesDeleteInput, typeof PhantombusterPostBranchesDeleteOutput, typeof phantombuster.credential>;
16
16
  //#endregion
17
17
  export { phantombusterPostBranchesDelete };
18
18
  //# sourceMappingURL=post-branches-delete.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-delete.d.cts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"post-branches-delete.d.cts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/post-branches-delete.d.ts
@@ -10,9 +12,7 @@ declare const PhantombusterPostBranchesDeleteOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  status: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const phantombusterPostBranchesDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const phantombusterPostBranchesDelete: AppAction<typeof PhantombusterPostBranchesDeleteInput, typeof PhantombusterPostBranchesDeleteOutput, typeof phantombuster.credential>;
16
16
  //#endregion
17
17
  export { phantombusterPostBranchesDelete };
18
18
  //# sourceMappingURL=post-branches-delete.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-branches-delete.d.mts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"post-branches-delete.d.mts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/post-branches-delete.ts