@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 @@
|
|
|
1
|
+
{"version":3,"file":"save-leads-objects-many.mjs","names":[],"sources":["../../src/actions/save-leads-objects-many.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveLeadsObjectsManyInput: z.ZodTypeAny = z.object({\n leadsObjects: z.array(z.object({\n slug: z.string().describe(\"Unique slug of the object to save (max 470 characters).\"),\n type: z.string().describe(\"Type of object to save.\"),\n leadId: z.string().describe(\"ID of the lead this object is associated with.\").optional(),\n agentId: z.string().describe(\"ID of the agent associated with this lead object.\"),\n leadUrn: z.string().describe(\"URN of the lead this object is associated with.\").optional(),\n leadSlug: z.string().describe(\"Slug of the lead this object is associated with.\").optional(),\n properties: z.object({}).describe(\"Properties of the object as key-value pairs.\"),\n leadObjectId: z.string().describe(\"ID of an existing lead object (used for updates).\").optional(),\n}).describe(\"Model representing a single lead object to save.\")).describe(\"Array of lead objects to save. Each object must include type, slug, properties, and agentId.\"),\n}).describe(\"Request model for saving multiple lead objects.\");\nconst PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the created or updated lead object.\"),\n slug: z.string().describe(\"Slug of the lead object.\"),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Successful result for a saved lead object.\");\nconst PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Slug of the lead object that failed.\"),\n error: z.string().describe(\"Error message describing what went wrong.\"),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Error result for a failed lead object save operation.\");\nexport const PhantombusterSaveLeadsObjectsManyOutput: z.ZodTypeAny = z.object({\n results: z.array(z.union([PhantombusterSaveLeadsObjectsMany_LeadObjectResultSuccessSchema, PhantombusterSaveLeadsObjectsMany_LeadObjectResultErrorSchema])).describe(\"Array of results for each lead object save operation. Each result contains status, slug, and either an id (success) or error message (failure).\"),\n}).describe(\"Response schema for saving multiple lead objects. Returns an array of results,\\neach containing either success (with id) or error information.\");\n\nexport const phantombusterSaveLeadsObjectsMany = action(\"PHANTOMBUSTER_SAVE_LEADS_OBJECTS_MANY\", {\n slug: \"phantombuster-save-leads-objects-many\",\n name: \"Save Many Lead Objects\",\n description: \"Tool to save multiple lead objects to Phantombuster's organization storage. Use when you need to create or update multiple lead objects in a single API call.\",\n input: PhantombusterSaveLeadsObjectsManyInput,\n output: PhantombusterSaveLeadsObjectsManyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO,EAC3E,cAAc,EAAE,MAAM,EAAE,OAAO;CAC/B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACxK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kEAAgF,EAAE,OAAO;CAC7F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gEAA8E,EAAE,OAAO;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmE,EAAE,OAAO,EAC5E,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,iEAAiE,6DAA6D,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,EACxT,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/save-list.ts
|
|
4
|
+
const PhantombusterSaveListInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("A string for updating existing lists (omit when creating new ones).").optional(),
|
|
6
|
+
name: zod.z.string().describe("A string specifying the list's title."),
|
|
7
|
+
tags: zod.z.array(zod.z.enum([
|
|
8
|
+
"hidden",
|
|
9
|
+
"workflow",
|
|
10
|
+
"pbai",
|
|
11
|
+
"opinion-leaders"
|
|
12
|
+
]).describe("Allowed tags for organizational categorization of lists.")).describe("An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'").optional(),
|
|
13
|
+
filter: zod.z.object({}).describe("An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}"),
|
|
14
|
+
description: zod.z.string().describe("A string describing the list's purpose.").optional(),
|
|
15
|
+
"X-Phantombuster-Org": zod.z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
|
|
16
|
+
}).describe("Request model for saving (creating or updating) a list.");
|
|
17
|
+
const PhantombusterSaveListOutput = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("Unique identifier of the saved list."),
|
|
19
|
+
name: zod.z.string().describe("Name of the saved list."),
|
|
20
|
+
createdAt: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
21
|
+
updatedAt: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
22
|
+
description: zod.z.string().describe("Description of the list if provided.").nullable().optional()
|
|
23
|
+
}).describe("Response schema for saving a list.");
|
|
24
|
+
const phantombusterSaveList = require_action.action("PHANTOMBUSTER_SAVE_LIST", {
|
|
25
|
+
slug: "phantombuster-save-list",
|
|
26
|
+
name: "Save List",
|
|
27
|
+
description: "Tool to save (create or update) a list with filter criteria. Use when you need to create a new list or update an existing one by providing a filter configuration. This is a Beta feature.",
|
|
28
|
+
input: PhantombusterSaveListInput,
|
|
29
|
+
output: PhantombusterSaveListOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.phantombusterSaveList = phantombusterSaveList;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=save-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-list.cjs","names":["z","action"],"sources":["../../src/actions/save-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveListInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"A string for updating existing lists (omit when creating new ones).\").optional(),\n name: z.string().describe(\"A string specifying the list's title.\"),\n tags: z.array(z.enum([\"hidden\", \"workflow\", \"pbai\", \"opinion-leaders\"]).describe(\"Allowed tags for organizational categorization of lists.\")).describe(\"An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'\").optional(),\n filter: z.object({}).describe(\"An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}\"),\n description: z.string().describe(\"A string describing the list's purpose.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving (creating or updating) a list.\");\nexport const PhantombusterSaveListOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved list.\"),\n name: z.string().describe(\"Name of the saved list.\"),\n createdAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n description: z.string().describe(\"Description of the list if provided.\").nullable().optional(),\n}).describe(\"Response schema for saving a list.\");\n\nexport const phantombusterSaveList = action(\"PHANTOMBUSTER_SAVE_LIST\", {\n slug: \"phantombuster-save-list\",\n name: \"Save List\",\n description: \"Tool to save (create or update) a list with filter criteria. Use when you need to create a new list or update an existing one by providing a filter configuration. This is a Beta feature.\",\n input: PhantombusterSaveListInput,\n output: PhantombusterSaveListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAQ;CAAiB,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC1R,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2QAA2Q;CACzS,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/save-list.d.ts
|
|
4
|
+
declare const PhantombusterSaveListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSaveListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSaveList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSaveList };
|
|
9
|
+
//# sourceMappingURL=save-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-list.d.cts","names":[],"sources":["../../src/actions/save-list.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAO2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAMK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/save-list.d.ts
|
|
4
|
+
declare const PhantombusterSaveListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSaveListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSaveList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSaveList };
|
|
9
|
+
//# sourceMappingURL=save-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-list.d.mts","names":[],"sources":["../../src/actions/save-list.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAO2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAMK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterSaveList = action("PHANTOMBUSTER_SAVE_LIST", {
|
|
4
|
+
slug: "phantombuster-save-list",
|
|
5
|
+
name: "Save List",
|
|
6
|
+
description: "Tool to save (create or update) a list with filter criteria. Use when you need to create a new list or update an existing one by providing a filter configuration. This is a Beta feature.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("A string for updating existing lists (omit when creating new ones).").optional(),
|
|
9
|
+
name: z.string().describe("A string specifying the list's title."),
|
|
10
|
+
tags: z.array(z.enum([
|
|
11
|
+
"hidden",
|
|
12
|
+
"workflow",
|
|
13
|
+
"pbai",
|
|
14
|
+
"opinion-leaders"
|
|
15
|
+
]).describe("Allowed tags for organizational categorization of lists.")).describe("An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'").optional(),
|
|
16
|
+
filter: z.object({}).describe("An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}"),
|
|
17
|
+
description: z.string().describe("A string describing the list's purpose.").optional(),
|
|
18
|
+
"X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
|
|
19
|
+
}).describe("Request model for saving (creating or updating) a list."),
|
|
20
|
+
output: z.object({
|
|
21
|
+
id: z.string().describe("Unique identifier of the saved list."),
|
|
22
|
+
name: z.string().describe("Name of the saved list."),
|
|
23
|
+
createdAt: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
24
|
+
updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
25
|
+
description: z.string().describe("Description of the list if provided.").nullable().optional()
|
|
26
|
+
}).describe("Response schema for saving a list.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { phantombusterSaveList };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=save-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-list.mjs","names":[],"sources":["../../src/actions/save-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveListInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"A string for updating existing lists (omit when creating new ones).\").optional(),\n name: z.string().describe(\"A string specifying the list's title.\"),\n tags: z.array(z.enum([\"hidden\", \"workflow\", \"pbai\", \"opinion-leaders\"]).describe(\"Allowed tags for organizational categorization of lists.\")).describe(\"An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'\").optional(),\n filter: z.object({}).describe(\"An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}\"),\n description: z.string().describe(\"A string describing the list's purpose.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving (creating or updating) a list.\");\nexport const PhantombusterSaveListOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved list.\"),\n name: z.string().describe(\"Name of the saved list.\"),\n createdAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n description: z.string().describe(\"Description of the list if provided.\").nullable().optional(),\n}).describe(\"Response schema for saving a list.\");\n\nexport const phantombusterSaveList = action(\"PHANTOMBUSTER_SAVE_LIST\", {\n slug: \"phantombuster-save-list\",\n name: \"Save List\",\n description: \"Tool to save (create or update) a list with filter criteria. Use when you need to create a new list or update an existing one by providing a filter configuration. This is a Beta feature.\",\n input: PhantombusterSaveListInput,\n output: PhantombusterSaveListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,MAAM,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAY;GAAQ;EAAiB,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EAC1R,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2QAA2Q;EACzS,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAbuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACnD,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/save-script.ts
|
|
4
|
+
const PhantombusterSaveScriptInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("If provided, the script with this ID will be updated. Otherwise, a new script is created.").optional(),
|
|
6
|
+
code: zod.z.string().describe("JavaScript source code of the script (max 600,000 chars).").optional(),
|
|
7
|
+
name: zod.z.string().describe("Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module."),
|
|
8
|
+
branch: zod.z.string().describe("Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).").optional(),
|
|
9
|
+
manifest: zod.z.object({
|
|
10
|
+
slug: zod.z.string().describe("Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars)."),
|
|
11
|
+
unlisted: zod.z.boolean().describe("Whether the script is unlisted.").optional(),
|
|
12
|
+
categories: zod.z.array(zod.z.string()).describe("List of categories for the script (max 10 items).").optional(),
|
|
13
|
+
description: zod.z.string().describe("Description of what the script does (max 500 chars)."),
|
|
14
|
+
isDeprecated: zod.z.boolean().describe("Whether the script is deprecated.").optional(),
|
|
15
|
+
defaultArgument: zod.z.object({}).describe("Default arguments for the script as key-value pairs.").optional(),
|
|
16
|
+
askUserToNameAgent: zod.z.boolean().describe("Whether to ask user to name the agent.").optional(),
|
|
17
|
+
tutorialArticleUrl: zod.z.string().describe("URL to tutorial article for the script.").optional()
|
|
18
|
+
}).passthrough().describe("JSON script manifest required to create/update a script.").optional(),
|
|
19
|
+
markdown: zod.z.string().describe("Markdown description of the script (max 200,000 chars).").optional(),
|
|
20
|
+
"X-Phantombuster-Org": zod.z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
|
|
21
|
+
}).describe("Request model for POST /scripts/save. Updates or creates a script.");
|
|
22
|
+
const PhantombusterSaveScriptOutput = zod.z.object({
|
|
23
|
+
id: zod.z.string().describe("Unique identifier of the created or updated script."),
|
|
24
|
+
name: zod.z.string().describe("Name of the script file.")
|
|
25
|
+
}).describe("Response schema for POST /scripts/save.");
|
|
26
|
+
const phantombusterSaveScript = require_action.action("PHANTOMBUSTER_SAVE_SCRIPT", {
|
|
27
|
+
slug: "phantombuster-save-script",
|
|
28
|
+
name: "Save Script",
|
|
29
|
+
description: "Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.",
|
|
30
|
+
input: PhantombusterSaveScriptInput,
|
|
31
|
+
output: PhantombusterSaveScriptOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.phantombusterSaveScript = phantombusterSaveScript;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=save-script.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-script.cjs","names":["z","action"],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.object({}).describe(\"Default arguments for the script as key-value pairs.\").optional(),\n askUserToNameAgent: z.boolean().describe(\"Whether to ask user to name the agent.\").optional(),\n tutorialArticleUrl: z.string().describe(\"URL to tutorial article for the script.\").optional(),\n}).passthrough().describe(\"JSON script manifest required to create/update a script.\").optional(),\n markdown: z.string().describe(\"Markdown description of the script (max 200,000 chars).\").optional(),\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 POST /scripts/save. Updates or creates a script.\");\nexport const PhantombusterSaveScriptOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated script.\"),\n name: z.string().describe(\"Name of the script file.\"),\n}).describe(\"Response schema for POST /scripts/save.\");\n\nexport const phantombusterSaveScript = action(\"PHANTOMBUSTER_SAVE_SCRIPT\", {\n slug: \"phantombuster-save-script\",\n name: \"Save Script\",\n description: \"Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.\",\n input: PhantombusterSaveScriptInput,\n output: PhantombusterSaveScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO;EACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAC5H,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACxG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACtD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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/save-script.d.ts
|
|
4
|
+
declare const PhantombusterSaveScriptInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSaveScriptOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSaveScript };
|
|
9
|
+
//# sourceMappingURL=save-script.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-script.d.cts","names":[],"sources":["../../src/actions/save-script.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAiBoC;AAAA,cACpE,6BAAA,EAA+B,CAAA,CAAE,UAGQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/save-script.d.ts
|
|
4
|
+
declare const PhantombusterSaveScriptInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSaveScriptOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSaveScript };
|
|
9
|
+
//# sourceMappingURL=save-script.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-script.d.mts","names":[],"sources":["../../src/actions/save-script.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAiBoC;AAAA,cACpE,6BAAA,EAA+B,CAAA,CAAE,UAGQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterSaveScript = action("PHANTOMBUSTER_SAVE_SCRIPT", {
|
|
4
|
+
slug: "phantombuster-save-script",
|
|
5
|
+
name: "Save Script",
|
|
6
|
+
description: "Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("If provided, the script with this ID will be updated. Otherwise, a new script is created.").optional(),
|
|
9
|
+
code: z.string().describe("JavaScript source code of the script (max 600,000 chars).").optional(),
|
|
10
|
+
name: z.string().describe("Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module."),
|
|
11
|
+
branch: z.string().describe("Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).").optional(),
|
|
12
|
+
manifest: z.object({
|
|
13
|
+
slug: z.string().describe("Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars)."),
|
|
14
|
+
unlisted: z.boolean().describe("Whether the script is unlisted.").optional(),
|
|
15
|
+
categories: z.array(z.string()).describe("List of categories for the script (max 10 items).").optional(),
|
|
16
|
+
description: z.string().describe("Description of what the script does (max 500 chars)."),
|
|
17
|
+
isDeprecated: z.boolean().describe("Whether the script is deprecated.").optional(),
|
|
18
|
+
defaultArgument: z.object({}).describe("Default arguments for the script as key-value pairs.").optional(),
|
|
19
|
+
askUserToNameAgent: z.boolean().describe("Whether to ask user to name the agent.").optional(),
|
|
20
|
+
tutorialArticleUrl: z.string().describe("URL to tutorial article for the script.").optional()
|
|
21
|
+
}).passthrough().describe("JSON script manifest required to create/update a script.").optional(),
|
|
22
|
+
markdown: z.string().describe("Markdown description of the script (max 200,000 chars).").optional(),
|
|
23
|
+
"X-Phantombuster-Org": z.string().describe("ID of the organization performing the operation (not needed when using a third party key).").optional()
|
|
24
|
+
}).describe("Request model for POST /scripts/save. Updates or creates a script."),
|
|
25
|
+
output: z.object({
|
|
26
|
+
id: z.string().describe("Unique identifier of the created or updated script."),
|
|
27
|
+
name: z.string().describe("Name of the script file.")
|
|
28
|
+
}).describe("Response schema for POST /scripts/save.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { phantombusterSaveScript };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=save-script.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-script.mjs","names":[],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.object({}).describe(\"Default arguments for the script as key-value pairs.\").optional(),\n askUserToNameAgent: z.boolean().describe(\"Whether to ask user to name the agent.\").optional(),\n tutorialArticleUrl: z.string().describe(\"URL to tutorial article for the script.\").optional(),\n}).passthrough().describe(\"JSON script manifest required to create/update a script.\").optional(),\n markdown: z.string().describe(\"Markdown description of the script (max 200,000 chars).\").optional(),\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 POST /scripts/save. Updates or creates a script.\");\nexport const PhantombusterSaveScriptOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated script.\"),\n name: z.string().describe(\"Name of the script file.\"),\n}).describe(\"Response schema for POST /scripts/save.\");\n\nexport const phantombusterSaveScript = action(\"PHANTOMBUSTER_SAVE_SCRIPT\", {\n slug: \"phantombuster-save-script\",\n name: \"Save Script\",\n description: \"Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.\",\n input: PhantombusterSaveScriptInput,\n output: PhantombusterSaveScriptOutput,\n});\n"],"mappings":";;AA2BA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO;GACnB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;GAC5H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC3E,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;GACvF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GACxG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAVyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/search-company-objects.ts
|
|
4
|
+
const PhantombusterSearchCompanyObjectsInput = zod.z.object({
|
|
5
|
+
or: zod.z.array(zod.z.object({})).describe("Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
6
|
+
and: zod.z.array(zod.z.object({})).describe("Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
7
|
+
filter: zod.z.object({}).describe("Nested filter object for more complex filtering logic with field names as keys and string values.").optional(),
|
|
8
|
+
__global_search__: zod.z.string().describe("Global search string to search across all fields of company objects.").optional()
|
|
9
|
+
}).describe("Request model for searching company objects.");
|
|
10
|
+
const PhantombusterSearchCompanyObjectsOutput = zod.z.object({
|
|
11
|
+
totalCount: zod.z.number().int().describe("Total count of company objects matching the search criteria.").nullable().optional(),
|
|
12
|
+
companiesObjects: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of company objects matching the search criteria. Each object contains company data fields.")
|
|
13
|
+
}).describe("Response schema for searching company objects.");
|
|
14
|
+
const phantombusterSearchCompanyObjects = require_action.action("PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS", {
|
|
15
|
+
slug: "phantombuster-search-company-objects",
|
|
16
|
+
name: "Search Company Objects",
|
|
17
|
+
description: "Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.",
|
|
18
|
+
input: PhantombusterSearchCompanyObjectsInput,
|
|
19
|
+
output: PhantombusterSearchCompanyObjectsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.phantombusterSearchCompanyObjects = phantombusterSearchCompanyObjects;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=search-company-objects.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-company-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput: z.ZodTypeAny = z.object({\n or: z.array(z.object({})).describe(\"Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.\").optional(),\n and: z.array(z.object({})).describe(\"Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.\").optional(),\n filter: z.object({}).describe(\"Nested filter object for more complex filtering logic with field names as keys and string values.\").optional(),\n __global_search__: z.string().describe(\"Global search string to search across all fields of company objects.\").optional(),\n}).describe(\"Request model for searching company objects.\");\nexport const PhantombusterSearchCompanyObjectsOutput: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total count of company objects matching the search criteria.\").nullable().optional(),\n companiesObjects: z.array(z.record(z.string(), z.unknown())).describe(\"List of company objects matching the search criteria. Each object contains company data fields.\"),\n}).describe(\"Response schema for searching company objects.\");\n\nexport const phantombusterSearchCompanyObjects = action(\"PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS\", {\n slug: \"phantombuster-search-company-objects\",\n name: \"Search Company Objects\",\n description: \"Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.\",\n input: PhantombusterSearchCompanyObjectsInput,\n output: PhantombusterSearchCompanyObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACtK,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACxK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC5I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AACzK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,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/search-company-objects.d.ts
|
|
4
|
+
declare const PhantombusterSearchCompanyObjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSearchCompanyObjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSearchCompanyObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSearchCompanyObjects };
|
|
9
|
+
//# sourceMappingURL=search-company-objects.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-company-objects.d.cts","names":[],"sources":["../../src/actions/search-company-objects.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAKI;AAAA,cAC9C,uCAAA,EAAyC,CAAA,CAAE,UAGK;AAAA,cAEhD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-company-objects.d.ts
|
|
4
|
+
declare const PhantombusterSearchCompanyObjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSearchCompanyObjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSearchCompanyObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSearchCompanyObjects };
|
|
9
|
+
//# sourceMappingURL=search-company-objects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-company-objects.d.mts","names":[],"sources":["../../src/actions/search-company-objects.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAKI;AAAA,cAC9C,uCAAA,EAAyC,CAAA,CAAE,UAGK;AAAA,cAEhD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterSearchCompanyObjects = action("PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS", {
|
|
4
|
+
slug: "phantombuster-search-company-objects",
|
|
5
|
+
name: "Search Company Objects",
|
|
6
|
+
description: "Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
or: z.array(z.object({})).describe("Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
9
|
+
and: z.array(z.object({})).describe("Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
10
|
+
filter: z.object({}).describe("Nested filter object for more complex filtering logic with field names as keys and string values.").optional(),
|
|
11
|
+
__global_search__: z.string().describe("Global search string to search across all fields of company objects.").optional()
|
|
12
|
+
}).describe("Request model for searching company objects."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
totalCount: z.number().int().describe("Total count of company objects matching the search criteria.").nullable().optional(),
|
|
15
|
+
companiesObjects: z.array(z.record(z.string(), z.unknown())).describe("List of company objects matching the search criteria. Each object contains company data fields.")
|
|
16
|
+
}).describe("Response schema for searching company objects.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { phantombusterSearchCompanyObjects };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=search-company-objects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-company-objects.mjs","names":[],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput: z.ZodTypeAny = z.object({\n or: z.array(z.object({})).describe(\"Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.\").optional(),\n and: z.array(z.object({})).describe(\"Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.\").optional(),\n filter: z.object({}).describe(\"Nested filter object for more complex filtering logic with field names as keys and string values.\").optional(),\n __global_search__: z.string().describe(\"Global search string to search across all fields of company objects.\").optional(),\n}).describe(\"Request model for searching company objects.\");\nexport const PhantombusterSearchCompanyObjectsOutput: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total count of company objects matching the search criteria.\").nullable().optional(),\n companiesObjects: z.array(z.record(z.string(), z.unknown())).describe(\"List of company objects matching the search criteria. Each object contains company data fields.\"),\n}).describe(\"Response schema for searching company objects.\");\n\nexport const phantombusterSearchCompanyObjects = action(\"PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS\", {\n slug: \"phantombuster-search-company-objects\",\n name: \"Search Company Objects\",\n description: \"Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.\",\n input: PhantombusterSearchCompanyObjectsInput,\n output: PhantombusterSearchCompanyObjectsOutput,\n});\n"],"mappings":";;AAeA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkE,EAAE,OAAO;EAC3E,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACtK,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACxK,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC5I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVmE,EAAE,OAAO;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACzK,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/search-lead-objects.ts
|
|
4
|
+
const PhantombusterSearchLeadObjectsInput = zod.z.object({ filter: zod.z.object({ __global_search__: zod.z.string().describe("Global text search across all lead fields. Use this for broad keyword searches.").optional() }).passthrough().describe("Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.") }).describe("Request model for searching lead objects in Phantombuster org storage.");
|
|
5
|
+
const PhantombusterSearchLeadObjects_LeadObjectSchema = zod.z.object({ _id: zod.z.string().describe("Unique identifier for the lead object.").nullable().optional() }).passthrough().describe("Lead object returned from search.");
|
|
6
|
+
const PhantombusterSearchLeadObjectsOutput = zod.z.object({
|
|
7
|
+
totalCount: zod.z.number().int().describe("Total count of leads matching the filter criteria.").nullable().optional(),
|
|
8
|
+
leadsObjects: zod.z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe("Array of lead objects matching the search criteria.")
|
|
9
|
+
}).describe("Response schema for searching lead objects.");
|
|
10
|
+
const phantombusterSearchLeadObjects = require_action.action("PHANTOMBUSTER_SEARCH_LEAD_OBJECTS", {
|
|
11
|
+
slug: "phantombuster-search-lead-objects",
|
|
12
|
+
name: "Search Lead Objects",
|
|
13
|
+
description: "Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.",
|
|
14
|
+
input: PhantombusterSearchLeadObjectsInput,
|
|
15
|
+
output: PhantombusterSearchLeadObjectsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.phantombusterSearchLeadObjects = phantombusterSearchLeadObjects;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=search-lead-objects.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-lead-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput: z.ZodTypeAny = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,QAAQA,IAAAA,EAAE,OAAO,EACjB,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AACvI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,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/search-lead-objects.d.ts
|
|
4
|
+
declare const PhantombusterSearchLeadObjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSearchLeadObjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSearchLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSearchLeadObjects };
|
|
9
|
+
//# sourceMappingURL=search-lead-objects.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-lead-objects.d.cts","names":[],"sources":["../../src/actions/search-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIiC;AAAA,cAIxE,oCAAA,EAAsC,CAAA,CAAE,UAGK;AAAA,cAE7C,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-lead-objects.d.ts
|
|
4
|
+
declare const PhantombusterSearchLeadObjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterSearchLeadObjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterSearchLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterSearchLeadObjects };
|
|
9
|
+
//# sourceMappingURL=search-lead-objects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-lead-objects.d.mts","names":[],"sources":["../../src/actions/search-lead-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIiC;AAAA,cAIxE,oCAAA,EAAsC,CAAA,CAAE,UAGK;AAAA,cAE7C,8BAAA,gCAA8B,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/search-lead-objects.ts
|
|
4
|
+
const PhantombusterSearchLeadObjectsInput = z.object({ filter: z.object({ __global_search__: z.string().describe("Global text search across all lead fields. Use this for broad keyword searches.").optional() }).passthrough().describe("Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.") }).describe("Request model for searching lead objects in Phantombuster org storage.");
|
|
5
|
+
const PhantombusterSearchLeadObjects_LeadObjectSchema = z.object({ _id: z.string().describe("Unique identifier for the lead object.").nullable().optional() }).passthrough().describe("Lead object returned from search.");
|
|
6
|
+
const phantombusterSearchLeadObjects = action("PHANTOMBUSTER_SEARCH_LEAD_OBJECTS", {
|
|
7
|
+
slug: "phantombuster-search-lead-objects",
|
|
8
|
+
name: "Search Lead Objects",
|
|
9
|
+
description: "Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.",
|
|
10
|
+
input: PhantombusterSearchLeadObjectsInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
totalCount: z.number().int().describe("Total count of leads matching the filter criteria.").nullable().optional(),
|
|
13
|
+
leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe("Array of lead objects matching the search criteria.")
|
|
14
|
+
}).describe("Response schema for searching lead objects.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { phantombusterSearchLeadObjects };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=search-lead-objects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-lead-objects.mjs","names":[],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput: z.ZodTypeAny = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,EACxE,QAAQ,EAAE,OAAO,EACjB,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAgE,EAAE,OAAO,EAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgE,EAAE,OAAO;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CACvI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/stop-agent.ts
|
|
4
|
+
const PhantombusterStopAgentInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Id of the agent to stop."),
|
|
6
|
+
softAbort: zod.z.boolean().describe("If true, tries to softly abort the agent.").optional(),
|
|
7
|
+
dontLaunchSoon: zod.z.boolean().describe("If true, disables the next scheduled 'launch soon' of the agent.").optional(),
|
|
8
|
+
cascadeToAllSlaves: zod.z.boolean().describe("If true, slave agents will recursively be stopped (even nested slaves).").optional(),
|
|
9
|
+
switchToManualLaunch: zod.z.boolean().describe("If true, the agent will switch to manual launch.").optional()
|
|
10
|
+
}).describe("Request model for POST /agents/stop.");
|
|
11
|
+
const PhantombusterStopAgentOutput = zod.z.object({
|
|
12
|
+
error: zod.z.string().describe("Error message if the stop operation failed.").nullable().optional(),
|
|
13
|
+
status: zod.z.string().describe("Status of the stop operation, e.g., 'success' or 'error'.").nullable().optional()
|
|
14
|
+
}).describe("Response schema for POST /agents/stop.");
|
|
15
|
+
const phantombusterStopAgent = require_action.action("PHANTOMBUSTER_STOP_AGENT", {
|
|
16
|
+
slug: "phantombuster-stop-agent",
|
|
17
|
+
name: "Stop Agent",
|
|
18
|
+
description: "Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.",
|
|
19
|
+
input: PhantombusterStopAgentInput,
|
|
20
|
+
output: PhantombusterStopAgentOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.phantombusterStopAgent = phantombusterStopAgent;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=stop-agent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stop-agent.cjs","names":["z","action"],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/stop-agent.d.ts
|
|
4
|
+
declare const PhantombusterStopAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterStopAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterStopAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterStopAgent };
|
|
9
|
+
//# sourceMappingURL=stop-agent.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stop-agent.d.cts","names":[],"sources":["../../src/actions/stop-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMO;AAAA,cACtC,4BAAA,EAA8B,CAAA,CAAE,UAGQ;AAAA,cAExC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/stop-agent.d.ts
|
|
4
|
+
declare const PhantombusterStopAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterStopAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterStopAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterStopAgent };
|
|
9
|
+
//# sourceMappingURL=stop-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stop-agent.d.mts","names":[],"sources":["../../src/actions/stop-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMO;AAAA,cACtC,4BAAA,EAA8B,CAAA,CAAE,UAGQ;AAAA,cAExC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterStopAgent = action("PHANTOMBUSTER_STOP_AGENT", {
|
|
4
|
+
slug: "phantombuster-stop-agent",
|
|
5
|
+
name: "Stop Agent",
|
|
6
|
+
description: "Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("Id of the agent to stop."),
|
|
9
|
+
softAbort: z.boolean().describe("If true, tries to softly abort the agent.").optional(),
|
|
10
|
+
dontLaunchSoon: z.boolean().describe("If true, disables the next scheduled 'launch soon' of the agent.").optional(),
|
|
11
|
+
cascadeToAllSlaves: z.boolean().describe("If true, slave agents will recursively be stopped (even nested slaves).").optional(),
|
|
12
|
+
switchToManualLaunch: z.boolean().describe("If true, the agent will switch to manual launch.").optional()
|
|
13
|
+
}).describe("Request model for POST /agents/stop."),
|
|
14
|
+
output: z.object({
|
|
15
|
+
error: z.string().describe("Error message if the stop operation failed.").nullable().optional(),
|
|
16
|
+
status: z.string().describe("Status of the stop operation, e.g., 'success' or 'error'.").nullable().optional()
|
|
17
|
+
}).describe("Response schema for POST /agents/stop.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { phantombusterStopAgent };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=stop-agent.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stop-agent.mjs","names":[],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAClD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAVwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-script.ts
|
|
4
|
+
const PhantombusterUpdateScriptInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Name of the script to update or create, with its extension (.js or .coffee)."),
|
|
6
|
+
text: zod.z.string().describe("Full text contents of the script."),
|
|
7
|
+
insertOnly: zod.z.boolean().describe("If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.").optional()
|
|
8
|
+
}).describe("Request model for updating or creating a script (Legacy v1 API).");
|
|
9
|
+
const PhantombusterUpdateScriptOutput = zod.z.object({
|
|
10
|
+
data: zod.z.number().describe("Script ID if a new script was created, or null if an existing script was updated.").nullable().optional(),
|
|
11
|
+
status: zod.z.string().describe("Status of the operation (e.g., 'success').")
|
|
12
|
+
}).describe("Response schema for POST /api/v1/script/{name}.");
|
|
13
|
+
const phantombusterUpdateScript = require_action.action("PHANTOMBUSTER_UPDATE_SCRIPT", {
|
|
14
|
+
slug: "phantombuster-update-script",
|
|
15
|
+
name: "Update Script (v1 API)",
|
|
16
|
+
description: "Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.",
|
|
17
|
+
input: PhantombusterUpdateScriptInput,
|
|
18
|
+
output: PhantombusterUpdateScriptOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.phantombusterUpdateScript = phantombusterUpdateScript;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=update-script.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-script.cjs","names":["z","action"],"sources":["../../src/actions/update-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the script to update or create, with its extension (.js or .coffee).\"),\n text: z.string().describe(\"Full text contents of the script.\"),\n insertOnly: z.boolean().describe(\"If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.\").optional(),\n}).describe(\"Request model for updating or creating a script (Legacy v1 API).\");\nexport const PhantombusterUpdateScriptOutput: z.ZodTypeAny = z.object({\n data: z.number().describe(\"Script ID if a new script was created, or null if an existing script was updated.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation (e.g., 'success').\"),\n}).describe(\"Response schema for POST /api/v1/script/{name}.\");\n\nexport const phantombusterUpdateScript = action(\"PHANTOMBUSTER_UPDATE_SCRIPT\", {\n slug: \"phantombuster-update-script\",\n name: \"Update Script (v1 API)\",\n description: \"Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.\",\n input: PhantombusterUpdateScriptInput,\n output: PhantombusterUpdateScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC1E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,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/update-script.d.ts
|
|
4
|
+
declare const PhantombusterUpdateScriptInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterUpdateScriptOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterUpdateScript: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterUpdateScript };
|
|
9
|
+
//# sourceMappingURL=update-script.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-script.d.cts","names":[],"sources":["../../src/actions/update-script.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIgC;AAAA,cAClE,+BAAA,EAAiC,CAAA,CAAE,UAGc;AAAA,cAEjD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|