@keystrokehq/phantombuster 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/abort-agent-v1.cjs +23 -0
- package/dist/actions/abort-agent-v1.cjs.map +1 -0
- package/dist/actions/abort-agent-v1.d.cts +9 -0
- package/dist/actions/abort-agent-v1.d.cts.map +1 -0
- package/dist/actions/abort-agent-v1.d.mts +9 -0
- package/dist/actions/abort-agent-v1.d.mts.map +1 -0
- package/dist/actions/abort-agent-v1.mjs +22 -0
- package/dist/actions/abort-agent-v1.mjs.map +1 -0
- package/dist/actions/delete-agent.cjs +23 -0
- package/dist/actions/delete-agent.cjs.map +1 -0
- package/dist/actions/delete-agent.d.cts +9 -0
- package/dist/actions/delete-agent.d.cts.map +1 -0
- package/dist/actions/delete-agent.d.mts +9 -0
- package/dist/actions/delete-agent.d.mts.map +1 -0
- package/dist/actions/delete-agent.mjs +22 -0
- package/dist/actions/delete-agent.mjs.map +1 -0
- package/dist/actions/delete-lead-objects.cjs +20 -0
- package/dist/actions/delete-lead-objects.cjs.map +1 -0
- package/dist/actions/delete-lead-objects.d.cts +9 -0
- package/dist/actions/delete-lead-objects.d.cts.map +1 -0
- package/dist/actions/delete-lead-objects.d.mts +9 -0
- package/dist/actions/delete-lead-objects.d.mts.map +1 -0
- package/dist/actions/delete-lead-objects.mjs +17 -0
- package/dist/actions/delete-lead-objects.mjs.map +1 -0
- package/dist/actions/delete-leads-many.cjs +19 -0
- package/dist/actions/delete-leads-many.cjs.map +1 -0
- package/dist/actions/delete-leads-many.d.cts +9 -0
- package/dist/actions/delete-leads-many.d.cts.map +1 -0
- package/dist/actions/delete-leads-many.d.mts +9 -0
- package/dist/actions/delete-leads-many.d.mts.map +1 -0
- package/dist/actions/delete-leads-many.mjs +16 -0
- package/dist/actions/delete-leads-many.mjs.map +1 -0
- package/dist/actions/delete-list.cjs +19 -0
- package/dist/actions/delete-list.cjs.map +1 -0
- package/dist/actions/delete-list.d.cts +9 -0
- package/dist/actions/delete-list.d.cts.map +1 -0
- package/dist/actions/delete-list.d.mts +9 -0
- package/dist/actions/delete-list.d.mts.map +1 -0
- package/dist/actions/delete-list.mjs +16 -0
- package/dist/actions/delete-list.mjs.map +1 -0
- package/dist/actions/delete-script.cjs +25 -0
- package/dist/actions/delete-script.cjs.map +1 -0
- package/dist/actions/delete-script.d.cts +9 -0
- package/dist/actions/delete-script.d.cts.map +1 -0
- package/dist/actions/delete-script.d.mts +9 -0
- package/dist/actions/delete-script.d.mts.map +1 -0
- package/dist/actions/delete-script.mjs +24 -0
- package/dist/actions/delete-script.mjs.map +1 -0
- package/dist/actions/get-agent-containers.cjs +30 -0
- package/dist/actions/get-agent-containers.cjs.map +1 -0
- package/dist/actions/get-agent-containers.d.cts +9 -0
- package/dist/actions/get-agent-containers.d.cts.map +1 -0
- package/dist/actions/get-agent-containers.d.mts +9 -0
- package/dist/actions/get-agent-containers.d.mts.map +1 -0
- package/dist/actions/get-agent-containers.mjs +29 -0
- package/dist/actions/get-agent-containers.mjs.map +1 -0
- package/dist/actions/get-agent-output.cjs +42 -0
- package/dist/actions/get-agent-output.cjs.map +1 -0
- package/dist/actions/get-agent-output.d.cts +9 -0
- package/dist/actions/get-agent-output.d.cts.map +1 -0
- package/dist/actions/get-agent-output.d.mts +9 -0
- package/dist/actions/get-agent-output.d.mts.map +1 -0
- package/dist/actions/get-agent-output.mjs +41 -0
- package/dist/actions/get-agent-output.mjs.map +1 -0
- package/dist/actions/get-agent.cjs +212 -0
- package/dist/actions/get-agent.cjs.map +1 -0
- package/dist/actions/get-agent.d.cts +9 -0
- package/dist/actions/get-agent.d.cts.map +1 -0
- package/dist/actions/get-agent.d.mts +9 -0
- package/dist/actions/get-agent.d.mts.map +1 -0
- package/dist/actions/get-agent.mjs +211 -0
- package/dist/actions/get-agent.mjs.map +1 -0
- package/dist/actions/get-agents-fetch-all.cjs +41 -0
- package/dist/actions/get-agents-fetch-all.cjs.map +1 -0
- package/dist/actions/get-agents-fetch-all.d.cts +9 -0
- package/dist/actions/get-agents-fetch-all.d.cts.map +1 -0
- package/dist/actions/get-agents-fetch-all.d.mts +9 -0
- package/dist/actions/get-agents-fetch-all.d.mts.map +1 -0
- package/dist/actions/get-agents-fetch-all.mjs +40 -0
- package/dist/actions/get-agents-fetch-all.mjs.map +1 -0
- package/dist/actions/get-agents-fetch-deleted.cjs +16 -0
- package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -0
- package/dist/actions/get-agents-fetch-deleted.d.cts +9 -0
- package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -0
- package/dist/actions/get-agents-fetch-deleted.d.mts +9 -0
- package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -0
- package/dist/actions/get-agents-fetch-deleted.mjs +13 -0
- package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -0
- package/dist/actions/get-branches-diff.cjs +19 -0
- package/dist/actions/get-branches-diff.cjs.map +1 -0
- package/dist/actions/get-branches-diff.d.cts +9 -0
- package/dist/actions/get-branches-diff.d.cts.map +1 -0
- package/dist/actions/get-branches-diff.d.mts +9 -0
- package/dist/actions/get-branches-diff.d.mts.map +1 -0
- package/dist/actions/get-branches-diff.mjs +16 -0
- package/dist/actions/get-branches-diff.mjs.map +1 -0
- package/dist/actions/get-branches-fetch-all.cjs +23 -0
- package/dist/actions/get-branches-fetch-all.cjs.map +1 -0
- package/dist/actions/get-branches-fetch-all.d.cts +9 -0
- package/dist/actions/get-branches-fetch-all.d.cts.map +1 -0
- package/dist/actions/get-branches-fetch-all.d.mts +9 -0
- package/dist/actions/get-branches-fetch-all.d.mts.map +1 -0
- package/dist/actions/get-branches-fetch-all.mjs +22 -0
- package/dist/actions/get-branches-fetch-all.mjs.map +1 -0
- package/dist/actions/get-containers-fetch-all.cjs +31 -0
- package/dist/actions/get-containers-fetch-all.cjs.map +1 -0
- package/dist/actions/get-containers-fetch-all.d.cts +9 -0
- package/dist/actions/get-containers-fetch-all.d.cts.map +1 -0
- package/dist/actions/get-containers-fetch-all.d.mts +9 -0
- package/dist/actions/get-containers-fetch-all.d.mts.map +1 -0
- package/dist/actions/get-containers-fetch-all.mjs +30 -0
- package/dist/actions/get-containers-fetch-all.mjs.map +1 -0
- package/dist/actions/get-leads-by-list.cjs +32 -0
- package/dist/actions/get-leads-by-list.cjs.map +1 -0
- package/dist/actions/get-leads-by-list.d.cts +9 -0
- package/dist/actions/get-leads-by-list.d.cts.map +1 -0
- package/dist/actions/get-leads-by-list.d.mts +9 -0
- package/dist/actions/get-leads-by-list.d.mts.map +1 -0
- package/dist/actions/get-leads-by-list.mjs +31 -0
- package/dist/actions/get-leads-by-list.mjs.map +1 -0
- package/dist/actions/get-location-ip.cjs +16 -0
- package/dist/actions/get-location-ip.cjs.map +1 -0
- package/dist/actions/get-location-ip.d.cts +9 -0
- package/dist/actions/get-location-ip.d.cts.map +1 -0
- package/dist/actions/get-location-ip.d.mts +9 -0
- package/dist/actions/get-location-ip.d.mts.map +1 -0
- package/dist/actions/get-location-ip.mjs +13 -0
- package/dist/actions/get-location-ip.mjs.map +1 -0
- package/dist/actions/get-org-storage-lists-fetch-all.cjs +27 -0
- package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -0
- package/dist/actions/get-org-storage-lists-fetch-all.d.cts +9 -0
- package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -0
- package/dist/actions/get-org-storage-lists-fetch-all.d.mts +9 -0
- package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -0
- package/dist/actions/get-org-storage-lists-fetch-all.mjs +26 -0
- package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -0
- package/dist/actions/get-orgs-export-agent-usage.cjs +19 -0
- package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -0
- package/dist/actions/get-orgs-export-agent-usage.d.cts +9 -0
- package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -0
- package/dist/actions/get-orgs-export-agent-usage.d.mts +9 -0
- package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -0
- package/dist/actions/get-orgs-export-agent-usage.mjs +16 -0
- package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -0
- package/dist/actions/get-orgs-export-container-usage.cjs +19 -0
- package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -0
- package/dist/actions/get-orgs-export-container-usage.d.cts +9 -0
- package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -0
- package/dist/actions/get-orgs-export-container-usage.d.mts +9 -0
- package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -0
- package/dist/actions/get-orgs-export-container-usage.mjs +16 -0
- package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -0
- package/dist/actions/get-orgs-fetch-agent-groups.cjs +16 -0
- package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -0
- package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -0
- package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -0
- package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -0
- package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -0
- package/dist/actions/get-orgs-fetch-agent-groups.mjs +13 -0
- package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -0
- package/dist/actions/get-orgs-fetch-resources.cjs +62 -0
- package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -0
- package/dist/actions/get-orgs-fetch-resources.d.cts +9 -0
- package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -0
- package/dist/actions/get-orgs-fetch-resources.d.mts +9 -0
- package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -0
- package/dist/actions/get-orgs-fetch-resources.mjs +61 -0
- package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -0
- package/dist/actions/get-orgs-fetch-running-containers.cjs +23 -0
- package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -0
- package/dist/actions/get-orgs-fetch-running-containers.d.cts +9 -0
- package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -0
- package/dist/actions/get-orgs-fetch-running-containers.d.mts +9 -0
- package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -0
- package/dist/actions/get-orgs-fetch-running-containers.mjs +22 -0
- package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -0
- package/dist/actions/get-orgs-fetch.cjs +22 -0
- package/dist/actions/get-orgs-fetch.cjs.map +1 -0
- package/dist/actions/get-orgs-fetch.d.cts +9 -0
- package/dist/actions/get-orgs-fetch.d.cts.map +1 -0
- package/dist/actions/get-orgs-fetch.d.mts +9 -0
- package/dist/actions/get-orgs-fetch.d.mts.map +1 -0
- package/dist/actions/get-orgs-fetch.mjs +19 -0
- package/dist/actions/get-orgs-fetch.mjs.map +1 -0
- package/dist/actions/get-script-by-name.cjs +32 -0
- package/dist/actions/get-script-by-name.cjs.map +1 -0
- package/dist/actions/get-script-by-name.d.cts +9 -0
- package/dist/actions/get-script-by-name.d.cts.map +1 -0
- package/dist/actions/get-script-by-name.d.mts +9 -0
- package/dist/actions/get-script-by-name.d.mts.map +1 -0
- package/dist/actions/get-script-by-name.mjs +31 -0
- package/dist/actions/get-script-by-name.mjs.map +1 -0
- package/dist/actions/get-script.cjs +69 -0
- package/dist/actions/get-script.cjs.map +1 -0
- package/dist/actions/get-script.d.cts +9 -0
- package/dist/actions/get-script.d.cts.map +1 -0
- package/dist/actions/get-script.d.mts +9 -0
- package/dist/actions/get-script.d.mts.map +1 -0
- package/dist/actions/get-script.mjs +68 -0
- package/dist/actions/get-script.mjs.map +1 -0
- package/dist/actions/get-scripts-code.cjs +22 -0
- package/dist/actions/get-scripts-code.cjs.map +1 -0
- package/dist/actions/get-scripts-code.d.cts +9 -0
- package/dist/actions/get-scripts-code.d.cts.map +1 -0
- package/dist/actions/get-scripts-code.d.mts +9 -0
- package/dist/actions/get-scripts-code.d.mts.map +1 -0
- package/dist/actions/get-scripts-code.mjs +19 -0
- package/dist/actions/get-scripts-code.mjs.map +1 -0
- package/dist/actions/get-scripts-fetch-all.cjs +25 -0
- package/dist/actions/get-scripts-fetch-all.cjs.map +1 -0
- package/dist/actions/get-scripts-fetch-all.d.cts +9 -0
- package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -0
- package/dist/actions/get-scripts-fetch-all.d.mts +9 -0
- package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -0
- package/dist/actions/get-scripts-fetch-all.mjs +24 -0
- package/dist/actions/get-scripts-fetch-all.mjs.map +1 -0
- package/dist/actions/get-user.cjs +37 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +36 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +107 -0
- package/dist/actions/index.d.cts +54 -0
- package/dist/actions/index.d.mts +54 -0
- package/dist/actions/index.mjs +54 -0
- package/dist/actions/post-agents-unschedule-all.cjs +16 -0
- package/dist/actions/post-agents-unschedule-all.cjs.map +1 -0
- package/dist/actions/post-agents-unschedule-all.d.cts +9 -0
- package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -0
- package/dist/actions/post-agents-unschedule-all.d.mts +9 -0
- package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -0
- package/dist/actions/post-agents-unschedule-all.mjs +13 -0
- package/dist/actions/post-agents-unschedule-all.mjs.map +1 -0
- package/dist/actions/post-ai-completions.cjs +38 -0
- package/dist/actions/post-ai-completions.cjs.map +1 -0
- package/dist/actions/post-ai-completions.d.cts +9 -0
- package/dist/actions/post-ai-completions.d.cts.map +1 -0
- package/dist/actions/post-ai-completions.d.mts +9 -0
- package/dist/actions/post-ai-completions.d.mts.map +1 -0
- package/dist/actions/post-ai-completions.mjs +37 -0
- package/dist/actions/post-ai-completions.mjs.map +1 -0
- package/dist/actions/post-branches-create.cjs +22 -0
- package/dist/actions/post-branches-create.cjs.map +1 -0
- package/dist/actions/post-branches-create.d.cts +9 -0
- package/dist/actions/post-branches-create.d.cts.map +1 -0
- package/dist/actions/post-branches-create.d.mts +9 -0
- package/dist/actions/post-branches-create.d.mts.map +1 -0
- package/dist/actions/post-branches-create.mjs +19 -0
- package/dist/actions/post-branches-create.mjs.map +1 -0
- package/dist/actions/post-branches-delete.cjs +20 -0
- package/dist/actions/post-branches-delete.cjs.map +1 -0
- package/dist/actions/post-branches-delete.d.cts +9 -0
- package/dist/actions/post-branches-delete.d.cts.map +1 -0
- package/dist/actions/post-branches-delete.d.mts +9 -0
- package/dist/actions/post-branches-delete.d.mts.map +1 -0
- package/dist/actions/post-branches-delete.mjs +19 -0
- package/dist/actions/post-branches-delete.mjs.map +1 -0
- package/dist/actions/post-hcaptcha.cjs +24 -0
- package/dist/actions/post-hcaptcha.cjs.map +1 -0
- package/dist/actions/post-hcaptcha.d.cts +9 -0
- package/dist/actions/post-hcaptcha.d.cts.map +1 -0
- package/dist/actions/post-hcaptcha.d.mts +9 -0
- package/dist/actions/post-hcaptcha.d.mts.map +1 -0
- package/dist/actions/post-hcaptcha.mjs +21 -0
- package/dist/actions/post-hcaptcha.mjs.map +1 -0
- package/dist/actions/post-identities-generate-token.cjs +20 -0
- package/dist/actions/post-identities-generate-token.cjs.map +1 -0
- package/dist/actions/post-identities-generate-token.d.cts +9 -0
- package/dist/actions/post-identities-generate-token.d.cts.map +1 -0
- package/dist/actions/post-identities-generate-token.d.mts +9 -0
- package/dist/actions/post-identities-generate-token.d.mts.map +1 -0
- package/dist/actions/post-identities-generate-token.mjs +17 -0
- package/dist/actions/post-identities-generate-token.mjs.map +1 -0
- package/dist/actions/post-org-storage-leads-save-many.cjs +85 -0
- package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -0
- package/dist/actions/post-org-storage-leads-save-many.d.cts +9 -0
- package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -0
- package/dist/actions/post-org-storage-leads-save-many.d.mts +9 -0
- package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -0
- package/dist/actions/post-org-storage-leads-save-many.mjs +84 -0
- package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -0
- package/dist/actions/post-recaptcha.cjs +25 -0
- package/dist/actions/post-recaptcha.cjs.map +1 -0
- package/dist/actions/post-recaptcha.d.cts +9 -0
- package/dist/actions/post-recaptcha.d.cts.map +1 -0
- package/dist/actions/post-recaptcha.d.mts +9 -0
- package/dist/actions/post-recaptcha.d.mts.map +1 -0
- package/dist/actions/post-recaptcha.mjs +22 -0
- package/dist/actions/post-recaptcha.mjs.map +1 -0
- package/dist/actions/post-scripts-visibility.cjs +27 -0
- package/dist/actions/post-scripts-visibility.cjs.map +1 -0
- package/dist/actions/post-scripts-visibility.d.cts +9 -0
- package/dist/actions/post-scripts-visibility.d.cts.map +1 -0
- package/dist/actions/post-scripts-visibility.d.mts +9 -0
- package/dist/actions/post-scripts-visibility.d.mts.map +1 -0
- package/dist/actions/post-scripts-visibility.mjs +24 -0
- package/dist/actions/post-scripts-visibility.mjs.map +1 -0
- package/dist/actions/release-branch.cjs +23 -0
- package/dist/actions/release-branch.cjs.map +1 -0
- package/dist/actions/release-branch.d.cts +9 -0
- package/dist/actions/release-branch.d.cts.map +1 -0
- package/dist/actions/release-branch.d.mts +9 -0
- package/dist/actions/release-branch.d.mts.map +1 -0
- package/dist/actions/release-branch.mjs +20 -0
- package/dist/actions/release-branch.mjs.map +1 -0
- package/dist/actions/save-agent-groups.cjs +28 -0
- package/dist/actions/save-agent-groups.cjs.map +1 -0
- package/dist/actions/save-agent-groups.d.cts +9 -0
- package/dist/actions/save-agent-groups.d.cts.map +1 -0
- package/dist/actions/save-agent-groups.d.mts +9 -0
- package/dist/actions/save-agent-groups.d.mts.map +1 -0
- package/dist/actions/save-agent-groups.mjs +27 -0
- package/dist/actions/save-agent-groups.mjs.map +1 -0
- package/dist/actions/save-agent.cjs +143 -0
- package/dist/actions/save-agent.cjs.map +1 -0
- package/dist/actions/save-agent.d.cts +9 -0
- package/dist/actions/save-agent.d.cts.map +1 -0
- package/dist/actions/save-agent.d.mts +9 -0
- package/dist/actions/save-agent.d.mts.map +1 -0
- package/dist/actions/save-agent.mjs +140 -0
- package/dist/actions/save-agent.mjs.map +1 -0
- package/dist/actions/save-company-object.cjs +30 -0
- package/dist/actions/save-company-object.cjs.map +1 -0
- package/dist/actions/save-company-object.d.cts +9 -0
- package/dist/actions/save-company-object.d.cts.map +1 -0
- package/dist/actions/save-company-object.d.mts +9 -0
- package/dist/actions/save-company-object.d.mts.map +1 -0
- package/dist/actions/save-company-object.mjs +27 -0
- package/dist/actions/save-company-object.mjs.map +1 -0
- package/dist/actions/save-company-objects-many.cjs +40 -0
- package/dist/actions/save-company-objects-many.cjs.map +1 -0
- package/dist/actions/save-company-objects-many.d.cts +9 -0
- package/dist/actions/save-company-objects-many.d.cts.map +1 -0
- package/dist/actions/save-company-objects-many.d.mts +9 -0
- package/dist/actions/save-company-objects-many.d.mts.map +1 -0
- package/dist/actions/save-company-objects-many.mjs +39 -0
- package/dist/actions/save-company-objects-many.mjs.map +1 -0
- package/dist/actions/save-identity-event.cjs +30 -0
- package/dist/actions/save-identity-event.cjs.map +1 -0
- package/dist/actions/save-identity-event.d.cts +9 -0
- package/dist/actions/save-identity-event.d.cts.map +1 -0
- package/dist/actions/save-identity-event.d.mts +9 -0
- package/dist/actions/save-identity-event.d.mts.map +1 -0
- package/dist/actions/save-identity-event.mjs +27 -0
- package/dist/actions/save-identity-event.mjs.map +1 -0
- package/dist/actions/save-lead-object.cjs +34 -0
- package/dist/actions/save-lead-object.cjs.map +1 -0
- package/dist/actions/save-lead-object.d.cts +9 -0
- package/dist/actions/save-lead-object.d.cts.map +1 -0
- package/dist/actions/save-lead-object.d.mts +9 -0
- package/dist/actions/save-lead-object.d.mts.map +1 -0
- package/dist/actions/save-lead-object.mjs +31 -0
- package/dist/actions/save-lead-object.mjs.map +1 -0
- package/dist/actions/save-lead.cjs +131 -0
- package/dist/actions/save-lead.cjs.map +1 -0
- package/dist/actions/save-lead.d.cts +9 -0
- package/dist/actions/save-lead.d.cts.map +1 -0
- package/dist/actions/save-lead.d.mts +9 -0
- package/dist/actions/save-lead.d.mts.map +1 -0
- package/dist/actions/save-lead.mjs +128 -0
- package/dist/actions/save-lead.mjs.map +1 -0
- package/dist/actions/save-leads-objects-many.cjs +35 -0
- package/dist/actions/save-leads-objects-many.cjs.map +1 -0
- package/dist/actions/save-leads-objects-many.d.cts +9 -0
- package/dist/actions/save-leads-objects-many.d.cts.map +1 -0
- package/dist/actions/save-leads-objects-many.d.mts +9 -0
- package/dist/actions/save-leads-objects-many.d.mts.map +1 -0
- package/dist/actions/save-leads-objects-many.mjs +34 -0
- package/dist/actions/save-leads-objects-many.mjs.map +1 -0
- package/dist/actions/save-list.cjs +34 -0
- package/dist/actions/save-list.cjs.map +1 -0
- package/dist/actions/save-list.d.cts +9 -0
- package/dist/actions/save-list.d.cts.map +1 -0
- package/dist/actions/save-list.d.mts +9 -0
- package/dist/actions/save-list.d.mts.map +1 -0
- package/dist/actions/save-list.mjs +31 -0
- package/dist/actions/save-list.mjs.map +1 -0
- package/dist/actions/save-script.cjs +36 -0
- package/dist/actions/save-script.cjs.map +1 -0
- package/dist/actions/save-script.d.cts +9 -0
- package/dist/actions/save-script.d.cts.map +1 -0
- package/dist/actions/save-script.d.mts +9 -0
- package/dist/actions/save-script.d.mts.map +1 -0
- package/dist/actions/save-script.mjs +33 -0
- package/dist/actions/save-script.mjs.map +1 -0
- package/dist/actions/search-company-objects.cjs +24 -0
- package/dist/actions/search-company-objects.cjs.map +1 -0
- package/dist/actions/search-company-objects.d.cts +9 -0
- package/dist/actions/search-company-objects.d.cts.map +1 -0
- package/dist/actions/search-company-objects.d.mts +9 -0
- package/dist/actions/search-company-objects.d.mts.map +1 -0
- package/dist/actions/search-company-objects.mjs +21 -0
- package/dist/actions/search-company-objects.mjs.map +1 -0
- package/dist/actions/search-lead-objects.cjs +20 -0
- package/dist/actions/search-lead-objects.cjs.map +1 -0
- package/dist/actions/search-lead-objects.d.cts +9 -0
- package/dist/actions/search-lead-objects.d.cts.map +1 -0
- package/dist/actions/search-lead-objects.d.mts +9 -0
- package/dist/actions/search-lead-objects.d.mts.map +1 -0
- package/dist/actions/search-lead-objects.mjs +19 -0
- package/dist/actions/search-lead-objects.mjs.map +1 -0
- package/dist/actions/stop-agent.cjs +25 -0
- package/dist/actions/stop-agent.cjs.map +1 -0
- package/dist/actions/stop-agent.d.cts +9 -0
- package/dist/actions/stop-agent.d.cts.map +1 -0
- package/dist/actions/stop-agent.d.mts +9 -0
- package/dist/actions/stop-agent.d.mts.map +1 -0
- package/dist/actions/stop-agent.mjs +22 -0
- package/dist/actions/stop-agent.mjs.map +1 -0
- package/dist/actions/update-script.cjs +23 -0
- package/dist/actions/update-script.cjs.map +1 -0
- package/dist/actions/update-script.d.cts +9 -0
- package/dist/actions/update-script.d.cts.map +1 -0
- package/dist/actions/update-script.d.mts +9 -0
- package/dist/actions/update-script.d.mts.map +1 -0
- package/dist/actions/update-script.mjs +20 -0
- package/dist/actions/update-script.mjs.map +1 -0
- package/dist/actions/update-scripts-access-list.cjs +25 -0
- package/dist/actions/update-scripts-access-list.cjs.map +1 -0
- package/dist/actions/update-scripts-access-list.d.cts +9 -0
- package/dist/actions/update-scripts-access-list.d.cts.map +1 -0
- package/dist/actions/update-scripts-access-list.d.mts +9 -0
- package/dist/actions/update-scripts-access-list.d.mts.map +1 -0
- package/dist/actions/update-scripts-access-list.mjs +22 -0
- package/dist/actions/update-scripts-access-list.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +112 -0
- package/dist/index.d.cts +56 -0
- package/dist/index.d.mts +56 -0
- package/dist/index.mjs +57 -0
- package/package.json +49 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterPostBranchesCreate = action("PHANTOMBUSTER_POST_BRANCHES_CREATE", {
|
|
4
|
+
slug: "phantombuster-post-branches-create",
|
|
5
|
+
name: "Create Branch",
|
|
6
|
+
description: "Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Name of the branch to create."),
|
|
9
|
+
"X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
|
|
10
|
+
}).describe("Request model for creating a new branch."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the created branch."),
|
|
13
|
+
name: z.string().describe("Name of the created branch.")
|
|
14
|
+
}).describe("Response schema for a newly created branch.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { phantombusterPostBranchesCreate };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-branches-create.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-branches-create.mjs","names":[],"sources":["../../src/actions/post-branches-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesCreateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the branch to create.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for creating a new branch.\");\nexport const PhantombusterPostBranchesCreateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created branch.\"),\n name: z.string().describe(\"Name of the created branch.\"),\n}).describe(\"Response schema for a newly created branch.\");\n\nexport const phantombusterPostBranchesCreate = action(\"PHANTOMBUSTER_POST_BRANCHES_CREATE\", {\n slug: \"phantombuster-post-branches-create\",\n name: \"Create Branch\",\n description: \"Tool to create a new branch. Use when you need to isolate updates by creating a separate branch. Use after authenticating with your Phantombuster API key and optionally specifying an organization.\",\n input: PhantombusterPostBranchesCreateInput,\n output: PhantombusterPostBranchesCreateOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAViE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-branches-delete.ts
|
|
4
|
+
const PhantombusterPostBranchesDeleteInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the branch to be deleted.") }).describe("Request model for POST /branches/delete.");
|
|
5
|
+
const PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema = zod.z.object({ deleted: zod.z.boolean().describe("Indicates whether the branch was successfully deleted.") }).describe("Data object for delete response.");
|
|
6
|
+
const PhantombusterPostBranchesDeleteOutput = zod.z.object({
|
|
7
|
+
data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),
|
|
8
|
+
status: zod.z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.")
|
|
9
|
+
}).describe("Response model for POST /branches/delete.");
|
|
10
|
+
const phantombusterPostBranchesDelete = require_action.action("PHANTOMBUSTER_POST_BRANCHES_DELETE", {
|
|
11
|
+
slug: "phantombuster-post-branches-delete",
|
|
12
|
+
name: "Delete Branch",
|
|
13
|
+
description: "Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.",
|
|
14
|
+
input: PhantombusterPostBranchesDeleteInput,
|
|
15
|
+
output: PhantombusterPostBranchesDeleteOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.phantombusterPostBranchesDelete = phantombusterPostBranchesDelete;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=post-branches-delete.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-branches-delete.cjs","names":["z","action"],"sources":["../../src/actions/post-branches-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesDeleteInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch to be deleted.\"),\n}).describe(\"Request model for POST /branches/delete.\");\nconst PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema: z.ZodTypeAny = z.object({\n deleted: z.boolean().describe(\"Indicates whether the branch was successfully deleted.\"),\n}).describe(\"Data object for delete response.\");\nexport const PhantombusterPostBranchesDeleteOutput: z.ZodTypeAny = z.object({\n data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\"),\n}).describe(\"Response model for POST /branches/delete.\");\n\nexport const phantombusterPostBranchesDelete = action(\"PHANTOMBUSTER_POST_BRANCHES_DELETE\", {\n slug: \"phantombuster-post-branches-delete\",\n name: \"Delete Branch\",\n description: \"Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.\",\n input: PhantombusterPostBranchesDeleteInput,\n output: PhantombusterPostBranchesDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uEAAqFA,IAAAA,EAAE,OAAO,EAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,EACxF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAM,qEAAqE,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC3F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-branches-delete.d.ts
|
|
4
|
+
declare const PhantombusterPostBranchesDeleteInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostBranchesDeleteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostBranchesDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostBranchesDelete };
|
|
9
|
+
//# sourceMappingURL=post-branches-delete.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-branches-delete.d.cts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEE;AAAA,cAI1C,qCAAA,EAAuC,CAAA,CAAE,UAGE;AAAA,cAE3C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-branches-delete.d.ts
|
|
4
|
+
declare const PhantombusterPostBranchesDeleteInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostBranchesDeleteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostBranchesDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostBranchesDelete };
|
|
9
|
+
//# sourceMappingURL=post-branches-delete.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-branches-delete.d.mts","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEE;AAAA,cAI1C,qCAAA,EAAuC,CAAA,CAAE,UAGE;AAAA,cAE3C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-branches-delete.ts
|
|
4
|
+
const PhantombusterPostBranchesDeleteInput = z.object({ id: z.string().describe("The unique identifier of the branch to be deleted.") }).describe("Request model for POST /branches/delete.");
|
|
5
|
+
const PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema = z.object({ deleted: z.boolean().describe("Indicates whether the branch was successfully deleted.") }).describe("Data object for delete response.");
|
|
6
|
+
const phantombusterPostBranchesDelete = action("PHANTOMBUSTER_POST_BRANCHES_DELETE", {
|
|
7
|
+
slug: "phantombuster-post-branches-delete",
|
|
8
|
+
name: "Delete Branch",
|
|
9
|
+
description: "Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.",
|
|
10
|
+
input: PhantombusterPostBranchesDeleteInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),
|
|
13
|
+
status: z.string().describe("Status of the delete operation, e.g., 'success' or 'error'.")
|
|
14
|
+
}).describe("Response model for POST /branches/delete.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { phantombusterPostBranchesDelete };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-branches-delete.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-branches-delete.mjs","names":[],"sources":["../../src/actions/post-branches-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostBranchesDeleteInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the branch to be deleted.\"),\n}).describe(\"Request model for POST /branches/delete.\");\nconst PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema: z.ZodTypeAny = z.object({\n deleted: z.boolean().describe(\"Indicates whether the branch was successfully deleted.\"),\n}).describe(\"Data object for delete response.\");\nexport const PhantombusterPostBranchesDeleteOutput: z.ZodTypeAny = z.object({\n data: PhantombusterPostBranchesDelete_PostBranchesDeleteResponseDataSchema.nullable(),\n status: z.string().describe(\"Status of the delete operation, e.g., 'success' or 'error'.\"),\n}).describe(\"Response model for POST /branches/delete.\");\n\nexport const phantombusterPostBranchesDelete = action(\"PHANTOMBUSTER_POST_BRANCHES_DELETE\", {\n slug: \"phantombuster-post-branches-delete\",\n name: \"Delete Branch\",\n description: \"Tool to delete a branch by id. Use when you need to remove obsolete or incorrect script branches; ensure the branch exists before calling.\",\n input: PhantombusterPostBranchesDeleteInput,\n output: PhantombusterPostBranchesDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uEAAqF,EAAE,OAAO,EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,EACxF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAM9C,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViE,EAAE,OAAO;EAC1E,MAAM,qEAAqE,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC3F,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-hcaptcha.ts
|
|
4
|
+
const PhantombusterPostHcaptchaInput = zod.z.object({
|
|
5
|
+
proxy: zod.z.string().describe("Proxy URL (e.g., http://user:pass@host:port) to route requests through.").optional(),
|
|
6
|
+
pageUrl: zod.z.string().describe("Full URL of the page where the hCaptcha appears."),
|
|
7
|
+
siteKey: zod.z.string().describe("The public site key of the hCaptcha widget."),
|
|
8
|
+
userAgent: zod.z.string().describe("Custom User-Agent to simulate in the solving request.").optional()
|
|
9
|
+
}).describe("Request model for solving an hCaptcha challenge.");
|
|
10
|
+
const PhantombusterPostHcaptchaOutput = zod.z.object({
|
|
11
|
+
error: zod.z.string().describe("Error message if the challenge could not be solved.").nullable().optional(),
|
|
12
|
+
token: zod.z.string().describe("The hCaptcha response token to use for form submissions.").nullable().optional()
|
|
13
|
+
}).describe("Response schema for hCaptcha solving endpoint.");
|
|
14
|
+
const phantombusterPostHcaptcha = require_action.action("PHANTOMBUSTER_POST_HCAPTCHA", {
|
|
15
|
+
slug: "phantombuster-post-hcaptcha",
|
|
16
|
+
name: "Solve hCaptcha",
|
|
17
|
+
description: "Tool to solve an hCaptcha challenge. Use when you need a valid hCaptcha token for form submissions or automation flows.",
|
|
18
|
+
input: PhantombusterPostHcaptchaInput,
|
|
19
|
+
output: PhantombusterPostHcaptchaOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.phantombusterPostHcaptcha = phantombusterPostHcaptcha;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=post-hcaptcha.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-hcaptcha.cjs","names":["z","action"],"sources":["../../src/actions/post-hcaptcha.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostHcaptchaInput: z.ZodTypeAny = z.object({\n proxy: z.string().describe(\"Proxy URL (e.g., http://user:pass@host:port) to route requests through.\").optional(),\n pageUrl: z.string().describe(\"Full URL of the page where the hCaptcha appears.\"),\n siteKey: z.string().describe(\"The public site key of the hCaptcha widget.\"),\n userAgent: z.string().describe(\"Custom User-Agent to simulate in the solving request.\").optional(),\n}).describe(\"Request model for solving an hCaptcha challenge.\");\nexport const PhantombusterPostHcaptchaOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the challenge could not be solved.\").nullable().optional(),\n token: z.string().describe(\"The hCaptcha response token to use for form submissions.\").nullable().optional(),\n}).describe(\"Response schema for hCaptcha solving endpoint.\");\n\nexport const phantombusterPostHcaptcha = action(\"PHANTOMBUSTER_POST_HCAPTCHA\", {\n slug: \"phantombuster-post-hcaptcha\",\n name: \"Solve hCaptcha\",\n description: \"Tool to solve an hCaptcha challenge. Use when you need a valid hCaptcha token for form submissions or automation flows.\",\n input: PhantombusterPostHcaptchaInput,\n output: PhantombusterPostHcaptchaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-hcaptcha.d.ts
|
|
4
|
+
declare const PhantombusterPostHcaptchaInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostHcaptchaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostHcaptcha: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostHcaptcha };
|
|
9
|
+
//# sourceMappingURL=post-hcaptcha.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-hcaptcha.d.cts","names":[],"sources":["../../src/actions/post-hcaptcha.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKgB;AAAA,cAClD,+BAAA,EAAiC,CAAA,CAAE,UAGa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-hcaptcha.d.ts
|
|
4
|
+
declare const PhantombusterPostHcaptchaInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostHcaptchaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostHcaptcha: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostHcaptcha };
|
|
9
|
+
//# sourceMappingURL=post-hcaptcha.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-hcaptcha.d.mts","names":[],"sources":["../../src/actions/post-hcaptcha.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKgB;AAAA,cAClD,+BAAA,EAAiC,CAAA,CAAE,UAGa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterPostHcaptcha = action("PHANTOMBUSTER_POST_HCAPTCHA", {
|
|
4
|
+
slug: "phantombuster-post-hcaptcha",
|
|
5
|
+
name: "Solve hCaptcha",
|
|
6
|
+
description: "Tool to solve an hCaptcha challenge. Use when you need a valid hCaptcha token for form submissions or automation flows.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
proxy: z.string().describe("Proxy URL (e.g., http://user:pass@host:port) to route requests through.").optional(),
|
|
9
|
+
pageUrl: z.string().describe("Full URL of the page where the hCaptcha appears."),
|
|
10
|
+
siteKey: z.string().describe("The public site key of the hCaptcha widget."),
|
|
11
|
+
userAgent: z.string().describe("Custom User-Agent to simulate in the solving request.").optional()
|
|
12
|
+
}).describe("Request model for solving an hCaptcha challenge."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
error: z.string().describe("Error message if the challenge could not be solved.").nullable().optional(),
|
|
15
|
+
token: z.string().describe("The hCaptcha response token to use for form submissions.").nullable().optional()
|
|
16
|
+
}).describe("Response schema for hCaptcha solving endpoint.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { phantombusterPostHcaptcha };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=post-hcaptcha.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-hcaptcha.mjs","names":[],"sources":["../../src/actions/post-hcaptcha.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostHcaptchaInput: z.ZodTypeAny = z.object({\n proxy: z.string().describe(\"Proxy URL (e.g., http://user:pass@host:port) to route requests through.\").optional(),\n pageUrl: z.string().describe(\"Full URL of the page where the hCaptcha appears.\"),\n siteKey: z.string().describe(\"The public site key of the hCaptcha widget.\"),\n userAgent: z.string().describe(\"Custom User-Agent to simulate in the solving request.\").optional(),\n}).describe(\"Request model for solving an hCaptcha challenge.\");\nexport const PhantombusterPostHcaptchaOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the challenge could not be solved.\").nullable().optional(),\n token: z.string().describe(\"The hCaptcha response token to use for form submissions.\").nullable().optional(),\n}).describe(\"Response schema for hCaptcha solving endpoint.\");\n\nexport const phantombusterPostHcaptcha = action(\"PHANTOMBUSTER_POST_HCAPTCHA\", {\n slug: \"phantombuster-post-hcaptcha\",\n name: \"Solve hCaptcha\",\n description: \"Tool to solve an hCaptcha challenge. Use when you need a valid hCaptcha token for form submissions or automation flows.\",\n input: PhantombusterPostHcaptchaInput,\n output: PhantombusterPostHcaptchaOutput,\n});\n"],"mappings":";;AAeA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-identities-generate-token.ts
|
|
4
|
+
const PhantombusterPostIdentitiesGenerateTokenInput = zod.z.object({}).describe("No parameters are required. This endpoint generates an identity token.");
|
|
5
|
+
const PhantombusterPostIdentitiesGenerateTokenOutput = zod.z.object({
|
|
6
|
+
token: zod.z.string().describe("The generated identity token."),
|
|
7
|
+
expire_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the token expires."),
|
|
8
|
+
magic_link: zod.z.string().describe("A magic link URL for identity creation.")
|
|
9
|
+
}).describe("Response schema for POST /identities/generate-token.");
|
|
10
|
+
const phantombusterPostIdentitiesGenerateToken = require_action.action("PHANTOMBUSTER_POST_IDENTITIES_GENERATE_TOKEN", {
|
|
11
|
+
slug: "phantombuster-post-identities-generate-token",
|
|
12
|
+
name: "Generate Identity Token",
|
|
13
|
+
description: "Tool to generate an identity token for PhantomBuster. Use when you need to create a new identity token for authentication or session management.",
|
|
14
|
+
input: PhantombusterPostIdentitiesGenerateTokenInput,
|
|
15
|
+
output: PhantombusterPostIdentitiesGenerateTokenOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.phantombusterPostIdentitiesGenerateToken = phantombusterPostIdentitiesGenerateToken;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=post-identities-generate-token.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-identities-generate-token.cjs","names":["z","action"],"sources":["../../src/actions/post-identities-generate-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostIdentitiesGenerateTokenInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required. This endpoint generates an identity token.\");\nexport const PhantombusterPostIdentitiesGenerateTokenOutput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The generated identity token.\"),\n expire_at: z.number().int().describe(\"Unix timestamp in milliseconds when the token expires.\"),\n magic_link: z.string().describe(\"A magic link URL for identity creation.\"),\n}).describe(\"Response schema for POST /identities/generate-token.\");\n\nexport const phantombusterPostIdentitiesGenerateToken = action(\"PHANTOMBUSTER_POST_IDENTITIES_GENERATE_TOKEN\", {\n slug: \"phantombuster-post-identities-generate-token\",\n name: \"Generate Identity Token\",\n description: \"Tool to generate an identity token for PhantomBuster. Use when you need to create a new identity token for authentication or session management.\",\n input: PhantombusterPostIdentitiesGenerateTokenInput,\n output: PhantombusterPostIdentitiesGenerateTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzK,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,2CAA2CC,eAAAA,OAAO,gDAAgD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-identities-generate-token.d.ts
|
|
4
|
+
declare const PhantombusterPostIdentitiesGenerateTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostIdentitiesGenerateTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostIdentitiesGenerateToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostIdentitiesGenerateToken };
|
|
9
|
+
//# sourceMappingURL=post-identities-generate-token.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-identities-generate-token.d.cts","names":[],"sources":["../../src/actions/post-identities-generate-token.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAA4G;AAAA,cAC7J,8CAAA,EAAgD,CAAA,CAAE,UAII;AAAA,cAEtD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-identities-generate-token.d.ts
|
|
4
|
+
declare const PhantombusterPostIdentitiesGenerateTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostIdentitiesGenerateTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostIdentitiesGenerateToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostIdentitiesGenerateToken };
|
|
9
|
+
//# sourceMappingURL=post-identities-generate-token.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-identities-generate-token.d.mts","names":[],"sources":["../../src/actions/post-identities-generate-token.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAA4G;AAAA,cAC7J,8CAAA,EAAgD,CAAA,CAAE,UAII;AAAA,cAEtD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterPostIdentitiesGenerateToken = action("PHANTOMBUSTER_POST_IDENTITIES_GENERATE_TOKEN", {
|
|
4
|
+
slug: "phantombuster-post-identities-generate-token",
|
|
5
|
+
name: "Generate Identity Token",
|
|
6
|
+
description: "Tool to generate an identity token for PhantomBuster. Use when you need to create a new identity token for authentication or session management.",
|
|
7
|
+
input: z.object({}).describe("No parameters are required. This endpoint generates an identity token."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
token: z.string().describe("The generated identity token."),
|
|
10
|
+
expire_at: z.number().int().describe("Unix timestamp in milliseconds when the token expires."),
|
|
11
|
+
magic_link: z.string().describe("A magic link URL for identity creation.")
|
|
12
|
+
}).describe("Response schema for POST /identities/generate-token.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { phantombusterPostIdentitiesGenerateToken };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=post-identities-generate-token.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-identities-generate-token.mjs","names":[],"sources":["../../src/actions/post-identities-generate-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostIdentitiesGenerateTokenInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required. This endpoint generates an identity token.\");\nexport const PhantombusterPostIdentitiesGenerateTokenOutput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The generated identity token.\"),\n expire_at: z.number().int().describe(\"Unix timestamp in milliseconds when the token expires.\"),\n magic_link: z.string().describe(\"A magic link URL for identity creation.\"),\n}).describe(\"Response schema for POST /identities/generate-token.\");\n\nexport const phantombusterPostIdentitiesGenerateToken = action(\"PHANTOMBUSTER_POST_IDENTITIES_GENERATE_TOKEN\", {\n slug: \"phantombuster-post-identities-generate-token\",\n name: \"Generate Identity Token\",\n description: \"Tool to generate an identity token for PhantomBuster. Use when you need to create a new identity token for authentication or session management.\",\n input: PhantombusterPostIdentitiesGenerateTokenInput,\n output: PhantombusterPostIdentitiesGenerateTokenOutput,\n});\n"],"mappings":";;AAWA,MAAa,2CAA2C,OAAO,gDAAgD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAWxF;CACP,QAX0E,EAAE,OAAO;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC3E,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-org-storage-leads-save-many.ts
|
|
4
|
+
const PhantombusterPostOrgStorageLeadsSaveManyInput = zod.z.object({
|
|
5
|
+
leads: zod.z.array(zod.z.object({
|
|
6
|
+
error: zod.z.string().describe("Error message if lead processing failed.").optional(),
|
|
7
|
+
civility: zod.z.string().describe("Title or civility of the lead (e.g., Mr., Ms., Dr.).").optional(),
|
|
8
|
+
lastName: zod.z.string().describe("Last name of the lead.").optional(),
|
|
9
|
+
location: zod.z.string().describe("Geographic location of the lead.").optional(),
|
|
10
|
+
metadata: zod.z.object({}).describe("Additional custom metadata as key-value pairs.").optional(),
|
|
11
|
+
websites: zod.z.array(zod.z.string()).describe("List of personal or professional websites.").optional(),
|
|
12
|
+
firstName: zod.z.string().describe("First name of the lead.").optional(),
|
|
13
|
+
companyName: zod.z.string().describe("Name of the company where the lead works.").optional(),
|
|
14
|
+
phoneNumbers: zod.z.array(zod.z.string()).describe("List of phone numbers.").optional(),
|
|
15
|
+
companyWebsite: zod.z.string().describe("Website of the company where the lead works.").optional(),
|
|
16
|
+
personalEmails: zod.z.array(zod.z.string()).describe("List of personal email addresses.").optional(),
|
|
17
|
+
audienceOfLeads: zod.z.array(zod.z.string()).describe("List of audience identifiers this lead belongs to.").optional(),
|
|
18
|
+
companyIndustry: zod.z.string().describe("Industry of the company where the lead works.").optional(),
|
|
19
|
+
linkedinHeadline: zod.z.string().describe("LinkedIn headline of the lead.").optional(),
|
|
20
|
+
linkedinJobTitle: zod.z.string().describe("Current job title of the lead on LinkedIn.").optional(),
|
|
21
|
+
linkedinCompanyId: zod.z.string().describe("LinkedIn company ID.").optional(),
|
|
22
|
+
linkedinProfileId: zod.z.string().describe("LinkedIn profile ID.").optional(),
|
|
23
|
+
twitterProfileUrl: zod.z.string().describe("Twitter profile URL for the lead.").optional(),
|
|
24
|
+
linkedinCompanyUrl: zod.z.string().describe("LinkedIn company URL where the lead works.").optional(),
|
|
25
|
+
linkedinProfileUrl: zod.z.string().describe("LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL."),
|
|
26
|
+
linkedinProfileUrn: zod.z.string().describe("LinkedIn profile URN identifier.").optional(),
|
|
27
|
+
linkedinSchoolName: zod.z.string().describe("Name of the lead's current/most recent school.").optional(),
|
|
28
|
+
professionalEmails: zod.z.array(zod.z.string()).describe("List of professional email addresses.").optional(),
|
|
29
|
+
linkedinCompanySlug: zod.z.string().describe("LinkedIn company slug identifier.").optional(),
|
|
30
|
+
linkedinDescription: zod.z.string().describe("LinkedIn about/description section of the lead.").optional(),
|
|
31
|
+
linkedinJobLocation: zod.z.string().describe("Location of the lead's current job.").optional(),
|
|
32
|
+
linkedinOpenProfile: zod.z.boolean().describe("Whether the lead has an open LinkedIn profile.").optional(),
|
|
33
|
+
linkedinSkillsLabel: zod.z.string().describe("Comma-separated list of LinkedIn skills.").optional(),
|
|
34
|
+
previousCompanyName: zod.z.string().describe("Name of the lead's previous company.").optional(),
|
|
35
|
+
linkedinJobDateRange: zod.z.string().describe("Date range of the lead's current job.").optional(),
|
|
36
|
+
linkedinSchoolDegree: zod.z.string().describe("Degree obtained at the current school.").optional(),
|
|
37
|
+
aiGeneratedProperties: zod.z.object({}).describe("AI-generated properties for this lead.").optional(),
|
|
38
|
+
customResultsFileName: zod.z.string().describe("Custom results file name for this lead.").optional(),
|
|
39
|
+
linkedinIsHiringBadge: zod.z.boolean().describe("Whether the lead displays a hiring badge on LinkedIn.").optional(),
|
|
40
|
+
linkedinFollowersCount: zod.z.number().int().describe("Number of followers on LinkedIn.").optional(),
|
|
41
|
+
linkedinJobDescription: zod.z.string().describe("Description of the lead's current job.").optional(),
|
|
42
|
+
linkedinProfileImageUrl: zod.z.string().describe("URL of the lead's LinkedIn profile image.").optional(),
|
|
43
|
+
linkedinProfileImageUrn: zod.z.string().describe("URN of the lead's LinkedIn profile image.").optional(),
|
|
44
|
+
linkedinSchoolDateRange: zod.z.string().describe("Date range of studies at the current school.").optional(),
|
|
45
|
+
linkedinPreviousJobTitle: zod.z.string().describe("Title of the lead's previous job.").optional(),
|
|
46
|
+
linkedinSchoolCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's current school.").optional(),
|
|
47
|
+
salesNavigatorProfileUrl: zod.z.string().describe("Sales Navigator profile URL for the lead.").optional(),
|
|
48
|
+
linkedinIsOpenToWorkBadge: zod.z.boolean().describe("Whether the lead displays an open to work badge on LinkedIn.").optional(),
|
|
49
|
+
linkedinSchoolDescription: zod.z.string().describe("Description of studies at the current school.").optional(),
|
|
50
|
+
linkedinPreviousCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's previous company.").optional(),
|
|
51
|
+
linkedinPreviousSchoolName: zod.z.string().describe("Name of the lead's previous school.").optional(),
|
|
52
|
+
linkedinPreviousJobLocation: zod.z.string().describe("Location of the lead's previous job.").optional(),
|
|
53
|
+
crmAccountRelativeProperties: zod.z.array(zod.z.object({})).describe("CRM account-relative properties.").optional(),
|
|
54
|
+
linkedinPreviousJobDateRange: zod.z.string().describe("Date range of the lead's previous job.").optional(),
|
|
55
|
+
linkedinPreviousSchoolDegree: zod.z.string().describe("Degree obtained at the previous school.").optional(),
|
|
56
|
+
linkedinPreviousJobDescription: zod.z.string().describe("Description of the lead's previous job.").optional(),
|
|
57
|
+
linkedinPreviousSchoolDateRange: zod.z.string().describe("Date range of studies at the previous school.").optional(),
|
|
58
|
+
linkedinPreviousSchoolCompanyUrl: zod.z.string().describe("LinkedIn URL of the lead's previous school.").optional(),
|
|
59
|
+
linkedinAccountRelativeProperties: zod.z.array(zod.z.object({})).describe("LinkedIn account-relative properties.").optional(),
|
|
60
|
+
linkedinPreviousSchoolDescription: zod.z.string().describe("Description of studies at the previous school.").optional()
|
|
61
|
+
}).describe("Lead object with LinkedIn profile URL as the required identifier.\nAll other fields are optional and used for enrichment.")).describe("Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl."),
|
|
62
|
+
"X-Phantombuster-Org": zod.z.string().describe("ID of the organization performing the operation (not necessary when using a third party key).").optional()
|
|
63
|
+
}).describe("Request model for saving multiple leads to org storage (Beta).");
|
|
64
|
+
const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema = zod.z.object({
|
|
65
|
+
status: zod.z.string().describe("Status of the save operation."),
|
|
66
|
+
isCreation: zod.z.boolean().describe("Whether this was a new lead creation (true) or an update (false)."),
|
|
67
|
+
linkedinProfileUrl: zod.z.string().describe("LinkedIn profile URL of the saved lead.")
|
|
68
|
+
}).describe("Success response for a saved lead.");
|
|
69
|
+
const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema = zod.z.object({
|
|
70
|
+
error: zod.z.string().describe("Error message describing why the save failed."),
|
|
71
|
+
status: zod.z.string().describe("Status of the save operation."),
|
|
72
|
+
linkedinProfileUrl: zod.z.string().describe("LinkedIn profile URL of the lead that failed to save.")
|
|
73
|
+
}).describe("Error response for a failed lead save.");
|
|
74
|
+
const PhantombusterPostOrgStorageLeadsSaveManyOutput = zod.z.object({ results: zod.z.array(zod.z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe("Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.") }).describe("Response schema for saving multiple leads. Returns an array of results\nfor each lead, indicating success or error.");
|
|
75
|
+
const phantombusterPostOrgStorageLeadsSaveMany = require_action.action("PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY", {
|
|
76
|
+
slug: "phantombuster-post-org-storage-leads-save-many",
|
|
77
|
+
name: "Save Many Leads",
|
|
78
|
+
description: "Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.",
|
|
79
|
+
input: PhantombusterPostOrgStorageLeadsSaveManyInput,
|
|
80
|
+
output: PhantombusterPostOrgStorageLeadsSaveManyOutput
|
|
81
|
+
});
|
|
82
|
+
//#endregion
|
|
83
|
+
exports.phantombusterPostOrgStorageLeadsSaveMany = phantombusterPostOrgStorageLeadsSaveMany;
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=post-org-storage-leads-save-many.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-org-storage-leads-save-many.cjs","names":["z","action"],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostOrgStorageLeadsSaveManyInput: z.ZodTypeAny = z.object({\n leads: z.array(z.object({\n error: z.string().describe(\"Error message if lead processing failed.\").optional(),\n civility: z.string().describe(\"Title or civility of the lead (e.g., Mr., Ms., Dr.).\").optional(),\n lastName: z.string().describe(\"Last name of the lead.\").optional(),\n location: z.string().describe(\"Geographic location of the lead.\").optional(),\n metadata: z.object({}).describe(\"Additional custom metadata as key-value pairs.\").optional(),\n websites: z.array(z.string()).describe(\"List of personal or professional websites.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Name of the company where the lead works.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers.\").optional(),\n companyWebsite: z.string().describe(\"Website of the company where the lead works.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses.\").optional(),\n audienceOfLeads: z.array(z.string()).describe(\"List of audience identifiers this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the company where the lead works.\").optional(),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL for the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL where the lead works.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL.\"),\n linkedinProfileUrn: z.string().describe(\"LinkedIn profile URN identifier.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's current/most recent school.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses.\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug identifier.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn about/description section of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Comma-separated list of LinkedIn skills.\").optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the current school.\").optional(),\n aiGeneratedProperties: z.object({}).describe(\"AI-generated properties for this lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for this lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead displays a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().int().describe(\"Number of followers on LinkedIn.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job.\").optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of studies at the current school.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Title of the lead's previous job.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's current school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL for the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead displays an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of studies at the current school.\").optional(),\n linkedinPreviousCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous company.\").optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job.\").optional(),\n crmAccountRelativeProperties: z.array(z.object({})).describe(\"CRM account-relative properties.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the previous school.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of studies at the previous school.\").optional(),\n linkedinPreviousSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous school.\").optional(),\n linkedinAccountRelativeProperties: z.array(z.object({})).describe(\"LinkedIn account-relative properties.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of studies at the previous school.\").optional(),\n}).describe(\"Lead object with LinkedIn profile URL as the required identifier.\\nAll other fields are optional and used for enrichment.\")).describe(\"Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving multiple leads to org storage (Beta).\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the save operation.\"),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\"),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the saved lead.\"),\n}).describe(\"Success response for a saved lead.\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message describing why the save failed.\"),\n status: z.string().describe(\"Status of the save operation.\"),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead that failed to save.\"),\n}).describe(\"Error response for a failed lead save.\");\nexport const PhantombusterPostOrgStorageLeadsSaveManyOutput: z.ZodTypeAny = z.object({\n results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe(\"Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.\"),\n}).describe(\"Response schema for saving multiple leads. Returns an array of results\\nfor each lead, indicating success or error.\");\n\nexport const phantombusterPostOrgStorageLeadsSaveMany = action(\"PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY\", {\n slug: \"phantombuster-post-org-storage-leads-save-many\",\n name: \"Save Many Leads\",\n description: \"Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.\",\n input: PhantombusterPostOrgStorageLeadsSaveManyInput,\n output: PhantombusterPostOrgStorageLeadsSaveManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAA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AA6EA,IAAAA,EAAE,OAAO;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACjG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iDAA+DA,IAAAA,EAAE,OAAO,EACnF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,gEAAgE,4DAA4D,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,EACrS,CAAC,CAAC,CAAC,SAAS,qHAAqH;AAEjI,MAAa,2CAA2CC,eAAAA,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-org-storage-leads-save-many.d.ts
|
|
4
|
+
declare const PhantombusterPostOrgStorageLeadsSaveManyInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostOrgStorageLeadsSaveManyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostOrgStorageLeadsSaveMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostOrgStorageLeadsSaveMany };
|
|
9
|
+
//# sourceMappingURL=post-org-storage-leads-save-many.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-org-storage-leads-save-many.d.cts","names":[],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UA2De;AAAA,cAWhE,8CAAA,EAAgD,CAAA,CAAE,UAEmE;AAAA,cAErH,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-org-storage-leads-save-many.d.ts
|
|
4
|
+
declare const PhantombusterPostOrgStorageLeadsSaveManyInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterPostOrgStorageLeadsSaveManyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterPostOrgStorageLeadsSaveMany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterPostOrgStorageLeadsSaveMany };
|
|
9
|
+
//# sourceMappingURL=post-org-storage-leads-save-many.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-org-storage-leads-save-many.d.mts","names":[],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UA2De;AAAA,cAWhE,8CAAA,EAAgD,CAAA,CAAE,UAEmE;AAAA,cAErH,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-org-storage-leads-save-many.ts
|
|
4
|
+
const PhantombusterPostOrgStorageLeadsSaveManyInput = z.object({
|
|
5
|
+
leads: z.array(z.object({
|
|
6
|
+
error: z.string().describe("Error message if lead processing failed.").optional(),
|
|
7
|
+
civility: z.string().describe("Title or civility of the lead (e.g., Mr., Ms., Dr.).").optional(),
|
|
8
|
+
lastName: z.string().describe("Last name of the lead.").optional(),
|
|
9
|
+
location: z.string().describe("Geographic location of the lead.").optional(),
|
|
10
|
+
metadata: z.object({}).describe("Additional custom metadata as key-value pairs.").optional(),
|
|
11
|
+
websites: z.array(z.string()).describe("List of personal or professional websites.").optional(),
|
|
12
|
+
firstName: z.string().describe("First name of the lead.").optional(),
|
|
13
|
+
companyName: z.string().describe("Name of the company where the lead works.").optional(),
|
|
14
|
+
phoneNumbers: z.array(z.string()).describe("List of phone numbers.").optional(),
|
|
15
|
+
companyWebsite: z.string().describe("Website of the company where the lead works.").optional(),
|
|
16
|
+
personalEmails: z.array(z.string()).describe("List of personal email addresses.").optional(),
|
|
17
|
+
audienceOfLeads: z.array(z.string()).describe("List of audience identifiers this lead belongs to.").optional(),
|
|
18
|
+
companyIndustry: z.string().describe("Industry of the company where the lead works.").optional(),
|
|
19
|
+
linkedinHeadline: z.string().describe("LinkedIn headline of the lead.").optional(),
|
|
20
|
+
linkedinJobTitle: z.string().describe("Current job title of the lead on LinkedIn.").optional(),
|
|
21
|
+
linkedinCompanyId: z.string().describe("LinkedIn company ID.").optional(),
|
|
22
|
+
linkedinProfileId: z.string().describe("LinkedIn profile ID.").optional(),
|
|
23
|
+
twitterProfileUrl: z.string().describe("Twitter profile URL for the lead.").optional(),
|
|
24
|
+
linkedinCompanyUrl: z.string().describe("LinkedIn company URL where the lead works.").optional(),
|
|
25
|
+
linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL."),
|
|
26
|
+
linkedinProfileUrn: z.string().describe("LinkedIn profile URN identifier.").optional(),
|
|
27
|
+
linkedinSchoolName: z.string().describe("Name of the lead's current/most recent school.").optional(),
|
|
28
|
+
professionalEmails: z.array(z.string()).describe("List of professional email addresses.").optional(),
|
|
29
|
+
linkedinCompanySlug: z.string().describe("LinkedIn company slug identifier.").optional(),
|
|
30
|
+
linkedinDescription: z.string().describe("LinkedIn about/description section of the lead.").optional(),
|
|
31
|
+
linkedinJobLocation: z.string().describe("Location of the lead's current job.").optional(),
|
|
32
|
+
linkedinOpenProfile: z.boolean().describe("Whether the lead has an open LinkedIn profile.").optional(),
|
|
33
|
+
linkedinSkillsLabel: z.string().describe("Comma-separated list of LinkedIn skills.").optional(),
|
|
34
|
+
previousCompanyName: z.string().describe("Name of the lead's previous company.").optional(),
|
|
35
|
+
linkedinJobDateRange: z.string().describe("Date range of the lead's current job.").optional(),
|
|
36
|
+
linkedinSchoolDegree: z.string().describe("Degree obtained at the current school.").optional(),
|
|
37
|
+
aiGeneratedProperties: z.object({}).describe("AI-generated properties for this lead.").optional(),
|
|
38
|
+
customResultsFileName: z.string().describe("Custom results file name for this lead.").optional(),
|
|
39
|
+
linkedinIsHiringBadge: z.boolean().describe("Whether the lead displays a hiring badge on LinkedIn.").optional(),
|
|
40
|
+
linkedinFollowersCount: z.number().int().describe("Number of followers on LinkedIn.").optional(),
|
|
41
|
+
linkedinJobDescription: z.string().describe("Description of the lead's current job.").optional(),
|
|
42
|
+
linkedinProfileImageUrl: z.string().describe("URL of the lead's LinkedIn profile image.").optional(),
|
|
43
|
+
linkedinProfileImageUrn: z.string().describe("URN of the lead's LinkedIn profile image.").optional(),
|
|
44
|
+
linkedinSchoolDateRange: z.string().describe("Date range of studies at the current school.").optional(),
|
|
45
|
+
linkedinPreviousJobTitle: z.string().describe("Title of the lead's previous job.").optional(),
|
|
46
|
+
linkedinSchoolCompanyUrl: z.string().describe("LinkedIn URL of the lead's current school.").optional(),
|
|
47
|
+
salesNavigatorProfileUrl: z.string().describe("Sales Navigator profile URL for the lead.").optional(),
|
|
48
|
+
linkedinIsOpenToWorkBadge: z.boolean().describe("Whether the lead displays an open to work badge on LinkedIn.").optional(),
|
|
49
|
+
linkedinSchoolDescription: z.string().describe("Description of studies at the current school.").optional(),
|
|
50
|
+
linkedinPreviousCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous company.").optional(),
|
|
51
|
+
linkedinPreviousSchoolName: z.string().describe("Name of the lead's previous school.").optional(),
|
|
52
|
+
linkedinPreviousJobLocation: z.string().describe("Location of the lead's previous job.").optional(),
|
|
53
|
+
crmAccountRelativeProperties: z.array(z.object({})).describe("CRM account-relative properties.").optional(),
|
|
54
|
+
linkedinPreviousJobDateRange: z.string().describe("Date range of the lead's previous job.").optional(),
|
|
55
|
+
linkedinPreviousSchoolDegree: z.string().describe("Degree obtained at the previous school.").optional(),
|
|
56
|
+
linkedinPreviousJobDescription: z.string().describe("Description of the lead's previous job.").optional(),
|
|
57
|
+
linkedinPreviousSchoolDateRange: z.string().describe("Date range of studies at the previous school.").optional(),
|
|
58
|
+
linkedinPreviousSchoolCompanyUrl: z.string().describe("LinkedIn URL of the lead's previous school.").optional(),
|
|
59
|
+
linkedinAccountRelativeProperties: z.array(z.object({})).describe("LinkedIn account-relative properties.").optional(),
|
|
60
|
+
linkedinPreviousSchoolDescription: z.string().describe("Description of studies at the previous school.").optional()
|
|
61
|
+
}).describe("Lead object with LinkedIn profile URL as the required identifier.\nAll other fields are optional and used for enrichment.")).describe("Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl."),
|
|
62
|
+
"X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not necessary when using a third party key).").optional()
|
|
63
|
+
}).describe("Request model for saving multiple leads to org storage (Beta).");
|
|
64
|
+
const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema = z.object({
|
|
65
|
+
status: z.string().describe("Status of the save operation."),
|
|
66
|
+
isCreation: z.boolean().describe("Whether this was a new lead creation (true) or an update (false)."),
|
|
67
|
+
linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the saved lead.")
|
|
68
|
+
}).describe("Success response for a saved lead.");
|
|
69
|
+
const PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema = z.object({
|
|
70
|
+
error: z.string().describe("Error message describing why the save failed."),
|
|
71
|
+
status: z.string().describe("Status of the save operation."),
|
|
72
|
+
linkedinProfileUrl: z.string().describe("LinkedIn profile URL of the lead that failed to save.")
|
|
73
|
+
}).describe("Error response for a failed lead save.");
|
|
74
|
+
const phantombusterPostOrgStorageLeadsSaveMany = action("PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY", {
|
|
75
|
+
slug: "phantombuster-post-org-storage-leads-save-many",
|
|
76
|
+
name: "Save Many Leads",
|
|
77
|
+
description: "Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.",
|
|
78
|
+
input: PhantombusterPostOrgStorageLeadsSaveManyInput,
|
|
79
|
+
output: z.object({ results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe("Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.") }).describe("Response schema for saving multiple leads. Returns an array of results\nfor each lead, indicating success or error.")
|
|
80
|
+
});
|
|
81
|
+
//#endregion
|
|
82
|
+
export { phantombusterPostOrgStorageLeadsSaveMany };
|
|
83
|
+
|
|
84
|
+
//# sourceMappingURL=post-org-storage-leads-save-many.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-org-storage-leads-save-many.mjs","names":[],"sources":["../../src/actions/post-org-storage-leads-save-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostOrgStorageLeadsSaveManyInput: z.ZodTypeAny = z.object({\n leads: z.array(z.object({\n error: z.string().describe(\"Error message if lead processing failed.\").optional(),\n civility: z.string().describe(\"Title or civility of the lead (e.g., Mr., Ms., Dr.).\").optional(),\n lastName: z.string().describe(\"Last name of the lead.\").optional(),\n location: z.string().describe(\"Geographic location of the lead.\").optional(),\n metadata: z.object({}).describe(\"Additional custom metadata as key-value pairs.\").optional(),\n websites: z.array(z.string()).describe(\"List of personal or professional websites.\").optional(),\n firstName: z.string().describe(\"First name of the lead.\").optional(),\n companyName: z.string().describe(\"Name of the company where the lead works.\").optional(),\n phoneNumbers: z.array(z.string()).describe(\"List of phone numbers.\").optional(),\n companyWebsite: z.string().describe(\"Website of the company where the lead works.\").optional(),\n personalEmails: z.array(z.string()).describe(\"List of personal email addresses.\").optional(),\n audienceOfLeads: z.array(z.string()).describe(\"List of audience identifiers this lead belongs to.\").optional(),\n companyIndustry: z.string().describe(\"Industry of the company where the lead works.\").optional(),\n linkedinHeadline: z.string().describe(\"LinkedIn headline of the lead.\").optional(),\n linkedinJobTitle: z.string().describe(\"Current job title of the lead on LinkedIn.\").optional(),\n linkedinCompanyId: z.string().describe(\"LinkedIn company ID.\").optional(),\n linkedinProfileId: z.string().describe(\"LinkedIn profile ID.\").optional(),\n twitterProfileUrl: z.string().describe(\"Twitter profile URL for the lead.\").optional(),\n linkedinCompanyUrl: z.string().describe(\"LinkedIn company URL where the lead works.\").optional(),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead (required). Must be a valid LinkedIn profile URL.\"),\n linkedinProfileUrn: z.string().describe(\"LinkedIn profile URN identifier.\").optional(),\n linkedinSchoolName: z.string().describe(\"Name of the lead's current/most recent school.\").optional(),\n professionalEmails: z.array(z.string()).describe(\"List of professional email addresses.\").optional(),\n linkedinCompanySlug: z.string().describe(\"LinkedIn company slug identifier.\").optional(),\n linkedinDescription: z.string().describe(\"LinkedIn about/description section of the lead.\").optional(),\n linkedinJobLocation: z.string().describe(\"Location of the lead's current job.\").optional(),\n linkedinOpenProfile: z.boolean().describe(\"Whether the lead has an open LinkedIn profile.\").optional(),\n linkedinSkillsLabel: z.string().describe(\"Comma-separated list of LinkedIn skills.\").optional(),\n previousCompanyName: z.string().describe(\"Name of the lead's previous company.\").optional(),\n linkedinJobDateRange: z.string().describe(\"Date range of the lead's current job.\").optional(),\n linkedinSchoolDegree: z.string().describe(\"Degree obtained at the current school.\").optional(),\n aiGeneratedProperties: z.object({}).describe(\"AI-generated properties for this lead.\").optional(),\n customResultsFileName: z.string().describe(\"Custom results file name for this lead.\").optional(),\n linkedinIsHiringBadge: z.boolean().describe(\"Whether the lead displays a hiring badge on LinkedIn.\").optional(),\n linkedinFollowersCount: z.number().int().describe(\"Number of followers on LinkedIn.\").optional(),\n linkedinJobDescription: z.string().describe(\"Description of the lead's current job.\").optional(),\n linkedinProfileImageUrl: z.string().describe(\"URL of the lead's LinkedIn profile image.\").optional(),\n linkedinProfileImageUrn: z.string().describe(\"URN of the lead's LinkedIn profile image.\").optional(),\n linkedinSchoolDateRange: z.string().describe(\"Date range of studies at the current school.\").optional(),\n linkedinPreviousJobTitle: z.string().describe(\"Title of the lead's previous job.\").optional(),\n linkedinSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's current school.\").optional(),\n salesNavigatorProfileUrl: z.string().describe(\"Sales Navigator profile URL for the lead.\").optional(),\n linkedinIsOpenToWorkBadge: z.boolean().describe(\"Whether the lead displays an open to work badge on LinkedIn.\").optional(),\n linkedinSchoolDescription: z.string().describe(\"Description of studies at the current school.\").optional(),\n linkedinPreviousCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous company.\").optional(),\n linkedinPreviousSchoolName: z.string().describe(\"Name of the lead's previous school.\").optional(),\n linkedinPreviousJobLocation: z.string().describe(\"Location of the lead's previous job.\").optional(),\n crmAccountRelativeProperties: z.array(z.object({})).describe(\"CRM account-relative properties.\").optional(),\n linkedinPreviousJobDateRange: z.string().describe(\"Date range of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDegree: z.string().describe(\"Degree obtained at the previous school.\").optional(),\n linkedinPreviousJobDescription: z.string().describe(\"Description of the lead's previous job.\").optional(),\n linkedinPreviousSchoolDateRange: z.string().describe(\"Date range of studies at the previous school.\").optional(),\n linkedinPreviousSchoolCompanyUrl: z.string().describe(\"LinkedIn URL of the lead's previous school.\").optional(),\n linkedinAccountRelativeProperties: z.array(z.object({})).describe(\"LinkedIn account-relative properties.\").optional(),\n linkedinPreviousSchoolDescription: z.string().describe(\"Description of studies at the previous school.\").optional(),\n}).describe(\"Lead object with LinkedIn profile URL as the required identifier.\\nAll other fields are optional and used for enrichment.\")).describe(\"Array of leads to save. Must contain between 1 and 20 leads. Each lead requires a linkedinProfileUrl.\"),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving multiple leads to org storage (Beta).\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the save operation.\"),\n isCreation: z.boolean().describe(\"Whether this was a new lead creation (true) or an update (false).\"),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the saved lead.\"),\n}).describe(\"Success response for a saved lead.\");\nconst PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message describing why the save failed.\"),\n status: z.string().describe(\"Status of the save operation.\"),\n linkedinProfileUrl: z.string().describe(\"LinkedIn profile URL of the lead that failed to save.\"),\n}).describe(\"Error response for a failed lead save.\");\nexport const PhantombusterPostOrgStorageLeadsSaveManyOutput: z.ZodTypeAny = z.object({\n results: z.array(z.union([PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveSuccessSchema, PhantombusterPostOrgStorageLeadsSaveMany_LeadSaveErrorSchema])).describe(\"Array of results for each lead save operation. Each result indicates success with isCreation flag or error with error message.\"),\n}).describe(\"Response schema for saving multiple leads. Returns an array of results\\nfor each lead, indicating success or error.\");\n\nexport const phantombusterPostOrgStorageLeadsSaveMany = action(\"PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY\", {\n slug: \"phantombuster-post-org-storage-leads-save-many\",\n name: \"Save Many Leads\",\n description: \"Tool to save multiple leads (1-20) to organization storage in a single batch operation (Beta). Use when you need to create or update leads with LinkedIn profile data and optional enrichment fields.\",\n input: PhantombusterPostOrgStorageLeadsSaveManyInput,\n output: PhantombusterPostOrgStorageLeadsSaveMany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,EACnF,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,gEAAgE,4DAA4D,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,EACrS,CAAC,CAAC,CAAC,SAAS,qHAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-recaptcha.ts
|
|
4
|
+
const PhantombusterPostRecaptchaInput = zod.z.object({
|
|
5
|
+
key: zod.z.string().describe("The site key of the reCAPTCHA widget (found in the page HTML or network requests)."),
|
|
6
|
+
url: zod.z.string().describe("Full URL of the page where the reCAPTCHA widget appears."),
|
|
7
|
+
type: zod.z.enum(["v2", "v3"]).describe("Version of reCAPTCHA to solve: 'v2' for checkbox or invisible reCAPTCHA, 'v3' for score-based reCAPTCHA."),
|
|
8
|
+
minScore: zod.z.number().describe("Minimum score required for reCAPTCHA v3 (between 0 and 1). Only applicable for type='v3'.").optional(),
|
|
9
|
+
pageAction: zod.z.string().describe("Action name for reCAPTCHA v3 (matches the action parameter in grecaptcha.execute). Only applicable for type='v3'.").optional()
|
|
10
|
+
}).describe("Request model for solving a reCAPTCHA challenge.");
|
|
11
|
+
const PhantombusterPostRecaptchaOutput = zod.z.object({
|
|
12
|
+
error: zod.z.string().describe("Error message if the challenge could not be solved. Present on failure.").nullable().optional(),
|
|
13
|
+
response: zod.z.string().describe("The reCAPTCHA response token to use for form submissions. Present on success.").nullable().optional()
|
|
14
|
+
}).describe("Response schema for reCAPTCHA solving endpoint.");
|
|
15
|
+
const phantombusterPostRecaptcha = require_action.action("PHANTOMBUSTER_POST_RECAPTCHA", {
|
|
16
|
+
slug: "phantombuster-post-recaptcha",
|
|
17
|
+
name: "Solve reCAPTCHA",
|
|
18
|
+
description: "Tool to solve a reCAPTCHA challenge (v2 or v3). Use when you need a valid reCAPTCHA response token for form submissions or automation. Note: API returns 200 status even on errors; check the error field in the response.",
|
|
19
|
+
input: PhantombusterPostRecaptchaInput,
|
|
20
|
+
output: PhantombusterPostRecaptchaOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.phantombusterPostRecaptcha = phantombusterPostRecaptcha;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=post-recaptcha.cjs.map
|