@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":"get-orgs-export-agent-usage.mjs","names":[],"sources":["../../src/actions/get-orgs-export-agent-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsExportAgentUsageInput: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"Number of days of data to export (1 to 180).\"),\n agentId: z.string().describe(\"If set, export data only for this agent ID.\").optional(),\n}).describe(\"Request parameters for GET /orgs/export-agent-usage.\");\nexport const PhantombusterGetOrgsExportAgentUsageOutput: z.ZodTypeAny = z.object({\n csv: z.string().describe(\"Raw CSV content containing agent usage details for the organization.\"),\n}).describe(\"Response schema for GET /orgs/export-agent-usage.\");\n\nexport const phantombusterGetOrgsExportAgentUsage = action(\"PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGE\", {\n slug: \"phantombuster-get-orgs-export-agent-usage\",\n name: \"Export Agent Usage CSV\",\n description: \"Tool to export agent usage CSV for current organization. Use when you need a downloadable report of all agents' run statistics in CSV format.\",\n input: PhantombusterGetOrgsExportAgentUsageInput,\n output: PhantombusterGetOrgsExportAgentUsageOutput,\n});\n"],"mappings":";;AAYA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqE,EAAE,OAAO;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATsE,EAAE,OAAO,EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACjG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-orgs-export-container-usage.ts
|
|
4
|
+
const PhantombusterGetOrgsExportContainerUsageInput = zod.z.object({
|
|
5
|
+
days: zod.z.number().int().describe("Number of days of data to export (1 to 180)."),
|
|
6
|
+
agentId: zod.z.string().describe("If set, export data only for this agent ID.").optional()
|
|
7
|
+
}).describe("Request parameters for GET /orgs/export-container-usage.");
|
|
8
|
+
const PhantombusterGetOrgsExportContainerUsageOutput = zod.z.object({ csv: zod.z.string().describe("Raw CSV content containing container usage details for the organization.") }).describe("Response schema for GET /orgs/export-container-usage.");
|
|
9
|
+
const phantombusterGetOrgsExportContainerUsage = require_action.action("PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGE", {
|
|
10
|
+
slug: "phantombuster-get-orgs-export-container-usage",
|
|
11
|
+
name: "Export Container Usage CSV",
|
|
12
|
+
description: "Tool to export container usage CSV for current organization. Use when you need a downloadable CSV report of container execution history up to 6 months; URL expires in 30 days.",
|
|
13
|
+
input: PhantombusterGetOrgsExportContainerUsageInput,
|
|
14
|
+
output: PhantombusterGetOrgsExportContainerUsageOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.phantombusterGetOrgsExportContainerUsage = phantombusterGetOrgsExportContainerUsage;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-orgs-export-container-usage.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-export-container-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-export-container-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsExportContainerUsageInput: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"Number of days of data to export (1 to 180).\"),\n agentId: z.string().describe(\"If set, export data only for this agent ID.\").optional(),\n}).describe(\"Request parameters for GET /orgs/export-container-usage.\");\nexport const PhantombusterGetOrgsExportContainerUsageOutput: z.ZodTypeAny = z.object({\n csv: z.string().describe(\"Raw CSV content containing container usage details for the organization.\"),\n}).describe(\"Response schema for GET /orgs/export-container-usage.\");\n\nexport const phantombusterGetOrgsExportContainerUsage = action(\"PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGE\", {\n slug: \"phantombuster-get-orgs-export-container-usage\",\n name: \"Export Container Usage CSV\",\n description: \"Tool to export container usage CSV for current organization. Use when you need a downloadable CSV report of container execution history up to 6 months; URL expires in 30 days.\",\n input: PhantombusterGetOrgsExportContainerUsageInput,\n output: PhantombusterGetOrgsExportContainerUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iDAA+DA,IAAAA,EAAE,OAAO,EACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EACrG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2CAA2CC,eAAAA,OAAO,iDAAiD;CAC9G,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/get-orgs-export-container-usage.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsExportContainerUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsExportContainerUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsExportContainerUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsExportContainerUsage };
|
|
9
|
+
//# sourceMappingURL=get-orgs-export-container-usage.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-export-container-usage.d.cts","names":[],"sources":["../../src/actions/get-orgs-export-container-usage.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAGS;AAAA,cAC1D,8CAAA,EAAgD,CAAA,CAAE,UAEK;AAAA,cAEvD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-export-container-usage.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsExportContainerUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsExportContainerUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsExportContainerUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsExportContainerUsage };
|
|
9
|
+
//# sourceMappingURL=get-orgs-export-container-usage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-export-container-usage.d.mts","names":[],"sources":["../../src/actions/get-orgs-export-container-usage.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAGS;AAAA,cAC1D,8CAAA,EAAgD,CAAA,CAAE,UAEK;AAAA,cAEvD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterGetOrgsExportContainerUsage = action("PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGE", {
|
|
4
|
+
slug: "phantombuster-get-orgs-export-container-usage",
|
|
5
|
+
name: "Export Container Usage CSV",
|
|
6
|
+
description: "Tool to export container usage CSV for current organization. Use when you need a downloadable CSV report of container execution history up to 6 months; URL expires in 30 days.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
days: z.number().int().describe("Number of days of data to export (1 to 180)."),
|
|
9
|
+
agentId: z.string().describe("If set, export data only for this agent ID.").optional()
|
|
10
|
+
}).describe("Request parameters for GET /orgs/export-container-usage."),
|
|
11
|
+
output: z.object({ csv: z.string().describe("Raw CSV content containing container usage details for the organization.") }).describe("Response schema for GET /orgs/export-container-usage.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { phantombusterGetOrgsExportContainerUsage };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-orgs-export-container-usage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-export-container-usage.mjs","names":[],"sources":["../../src/actions/get-orgs-export-container-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsExportContainerUsageInput: z.ZodTypeAny = z.object({\n days: z.number().int().describe(\"Number of days of data to export (1 to 180).\"),\n agentId: z.string().describe(\"If set, export data only for this agent ID.\").optional(),\n}).describe(\"Request parameters for GET /orgs/export-container-usage.\");\nexport const PhantombusterGetOrgsExportContainerUsageOutput: z.ZodTypeAny = z.object({\n csv: z.string().describe(\"Raw CSV content containing container usage details for the organization.\"),\n}).describe(\"Response schema for GET /orgs/export-container-usage.\");\n\nexport const phantombusterGetOrgsExportContainerUsage = action(\"PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGE\", {\n slug: \"phantombuster-get-orgs-export-container-usage\",\n name: \"Export Container Usage CSV\",\n description: \"Tool to export container usage CSV for current organization. Use when you need a downloadable CSV report of container execution history up to 6 months; URL expires in 30 days.\",\n input: PhantombusterGetOrgsExportContainerUsageInput,\n output: PhantombusterGetOrgsExportContainerUsageOutput,\n});\n"],"mappings":";;AAYA,MAAa,2CAA2C,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyE,EAAE,OAAO;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT0E,EAAE,OAAO,EACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EACrG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-orgs-fetch-agent-groups.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchAgentGroupsInput = zod.z.object({ "X-Phantombuster-Org": zod.z.string().describe("ID of the org performing the operation (omit if using your own API key).").optional() }).describe("Request model for GET /orgs/fetch-agent-groups.");
|
|
5
|
+
const PhantombusterGetOrgsFetchAgentGroupsOutput = zod.z.object({ agentGroups: zod.z.array(zod.z.string()).describe("List of agent group names in the organization, in order.") }).describe("Response schema for GET /orgs/fetch-agent-groups.");
|
|
6
|
+
const phantombusterGetOrgsFetchAgentGroups = require_action.action("PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPS", {
|
|
7
|
+
slug: "phantombuster-get-orgs-fetch-agent-groups",
|
|
8
|
+
name: "Get Agent Groups",
|
|
9
|
+
description: "Tool to get agent groups and order for the current organization. Use when you need to review how agents are grouped and ordered.",
|
|
10
|
+
input: PhantombusterGetOrgsFetchAgentGroupsInput,
|
|
11
|
+
output: PhantombusterGetOrgsFetchAgentGroupsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.phantombusterGetOrgsFetchAgentGroups = phantombusterGetOrgsFetchAgentGroups;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-orgs-fetch-agent-groups.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-agent-groups.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-fetch-agent-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchAgentGroupsInput: z.ZodTypeAny = z.object({\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org performing the operation (omit if using your own API key).\").optional(),\n}).describe(\"Request model for GET /orgs/fetch-agent-groups.\");\nexport const PhantombusterGetOrgsFetchAgentGroupsOutput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.string()).describe(\"List of agent group names in the organization, in order.\"),\n}).describe(\"Response schema for GET /orgs/fetch-agent-groups.\");\n\nexport const phantombusterGetOrgsFetchAgentGroups = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPS\", {\n slug: \"phantombuster-get-orgs-fetch-agent-groups\",\n name: \"Get Agent Groups\",\n description: \"Tool to get agent groups and order for the current organization. Use when you need to review how agents are grouped and ordered.\",\n input: PhantombusterGetOrgsFetchAgentGroupsInput,\n output: PhantombusterGetOrgsFetchAgentGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EACtG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,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/get-orgs-fetch-agent-groups.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchAgentGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchAgentGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchAgentGroups };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-agent-groups.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-agent-groups.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch-agent-groups.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEI;AAAA,cACjD,0CAAA,EAA4C,CAAA,CAAE,UAEK;AAAA,cAEnD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-fetch-agent-groups.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchAgentGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchAgentGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchAgentGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchAgentGroups };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-agent-groups.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-agent-groups.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch-agent-groups.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEI;AAAA,cACjD,0CAAA,EAA4C,CAAA,CAAE,UAEK;AAAA,cAEnD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterGetOrgsFetchAgentGroups = action("PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPS", {
|
|
4
|
+
slug: "phantombuster-get-orgs-fetch-agent-groups",
|
|
5
|
+
name: "Get Agent Groups",
|
|
6
|
+
description: "Tool to get agent groups and order for the current organization. Use when you need to review how agents are grouped and ordered.",
|
|
7
|
+
input: z.object({ "X-Phantombuster-Org": z.string().describe("ID of the org performing the operation (omit if using your own API key).").optional() }).describe("Request model for GET /orgs/fetch-agent-groups."),
|
|
8
|
+
output: z.object({ agentGroups: z.array(z.string()).describe("List of agent group names in the organization, in order.") }).describe("Response schema for GET /orgs/fetch-agent-groups.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { phantombusterGetOrgsFetchAgentGroups };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-orgs-fetch-agent-groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-agent-groups.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch-agent-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchAgentGroupsInput: z.ZodTypeAny = z.object({\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org performing the operation (omit if using your own API key).\").optional(),\n}).describe(\"Request model for GET /orgs/fetch-agent-groups.\");\nexport const PhantombusterGetOrgsFetchAgentGroupsOutput: z.ZodTypeAny = z.object({\n agentGroups: z.array(z.string()).describe(\"List of agent group names in the organization, in order.\"),\n}).describe(\"Response schema for GET /orgs/fetch-agent-groups.\");\n\nexport const phantombusterGetOrgsFetchAgentGroups = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPS\", {\n slug: \"phantombuster-get-orgs-fetch-agent-groups\",\n name: \"Get Agent Groups\",\n description: \"Tool to get agent groups and order for the current organization. Use when you need to review how agents are grouped and ordered.\",\n input: PhantombusterGetOrgsFetchAgentGroupsInput,\n output: PhantombusterGetOrgsFetchAgentGroupsOutput,\n});\n"],"mappings":";;AAWA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqE,EAAE,OAAO,EAC9E,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATsE,EAAE,OAAO,EAC/E,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EACtG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-orgs-fetch-resources.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchResourcesInput = zod.z.object({}).describe("No parameters are required for this endpoint.");
|
|
5
|
+
const PhantombusterGetOrgsFetchResources_PlanSchemaSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Name of the plan."),
|
|
7
|
+
agents: zod.z.number().describe("Number of agents permitted."),
|
|
8
|
+
scripts: zod.z.number().describe("Number of scripts permitted."),
|
|
9
|
+
duration: zod.z.number().describe("Plan duration in ms."),
|
|
10
|
+
s3Storage: zod.z.number().describe("Allowed S3 storage in bytes or MB."),
|
|
11
|
+
dailyMails: zod.z.number().describe("Daily email sending limit."),
|
|
12
|
+
isAvailable: zod.z.boolean().describe("Whether the plan is currently available."),
|
|
13
|
+
parallelism: zod.z.number().describe("Max parallel executions."),
|
|
14
|
+
yearlyPrice: zod.z.number().describe("Yearly price in billing currency."),
|
|
15
|
+
isUpgradable: zod.z.boolean().describe("Whether the plan can be upgraded."),
|
|
16
|
+
mongoStorage: zod.z.number().describe("Allowed MongoDB storage in bytes or MB."),
|
|
17
|
+
monthlyPrice: zod.z.number().describe("Monthly price in billing currency."),
|
|
18
|
+
yearlyPrices: zod.z.object({}).describe("Mapping of currency codes to yearly prices."),
|
|
19
|
+
dailyCaptchas: zod.z.number().describe("Daily CAPTCHA solving limit."),
|
|
20
|
+
monthlyPrices: zod.z.object({}).describe("Mapping of currency codes to monthly prices."),
|
|
21
|
+
dailyAiCredits: zod.z.number().describe("Daily AI credits limit.").nullable().optional(),
|
|
22
|
+
monthlyCaptchas: zod.z.number().describe("Monthly CAPTCHA solving limit."),
|
|
23
|
+
dailySerpCredits: zod.z.number().describe("Daily SERP credits limit.").nullable().optional(),
|
|
24
|
+
monthlyAiCredits: zod.z.number().describe("Monthly AI credits limit.").nullable().optional(),
|
|
25
|
+
dailyExecutionTime: zod.z.number().describe("Daily execution time limit in ms."),
|
|
26
|
+
monthlySerpCredits: zod.z.number().describe("Monthly SERP credits limit.").nullable().optional(),
|
|
27
|
+
planShouldCancelAt: zod.z.number().describe("Timestamp (ms) when plan is scheduled to cancel.").nullable().optional(),
|
|
28
|
+
dailyDiscoveredMails: zod.z.number().describe("Daily discovered mail (leads) limit.").nullable().optional(),
|
|
29
|
+
monthlyExecutionTime: zod.z.number().describe("Monthly execution time limit in ms."),
|
|
30
|
+
monthlyDiscoveredMails: zod.z.number().describe("Monthly discovered mail limit.").nullable().optional()
|
|
31
|
+
}).describe("Details of the organization's subscription plan.");
|
|
32
|
+
const PhantombusterGetOrgsFetchResourcesOutput = zod.z.object({
|
|
33
|
+
plan: PhantombusterGetOrgsFetchResources_PlanSchemaSchema.nullable(),
|
|
34
|
+
planName: zod.z.string().describe("Name of the current subscription plan."),
|
|
35
|
+
dailyMail: zod.z.number().describe("Number of emails sent today."),
|
|
36
|
+
s3Storage: zod.z.number().describe("Total S3 storage used in MB."),
|
|
37
|
+
agentCount: zod.z.number().describe("Total number of agents in the organization."),
|
|
38
|
+
monthlyMail: zod.z.number().describe("Number of emails sent this month."),
|
|
39
|
+
dailyCaptcha: zod.z.number().describe("Number of CAPTCHAs solved today."),
|
|
40
|
+
dailyAiCredit: zod.z.number().describe("AI credits consumed today."),
|
|
41
|
+
monthlyCaptcha: zod.z.number().describe("Number of CAPTCHAs solved this month."),
|
|
42
|
+
monthlyAiCredit: zod.z.number().describe("AI credits consumed this month."),
|
|
43
|
+
dailySerpCredits: zod.z.number().describe("SERP credits consumed today.").nullable().optional(),
|
|
44
|
+
dailyExecutionTime: zod.z.number().describe("Execution time used today in ms."),
|
|
45
|
+
monthlySerpCredits: zod.z.number().describe("SERP credits consumed this month.").nullable().optional(),
|
|
46
|
+
dailyDiscoveredMail: zod.z.number().describe("Number of discovered emails today."),
|
|
47
|
+
monthlyExecutionTime: zod.z.number().describe("Execution time used this month in ms."),
|
|
48
|
+
monthlyDiscoveredMail: zod.z.number().describe("Number of discovered emails this month."),
|
|
49
|
+
dailyResourceNextResetAt: zod.z.number().describe("Timestamp (ms) when daily resources will reset.").nullable().optional(),
|
|
50
|
+
monthlyResourceNextResetAt: zod.z.number().describe("Timestamp (ms) when monthly resources will reset.").nullable().optional()
|
|
51
|
+
}).describe("Response schema for GET /orgs/fetch-resources.");
|
|
52
|
+
const phantombusterGetOrgsFetchResources = require_action.action("PHANTOMBUSTER_GET_ORGS_FETCH_RESOURCES", {
|
|
53
|
+
slug: "phantombuster-get-orgs-fetch-resources",
|
|
54
|
+
name: "Get Organization Resources",
|
|
55
|
+
description: "Tool to get current organization's resources and usage. Use when you need to monitor quotas.",
|
|
56
|
+
input: PhantombusterGetOrgsFetchResourcesInput,
|
|
57
|
+
output: PhantombusterGetOrgsFetchResourcesOutput
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
exports.phantombusterGetOrgsFetchResources = phantombusterGetOrgsFetchResources;
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=get-orgs-fetch-resources.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-resources.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-fetch-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchResourcesInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetOrgsFetchResources_PlanSchemaSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the plan.\"),\n agents: z.number().describe(\"Number of agents permitted.\"),\n scripts: z.number().describe(\"Number of scripts permitted.\"),\n duration: z.number().describe(\"Plan duration in ms.\"),\n s3Storage: z.number().describe(\"Allowed S3 storage in bytes or MB.\"),\n dailyMails: z.number().describe(\"Daily email sending limit.\"),\n isAvailable: z.boolean().describe(\"Whether the plan is currently available.\"),\n parallelism: z.number().describe(\"Max parallel executions.\"),\n yearlyPrice: z.number().describe(\"Yearly price in billing currency.\"),\n isUpgradable: z.boolean().describe(\"Whether the plan can be upgraded.\"),\n mongoStorage: z.number().describe(\"Allowed MongoDB storage in bytes or MB.\"),\n monthlyPrice: z.number().describe(\"Monthly price in billing currency.\"),\n yearlyPrices: z.object({}).describe(\"Mapping of currency codes to yearly prices.\"),\n dailyCaptchas: z.number().describe(\"Daily CAPTCHA solving limit.\"),\n monthlyPrices: z.object({}).describe(\"Mapping of currency codes to monthly prices.\"),\n dailyAiCredits: z.number().describe(\"Daily AI credits limit.\").nullable().optional(),\n monthlyCaptchas: z.number().describe(\"Monthly CAPTCHA solving limit.\"),\n dailySerpCredits: z.number().describe(\"Daily SERP credits limit.\").nullable().optional(),\n monthlyAiCredits: z.number().describe(\"Monthly AI credits limit.\").nullable().optional(),\n dailyExecutionTime: z.number().describe(\"Daily execution time limit in ms.\"),\n monthlySerpCredits: z.number().describe(\"Monthly SERP credits limit.\").nullable().optional(),\n planShouldCancelAt: z.number().describe(\"Timestamp (ms) when plan is scheduled to cancel.\").nullable().optional(),\n dailyDiscoveredMails: z.number().describe(\"Daily discovered mail (leads) limit.\").nullable().optional(),\n monthlyExecutionTime: z.number().describe(\"Monthly execution time limit in ms.\"),\n monthlyDiscoveredMails: z.number().describe(\"Monthly discovered mail limit.\").nullable().optional(),\n}).describe(\"Details of the organization's subscription plan.\");\nexport const PhantombusterGetOrgsFetchResourcesOutput: z.ZodTypeAny = z.object({\n plan: PhantombusterGetOrgsFetchResources_PlanSchemaSchema.nullable(),\n planName: z.string().describe(\"Name of the current subscription plan.\"),\n dailyMail: z.number().describe(\"Number of emails sent today.\"),\n s3Storage: z.number().describe(\"Total S3 storage used in MB.\"),\n agentCount: z.number().describe(\"Total number of agents in the organization.\"),\n monthlyMail: z.number().describe(\"Number of emails sent this month.\"),\n dailyCaptcha: z.number().describe(\"Number of CAPTCHAs solved today.\"),\n dailyAiCredit: z.number().describe(\"AI credits consumed today.\"),\n monthlyCaptcha: z.number().describe(\"Number of CAPTCHAs solved this month.\"),\n monthlyAiCredit: z.number().describe(\"AI credits consumed this month.\"),\n dailySerpCredits: z.number().describe(\"SERP credits consumed today.\").nullable().optional(),\n dailyExecutionTime: z.number().describe(\"Execution time used today in ms.\"),\n monthlySerpCredits: z.number().describe(\"SERP credits consumed this month.\").nullable().optional(),\n dailyDiscoveredMail: z.number().describe(\"Number of discovered emails today.\"),\n monthlyExecutionTime: z.number().describe(\"Execution time used this month in ms.\"),\n monthlyDiscoveredMail: z.number().describe(\"Number of discovered emails this month.\"),\n dailyResourceNextResetAt: z.number().describe(\"Timestamp (ms) when daily resources will reset.\").nullable().optional(),\n monthlyResourceNextResetAt: z.number().describe(\"Timestamp (ms) when monthly resources will reset.\").nullable().optional(),\n}).describe(\"Response schema for GET /orgs/fetch-resources.\");\n\nexport const phantombusterGetOrgsFetchResources = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_RESOURCES\", {\n slug: \"phantombuster-get-orgs-fetch-resources\",\n name: \"Get Organization Resources\",\n description: \"Tool to get current organization's resources and usage. Use when you need to monitor quotas.\",\n input: PhantombusterGetOrgsFetchResourcesInput,\n output: PhantombusterGetOrgsFetchResourcesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-fetch-resources.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchResourcesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchResourcesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchResources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchResources };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-resources.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-resources.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch-resources.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAAmF;AAAA,cA4B9H,wCAAA,EAA0C,CAAA,CAAE,UAmBI;AAAA,cAEhD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-fetch-resources.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchResourcesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchResourcesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchResources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchResources };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-resources.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-resources.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch-resources.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAAmF;AAAA,cA4B9H,wCAAA,EAA0C,CAAA,CAAE,UAmBI;AAAA,cAEhD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-orgs-fetch-resources.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchResourcesInput = z.object({}).describe("No parameters are required for this endpoint.");
|
|
5
|
+
const PhantombusterGetOrgsFetchResources_PlanSchemaSchema = z.object({
|
|
6
|
+
name: z.string().describe("Name of the plan."),
|
|
7
|
+
agents: z.number().describe("Number of agents permitted."),
|
|
8
|
+
scripts: z.number().describe("Number of scripts permitted."),
|
|
9
|
+
duration: z.number().describe("Plan duration in ms."),
|
|
10
|
+
s3Storage: z.number().describe("Allowed S3 storage in bytes or MB."),
|
|
11
|
+
dailyMails: z.number().describe("Daily email sending limit."),
|
|
12
|
+
isAvailable: z.boolean().describe("Whether the plan is currently available."),
|
|
13
|
+
parallelism: z.number().describe("Max parallel executions."),
|
|
14
|
+
yearlyPrice: z.number().describe("Yearly price in billing currency."),
|
|
15
|
+
isUpgradable: z.boolean().describe("Whether the plan can be upgraded."),
|
|
16
|
+
mongoStorage: z.number().describe("Allowed MongoDB storage in bytes or MB."),
|
|
17
|
+
monthlyPrice: z.number().describe("Monthly price in billing currency."),
|
|
18
|
+
yearlyPrices: z.object({}).describe("Mapping of currency codes to yearly prices."),
|
|
19
|
+
dailyCaptchas: z.number().describe("Daily CAPTCHA solving limit."),
|
|
20
|
+
monthlyPrices: z.object({}).describe("Mapping of currency codes to monthly prices."),
|
|
21
|
+
dailyAiCredits: z.number().describe("Daily AI credits limit.").nullable().optional(),
|
|
22
|
+
monthlyCaptchas: z.number().describe("Monthly CAPTCHA solving limit."),
|
|
23
|
+
dailySerpCredits: z.number().describe("Daily SERP credits limit.").nullable().optional(),
|
|
24
|
+
monthlyAiCredits: z.number().describe("Monthly AI credits limit.").nullable().optional(),
|
|
25
|
+
dailyExecutionTime: z.number().describe("Daily execution time limit in ms."),
|
|
26
|
+
monthlySerpCredits: z.number().describe("Monthly SERP credits limit.").nullable().optional(),
|
|
27
|
+
planShouldCancelAt: z.number().describe("Timestamp (ms) when plan is scheduled to cancel.").nullable().optional(),
|
|
28
|
+
dailyDiscoveredMails: z.number().describe("Daily discovered mail (leads) limit.").nullable().optional(),
|
|
29
|
+
monthlyExecutionTime: z.number().describe("Monthly execution time limit in ms."),
|
|
30
|
+
monthlyDiscoveredMails: z.number().describe("Monthly discovered mail limit.").nullable().optional()
|
|
31
|
+
}).describe("Details of the organization's subscription plan.");
|
|
32
|
+
const phantombusterGetOrgsFetchResources = action("PHANTOMBUSTER_GET_ORGS_FETCH_RESOURCES", {
|
|
33
|
+
slug: "phantombuster-get-orgs-fetch-resources",
|
|
34
|
+
name: "Get Organization Resources",
|
|
35
|
+
description: "Tool to get current organization's resources and usage. Use when you need to monitor quotas.",
|
|
36
|
+
input: PhantombusterGetOrgsFetchResourcesInput,
|
|
37
|
+
output: z.object({
|
|
38
|
+
plan: PhantombusterGetOrgsFetchResources_PlanSchemaSchema.nullable(),
|
|
39
|
+
planName: z.string().describe("Name of the current subscription plan."),
|
|
40
|
+
dailyMail: z.number().describe("Number of emails sent today."),
|
|
41
|
+
s3Storage: z.number().describe("Total S3 storage used in MB."),
|
|
42
|
+
agentCount: z.number().describe("Total number of agents in the organization."),
|
|
43
|
+
monthlyMail: z.number().describe("Number of emails sent this month."),
|
|
44
|
+
dailyCaptcha: z.number().describe("Number of CAPTCHAs solved today."),
|
|
45
|
+
dailyAiCredit: z.number().describe("AI credits consumed today."),
|
|
46
|
+
monthlyCaptcha: z.number().describe("Number of CAPTCHAs solved this month."),
|
|
47
|
+
monthlyAiCredit: z.number().describe("AI credits consumed this month."),
|
|
48
|
+
dailySerpCredits: z.number().describe("SERP credits consumed today.").nullable().optional(),
|
|
49
|
+
dailyExecutionTime: z.number().describe("Execution time used today in ms."),
|
|
50
|
+
monthlySerpCredits: z.number().describe("SERP credits consumed this month.").nullable().optional(),
|
|
51
|
+
dailyDiscoveredMail: z.number().describe("Number of discovered emails today."),
|
|
52
|
+
monthlyExecutionTime: z.number().describe("Execution time used this month in ms."),
|
|
53
|
+
monthlyDiscoveredMail: z.number().describe("Number of discovered emails this month."),
|
|
54
|
+
dailyResourceNextResetAt: z.number().describe("Timestamp (ms) when daily resources will reset.").nullable().optional(),
|
|
55
|
+
monthlyResourceNextResetAt: z.number().describe("Timestamp (ms) when monthly resources will reset.").nullable().optional()
|
|
56
|
+
}).describe("Response schema for GET /orgs/fetch-resources.")
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
59
|
+
export { phantombusterGetOrgsFetchResources };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=get-orgs-fetch-resources.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-resources.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch-resources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchResourcesInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetOrgsFetchResources_PlanSchemaSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the plan.\"),\n agents: z.number().describe(\"Number of agents permitted.\"),\n scripts: z.number().describe(\"Number of scripts permitted.\"),\n duration: z.number().describe(\"Plan duration in ms.\"),\n s3Storage: z.number().describe(\"Allowed S3 storage in bytes or MB.\"),\n dailyMails: z.number().describe(\"Daily email sending limit.\"),\n isAvailable: z.boolean().describe(\"Whether the plan is currently available.\"),\n parallelism: z.number().describe(\"Max parallel executions.\"),\n yearlyPrice: z.number().describe(\"Yearly price in billing currency.\"),\n isUpgradable: z.boolean().describe(\"Whether the plan can be upgraded.\"),\n mongoStorage: z.number().describe(\"Allowed MongoDB storage in bytes or MB.\"),\n monthlyPrice: z.number().describe(\"Monthly price in billing currency.\"),\n yearlyPrices: z.object({}).describe(\"Mapping of currency codes to yearly prices.\"),\n dailyCaptchas: z.number().describe(\"Daily CAPTCHA solving limit.\"),\n monthlyPrices: z.object({}).describe(\"Mapping of currency codes to monthly prices.\"),\n dailyAiCredits: z.number().describe(\"Daily AI credits limit.\").nullable().optional(),\n monthlyCaptchas: z.number().describe(\"Monthly CAPTCHA solving limit.\"),\n dailySerpCredits: z.number().describe(\"Daily SERP credits limit.\").nullable().optional(),\n monthlyAiCredits: z.number().describe(\"Monthly AI credits limit.\").nullable().optional(),\n dailyExecutionTime: z.number().describe(\"Daily execution time limit in ms.\"),\n monthlySerpCredits: z.number().describe(\"Monthly SERP credits limit.\").nullable().optional(),\n planShouldCancelAt: z.number().describe(\"Timestamp (ms) when plan is scheduled to cancel.\").nullable().optional(),\n dailyDiscoveredMails: z.number().describe(\"Daily discovered mail (leads) limit.\").nullable().optional(),\n monthlyExecutionTime: z.number().describe(\"Monthly execution time limit in ms.\"),\n monthlyDiscoveredMails: z.number().describe(\"Monthly discovered mail limit.\").nullable().optional(),\n}).describe(\"Details of the organization's subscription plan.\");\nexport const PhantombusterGetOrgsFetchResourcesOutput: z.ZodTypeAny = z.object({\n plan: PhantombusterGetOrgsFetchResources_PlanSchemaSchema.nullable(),\n planName: z.string().describe(\"Name of the current subscription plan.\"),\n dailyMail: z.number().describe(\"Number of emails sent today.\"),\n s3Storage: z.number().describe(\"Total S3 storage used in MB.\"),\n agentCount: z.number().describe(\"Total number of agents in the organization.\"),\n monthlyMail: z.number().describe(\"Number of emails sent this month.\"),\n dailyCaptcha: z.number().describe(\"Number of CAPTCHAs solved today.\"),\n dailyAiCredit: z.number().describe(\"AI credits consumed today.\"),\n monthlyCaptcha: z.number().describe(\"Number of CAPTCHAs solved this month.\"),\n monthlyAiCredit: z.number().describe(\"AI credits consumed this month.\"),\n dailySerpCredits: z.number().describe(\"SERP credits consumed today.\").nullable().optional(),\n dailyExecutionTime: z.number().describe(\"Execution time used today in ms.\"),\n monthlySerpCredits: z.number().describe(\"SERP credits consumed this month.\").nullable().optional(),\n dailyDiscoveredMail: z.number().describe(\"Number of discovered emails today.\"),\n monthlyExecutionTime: z.number().describe(\"Execution time used this month in ms.\"),\n monthlyDiscoveredMail: z.number().describe(\"Number of discovered emails this month.\"),\n dailyResourceNextResetAt: z.number().describe(\"Timestamp (ms) when daily resources will reset.\").nullable().optional(),\n monthlyResourceNextResetAt: z.number().describe(\"Timestamp (ms) when monthly resources will reset.\").nullable().optional(),\n}).describe(\"Response schema for GET /orgs/fetch-resources.\");\n\nexport const phantombusterGetOrgsFetchResources = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_RESOURCES\", {\n slug: \"phantombuster-get-orgs-fetch-resources\",\n name: \"Get Organization Resources\",\n description: \"Tool to get current organization's resources and usage. Use when you need to monitor quotas.\",\n input: PhantombusterGetOrgsFetchResourcesInput,\n output: PhantombusterGetOrgsFetchResourcesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-orgs-fetch-running-containers.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchRunningContainersInput = zod.z.object({}).describe("No request parameters are required for this endpoint.");
|
|
5
|
+
const PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the container."),
|
|
7
|
+
status: zod.z.string().describe("Current status of the container (e.g., running, finished)."),
|
|
8
|
+
agentId: zod.z.string().describe("ID of the agent associated with this container."),
|
|
9
|
+
createdAt: zod.z.number().int().describe("Creation timestamp in milliseconds since Unix epoch."),
|
|
10
|
+
updatedAt: zod.z.number().int().describe("Last update timestamp in milliseconds since Unix epoch.")
|
|
11
|
+
}).describe("Represents a single Phantombuster container in the current organization.");
|
|
12
|
+
const PhantombusterGetOrgsFetchRunningContainersOutput = zod.z.object({ containers: zod.z.array(PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema).describe("List of the current organization's running containers.") }).describe("Response schema for GET /orgs/fetch-running-containers.");
|
|
13
|
+
const phantombusterGetOrgsFetchRunningContainers = require_action.action("PHANTOMBUSTER_GET_ORGS_FETCH_RUNNING_CONTAINERS", {
|
|
14
|
+
slug: "phantombuster-get-orgs-fetch-running-containers",
|
|
15
|
+
name: "Get Org Running Containers",
|
|
16
|
+
description: "Tool to get the current organization's running containers. Use after listing agents to identify active containers across the organization.",
|
|
17
|
+
input: PhantombusterGetOrgsFetchRunningContainersInput,
|
|
18
|
+
output: PhantombusterGetOrgsFetchRunningContainersOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.phantombusterGetOrgsFetchRunningContainers = phantombusterGetOrgsFetchRunningContainers;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-orgs-fetch-running-containers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-running-containers.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-fetch-running-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchRunningContainersInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters are required for this endpoint.\");\nconst PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the container.\"),\n status: z.string().describe(\"Current status of the container (e.g., running, finished).\"),\n agentId: z.string().describe(\"ID of the agent associated with this container.\"),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds since Unix epoch.\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds since Unix epoch.\"),\n}).describe(\"Represents a single Phantombuster container in the current organization.\");\nexport const PhantombusterGetOrgsFetchRunningContainersOutput: z.ZodTypeAny = z.object({\n containers: z.array(PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema).describe(\"List of the current organization's running containers.\"),\n}).describe(\"Response schema for GET /orgs/fetch-running-containers.\");\n\nexport const phantombusterGetOrgsFetchRunningContainers = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_RUNNING_CONTAINERS\", {\n slug: \"phantombuster-get-orgs-fetch-running-containers\",\n name: \"Get Org Running Containers\",\n description: \"Tool to get the current organization's running containers. Use after listing agents to identify active containers across the organization.\",\n input: PhantombusterGetOrgsFetchRunningContainersInput,\n output: PhantombusterGetOrgsFetchRunningContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAgEA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAC1J,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,mDAAiEA,IAAAA,EAAE,OAAO,EACrF,YAAYA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,wDAAwD,EACtJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,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/get-orgs-fetch-running-containers.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchRunningContainersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchRunningContainersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchRunningContainers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchRunningContainers };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-running-containers.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-running-containers.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch-running-containers.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAA2F;AAAA,cAQ9I,gDAAA,EAAkD,CAAA,CAAE,UAEK;AAAA,cAEzD,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-fetch-running-containers.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchRunningContainersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchRunningContainersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetchRunningContainers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetchRunningContainers };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch-running-containers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-running-containers.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch-running-containers.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAA2F;AAAA,cAQ9I,gDAAA,EAAkD,CAAA,CAAE,UAEK;AAAA,cAEzD,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-orgs-fetch-running-containers.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchRunningContainersInput = z.object({}).describe("No request parameters are required for this endpoint.");
|
|
5
|
+
const PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the container."),
|
|
7
|
+
status: z.string().describe("Current status of the container (e.g., running, finished)."),
|
|
8
|
+
agentId: z.string().describe("ID of the agent associated with this container."),
|
|
9
|
+
createdAt: z.number().int().describe("Creation timestamp in milliseconds since Unix epoch."),
|
|
10
|
+
updatedAt: z.number().int().describe("Last update timestamp in milliseconds since Unix epoch.")
|
|
11
|
+
}).describe("Represents a single Phantombuster container in the current organization.");
|
|
12
|
+
const phantombusterGetOrgsFetchRunningContainers = action("PHANTOMBUSTER_GET_ORGS_FETCH_RUNNING_CONTAINERS", {
|
|
13
|
+
slug: "phantombuster-get-orgs-fetch-running-containers",
|
|
14
|
+
name: "Get Org Running Containers",
|
|
15
|
+
description: "Tool to get the current organization's running containers. Use after listing agents to identify active containers across the organization.",
|
|
16
|
+
input: PhantombusterGetOrgsFetchRunningContainersInput,
|
|
17
|
+
output: z.object({ containers: z.array(PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema).describe("List of the current organization's running containers.") }).describe("Response schema for GET /orgs/fetch-running-containers.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { phantombusterGetOrgsFetchRunningContainers };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-orgs-fetch-running-containers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch-running-containers.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch-running-containers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchRunningContainersInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters are required for this endpoint.\");\nconst PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the container.\"),\n status: z.string().describe(\"Current status of the container (e.g., running, finished).\"),\n agentId: z.string().describe(\"ID of the agent associated with this container.\"),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds since Unix epoch.\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds since Unix epoch.\"),\n}).describe(\"Represents a single Phantombuster container in the current organization.\");\nexport const PhantombusterGetOrgsFetchRunningContainersOutput: z.ZodTypeAny = z.object({\n containers: z.array(PhantombusterGetOrgsFetchRunningContainers_OrgContainerSchema).describe(\"List of the current organization's running containers.\"),\n}).describe(\"Response schema for GET /orgs/fetch-running-containers.\");\n\nexport const phantombusterGetOrgsFetchRunningContainers = action(\"PHANTOMBUSTER_GET_ORGS_FETCH_RUNNING_CONTAINERS\", {\n slug: \"phantombuster-get-orgs-fetch-running-containers\",\n name: \"Get Org Running Containers\",\n description: \"Tool to get the current organization's running containers. Use after listing agents to identify active containers across the organization.\",\n input: PhantombusterGetOrgsFetchRunningContainersInput,\n output: PhantombusterGetOrgsFetchRunningContainersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAgE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAC1J,MAAM,gEAA8E,EAAE,OAAO;CAC3F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAKtF,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4E,EAAE,OAAO,EACrF,YAAY,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,wDAAwD,EACtJ,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-orgs-fetch.ts
|
|
4
|
+
const PhantombusterGetOrgsFetchInput = zod.z.object({}).describe("No parameters are required for this endpoint.");
|
|
5
|
+
const PhantombusterGetOrgsFetchOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the organization."),
|
|
7
|
+
name: zod.z.string().describe("Name of the organization."),
|
|
8
|
+
slug: zod.z.string().describe("URL-friendly slug of the organization.").nullable().optional(),
|
|
9
|
+
createdAt: zod.z.union([zod.z.string(), zod.z.number().int()]),
|
|
10
|
+
updatedAt: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
|
|
11
|
+
}).describe("Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.");
|
|
12
|
+
const phantombusterGetOrgsFetch = require_action.action("PHANTOMBUSTER_GET_ORGS_FETCH", {
|
|
13
|
+
slug: "phantombuster-get-orgs-fetch",
|
|
14
|
+
name: "Get Organization",
|
|
15
|
+
description: "Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.",
|
|
16
|
+
input: PhantombusterGetOrgsFetchInput,
|
|
17
|
+
output: PhantombusterGetOrgsFetchOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.phantombusterGetOrgsFetch = phantombusterGetOrgsFetch;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-orgs-fetch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch.cjs","names":["z","action"],"sources":["../../src/actions/get-orgs-fetch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nexport const PhantombusterGetOrgsFetchOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the organization.\"),\n name: z.string().describe(\"Name of the organization.\"),\n slug: z.string().describe(\"URL-friendly slug of the organization.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).describe(\"Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.\");\n\nexport const phantombusterGetOrgsFetch = action(\"PHANTOMBUSTER_GET_ORGS_FETCH\", {\n slug: \"phantombuster-get-orgs-fetch\",\n name: \"Get Organization\",\n description: \"Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.\",\n input: PhantombusterGetOrgsFetchInput,\n output: PhantombusterGetOrgsFetchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACjI,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CACjD,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAErG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/get-orgs-fetch.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetch };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch.d.cts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAmF;AAAA,cACrH,+BAAA,EAAiC,CAAA,CAAE,UAMsD;AAAA,cAEzF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-orgs-fetch.d.ts
|
|
4
|
+
declare const PhantombusterGetOrgsFetchInput: z.ZodTypeAny;
|
|
5
|
+
declare const PhantombusterGetOrgsFetchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const phantombusterGetOrgsFetch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { phantombusterGetOrgsFetch };
|
|
9
|
+
//# sourceMappingURL=get-orgs-fetch.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch.d.mts","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAmF;AAAA,cACrH,+BAAA,EAAiC,CAAA,CAAE,UAMsD;AAAA,cAEzF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const phantombusterGetOrgsFetch = action("PHANTOMBUSTER_GET_ORGS_FETCH", {
|
|
4
|
+
slug: "phantombuster-get-orgs-fetch",
|
|
5
|
+
name: "Get Organization",
|
|
6
|
+
description: "Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.",
|
|
7
|
+
input: z.object({}).describe("No parameters are required for this endpoint."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the organization."),
|
|
10
|
+
name: z.string().describe("Name of the organization."),
|
|
11
|
+
slug: z.string().describe("URL-friendly slug of the organization.").nullable().optional(),
|
|
12
|
+
createdAt: z.union([z.string(), z.number().int()]),
|
|
13
|
+
updatedAt: z.union([z.number().int(), z.string()]).nullable().optional()
|
|
14
|
+
}).describe("Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { phantombusterGetOrgsFetch };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-orgs-fetch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-orgs-fetch.mjs","names":[],"sources":["../../src/actions/get-orgs-fetch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetOrgsFetchInput: z.ZodTypeAny = z.object({}).describe(\"No parameters are required for this endpoint.\");\nexport const PhantombusterGetOrgsFetchOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the organization.\"),\n name: z.string().describe(\"Name of the organization.\"),\n slug: z.string().describe(\"URL-friendly slug of the organization.\").nullable().optional(),\n createdAt: z.union([z.string(), z.number().int()]),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).describe(\"Response schema for GET /orgs/fetch. Some fields may be optional or numeric timestamps.\");\n\nexport const phantombusterGetOrgsFetch = action(\"PHANTOMBUSTER_GET_ORGS_FETCH\", {\n slug: \"phantombuster-get-orgs-fetch\",\n name: \"Get Organization\",\n description: \"Tool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.\",\n input: PhantombusterGetOrgsFetchInput,\n output: PhantombusterGetOrgsFetchOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAazE;CACP,QAb2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EACjD,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,yFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-script-by-name.ts
|
|
4
|
+
const PhantombusterGetScriptByNameInput = zod.z.object({
|
|
5
|
+
mode: zod.z.enum(["json"]).default("json").describe("Response format: 'json' returns structured metadata.").optional(),
|
|
6
|
+
name: zod.z.string().describe("Name of the script to retrieve, with its extension (.js or .coffee).")
|
|
7
|
+
}).describe("Request model for GET /api/v1/script/by-name/{mode}/{name}.");
|
|
8
|
+
const PhantombusterGetScriptByName_ScriptDataSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the script").nullable().optional(),
|
|
10
|
+
url: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Name of the script").nullable().optional(),
|
|
12
|
+
text: zod.z.string().describe("Script contents (omitted if withoutText=true)").nullable().optional(),
|
|
13
|
+
nonce: zod.z.number().int().describe("Nonce associated with the script").nullable().optional(),
|
|
14
|
+
source: zod.z.string().describe("Source of the script (e.g., 'phantombuster')").nullable().optional(),
|
|
15
|
+
httpHeaders: zod.z.object({}).describe("HTTP headers of the script, if any").nullable().optional(),
|
|
16
|
+
lastSaveDate: zod.z.number().int().describe("Unix timestamp of the last save date").nullable().optional()
|
|
17
|
+
}).describe("Represents the script metadata and content.");
|
|
18
|
+
const PhantombusterGetScriptByNameOutput = zod.z.object({
|
|
19
|
+
data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),
|
|
20
|
+
status: zod.z.string().describe("Status of the request (e.g., 'success')").nullable().optional()
|
|
21
|
+
}).describe("Response schema for GET /api/v1/script/by-name/{mode}/{name}.");
|
|
22
|
+
const phantombusterGetScriptByName = require_action.action("PHANTOMBUSTER_GET_SCRIPT_BY_NAME", {
|
|
23
|
+
slug: "phantombuster-get-script-by-name",
|
|
24
|
+
name: "Get Script by Name",
|
|
25
|
+
description: "Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.",
|
|
26
|
+
input: PhantombusterGetScriptByNameInput,
|
|
27
|
+
output: PhantombusterGetScriptByNameOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.phantombusterGetScriptByName = phantombusterGetScriptByName;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-script-by-name.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-script-by-name.cjs","names":["z","action"],"sources":["../../src/actions/get-script-by-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptByNameInput: z.ZodTypeAny = z.object({\n mode: z.enum([\"json\"]).default(\"json\").describe(\"Response format: 'json' returns structured metadata.\").optional(),\n name: z.string().describe(\"Name of the script to retrieve, with its extension (.js or .coffee).\"),\n}).describe(\"Request model for GET /api/v1/script/by-name/{mode}/{name}.\");\nconst PhantombusterGetScriptByName_ScriptDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the script\").nullable().optional(),\n url: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n name: z.string().describe(\"Name of the script\").nullable().optional(),\n text: z.string().describe(\"Script contents (omitted if withoutText=true)\").nullable().optional(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable().optional(),\n source: z.string().describe(\"Source of the script (e.g., 'phantombuster')\").nullable().optional(),\n httpHeaders: z.object({}).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp of the last save date\").nullable().optional(),\n}).describe(\"Represents the script metadata and content.\");\nexport const PhantombusterGetScriptByNameOutput: z.ZodTypeAny = z.object({\n data: PhantombusterGetScriptByName_ScriptDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success')\").nullable().optional(),\n}).describe(\"Response schema for GET /api/v1/script/by-name/{mode}/{name}.\");\n\nexport const phantombusterGetScriptByName = action(\"PHANTOMBUSTER_GET_SCRIPT_BY_NAME\", {\n slug: \"phantombuster-get-script-by-name\",\n name: \"Get Script by Name\",\n description: \"Tool to retrieve a script by its name from Phantombuster (Legacy v1 API). Use when you need to fetch script metadata or content by name. Supports both JSON (structured) and raw (plain text) response formats.\",\n input: PhantombusterGetScriptByNameInput,\n output: PhantombusterGetScriptByNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAClG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|