@keystrokehq/phantombuster 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/abort-agent-v1.cjs +1 -0
  4. package/dist/actions/abort-agent-v1.cjs.map +1 -1
  5. package/dist/actions/abort-agent-v1.d.cts +3 -16
  6. package/dist/actions/abort-agent-v1.d.cts.map +1 -1
  7. package/dist/actions/abort-agent-v1.d.mts +3 -16
  8. package/dist/actions/abort-agent-v1.d.mts.map +1 -1
  9. package/dist/actions/abort-agent-v1.mjs +1 -0
  10. package/dist/actions/abort-agent-v1.mjs.map +1 -1
  11. package/dist/actions/delete-agent.cjs +1 -0
  12. package/dist/actions/delete-agent.cjs.map +1 -1
  13. package/dist/actions/delete-agent.d.cts +3 -16
  14. package/dist/actions/delete-agent.d.cts.map +1 -1
  15. package/dist/actions/delete-agent.d.mts +3 -16
  16. package/dist/actions/delete-agent.d.mts.map +1 -1
  17. package/dist/actions/delete-agent.mjs +1 -0
  18. package/dist/actions/delete-agent.mjs.map +1 -1
  19. package/dist/actions/delete-lead-objects.cjs +1 -0
  20. package/dist/actions/delete-lead-objects.cjs.map +1 -1
  21. package/dist/actions/delete-lead-objects.d.cts +3 -17
  22. package/dist/actions/delete-lead-objects.d.cts.map +1 -1
  23. package/dist/actions/delete-lead-objects.d.mts +3 -17
  24. package/dist/actions/delete-lead-objects.d.mts.map +1 -1
  25. package/dist/actions/delete-lead-objects.mjs +1 -0
  26. package/dist/actions/delete-lead-objects.mjs.map +1 -1
  27. package/dist/actions/delete-leads-many.cjs +1 -0
  28. package/dist/actions/delete-leads-many.cjs.map +1 -1
  29. package/dist/actions/delete-leads-many.d.cts +3 -16
  30. package/dist/actions/delete-leads-many.d.cts.map +1 -1
  31. package/dist/actions/delete-leads-many.d.mts +3 -16
  32. package/dist/actions/delete-leads-many.d.mts.map +1 -1
  33. package/dist/actions/delete-leads-many.mjs +1 -0
  34. package/dist/actions/delete-leads-many.mjs.map +1 -1
  35. package/dist/actions/delete-list.cjs +1 -0
  36. package/dist/actions/delete-list.cjs.map +1 -1
  37. package/dist/actions/delete-list.d.cts +3 -16
  38. package/dist/actions/delete-list.d.cts.map +1 -1
  39. package/dist/actions/delete-list.d.mts +3 -16
  40. package/dist/actions/delete-list.d.mts.map +1 -1
  41. package/dist/actions/delete-list.mjs +1 -0
  42. package/dist/actions/delete-list.mjs.map +1 -1
  43. package/dist/actions/delete-script.cjs +1 -0
  44. package/dist/actions/delete-script.cjs.map +1 -1
  45. package/dist/actions/delete-script.d.cts +3 -18
  46. package/dist/actions/delete-script.d.cts.map +1 -1
  47. package/dist/actions/delete-script.d.mts +3 -18
  48. package/dist/actions/delete-script.d.mts.map +1 -1
  49. package/dist/actions/delete-script.mjs +1 -0
  50. package/dist/actions/delete-script.mjs.map +1 -1
  51. package/dist/actions/get-agent-containers.cjs +1 -0
  52. package/dist/actions/get-agent-containers.cjs.map +1 -1
  53. package/dist/actions/get-agent-containers.d.cts +3 -15
  54. package/dist/actions/get-agent-containers.d.cts.map +1 -1
  55. package/dist/actions/get-agent-containers.d.mts +3 -15
  56. package/dist/actions/get-agent-containers.d.mts.map +1 -1
  57. package/dist/actions/get-agent-containers.mjs +1 -0
  58. package/dist/actions/get-agent-containers.mjs.map +1 -1
  59. package/dist/actions/get-agent-output.cjs +1 -0
  60. package/dist/actions/get-agent-output.cjs.map +1 -1
  61. package/dist/actions/get-agent-output.d.cts +3 -19
  62. package/dist/actions/get-agent-output.d.cts.map +1 -1
  63. package/dist/actions/get-agent-output.d.mts +3 -19
  64. package/dist/actions/get-agent-output.d.mts.map +1 -1
  65. package/dist/actions/get-agent-output.mjs +1 -0
  66. package/dist/actions/get-agent-output.mjs.map +1 -1
  67. package/dist/actions/get-agent.cjs +1 -0
  68. package/dist/actions/get-agent.cjs.map +1 -1
  69. package/dist/actions/get-agent.d.cts +3 -21
  70. package/dist/actions/get-agent.d.cts.map +1 -1
  71. package/dist/actions/get-agent.d.mts +3 -21
  72. package/dist/actions/get-agent.d.mts.map +1 -1
  73. package/dist/actions/get-agent.mjs +1 -0
  74. package/dist/actions/get-agent.mjs.map +1 -1
  75. package/dist/actions/get-agents-fetch-all.cjs +1 -0
  76. package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
  77. package/dist/actions/get-agents-fetch-all.d.cts +3 -13
  78. package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
  79. package/dist/actions/get-agents-fetch-all.d.mts +3 -13
  80. package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
  81. package/dist/actions/get-agents-fetch-all.mjs +1 -0
  82. package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
  83. package/dist/actions/get-agents-fetch-deleted.cjs +1 -0
  84. package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
  85. package/dist/actions/get-agents-fetch-deleted.d.cts +3 -13
  86. package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
  87. package/dist/actions/get-agents-fetch-deleted.d.mts +3 -13
  88. package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
  89. package/dist/actions/get-agents-fetch-deleted.mjs +1 -0
  90. package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
  91. package/dist/actions/get-branches-diff.cjs +1 -0
  92. package/dist/actions/get-branches-diff.cjs.map +1 -1
  93. package/dist/actions/get-branches-diff.d.cts +3 -16
  94. package/dist/actions/get-branches-diff.d.cts.map +1 -1
  95. package/dist/actions/get-branches-diff.d.mts +3 -16
  96. package/dist/actions/get-branches-diff.d.mts.map +1 -1
  97. package/dist/actions/get-branches-diff.mjs +1 -0
  98. package/dist/actions/get-branches-diff.mjs.map +1 -1
  99. package/dist/actions/get-branches-fetch-all.cjs +1 -0
  100. package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
  101. package/dist/actions/get-branches-fetch-all.d.cts +3 -13
  102. package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
  103. package/dist/actions/get-branches-fetch-all.d.mts +3 -13
  104. package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
  105. package/dist/actions/get-branches-fetch-all.mjs +1 -0
  106. package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
  107. package/dist/actions/get-containers-fetch-all.cjs +1 -0
  108. package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
  109. package/dist/actions/get-containers-fetch-all.d.cts +3 -15
  110. package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
  111. package/dist/actions/get-containers-fetch-all.d.mts +3 -15
  112. package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
  113. package/dist/actions/get-containers-fetch-all.mjs +1 -0
  114. package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
  115. package/dist/actions/get-leads-by-list.cjs +1 -0
  116. package/dist/actions/get-leads-by-list.cjs.map +1 -1
  117. package/dist/actions/get-leads-by-list.d.cts +3 -25
  118. package/dist/actions/get-leads-by-list.d.cts.map +1 -1
  119. package/dist/actions/get-leads-by-list.d.mts +3 -25
  120. package/dist/actions/get-leads-by-list.d.mts.map +1 -1
  121. package/dist/actions/get-leads-by-list.mjs +1 -0
  122. package/dist/actions/get-leads-by-list.mjs.map +1 -1
  123. package/dist/actions/get-location-ip.cjs +1 -0
  124. package/dist/actions/get-location-ip.cjs.map +1 -1
  125. package/dist/actions/get-location-ip.d.cts +3 -15
  126. package/dist/actions/get-location-ip.d.cts.map +1 -1
  127. package/dist/actions/get-location-ip.d.mts +3 -15
  128. package/dist/actions/get-location-ip.d.mts.map +1 -1
  129. package/dist/actions/get-location-ip.mjs +1 -0
  130. package/dist/actions/get-location-ip.mjs.map +1 -1
  131. package/dist/actions/get-org-storage-lists-fetch-all.cjs +1 -0
  132. package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
  133. package/dist/actions/get-org-storage-lists-fetch-all.d.cts +3 -13
  134. package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
  135. package/dist/actions/get-org-storage-lists-fetch-all.d.mts +3 -13
  136. package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
  137. package/dist/actions/get-org-storage-lists-fetch-all.mjs +1 -0
  138. package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
  139. package/dist/actions/get-orgs-export-agent-usage.cjs +1 -0
  140. package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
  141. package/dist/actions/get-orgs-export-agent-usage.d.cts +3 -16
  142. package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
  143. package/dist/actions/get-orgs-export-agent-usage.d.mts +3 -16
  144. package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
  145. package/dist/actions/get-orgs-export-agent-usage.mjs +1 -0
  146. package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
  147. package/dist/actions/get-orgs-export-container-usage.cjs +1 -0
  148. package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
  149. package/dist/actions/get-orgs-export-container-usage.d.cts +3 -16
  150. package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
  151. package/dist/actions/get-orgs-export-container-usage.d.mts +3 -16
  152. package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
  153. package/dist/actions/get-orgs-export-container-usage.mjs +1 -0
  154. package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
  155. package/dist/actions/get-orgs-fetch-agent-groups.cjs +1 -0
  156. package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
  157. package/dist/actions/get-orgs-fetch-agent-groups.d.cts +3 -15
  158. package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
  159. package/dist/actions/get-orgs-fetch-agent-groups.d.mts +3 -15
  160. package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
  161. package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -0
  162. package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
  163. package/dist/actions/get-orgs-fetch-resources.cjs +1 -0
  164. package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
  165. package/dist/actions/get-orgs-fetch-resources.d.cts +3 -13
  166. package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
  167. package/dist/actions/get-orgs-fetch-resources.d.mts +3 -13
  168. package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
  169. package/dist/actions/get-orgs-fetch-resources.mjs +1 -0
  170. package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
  171. package/dist/actions/get-orgs-fetch-running-containers.cjs +1 -0
  172. package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
  173. package/dist/actions/get-orgs-fetch-running-containers.d.cts +3 -13
  174. package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
  175. package/dist/actions/get-orgs-fetch-running-containers.d.mts +3 -13
  176. package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
  177. package/dist/actions/get-orgs-fetch-running-containers.mjs +1 -0
  178. package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
  179. package/dist/actions/get-orgs-fetch.cjs +1 -0
  180. package/dist/actions/get-orgs-fetch.cjs.map +1 -1
  181. package/dist/actions/get-orgs-fetch.d.cts +3 -13
  182. package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
  183. package/dist/actions/get-orgs-fetch.d.mts +3 -13
  184. package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
  185. package/dist/actions/get-orgs-fetch.mjs +1 -0
  186. package/dist/actions/get-orgs-fetch.mjs.map +1 -1
  187. package/dist/actions/get-script-by-name.cjs +1 -0
  188. package/dist/actions/get-script-by-name.cjs.map +1 -1
  189. package/dist/actions/get-script-by-name.d.cts +3 -16
  190. package/dist/actions/get-script-by-name.d.cts.map +1 -1
  191. package/dist/actions/get-script-by-name.d.mts +3 -16
  192. package/dist/actions/get-script-by-name.d.mts.map +1 -1
  193. package/dist/actions/get-script-by-name.mjs +1 -0
  194. package/dist/actions/get-script-by-name.mjs.map +1 -1
  195. package/dist/actions/get-script.cjs +1 -0
  196. package/dist/actions/get-script.cjs.map +1 -1
  197. package/dist/actions/get-script.d.cts +3 -19
  198. package/dist/actions/get-script.d.cts.map +1 -1
  199. package/dist/actions/get-script.d.mts +3 -19
  200. package/dist/actions/get-script.d.mts.map +1 -1
  201. package/dist/actions/get-script.mjs +1 -0
  202. package/dist/actions/get-script.mjs.map +1 -1
  203. package/dist/actions/get-scripts-code.cjs +1 -0
  204. package/dist/actions/get-scripts-code.cjs.map +1 -1
  205. package/dist/actions/get-scripts-code.d.cts +3 -19
  206. package/dist/actions/get-scripts-code.d.cts.map +1 -1
  207. package/dist/actions/get-scripts-code.d.mts +3 -19
  208. package/dist/actions/get-scripts-code.d.mts.map +1 -1
  209. package/dist/actions/get-scripts-code.mjs +1 -0
  210. package/dist/actions/get-scripts-code.mjs.map +1 -1
  211. package/dist/actions/get-scripts-fetch-all.cjs +1 -0
  212. package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
  213. package/dist/actions/get-scripts-fetch-all.d.cts +3 -13
  214. package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
  215. package/dist/actions/get-scripts-fetch-all.d.mts +3 -13
  216. package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
  217. package/dist/actions/get-scripts-fetch-all.mjs +1 -0
  218. package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
  219. package/dist/actions/get-user.cjs +1 -0
  220. package/dist/actions/get-user.cjs.map +1 -1
  221. package/dist/actions/get-user.d.cts +3 -13
  222. package/dist/actions/get-user.d.cts.map +1 -1
  223. package/dist/actions/get-user.d.mts +3 -13
  224. package/dist/actions/get-user.d.mts.map +1 -1
  225. package/dist/actions/get-user.mjs +1 -0
  226. package/dist/actions/get-user.mjs.map +1 -1
  227. package/dist/actions/post-agents-unschedule-all.cjs +1 -0
  228. package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
  229. package/dist/actions/post-agents-unschedule-all.d.cts +3 -13
  230. package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
  231. package/dist/actions/post-agents-unschedule-all.d.mts +3 -13
  232. package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
  233. package/dist/actions/post-agents-unschedule-all.mjs +1 -0
  234. package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
  235. package/dist/actions/post-ai-completions.cjs +1 -0
  236. package/dist/actions/post-ai-completions.cjs.map +1 -1
  237. package/dist/actions/post-ai-completions.d.cts +3 -21
  238. package/dist/actions/post-ai-completions.d.cts.map +1 -1
  239. package/dist/actions/post-ai-completions.d.mts +3 -21
  240. package/dist/actions/post-ai-completions.d.mts.map +1 -1
  241. package/dist/actions/post-ai-completions.mjs +1 -0
  242. package/dist/actions/post-ai-completions.mjs.map +1 -1
  243. package/dist/actions/post-branches-create.cjs +1 -0
  244. package/dist/actions/post-branches-create.cjs.map +1 -1
  245. package/dist/actions/post-branches-create.d.cts +3 -16
  246. package/dist/actions/post-branches-create.d.cts.map +1 -1
  247. package/dist/actions/post-branches-create.d.mts +3 -16
  248. package/dist/actions/post-branches-create.d.mts.map +1 -1
  249. package/dist/actions/post-branches-create.mjs +1 -0
  250. package/dist/actions/post-branches-create.mjs.map +1 -1
  251. package/dist/actions/post-branches-delete.cjs +1 -0
  252. package/dist/actions/post-branches-delete.cjs.map +1 -1
  253. package/dist/actions/post-branches-delete.d.cts +3 -15
  254. package/dist/actions/post-branches-delete.d.cts.map +1 -1
  255. package/dist/actions/post-branches-delete.d.mts +3 -15
  256. package/dist/actions/post-branches-delete.d.mts.map +1 -1
  257. package/dist/actions/post-branches-delete.mjs +1 -0
  258. package/dist/actions/post-branches-delete.mjs.map +1 -1
  259. package/dist/actions/post-hcaptcha.cjs +1 -0
  260. package/dist/actions/post-hcaptcha.cjs.map +1 -1
  261. package/dist/actions/post-hcaptcha.d.cts +3 -18
  262. package/dist/actions/post-hcaptcha.d.cts.map +1 -1
  263. package/dist/actions/post-hcaptcha.d.mts +3 -18
  264. package/dist/actions/post-hcaptcha.d.mts.map +1 -1
  265. package/dist/actions/post-hcaptcha.mjs +1 -0
  266. package/dist/actions/post-hcaptcha.mjs.map +1 -1
  267. package/dist/actions/post-identities-generate-token.cjs +1 -0
  268. package/dist/actions/post-identities-generate-token.cjs.map +1 -1
  269. package/dist/actions/post-identities-generate-token.d.cts +3 -13
  270. package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
  271. package/dist/actions/post-identities-generate-token.d.mts +3 -13
  272. package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
  273. package/dist/actions/post-identities-generate-token.mjs +1 -0
  274. package/dist/actions/post-identities-generate-token.mjs.map +1 -1
  275. package/dist/actions/post-org-storage-leads-save-many.cjs +1 -0
  276. package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
  277. package/dist/actions/post-org-storage-leads-save-many.d.cts +3 -73
  278. package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
  279. package/dist/actions/post-org-storage-leads-save-many.d.mts +3 -73
  280. package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
  281. package/dist/actions/post-org-storage-leads-save-many.mjs +1 -0
  282. package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
  283. package/dist/actions/post-recaptcha.cjs +1 -0
  284. package/dist/actions/post-recaptcha.cjs.map +1 -1
  285. package/dist/actions/post-recaptcha.d.cts +3 -19
  286. package/dist/actions/post-recaptcha.d.cts.map +1 -1
  287. package/dist/actions/post-recaptcha.d.mts +3 -19
  288. package/dist/actions/post-recaptcha.d.mts.map +1 -1
  289. package/dist/actions/post-recaptcha.mjs +1 -0
  290. package/dist/actions/post-recaptcha.mjs.map +1 -1
  291. package/dist/actions/post-scripts-visibility.cjs +1 -0
  292. package/dist/actions/post-scripts-visibility.cjs.map +1 -1
  293. package/dist/actions/post-scripts-visibility.d.cts +3 -18
  294. package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
  295. package/dist/actions/post-scripts-visibility.d.mts +3 -18
  296. package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
  297. package/dist/actions/post-scripts-visibility.mjs +1 -0
  298. package/dist/actions/post-scripts-visibility.mjs.map +1 -1
  299. package/dist/actions/release-branch.cjs +1 -0
  300. package/dist/actions/release-branch.cjs.map +1 -1
  301. package/dist/actions/release-branch.d.cts +3 -17
  302. package/dist/actions/release-branch.d.cts.map +1 -1
  303. package/dist/actions/release-branch.d.mts +3 -17
  304. package/dist/actions/release-branch.d.mts.map +1 -1
  305. package/dist/actions/release-branch.mjs +1 -0
  306. package/dist/actions/release-branch.mjs.map +1 -1
  307. package/dist/actions/save-agent-groups.cjs +1 -0
  308. package/dist/actions/save-agent-groups.cjs.map +1 -1
  309. package/dist/actions/save-agent-groups.d.cts +3 -21
  310. package/dist/actions/save-agent-groups.d.cts.map +1 -1
  311. package/dist/actions/save-agent-groups.d.mts +3 -21
  312. package/dist/actions/save-agent-groups.d.mts.map +1 -1
  313. package/dist/actions/save-agent-groups.mjs +1 -0
  314. package/dist/actions/save-agent-groups.mjs.map +1 -1
  315. package/dist/actions/save-agent.cjs +1 -0
  316. package/dist/actions/save-agent.cjs.map +1 -1
  317. package/dist/actions/save-agent.d.cts +3 -78
  318. package/dist/actions/save-agent.d.cts.map +1 -1
  319. package/dist/actions/save-agent.d.mts +3 -78
  320. package/dist/actions/save-agent.d.mts.map +1 -1
  321. package/dist/actions/save-agent.mjs +1 -0
  322. package/dist/actions/save-agent.mjs.map +1 -1
  323. package/dist/actions/save-company-object.cjs +1 -0
  324. package/dist/actions/save-company-object.cjs.map +1 -1
  325. package/dist/actions/save-company-object.d.cts +3 -20
  326. package/dist/actions/save-company-object.d.cts.map +1 -1
  327. package/dist/actions/save-company-object.d.mts +3 -20
  328. package/dist/actions/save-company-object.d.mts.map +1 -1
  329. package/dist/actions/save-company-object.mjs +1 -0
  330. package/dist/actions/save-company-object.mjs.map +1 -1
  331. package/dist/actions/save-company-objects-many.cjs +1 -0
  332. package/dist/actions/save-company-objects-many.cjs.map +1 -1
  333. package/dist/actions/save-company-objects-many.d.cts +3 -23
  334. package/dist/actions/save-company-objects-many.d.cts.map +1 -1
  335. package/dist/actions/save-company-objects-many.d.mts +3 -23
  336. package/dist/actions/save-company-objects-many.d.mts.map +1 -1
  337. package/dist/actions/save-company-objects-many.mjs +1 -0
  338. package/dist/actions/save-company-objects-many.mjs.map +1 -1
  339. package/dist/actions/save-identity-event.cjs +1 -0
  340. package/dist/actions/save-identity-event.cjs.map +1 -1
  341. package/dist/actions/save-identity-event.d.cts +3 -19
  342. package/dist/actions/save-identity-event.d.cts.map +1 -1
  343. package/dist/actions/save-identity-event.d.mts +3 -19
  344. package/dist/actions/save-identity-event.d.mts.map +1 -1
  345. package/dist/actions/save-identity-event.mjs +1 -0
  346. package/dist/actions/save-identity-event.mjs.map +1 -1
  347. package/dist/actions/save-lead-object.cjs +1 -0
  348. package/dist/actions/save-lead-object.cjs.map +1 -1
  349. package/dist/actions/save-lead-object.d.cts +3 -22
  350. package/dist/actions/save-lead-object.d.cts.map +1 -1
  351. package/dist/actions/save-lead-object.d.mts +3 -22
  352. package/dist/actions/save-lead-object.d.mts.map +1 -1
  353. package/dist/actions/save-lead-object.mjs +1 -0
  354. package/dist/actions/save-lead-object.mjs.map +1 -1
  355. package/dist/actions/save-lead.cjs +1 -0
  356. package/dist/actions/save-lead.cjs.map +1 -1
  357. package/dist/actions/save-lead.d.cts +3 -70
  358. package/dist/actions/save-lead.d.cts.map +1 -1
  359. package/dist/actions/save-lead.d.mts +3 -70
  360. package/dist/actions/save-lead.d.mts.map +1 -1
  361. package/dist/actions/save-lead.mjs +1 -0
  362. package/dist/actions/save-lead.mjs.map +1 -1
  363. package/dist/actions/save-leads-objects-many.cjs +1 -0
  364. package/dist/actions/save-leads-objects-many.cjs.map +1 -1
  365. package/dist/actions/save-leads-objects-many.d.cts +3 -25
  366. package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
  367. package/dist/actions/save-leads-objects-many.d.mts +3 -25
  368. package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
  369. package/dist/actions/save-leads-objects-many.mjs +1 -0
  370. package/dist/actions/save-leads-objects-many.mjs.map +1 -1
  371. package/dist/actions/save-list.cjs +1 -0
  372. package/dist/actions/save-list.cjs.map +1 -1
  373. package/dist/actions/save-list.d.cts +3 -20
  374. package/dist/actions/save-list.d.cts.map +1 -1
  375. package/dist/actions/save-list.d.mts +3 -20
  376. package/dist/actions/save-list.d.mts.map +1 -1
  377. package/dist/actions/save-list.mjs +1 -0
  378. package/dist/actions/save-list.mjs.map +1 -1
  379. package/dist/actions/save-script.cjs +1 -0
  380. package/dist/actions/save-script.cjs.map +1 -1
  381. package/dist/actions/save-script.d.cts +3 -31
  382. package/dist/actions/save-script.d.cts.map +1 -1
  383. package/dist/actions/save-script.d.mts +3 -31
  384. package/dist/actions/save-script.d.mts.map +1 -1
  385. package/dist/actions/save-script.mjs +1 -0
  386. package/dist/actions/save-script.mjs.map +1 -1
  387. package/dist/actions/search-company-objects.cjs +1 -0
  388. package/dist/actions/search-company-objects.cjs.map +1 -1
  389. package/dist/actions/search-company-objects.d.cts +3 -18
  390. package/dist/actions/search-company-objects.d.cts.map +1 -1
  391. package/dist/actions/search-company-objects.d.mts +3 -18
  392. package/dist/actions/search-company-objects.d.mts.map +1 -1
  393. package/dist/actions/search-company-objects.mjs +1 -0
  394. package/dist/actions/search-company-objects.mjs.map +1 -1
  395. package/dist/actions/search-lead-objects.cjs +1 -0
  396. package/dist/actions/search-lead-objects.cjs.map +1 -1
  397. package/dist/actions/search-lead-objects.d.cts +3 -18
  398. package/dist/actions/search-lead-objects.d.cts.map +1 -1
  399. package/dist/actions/search-lead-objects.d.mts +3 -18
  400. package/dist/actions/search-lead-objects.d.mts.map +1 -1
  401. package/dist/actions/search-lead-objects.mjs +1 -0
  402. package/dist/actions/search-lead-objects.mjs.map +1 -1
  403. package/dist/actions/stop-agent.cjs +1 -0
  404. package/dist/actions/stop-agent.cjs.map +1 -1
  405. package/dist/actions/stop-agent.d.cts +3 -19
  406. package/dist/actions/stop-agent.d.cts.map +1 -1
  407. package/dist/actions/stop-agent.d.mts +3 -19
  408. package/dist/actions/stop-agent.d.mts.map +1 -1
  409. package/dist/actions/stop-agent.mjs +1 -0
  410. package/dist/actions/stop-agent.mjs.map +1 -1
  411. package/dist/actions/update-script.cjs +1 -0
  412. package/dist/actions/update-script.cjs.map +1 -1
  413. package/dist/actions/update-script.d.cts +3 -17
  414. package/dist/actions/update-script.d.cts.map +1 -1
  415. package/dist/actions/update-script.d.mts +3 -17
  416. package/dist/actions/update-script.d.mts.map +1 -1
  417. package/dist/actions/update-script.mjs +1 -0
  418. package/dist/actions/update-script.mjs.map +1 -1
  419. package/dist/actions/update-scripts-access-list.cjs +1 -0
  420. package/dist/actions/update-scripts-access-list.cjs.map +1 -1
  421. package/dist/actions/update-scripts-access-list.d.cts +3 -19
  422. package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
  423. package/dist/actions/update-scripts-access-list.d.mts +3 -19
  424. package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
  425. package/dist/actions/update-scripts-access-list.mjs +1 -0
  426. package/dist/actions/update-scripts-access-list.mjs.map +1 -1
  427. package/dist/app.cjs +2 -2
  428. package/dist/app.cjs.map +1 -1
  429. package/dist/app.d.cts +4 -6
  430. package/dist/app.d.cts.map +1 -1
  431. package/dist/app.d.mts +4 -6
  432. package/dist/app.d.mts.map +1 -1
  433. package/dist/app.mjs +0 -1
  434. package/dist/app.mjs.map +1 -1
  435. package/dist/index.d.cts +1 -1
  436. package/dist/index.d.mts +1 -1
  437. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/save-agent.d.ts
@@ -135,84 +137,7 @@ declare const PhantombusterSaveAgentInput: z.ZodObject<{
135
137
  declare const PhantombusterSaveAgentOutput: z.ZodObject<{
136
138
  id: z.ZodNullable<z.ZodString>;
137
139
  }, z.core.$loose>;
138
- declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
139
- id?: string | undefined;
140
- org?: string | undefined;
141
- name?: string | undefined;
142
- branch?: string | undefined;
143
- script?: string | undefined;
144
- argument?: string | Record<string, unknown> | undefined;
145
- expireAt?: number | undefined;
146
- fileMgmt?: "folders" | "mix" | "delete" | undefined;
147
- proxyType?: "none" | "http" | "pool" | "squid lease" | undefined;
148
- launchType?: "manually" | "repeatedly" | "once" | "after agent" | undefined;
149
- agentObject?: string | undefined;
150
- environment?: "staging" | "release" | undefined;
151
- launchOnceAt?: number | undefined;
152
- proxyAddress?: string | undefined;
153
- notifications?: {
154
- webhook?: string | undefined;
155
- slackWebHook?: string | undefined;
156
- mailManualExitError?: boolean | undefined;
157
- mailManualTimeError?: boolean | undefined;
158
- slackManualExitError?: boolean | undefined;
159
- slackManualTimeError?: boolean | undefined;
160
- mailManualExitSuccess?: boolean | undefined;
161
- mailManualLaunchError?: boolean | undefined;
162
- mailAutomaticExitError?: boolean | undefined;
163
- mailAutomaticTimeError?: boolean | undefined;
164
- slackManualExitSuccess?: boolean | undefined;
165
- slackManualLaunchError?: boolean | undefined;
166
- slackAutomaticExitError?: boolean | undefined;
167
- slackAutomaticTimeError?: boolean | undefined;
168
- mailAutomaticExitSuccess?: boolean | undefined;
169
- mailAutomaticLaunchError?: boolean | undefined;
170
- slackAutomaticExitSuccess?: boolean | undefined;
171
- slackAutomaticLaunchError?: boolean | undefined;
172
- } | undefined;
173
- proxyPassword?: string | undefined;
174
- proxyUsername?: string | undefined;
175
- idempotencyKey?: string | undefined;
176
- maxParallelism?: number | undefined;
177
- maxRetryNumber?: number | undefined;
178
- executionTimeLimit?: number | undefined;
179
- fileMgmtMaxFolders?: number | undefined;
180
- launchAfterAgentId?: string | undefined;
181
- repeatedLaunchTimes?: {
182
- day: number[];
183
- dow: string[];
184
- hour: number[];
185
- month: string[];
186
- minute: number[];
187
- timezone: string;
188
- simplePreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
189
- isSimplePresetEnabled?: boolean | undefined;
190
- } | undefined;
191
- repeatedLaunchPreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
192
- squidLeaseIdentifier?: {
193
- groupSlug: string;
194
- refreshRate: number;
195
- location?: string | undefined;
196
- sublocation?: string | undefined;
197
- } | undefined;
198
- masterAgentLaunchAfter?: number | undefined;
199
- masterAgentLaunchOnExitCodes?: string | number[] | undefined;
200
- applyScriptManifestDefaultSettings?: boolean | undefined;
201
- wasSetupValidWhenSubmittedByTheFrontend?: boolean | undefined;
202
- shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType?: boolean | undefined;
203
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
204
- connectionId: z.ZodString;
205
- entityId: z.ZodString;
206
- instanceId: z.ZodString;
207
- }, z.core.$strip>, z.ZodObject<{
208
- generic_api_key: z.ZodString;
209
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
210
- connectionId: z.ZodString;
211
- entityId: z.ZodString;
212
- instanceId: z.ZodString;
213
- }, z.core.$strip>, z.ZodObject<{
214
- generic_api_key: z.ZodString;
215
- }, z.core.$strip>>]>;
140
+ declare const phantombusterSaveAgent: AppAction<typeof PhantombusterSaveAgentInput, typeof PhantombusterSaveAgentOutput, typeof phantombuster.credential>;
216
141
  //#endregion
217
142
  export { phantombusterSaveAgent };
218
143
  //# sourceMappingURL=save-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { phantombuster } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/save-agent.d.ts
@@ -135,84 +137,7 @@ declare const PhantombusterSaveAgentInput: z.ZodObject<{
135
137
  declare const PhantombusterSaveAgentOutput: z.ZodObject<{
136
138
  id: z.ZodNullable<z.ZodString>;
137
139
  }, z.core.$loose>;
138
- declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
139
- id?: string | undefined;
140
- org?: string | undefined;
141
- name?: string | undefined;
142
- branch?: string | undefined;
143
- script?: string | undefined;
144
- argument?: string | Record<string, unknown> | undefined;
145
- expireAt?: number | undefined;
146
- fileMgmt?: "folders" | "mix" | "delete" | undefined;
147
- proxyType?: "none" | "http" | "pool" | "squid lease" | undefined;
148
- launchType?: "manually" | "repeatedly" | "once" | "after agent" | undefined;
149
- agentObject?: string | undefined;
150
- environment?: "staging" | "release" | undefined;
151
- launchOnceAt?: number | undefined;
152
- proxyAddress?: string | undefined;
153
- notifications?: {
154
- webhook?: string | undefined;
155
- slackWebHook?: string | undefined;
156
- mailManualExitError?: boolean | undefined;
157
- mailManualTimeError?: boolean | undefined;
158
- slackManualExitError?: boolean | undefined;
159
- slackManualTimeError?: boolean | undefined;
160
- mailManualExitSuccess?: boolean | undefined;
161
- mailManualLaunchError?: boolean | undefined;
162
- mailAutomaticExitError?: boolean | undefined;
163
- mailAutomaticTimeError?: boolean | undefined;
164
- slackManualExitSuccess?: boolean | undefined;
165
- slackManualLaunchError?: boolean | undefined;
166
- slackAutomaticExitError?: boolean | undefined;
167
- slackAutomaticTimeError?: boolean | undefined;
168
- mailAutomaticExitSuccess?: boolean | undefined;
169
- mailAutomaticLaunchError?: boolean | undefined;
170
- slackAutomaticExitSuccess?: boolean | undefined;
171
- slackAutomaticLaunchError?: boolean | undefined;
172
- } | undefined;
173
- proxyPassword?: string | undefined;
174
- proxyUsername?: string | undefined;
175
- idempotencyKey?: string | undefined;
176
- maxParallelism?: number | undefined;
177
- maxRetryNumber?: number | undefined;
178
- executionTimeLimit?: number | undefined;
179
- fileMgmtMaxFolders?: number | undefined;
180
- launchAfterAgentId?: string | undefined;
181
- repeatedLaunchTimes?: {
182
- day: number[];
183
- dow: string[];
184
- hour: number[];
185
- month: string[];
186
- minute: number[];
187
- timezone: string;
188
- simplePreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
189
- isSimplePresetEnabled?: boolean | undefined;
190
- } | undefined;
191
- repeatedLaunchPreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
192
- squidLeaseIdentifier?: {
193
- groupSlug: string;
194
- refreshRate: number;
195
- location?: string | undefined;
196
- sublocation?: string | undefined;
197
- } | undefined;
198
- masterAgentLaunchAfter?: number | undefined;
199
- masterAgentLaunchOnExitCodes?: string | number[] | undefined;
200
- applyScriptManifestDefaultSettings?: boolean | undefined;
201
- wasSetupValidWhenSubmittedByTheFrontend?: boolean | undefined;
202
- shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType?: boolean | undefined;
203
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
204
- connectionId: z.ZodString;
205
- entityId: z.ZodString;
206
- instanceId: z.ZodString;
207
- }, z.core.$strip>, z.ZodObject<{
208
- generic_api_key: z.ZodString;
209
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
210
- connectionId: z.ZodString;
211
- entityId: z.ZodString;
212
- instanceId: z.ZodString;
213
- }, z.core.$strip>, z.ZodObject<{
214
- generic_api_key: z.ZodString;
215
- }, z.core.$strip>>]>;
140
+ declare const phantombusterSaveAgent: AppAction<typeof PhantombusterSaveAgentInput, typeof PhantombusterSaveAgentOutput, typeof phantombuster.credential>;
216
141
  //#endregion
217
142
  export { phantombusterSaveAgent };
218
143
  //# sourceMappingURL=save-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-agent.d.mts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"save-agent.d.mts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const phantombusterSaveAgent = action("PHANTOMBUSTER_SAVE_AGENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"save-agent.mjs","names":[],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\n}).passthrough().describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;AA0EA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1EyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC3H,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC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,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"save-agent.mjs","names":[],"sources":["../../src/actions/save-agent.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 PhantombusterSaveAgentInput = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\n}).passthrough().describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent: AppAction<\n typeof PhantombusterSaveAgentInput,\n typeof PhantombusterSaveAgentOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;;AA4EA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9EyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC3H,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,MAAM,EAAE,OAAO,CAAC,CAAC,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2DAaH;CACP,QAb0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EACxF,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/save-company-object.ts
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-object.cjs","names":["z","action"],"sources":["../../src/actions/save-company-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectInput = z.object({\n id: z.string().describe(\"The internal id of the company object. If provided, updates the existing object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object. Can contain any additional company data.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).describe(\"Request model for saving a company object.\");\nexport const PhantombusterSaveCompanyObjectOutput = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped.\").nullable(),\n}).passthrough().describe(\"Response schema for saving a company object.\");\n\nexport const phantombusterSaveCompanyObject = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECT\", {\n slug: \"phantombuster-save-company-object\",\n name: \"Save Company Object\",\n description: \"Tool to save one company object to the organization storage. Use when you need to create or update a company object with LinkedIn company data and custom properties.\",\n input: PhantombusterSaveCompanyObjectInput,\n output: PhantombusterSaveCompanyObjectOutput,\n});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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"save-company-object.cjs","names":["z","action"],"sources":["../../src/actions/save-company-object.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 PhantombusterSaveCompanyObjectInput = z.object({\n id: z.string().describe(\"The internal id of the company object. If provided, updates the existing object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object. Can contain any additional company data.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).describe(\"Request model for saving a company object.\");\nexport const PhantombusterSaveCompanyObjectOutput = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped.\").nullable(),\n}).passthrough().describe(\"Response schema for saving a company object.\");\n\nexport const phantombusterSaveCompanyObject: AppAction<\n typeof PhantombusterSaveCompanyObjectInput,\n typeof PhantombusterSaveCompanyObjectOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECT\", {\n slug: \"phantombuster-save-company-object\",\n name: \"Save Company Object\",\n description: \"Tool to save one company object to the organization storage. Use when you need to create or update a company object with LinkedIn company data and custom properties.\",\n input: PhantombusterSaveCompanyObjectInput,\n output: PhantombusterSaveCompanyObjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAA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Action } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/save-company-object.d.ts
@@ -17,26 +19,7 @@ declare const PhantombusterSaveCompanyObjectOutput: z.ZodObject<{
17
19
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18
20
  linkedinCompanyId: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const phantombusterSaveCompanyObject: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- slug: string;
22
- type: string;
23
- properties: Record<string, unknown>;
24
- linkedinCompanyId: string;
25
- id?: string | undefined;
26
- orgId?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const phantombusterSaveCompanyObject: AppAction<typeof PhantombusterSaveCompanyObjectInput, typeof PhantombusterSaveCompanyObjectOutput, typeof phantombuster.credential>;
40
23
  //#endregion
41
24
  export { phantombusterSaveCompanyObject };
42
25
  //# sourceMappingURL=save-company-object.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-object.d.cts","names":[],"sources":["../../src/actions/save-company-object.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"save-company-object.d.cts","names":[],"sources":["../../src/actions/save-company-object.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,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/save-company-object.d.ts
@@ -17,26 +19,7 @@ declare const PhantombusterSaveCompanyObjectOutput: z.ZodObject<{
17
19
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18
20
  linkedinCompanyId: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const phantombusterSaveCompanyObject: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- slug: string;
22
- type: string;
23
- properties: Record<string, unknown>;
24
- linkedinCompanyId: string;
25
- id?: string | undefined;
26
- orgId?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
22
+ declare const phantombusterSaveCompanyObject: AppAction<typeof PhantombusterSaveCompanyObjectInput, typeof PhantombusterSaveCompanyObjectOutput, typeof phantombuster.credential>;
40
23
  //#endregion
41
24
  export { phantombusterSaveCompanyObject };
42
25
  //# sourceMappingURL=save-company-object.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-object.d.mts","names":[],"sources":["../../src/actions/save-company-object.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"save-company-object.d.mts","names":[],"sources":["../../src/actions/save-company-object.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,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
  const phantombusterSaveCompanyObject = action("PHANTOMBUSTER_SAVE_COMPANY_OBJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-object.mjs","names":[],"sources":["../../src/actions/save-company-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectInput = z.object({\n id: z.string().describe(\"The internal id of the company object. If provided, updates the existing object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object. Can contain any additional company data.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).describe(\"Request model for saving a company object.\");\nexport const PhantombusterSaveCompanyObjectOutput = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped.\").nullable(),\n}).passthrough().describe(\"Response schema for saving a company object.\");\n\nexport const phantombusterSaveCompanyObject = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECT\", {\n slug: \"phantombuster-save-company-object\",\n name: \"Save Company Object\",\n description: \"Tool to save one company object to the organization storage. Use when you need to create or update a company object with LinkedIn company data and custom properties.\",\n input: PhantombusterSaveCompanyObjectInput,\n output: PhantombusterSaveCompanyObjectOutput,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC/H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAChG,CAAC,CAAC,CAAC,SAAS,4CAcH;CACP,QAdkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"save-company-object.mjs","names":[],"sources":["../../src/actions/save-company-object.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 PhantombusterSaveCompanyObjectInput = z.object({\n id: z.string().describe(\"The internal id of the company object. If provided, updates the existing object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object. Can contain any additional company data.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).describe(\"Request model for saving a company object.\");\nexport const PhantombusterSaveCompanyObjectOutput = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped.\").nullable(),\n}).passthrough().describe(\"Response schema for saving a company object.\");\n\nexport const phantombusterSaveCompanyObject: AppAction<\n typeof PhantombusterSaveCompanyObjectInput,\n typeof PhantombusterSaveCompanyObjectOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECT\", {\n slug: \"phantombuster-save-company-object\",\n name: \"Save Company Object\",\n description: \"Tool to save one company object to the organization storage. Use when you need to create or update a company object with LinkedIn company data and custom properties.\",\n input: PhantombusterSaveCompanyObjectInput,\n output: PhantombusterSaveCompanyObjectOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC/H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAChG,CAAC,CAAC,CAAC,SAAS,4CAkBH;CACP,QAlBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;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/save-company-objects-many.ts
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-objects-many.cjs","names":["z","action"],"sources":["../../src/actions/save-company-objects-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectsManyInput = z.object({\n companies: z.array(z.object({\n id: z.string().describe(\"The internal id of the company object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).passthrough().describe(\"Company object to save with required and optional fields.\")).describe(\"List of company objects to save. Minimum 1, maximum 20 objects.\"),\n}).describe(\"Request model for saving many company objects.\");\nconst PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\").nullable(),\n}).passthrough().describe(\"Company object as returned by the API after saving.\");\nconst PhantombusterSaveCompanyObjectsMany_SuccessResultSchema = z.object({\n result: PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema.nullable(),\n status: z.string().describe(\"Status of the operation.\").nullable(),\n}).passthrough().describe(\"Success response for a single company object.\");\nconst PhantombusterSaveCompanyObjectsMany_ErrorResultSchema = z.object({\n slug: z.string().describe(\"Slug of the company object that failed.\").nullable(),\n error: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Error response for a single company object.\");\nexport const PhantombusterSaveCompanyObjectsManyOutput = z.object({\n results: z.array(z.union([PhantombusterSaveCompanyObjectsMany_SuccessResultSchema, PhantombusterSaveCompanyObjectsMany_ErrorResultSchema])).describe(\"List of results for each company object save operation. Each result is either a success or error object.\"),\n}).passthrough().describe(\"Response schema for saving many company objects.\");\n\nexport const phantombusterSaveCompanyObjectsMany = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECTS_MANY\", {\n slug: \"phantombuster-save-company-objects-many\",\n name: \"Save Many Company Objects\",\n description: \"Tool to save many company objects to organization storage. Use when you need to bulk insert or update company data with a minimum of 1 and maximum of 20 objects per request.\",\n input: PhantombusterSaveCompanyObjectsManyInput,\n output: PhantombusterSaveCompanyObjectsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAClK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC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CC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"save-company-objects-many.cjs","names":["z","action"],"sources":["../../src/actions/save-company-objects-many.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 PhantombusterSaveCompanyObjectsManyInput = z.object({\n companies: z.array(z.object({\n id: z.string().describe(\"The internal id of the company object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).passthrough().describe(\"Company object to save with required and optional fields.\")).describe(\"List of company objects to save. Minimum 1, maximum 20 objects.\"),\n}).describe(\"Request model for saving many company objects.\");\nconst PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\").nullable(),\n}).passthrough().describe(\"Company object as returned by the API after saving.\");\nconst PhantombusterSaveCompanyObjectsMany_SuccessResultSchema = z.object({\n result: PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema.nullable(),\n status: z.string().describe(\"Status of the operation.\").nullable(),\n}).passthrough().describe(\"Success response for a single company object.\");\nconst PhantombusterSaveCompanyObjectsMany_ErrorResultSchema = z.object({\n slug: z.string().describe(\"Slug of the company object that failed.\").nullable(),\n error: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Error response for a single company object.\");\nexport const PhantombusterSaveCompanyObjectsManyOutput = z.object({\n results: z.array(z.union([PhantombusterSaveCompanyObjectsMany_SuccessResultSchema, PhantombusterSaveCompanyObjectsMany_ErrorResultSchema])).describe(\"List of results for each company object save operation. Each result is either a success or error object.\"),\n}).passthrough().describe(\"Response schema for saving many company objects.\");\n\nexport const phantombusterSaveCompanyObjectsMany: AppAction<\n typeof PhantombusterSaveCompanyObjectsManyInput,\n typeof PhantombusterSaveCompanyObjectsManyOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECTS_MANY\", {\n slug: \"phantombuster-save-company-objects-many\",\n name: \"Save Many Company Objects\",\n description: \"Tool to save many company objects to organization storage. Use when you need to bulk insert or update company data with a minimum of 1 and maximum of 20 objects per request.\",\n input: PhantombusterSaveCompanyObjectsManyInput,\n output: PhantombusterSaveCompanyObjectsManyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAChG,CAAC,CAAC,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,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,yDAAyD,qDAAqD,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G,EACjQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,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/save-company-objects-many.d.ts
@@ -28,29 +30,7 @@ declare const PhantombusterSaveCompanyObjectsManyOutput: z.ZodObject<{
28
30
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
29
31
  }, z.core.$loose>]>>;
30
32
  }, z.core.$loose>;
31
- declare const phantombusterSaveCompanyObjectsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- companies: {
33
- [x: string]: unknown;
34
- slug: string;
35
- type: string;
36
- properties: Record<string, unknown>;
37
- linkedinCompanyId: string;
38
- id?: string | undefined;
39
- orgId?: string | undefined;
40
- }[];
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- generic_api_key: z.ZodString;
53
- }, z.core.$strip>>]>;
33
+ declare const phantombusterSaveCompanyObjectsMany: AppAction<typeof PhantombusterSaveCompanyObjectsManyInput, typeof PhantombusterSaveCompanyObjectsManyOutput, typeof phantombuster.credential>;
54
34
  //#endregion
55
35
  export { phantombusterSaveCompanyObjectsMany };
56
36
  //# sourceMappingURL=save-company-objects-many.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-objects-many.d.cts","names":[],"sources":["../../src/actions/save-company-objects-many.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cA2BxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"save-company-objects-many.d.cts","names":[],"sources":["../../src/actions/save-company-objects-many.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cA2BxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,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/save-company-objects-many.d.ts
@@ -28,29 +30,7 @@ declare const PhantombusterSaveCompanyObjectsManyOutput: z.ZodObject<{
28
30
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
29
31
  }, z.core.$loose>]>>;
30
32
  }, z.core.$loose>;
31
- declare const phantombusterSaveCompanyObjectsMany: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- companies: {
33
- [x: string]: unknown;
34
- slug: string;
35
- type: string;
36
- properties: Record<string, unknown>;
37
- linkedinCompanyId: string;
38
- id?: string | undefined;
39
- orgId?: string | undefined;
40
- }[];
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"phantombuster", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- generic_api_key: z.ZodString;
53
- }, z.core.$strip>>]>;
33
+ declare const phantombusterSaveCompanyObjectsMany: AppAction<typeof PhantombusterSaveCompanyObjectsManyInput, typeof PhantombusterSaveCompanyObjectsManyOutput, typeof phantombuster.credential>;
54
34
  //#endregion
55
35
  export { phantombusterSaveCompanyObjectsMany };
56
36
  //# sourceMappingURL=save-company-objects-many.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-objects-many.d.mts","names":[],"sources":["../../src/actions/save-company-objects-many.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cA2BxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"save-company-objects-many.d.mts","names":[],"sources":["../../src/actions/save-company-objects-many.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cA2BxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,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/save-company-objects-many.ts
@@ -1 +1 @@
1
- {"version":3,"file":"save-company-objects-many.mjs","names":[],"sources":["../../src/actions/save-company-objects-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectsManyInput = z.object({\n companies: z.array(z.object({\n id: z.string().describe(\"The internal id of the company object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).passthrough().describe(\"Company object to save with required and optional fields.\")).describe(\"List of company objects to save. Minimum 1, maximum 20 objects.\"),\n}).describe(\"Request model for saving many company objects.\");\nconst PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\").nullable(),\n}).passthrough().describe(\"Company object as returned by the API after saving.\");\nconst PhantombusterSaveCompanyObjectsMany_SuccessResultSchema = z.object({\n result: PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema.nullable(),\n status: z.string().describe(\"Status of the operation.\").nullable(),\n}).passthrough().describe(\"Success response for a single company object.\");\nconst PhantombusterSaveCompanyObjectsMany_ErrorResultSchema = z.object({\n slug: z.string().describe(\"Slug of the company object that failed.\").nullable(),\n error: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Error response for a single company object.\");\nexport const PhantombusterSaveCompanyObjectsManyOutput = z.object({\n results: z.array(z.union([PhantombusterSaveCompanyObjectsMany_SuccessResultSchema, PhantombusterSaveCompanyObjectsMany_ErrorResultSchema])).describe(\"List of results for each company object save operation. Each result is either a success or error object.\"),\n}).passthrough().describe(\"Response schema for saving many company objects.\");\n\nexport const phantombusterSaveCompanyObjectsMany = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECTS_MANY\", {\n slug: \"phantombuster-save-company-objects-many\",\n name: \"Save Many Company Objects\",\n description: \"Tool to save many company objects to organization storage. Use when you need to bulk insert or update company data with a minimum of 1 and maximum of 20 objects per request.\",\n input: PhantombusterSaveCompanyObjectsManyInput,\n output: PhantombusterSaveCompanyObjectsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO,EAC/D,WAAW,EAAE,MAAM,EAAE,OAAO;CAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAClK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0DAA0D,EAAE,OAAO;CACvE,QAAQ,6DAA6D,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,yDAAyD,qDAAqD,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G,EACjQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"save-company-objects-many.mjs","names":[],"sources":["../../src/actions/save-company-objects-many.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 PhantombusterSaveCompanyObjectsManyInput = z.object({\n companies: z.array(z.object({\n id: z.string().describe(\"The internal id of the company object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).passthrough().describe(\"Company object to save with required and optional fields.\")).describe(\"List of company objects to save. Minimum 1, maximum 20 objects.\"),\n}).describe(\"Request model for saving many company objects.\");\nconst PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object with custom key-value pairs.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\").nullable(),\n}).passthrough().describe(\"Company object as returned by the API after saving.\");\nconst PhantombusterSaveCompanyObjectsMany_SuccessResultSchema = z.object({\n result: PhantombusterSaveCompanyObjectsMany_SavedCompanyObjectSchema.nullable(),\n status: z.string().describe(\"Status of the operation.\").nullable(),\n}).passthrough().describe(\"Success response for a single company object.\");\nconst PhantombusterSaveCompanyObjectsMany_ErrorResultSchema = z.object({\n slug: z.string().describe(\"Slug of the company object that failed.\").nullable(),\n error: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Error response for a single company object.\");\nexport const PhantombusterSaveCompanyObjectsManyOutput = z.object({\n results: z.array(z.union([PhantombusterSaveCompanyObjectsMany_SuccessResultSchema, PhantombusterSaveCompanyObjectsMany_ErrorResultSchema])).describe(\"List of results for each company object save operation. Each result is either a success or error object.\"),\n}).passthrough().describe(\"Response schema for saving many company objects.\");\n\nexport const phantombusterSaveCompanyObjectsMany: AppAction<\n typeof PhantombusterSaveCompanyObjectsManyInput,\n typeof PhantombusterSaveCompanyObjectsManyOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECTS_MANY\", {\n slug: \"phantombuster-save-company-objects-many\",\n name: \"Save Many Company Objects\",\n description: \"Tool to save many company objects to organization storage. Use when you need to bulk insert or update company data with a minimum of 1 and maximum of 20 objects per request.\",\n input: PhantombusterSaveCompanyObjectsManyInput,\n output: PhantombusterSaveCompanyObjectsManyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2C,EAAE,OAAO,EAC/D,WAAW,EAAE,MAAM,EAAE,OAAO;CAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAClK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0DAA0D,EAAE,OAAO;CACvE,QAAQ,6DAA6D,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,yDAAyD,qDAAqD,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G,EACjQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/save-identity-event.ts
@@ -1 +1 @@
1
- {"version":3,"file":"save-identity-event.cjs","names":["z","action"],"sources":["../../src/actions/save-identity-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveIdentityEventInput = z.object({\n timestamp: z.number().int().describe(\"Optional timestamp of the identity event in milliseconds since epoch. Must be between 1000000000000 and 9999999999999.\").optional(),\n event_data: z.record(z.string(), z.unknown()).describe(\"Event data of the identity event containing additional information about the event.\"),\n event_type: z.string().describe(\"Type of the identity event (e.g., profile_view, connection_request).\"),\n profile_id: z.string().describe(\"Profile ID of the identity event.\"),\n identity_type: z.string().describe(\"Identity type of the identity event (e.g., linkedin, twitter, facebook).\"),\n}).describe(\"Request model for saving an identity event.\");\nexport const PhantombusterSaveIdentityEventOutput = z.object({\n id: z.string().describe(\"Unique identifier for the saved identity event.\").nullable(),\n org_id: z.string().describe(\"Organization ID associated with the identity event.\").nullable(),\n timestamp: z.number().int().describe(\"Timestamp of the identity event in milliseconds since epoch.\").nullable(),\n event_data: z.record(z.string(), z.unknown()).describe(\"Event data containing additional information about the event.\"),\n event_type: z.string().describe(\"Type of the identity event.\").nullable(),\n profile_id: z.string().describe(\"Profile ID of the identity event.\").nullable(),\n identity_type: z.string().describe(\"Identity type of the identity event.\").nullable(),\n}).passthrough().describe(\"Response schema for saving an identity event.\");\n\nexport const phantombusterSaveIdentityEvent = action(\"PHANTOMBUSTER_SAVE_IDENTITY_EVENT\", {\n slug: \"phantombuster-save-identity-event\",\n name: \"Save Identity Event\",\n description: \"Tool to save an identity event to Phantombuster. Use when you need to record user interactions or activities associated with specific social media profiles.\",\n input: PhantombusterSaveIdentityEventInput,\n output: PhantombusterSaveIdentityEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACxK,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"save-identity-event.cjs","names":["z","action"],"sources":["../../src/actions/save-identity-event.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 PhantombusterSaveIdentityEventInput = z.object({\n timestamp: z.number().int().describe(\"Optional timestamp of the identity event in milliseconds since epoch. Must be between 1000000000000 and 9999999999999.\").optional(),\n event_data: z.record(z.string(), z.unknown()).describe(\"Event data of the identity event containing additional information about the event.\"),\n event_type: z.string().describe(\"Type of the identity event (e.g., profile_view, connection_request).\"),\n profile_id: z.string().describe(\"Profile ID of the identity event.\"),\n identity_type: z.string().describe(\"Identity type of the identity event (e.g., linkedin, twitter, facebook).\"),\n}).describe(\"Request model for saving an identity event.\");\nexport const PhantombusterSaveIdentityEventOutput = z.object({\n id: z.string().describe(\"Unique identifier for the saved identity event.\").nullable(),\n org_id: z.string().describe(\"Organization ID associated with the identity event.\").nullable(),\n timestamp: z.number().int().describe(\"Timestamp of the identity event in milliseconds since epoch.\").nullable(),\n event_data: z.record(z.string(), z.unknown()).describe(\"Event data containing additional information about the event.\"),\n event_type: z.string().describe(\"Type of the identity event.\").nullable(),\n profile_id: z.string().describe(\"Profile ID of the identity event.\").nullable(),\n identity_type: z.string().describe(\"Identity type of the identity event.\").nullable(),\n}).passthrough().describe(\"Response schema for saving an identity event.\");\n\nexport const phantombusterSaveIdentityEvent: AppAction<\n typeof PhantombusterSaveIdentityEventInput,\n typeof PhantombusterSaveIdentityEventOutput,\n typeof phantombuster.credential\n> = action(\"PHANTOMBUSTER_SAVE_IDENTITY_EVENT\", {\n slug: \"phantombuster-save-identity-event\",\n name: \"Save Identity Event\",\n description: \"Tool to save an identity event to Phantombuster. Use when you need to record user interactions or activities associated with specific social media profiles.\",\n input: PhantombusterSaveIdentityEventInput,\n output: PhantombusterSaveIdentityEventOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACxK,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IA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