@keystrokehq/phantombuster 0.1.0 → 0.1.2
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/abort-agent-v1.cjs +1 -1
- package/dist/actions/abort-agent-v1.cjs.map +1 -1
- package/dist/actions/abort-agent-v1.d.cts +12 -3
- package/dist/actions/abort-agent-v1.d.cts.map +1 -1
- package/dist/actions/abort-agent-v1.d.mts +12 -3
- package/dist/actions/abort-agent-v1.d.mts.map +1 -1
- package/dist/actions/abort-agent-v1.mjs +1 -1
- package/dist/actions/abort-agent-v1.mjs.map +1 -1
- package/dist/actions/delete-agent.cjs +2 -2
- package/dist/actions/delete-agent.cjs.map +1 -1
- package/dist/actions/delete-agent.d.cts +14 -3
- package/dist/actions/delete-agent.d.cts.map +1 -1
- package/dist/actions/delete-agent.d.mts +14 -3
- package/dist/actions/delete-agent.d.mts.map +1 -1
- package/dist/actions/delete-agent.mjs +2 -2
- package/dist/actions/delete-agent.mjs.map +1 -1
- package/dist/actions/delete-lead-objects.cjs +1 -1
- package/dist/actions/delete-lead-objects.cjs.map +1 -1
- package/dist/actions/delete-lead-objects.d.cts +13 -3
- package/dist/actions/delete-lead-objects.d.cts.map +1 -1
- package/dist/actions/delete-lead-objects.d.mts +13 -3
- package/dist/actions/delete-lead-objects.d.mts.map +1 -1
- package/dist/actions/delete-lead-objects.mjs +1 -1
- package/dist/actions/delete-lead-objects.mjs.map +1 -1
- package/dist/actions/delete-leads-many.cjs +1 -1
- package/dist/actions/delete-leads-many.cjs.map +1 -1
- package/dist/actions/delete-leads-many.d.cts +11 -3
- package/dist/actions/delete-leads-many.d.cts.map +1 -1
- package/dist/actions/delete-leads-many.d.mts +11 -3
- package/dist/actions/delete-leads-many.d.mts.map +1 -1
- package/dist/actions/delete-leads-many.mjs +1 -1
- package/dist/actions/delete-leads-many.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -1
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +11 -3
- package/dist/actions/delete-list.d.cts.map +1 -1
- package/dist/actions/delete-list.d.mts +11 -3
- package/dist/actions/delete-list.d.mts.map +1 -1
- package/dist/actions/delete-list.mjs +1 -1
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-script.cjs +2 -2
- package/dist/actions/delete-script.cjs.map +1 -1
- package/dist/actions/delete-script.d.cts +21 -3
- package/dist/actions/delete-script.d.cts.map +1 -1
- package/dist/actions/delete-script.d.mts +21 -3
- package/dist/actions/delete-script.d.mts.map +1 -1
- package/dist/actions/delete-script.mjs +2 -2
- package/dist/actions/delete-script.mjs.map +1 -1
- package/dist/actions/get-agent-containers.cjs.map +1 -1
- package/dist/actions/get-agent-containers.d.cts +20 -3
- package/dist/actions/get-agent-containers.d.cts.map +1 -1
- package/dist/actions/get-agent-containers.d.mts +20 -3
- package/dist/actions/get-agent-containers.d.mts.map +1 -1
- package/dist/actions/get-agent-containers.mjs.map +1 -1
- package/dist/actions/get-agent-output.cjs.map +1 -1
- package/dist/actions/get-agent-output.d.cts +36 -3
- package/dist/actions/get-agent-output.d.cts.map +1 -1
- package/dist/actions/get-agent-output.d.mts +36 -3
- package/dist/actions/get-agent-output.d.mts.map +1 -1
- package/dist/actions/get-agent-output.mjs.map +1 -1
- package/dist/actions/get-agent.cjs +13 -13
- package/dist/actions/get-agent.cjs.map +1 -1
- package/dist/actions/get-agent.d.cts +198 -3
- package/dist/actions/get-agent.d.cts.map +1 -1
- package/dist/actions/get-agent.d.mts +198 -3
- package/dist/actions/get-agent.d.mts.map +1 -1
- package/dist/actions/get-agent.mjs +13 -13
- package/dist/actions/get-agent.mjs.map +1 -1
- package/dist/actions/get-agents-fetch-all.cjs +2 -2
- package/dist/actions/get-agents-fetch-all.cjs.map +1 -1
- package/dist/actions/get-agents-fetch-all.d.cts +29 -3
- package/dist/actions/get-agents-fetch-all.d.cts.map +1 -1
- package/dist/actions/get-agents-fetch-all.d.mts +29 -3
- package/dist/actions/get-agents-fetch-all.d.mts.map +1 -1
- package/dist/actions/get-agents-fetch-all.mjs +2 -2
- package/dist/actions/get-agents-fetch-all.mjs.map +1 -1
- package/dist/actions/get-agents-fetch-deleted.cjs.map +1 -1
- package/dist/actions/get-agents-fetch-deleted.d.cts +3 -3
- package/dist/actions/get-agents-fetch-deleted.d.cts.map +1 -1
- package/dist/actions/get-agents-fetch-deleted.d.mts +3 -3
- package/dist/actions/get-agents-fetch-deleted.d.mts.map +1 -1
- package/dist/actions/get-agents-fetch-deleted.mjs.map +1 -1
- package/dist/actions/get-branches-diff.cjs.map +1 -1
- package/dist/actions/get-branches-diff.d.cts +9 -3
- package/dist/actions/get-branches-diff.d.cts.map +1 -1
- package/dist/actions/get-branches-diff.d.mts +9 -3
- package/dist/actions/get-branches-diff.d.mts.map +1 -1
- package/dist/actions/get-branches-diff.mjs.map +1 -1
- package/dist/actions/get-branches-fetch-all.cjs +2 -2
- package/dist/actions/get-branches-fetch-all.cjs.map +1 -1
- package/dist/actions/get-branches-fetch-all.d.cts +11 -3
- package/dist/actions/get-branches-fetch-all.d.cts.map +1 -1
- package/dist/actions/get-branches-fetch-all.d.mts +11 -3
- package/dist/actions/get-branches-fetch-all.d.mts.map +1 -1
- package/dist/actions/get-branches-fetch-all.mjs +2 -2
- package/dist/actions/get-branches-fetch-all.mjs.map +1 -1
- package/dist/actions/get-containers-fetch-all.cjs +6 -6
- package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
- package/dist/actions/get-containers-fetch-all.d.cts +21 -3
- package/dist/actions/get-containers-fetch-all.d.cts.map +1 -1
- package/dist/actions/get-containers-fetch-all.d.mts +21 -3
- package/dist/actions/get-containers-fetch-all.d.mts.map +1 -1
- package/dist/actions/get-containers-fetch-all.mjs +6 -6
- package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
- package/dist/actions/get-leads-by-list.cjs.map +1 -1
- package/dist/actions/get-leads-by-list.d.cts +33 -3
- package/dist/actions/get-leads-by-list.d.cts.map +1 -1
- package/dist/actions/get-leads-by-list.d.mts +33 -3
- package/dist/actions/get-leads-by-list.d.mts.map +1 -1
- package/dist/actions/get-leads-by-list.mjs.map +1 -1
- package/dist/actions/get-location-ip.cjs +1 -1
- package/dist/actions/get-location-ip.cjs.map +1 -1
- package/dist/actions/get-location-ip.d.cts +9 -3
- package/dist/actions/get-location-ip.d.cts.map +1 -1
- package/dist/actions/get-location-ip.d.mts +9 -3
- package/dist/actions/get-location-ip.d.mts.map +1 -1
- package/dist/actions/get-location-ip.mjs +1 -1
- package/dist/actions/get-location-ip.mjs.map +1 -1
- package/dist/actions/get-org-storage-lists-fetch-all.cjs +3 -3
- package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
- package/dist/actions/get-org-storage-lists-fetch-all.d.cts +13 -3
- package/dist/actions/get-org-storage-lists-fetch-all.d.cts.map +1 -1
- package/dist/actions/get-org-storage-lists-fetch-all.d.mts +13 -3
- package/dist/actions/get-org-storage-lists-fetch-all.d.mts.map +1 -1
- package/dist/actions/get-org-storage-lists-fetch-all.mjs +3 -3
- package/dist/actions/get-org-storage-lists-fetch-all.mjs.map +1 -1
- package/dist/actions/get-orgs-export-agent-usage.cjs +1 -1
- package/dist/actions/get-orgs-export-agent-usage.cjs.map +1 -1
- package/dist/actions/get-orgs-export-agent-usage.d.cts +11 -3
- package/dist/actions/get-orgs-export-agent-usage.d.cts.map +1 -1
- package/dist/actions/get-orgs-export-agent-usage.d.mts +11 -3
- package/dist/actions/get-orgs-export-agent-usage.d.mts.map +1 -1
- package/dist/actions/get-orgs-export-agent-usage.mjs +1 -1
- package/dist/actions/get-orgs-export-agent-usage.mjs.map +1 -1
- package/dist/actions/get-orgs-export-container-usage.cjs +1 -1
- package/dist/actions/get-orgs-export-container-usage.cjs.map +1 -1
- package/dist/actions/get-orgs-export-container-usage.d.cts +11 -3
- package/dist/actions/get-orgs-export-container-usage.d.cts.map +1 -1
- package/dist/actions/get-orgs-export-container-usage.d.mts +11 -3
- package/dist/actions/get-orgs-export-container-usage.d.mts.map +1 -1
- package/dist/actions/get-orgs-export-container-usage.mjs +1 -1
- package/dist/actions/get-orgs-export-container-usage.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.d.cts +9 -3
- package/dist/actions/get-orgs-fetch-agent-groups.d.cts.map +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.d.mts +9 -3
- package/dist/actions/get-orgs-fetch-agent-groups.d.mts.map +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.cjs +29 -29
- package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.d.cts +48 -3
- package/dist/actions/get-orgs-fetch-resources.d.cts.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.d.mts +48 -3
- package/dist/actions/get-orgs-fetch-resources.d.mts.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.mjs +29 -29
- package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.cjs +5 -5
- package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.d.cts +11 -3
- package/dist/actions/get-orgs-fetch-running-containers.d.cts.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.d.mts +11 -3
- package/dist/actions/get-orgs-fetch-running-containers.d.mts.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.mjs +5 -5
- package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch.cjs +2 -2
- package/dist/actions/get-orgs-fetch.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch.d.cts +9 -3
- package/dist/actions/get-orgs-fetch.d.cts.map +1 -1
- package/dist/actions/get-orgs-fetch.d.mts +9 -3
- package/dist/actions/get-orgs-fetch.d.mts.map +1 -1
- package/dist/actions/get-orgs-fetch.mjs +2 -2
- package/dist/actions/get-orgs-fetch.mjs.map +1 -1
- package/dist/actions/get-script-by-name.cjs.map +1 -1
- package/dist/actions/get-script-by-name.d.cts +23 -3
- package/dist/actions/get-script-by-name.d.cts.map +1 -1
- package/dist/actions/get-script-by-name.d.mts +23 -3
- package/dist/actions/get-script-by-name.d.mts.map +1 -1
- package/dist/actions/get-script-by-name.mjs.map +1 -1
- package/dist/actions/get-script.cjs +9 -9
- package/dist/actions/get-script.cjs.map +1 -1
- package/dist/actions/get-script.d.cts +65 -3
- package/dist/actions/get-script.d.cts.map +1 -1
- package/dist/actions/get-script.d.mts +65 -3
- package/dist/actions/get-script.d.mts.map +1 -1
- package/dist/actions/get-script.mjs +9 -9
- package/dist/actions/get-script.mjs.map +1 -1
- package/dist/actions/get-scripts-code.cjs +1 -1
- package/dist/actions/get-scripts-code.cjs.map +1 -1
- package/dist/actions/get-scripts-code.d.cts +20 -3
- package/dist/actions/get-scripts-code.d.cts.map +1 -1
- package/dist/actions/get-scripts-code.d.mts +20 -3
- package/dist/actions/get-scripts-code.d.mts.map +1 -1
- package/dist/actions/get-scripts-code.mjs +1 -1
- package/dist/actions/get-scripts-code.mjs.map +1 -1
- package/dist/actions/get-scripts-fetch-all.cjs +6 -6
- package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
- package/dist/actions/get-scripts-fetch-all.d.cts +13 -3
- package/dist/actions/get-scripts-fetch-all.d.cts.map +1 -1
- package/dist/actions/get-scripts-fetch-all.d.mts +13 -3
- package/dist/actions/get-scripts-fetch-all.d.mts.map +1 -1
- package/dist/actions/get-scripts-fetch-all.mjs +6 -6
- package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
- package/dist/actions/get-user.cjs +4 -4
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +22 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +22 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +4 -4
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
- package/dist/actions/post-agents-unschedule-all.d.cts +3 -3
- package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
- package/dist/actions/post-agents-unschedule-all.d.mts +3 -3
- package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
- package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
- package/dist/actions/post-ai-completions.cjs +5 -5
- package/dist/actions/post-ai-completions.cjs.map +1 -1
- package/dist/actions/post-ai-completions.d.cts +31 -3
- package/dist/actions/post-ai-completions.d.cts.map +1 -1
- package/dist/actions/post-ai-completions.d.mts +31 -3
- package/dist/actions/post-ai-completions.d.mts.map +1 -1
- package/dist/actions/post-ai-completions.mjs +5 -5
- package/dist/actions/post-ai-completions.mjs.map +1 -1
- package/dist/actions/post-branches-create.cjs +2 -2
- package/dist/actions/post-branches-create.cjs.map +1 -1
- package/dist/actions/post-branches-create.d.cts +12 -3
- package/dist/actions/post-branches-create.d.cts.map +1 -1
- package/dist/actions/post-branches-create.d.mts +12 -3
- package/dist/actions/post-branches-create.d.mts.map +1 -1
- package/dist/actions/post-branches-create.mjs +2 -2
- package/dist/actions/post-branches-create.mjs.map +1 -1
- package/dist/actions/post-branches-delete.cjs +2 -2
- package/dist/actions/post-branches-delete.cjs.map +1 -1
- package/dist/actions/post-branches-delete.d.cts +12 -3
- package/dist/actions/post-branches-delete.d.cts.map +1 -1
- package/dist/actions/post-branches-delete.d.mts +12 -3
- package/dist/actions/post-branches-delete.d.mts.map +1 -1
- package/dist/actions/post-branches-delete.mjs +2 -2
- package/dist/actions/post-branches-delete.mjs.map +1 -1
- package/dist/actions/post-hcaptcha.cjs.map +1 -1
- package/dist/actions/post-hcaptcha.d.cts +16 -3
- package/dist/actions/post-hcaptcha.d.cts.map +1 -1
- package/dist/actions/post-hcaptcha.d.mts +16 -3
- package/dist/actions/post-hcaptcha.d.mts.map +1 -1
- package/dist/actions/post-hcaptcha.mjs.map +1 -1
- package/dist/actions/post-identities-generate-token.cjs +3 -3
- package/dist/actions/post-identities-generate-token.cjs.map +1 -1
- package/dist/actions/post-identities-generate-token.d.cts +7 -3
- package/dist/actions/post-identities-generate-token.d.cts.map +1 -1
- package/dist/actions/post-identities-generate-token.d.mts +7 -3
- package/dist/actions/post-identities-generate-token.d.mts.map +1 -1
- package/dist/actions/post-identities-generate-token.mjs +3 -3
- package/dist/actions/post-identities-generate-token.mjs.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.cjs +6 -6
- package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.d.cts +131 -3
- package/dist/actions/post-org-storage-leads-save-many.d.cts.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.d.mts +131 -3
- package/dist/actions/post-org-storage-leads-save-many.d.mts.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.mjs +6 -6
- package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
- package/dist/actions/post-recaptcha.cjs.map +1 -1
- package/dist/actions/post-recaptcha.d.cts +21 -3
- package/dist/actions/post-recaptcha.d.cts.map +1 -1
- package/dist/actions/post-recaptcha.d.mts +21 -3
- package/dist/actions/post-recaptcha.d.mts.map +1 -1
- package/dist/actions/post-recaptcha.mjs.map +1 -1
- package/dist/actions/post-scripts-visibility.cjs.map +1 -1
- package/dist/actions/post-scripts-visibility.d.cts +21 -3
- package/dist/actions/post-scripts-visibility.d.cts.map +1 -1
- package/dist/actions/post-scripts-visibility.d.mts +21 -3
- package/dist/actions/post-scripts-visibility.d.mts.map +1 -1
- package/dist/actions/post-scripts-visibility.mjs.map +1 -1
- package/dist/actions/release-branch.cjs +1 -1
- package/dist/actions/release-branch.cjs.map +1 -1
- package/dist/actions/release-branch.d.cts +14 -3
- package/dist/actions/release-branch.d.cts.map +1 -1
- package/dist/actions/release-branch.d.mts +14 -3
- package/dist/actions/release-branch.d.mts.map +1 -1
- package/dist/actions/release-branch.mjs +1 -1
- package/dist/actions/release-branch.mjs.map +1 -1
- package/dist/actions/save-agent-groups.cjs +2 -2
- package/dist/actions/save-agent-groups.cjs.map +1 -1
- package/dist/actions/save-agent-groups.d.cts +23 -3
- package/dist/actions/save-agent-groups.d.cts.map +1 -1
- package/dist/actions/save-agent-groups.d.mts +23 -3
- package/dist/actions/save-agent-groups.d.mts.map +1 -1
- package/dist/actions/save-agent-groups.mjs +2 -2
- package/dist/actions/save-agent-groups.mjs.map +1 -1
- package/dist/actions/save-agent.cjs +1 -1
- package/dist/actions/save-agent.cjs.map +1 -1
- package/dist/actions/save-agent.d.cts +200 -3
- package/dist/actions/save-agent.d.cts.map +1 -1
- package/dist/actions/save-agent.d.mts +200 -3
- package/dist/actions/save-agent.d.mts.map +1 -1
- package/dist/actions/save-agent.mjs +1 -1
- package/dist/actions/save-agent.mjs.map +1 -1
- package/dist/actions/save-company-object.cjs +4 -4
- package/dist/actions/save-company-object.cjs.map +1 -1
- package/dist/actions/save-company-object.d.cts +24 -3
- package/dist/actions/save-company-object.d.cts.map +1 -1
- package/dist/actions/save-company-object.d.mts +24 -3
- package/dist/actions/save-company-object.d.mts.map +1 -1
- package/dist/actions/save-company-object.mjs +4 -4
- package/dist/actions/save-company-object.mjs.map +1 -1
- package/dist/actions/save-company-objects-many.cjs +7 -7
- package/dist/actions/save-company-objects-many.cjs.map +1 -1
- package/dist/actions/save-company-objects-many.d.cts +37 -3
- package/dist/actions/save-company-objects-many.d.cts.map +1 -1
- package/dist/actions/save-company-objects-many.d.mts +37 -3
- package/dist/actions/save-company-objects-many.d.mts.map +1 -1
- package/dist/actions/save-company-objects-many.mjs +7 -7
- package/dist/actions/save-company-objects-many.mjs.map +1 -1
- package/dist/actions/save-identity-event.cjs +6 -6
- package/dist/actions/save-identity-event.cjs.map +1 -1
- package/dist/actions/save-identity-event.d.cts +23 -3
- package/dist/actions/save-identity-event.d.cts.map +1 -1
- package/dist/actions/save-identity-event.d.mts +23 -3
- package/dist/actions/save-identity-event.d.mts.map +1 -1
- package/dist/actions/save-identity-event.mjs +6 -6
- package/dist/actions/save-identity-event.mjs.map +1 -1
- package/dist/actions/save-lead-object.cjs +4 -4
- package/dist/actions/save-lead-object.cjs.map +1 -1
- package/dist/actions/save-lead-object.d.cts +30 -3
- package/dist/actions/save-lead-object.d.cts.map +1 -1
- package/dist/actions/save-lead-object.d.mts +30 -3
- package/dist/actions/save-lead-object.d.mts.map +1 -1
- package/dist/actions/save-lead-object.mjs +4 -4
- package/dist/actions/save-lead-object.mjs.map +1 -1
- package/dist/actions/save-lead.cjs +2 -2
- package/dist/actions/save-lead.cjs.map +1 -1
- package/dist/actions/save-lead.d.cts +175 -3
- package/dist/actions/save-lead.d.cts.map +1 -1
- package/dist/actions/save-lead.d.mts +175 -3
- package/dist/actions/save-lead.d.mts.map +1 -1
- package/dist/actions/save-lead.mjs +2 -2
- package/dist/actions/save-lead.mjs.map +1 -1
- package/dist/actions/save-leads-objects-many.cjs +4 -4
- package/dist/actions/save-leads-objects-many.cjs.map +1 -1
- package/dist/actions/save-leads-objects-many.d.cts +35 -3
- package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
- package/dist/actions/save-leads-objects-many.d.mts +35 -3
- package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
- package/dist/actions/save-leads-objects-many.mjs +4 -4
- package/dist/actions/save-leads-objects-many.mjs.map +1 -1
- package/dist/actions/save-list.cjs +2 -2
- package/dist/actions/save-list.cjs.map +1 -1
- package/dist/actions/save-list.d.cts +28 -3
- package/dist/actions/save-list.d.cts.map +1 -1
- package/dist/actions/save-list.d.mts +28 -3
- package/dist/actions/save-list.d.mts.map +1 -1
- package/dist/actions/save-list.mjs +2 -2
- package/dist/actions/save-list.mjs.map +1 -1
- package/dist/actions/save-script.cjs +2 -2
- package/dist/actions/save-script.cjs.map +1 -1
- package/dist/actions/save-script.d.cts +41 -3
- package/dist/actions/save-script.d.cts.map +1 -1
- package/dist/actions/save-script.d.mts +41 -3
- package/dist/actions/save-script.d.mts.map +1 -1
- package/dist/actions/save-script.mjs +2 -2
- package/dist/actions/save-script.mjs.map +1 -1
- package/dist/actions/search-company-objects.cjs.map +1 -1
- package/dist/actions/search-company-objects.d.cts +16 -3
- package/dist/actions/search-company-objects.d.cts.map +1 -1
- package/dist/actions/search-company-objects.d.mts +16 -3
- package/dist/actions/search-company-objects.d.mts.map +1 -1
- package/dist/actions/search-company-objects.mjs.map +1 -1
- package/dist/actions/search-lead-objects.cjs.map +1 -1
- package/dist/actions/search-lead-objects.d.cts +17 -3
- package/dist/actions/search-lead-objects.d.cts.map +1 -1
- package/dist/actions/search-lead-objects.d.mts +17 -3
- package/dist/actions/search-lead-objects.d.mts.map +1 -1
- package/dist/actions/search-lead-objects.mjs.map +1 -1
- package/dist/actions/stop-agent.cjs.map +1 -1
- package/dist/actions/stop-agent.d.cts +18 -3
- package/dist/actions/stop-agent.d.cts.map +1 -1
- package/dist/actions/stop-agent.d.mts +18 -3
- package/dist/actions/stop-agent.d.mts.map +1 -1
- package/dist/actions/stop-agent.mjs.map +1 -1
- package/dist/actions/update-script.cjs +1 -1
- package/dist/actions/update-script.cjs.map +1 -1
- package/dist/actions/update-script.d.cts +14 -3
- package/dist/actions/update-script.d.cts.map +1 -1
- package/dist/actions/update-script.d.mts +14 -3
- package/dist/actions/update-script.d.mts.map +1 -1
- package/dist/actions/update-script.mjs +1 -1
- package/dist/actions/update-script.mjs.map +1 -1
- package/dist/actions/update-scripts-access-list.cjs +1 -1
- package/dist/actions/update-scripts-access-list.cjs.map +1 -1
- package/dist/actions/update-scripts-access-list.d.cts +18 -3
- package/dist/actions/update-scripts-access-list.d.cts.map +1 -1
- package/dist/actions/update-scripts-access-list.d.mts +18 -3
- package/dist/actions/update-scripts-access-list.d.mts.map +1 -1
- package/dist/actions/update-scripts-access-list.mjs +1 -1
- package/dist/actions/update-scripts-access-list.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-agent.cjs","names":["z","action"],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.object({})]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\"),\n}).describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC3H,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,MAAMA,IAA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,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvK,8BAA8BA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxF,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACpI,yCAAyCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7H,gEAAgEA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"save-agent.cjs","names":["z","action"],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.object({})]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\n}).describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC3H,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAQ;CAAa,CAAC,CAAC,CAAC,SA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AA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,206 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/save-agent.d.ts
|
|
4
|
-
declare const PhantombusterSaveAgentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PhantombusterSaveAgentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
org: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
9
|
+
script: z.ZodOptional<z.ZodString>;
|
|
10
|
+
argument: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>;
|
|
11
|
+
expireAt: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
fileMgmt: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
folders: "folders";
|
|
14
|
+
mix: "mix";
|
|
15
|
+
delete: "delete";
|
|
16
|
+
}>>;
|
|
17
|
+
proxyType: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
none: "none";
|
|
19
|
+
http: "http";
|
|
20
|
+
pool: "pool";
|
|
21
|
+
"squid lease": "squid lease";
|
|
22
|
+
}>>;
|
|
23
|
+
launchType: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
manually: "manually";
|
|
25
|
+
repeatedly: "repeatedly";
|
|
26
|
+
once: "once";
|
|
27
|
+
"after agent": "after agent";
|
|
28
|
+
}>>;
|
|
29
|
+
agentObject: z.ZodOptional<z.ZodString>;
|
|
30
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
staging: "staging";
|
|
32
|
+
release: "release";
|
|
33
|
+
}>>;
|
|
34
|
+
launchOnceAt: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
proxyAddress: z.ZodOptional<z.ZodString>;
|
|
36
|
+
notifications: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
38
|
+
slackWebHook: z.ZodOptional<z.ZodString>;
|
|
39
|
+
mailManualExitError: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
mailManualTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
slackManualExitError: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
slackManualTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
mailManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
mailManualLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
mailAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
mailAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
slackManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
slackManualLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
slackAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
slackAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
mailAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
mailAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
slackAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
slackAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
proxyPassword: z.ZodOptional<z.ZodString>;
|
|
57
|
+
proxyUsername: z.ZodOptional<z.ZodString>;
|
|
58
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
59
|
+
maxParallelism: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
maxRetryNumber: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
executionTimeLimit: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
fileMgmtMaxFolders: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
launchAfterAgentId: z.ZodOptional<z.ZodString>;
|
|
64
|
+
repeatedLaunchTimes: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
day: z.ZodArray<z.ZodNumber>;
|
|
66
|
+
dow: z.ZodArray<z.ZodString>;
|
|
67
|
+
hour: z.ZodArray<z.ZodNumber>;
|
|
68
|
+
month: z.ZodArray<z.ZodString>;
|
|
69
|
+
minute: z.ZodArray<z.ZodNumber>;
|
|
70
|
+
timezone: z.ZodString;
|
|
71
|
+
simplePreset: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
"Once every other day": "Once every other day";
|
|
73
|
+
"Once per day": "Once per day";
|
|
74
|
+
"Once per day, at the start of the day": "Once per day, at the start of the day";
|
|
75
|
+
"Twice per day": "Twice per day";
|
|
76
|
+
"Thrice per day": "Thrice per day";
|
|
77
|
+
"4 times per day": "4 times per day";
|
|
78
|
+
"6 times per day": "6 times per day";
|
|
79
|
+
"8 times per day": "8 times per day";
|
|
80
|
+
"Once every other hour": "Once every other hour";
|
|
81
|
+
"Once per hour": "Once per hour";
|
|
82
|
+
"Twice per hour": "Twice per hour";
|
|
83
|
+
"Thrice per hour": "Thrice per hour";
|
|
84
|
+
"4 times per hour": "4 times per hour";
|
|
85
|
+
"Once every other working hour": "Once every other working hour";
|
|
86
|
+
"Once per working hour": "Once per working hour";
|
|
87
|
+
"Twice per working hour": "Twice per working hour";
|
|
88
|
+
"Thrice per working hour": "Thrice per working hour";
|
|
89
|
+
"4 times per working hour": "4 times per working hour";
|
|
90
|
+
"Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
|
|
91
|
+
"Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
|
|
92
|
+
"Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
|
|
93
|
+
"Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
|
|
94
|
+
"4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
|
|
95
|
+
}>>;
|
|
96
|
+
isSimplePresetEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
repeatedLaunchPreset: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
"Once every other day": "Once every other day";
|
|
100
|
+
"Once per day": "Once per day";
|
|
101
|
+
"Once per day, at the start of the day": "Once per day, at the start of the day";
|
|
102
|
+
"Twice per day": "Twice per day";
|
|
103
|
+
"Thrice per day": "Thrice per day";
|
|
104
|
+
"4 times per day": "4 times per day";
|
|
105
|
+
"6 times per day": "6 times per day";
|
|
106
|
+
"8 times per day": "8 times per day";
|
|
107
|
+
"Once every other hour": "Once every other hour";
|
|
108
|
+
"Once per hour": "Once per hour";
|
|
109
|
+
"Twice per hour": "Twice per hour";
|
|
110
|
+
"Thrice per hour": "Thrice per hour";
|
|
111
|
+
"4 times per hour": "4 times per hour";
|
|
112
|
+
"Once every other working hour": "Once every other working hour";
|
|
113
|
+
"Once per working hour": "Once per working hour";
|
|
114
|
+
"Twice per working hour": "Twice per working hour";
|
|
115
|
+
"Thrice per working hour": "Thrice per working hour";
|
|
116
|
+
"4 times per working hour": "4 times per working hour";
|
|
117
|
+
"Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
|
|
118
|
+
"Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
|
|
119
|
+
"Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
|
|
120
|
+
"Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
|
|
121
|
+
"4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
|
|
122
|
+
}>>;
|
|
123
|
+
squidLeaseIdentifier: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
location: z.ZodOptional<z.ZodString>;
|
|
125
|
+
groupSlug: z.ZodString;
|
|
126
|
+
refreshRate: z.ZodNumber;
|
|
127
|
+
sublocation: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
masterAgentLaunchAfter: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
masterAgentLaunchOnExitCodes: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>>;
|
|
131
|
+
applyScriptManifestDefaultSettings: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
wasSetupValidWhenSubmittedByTheFrontend: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
declare const PhantombusterSaveAgentOutput: z.ZodObject<{
|
|
136
|
+
id: z.ZodNullable<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
139
|
+
id?: string | undefined;
|
|
140
|
+
org?: string | undefined;
|
|
141
|
+
name?: string | undefined;
|
|
142
|
+
branch?: string | undefined;
|
|
143
|
+
script?: string | undefined;
|
|
144
|
+
argument?: string | Record<string, never> | undefined;
|
|
145
|
+
expireAt?: number | undefined;
|
|
146
|
+
fileMgmt?: "folders" | "mix" | "delete" | undefined;
|
|
147
|
+
proxyType?: "none" | "http" | "pool" | "squid lease" | undefined;
|
|
148
|
+
launchType?: "manually" | "repeatedly" | "once" | "after agent" | undefined;
|
|
149
|
+
agentObject?: string | undefined;
|
|
150
|
+
environment?: "staging" | "release" | undefined;
|
|
151
|
+
launchOnceAt?: number | undefined;
|
|
152
|
+
proxyAddress?: string | undefined;
|
|
153
|
+
notifications?: {
|
|
154
|
+
webhook?: string | undefined;
|
|
155
|
+
slackWebHook?: string | undefined;
|
|
156
|
+
mailManualExitError?: boolean | undefined;
|
|
157
|
+
mailManualTimeError?: boolean | undefined;
|
|
158
|
+
slackManualExitError?: boolean | undefined;
|
|
159
|
+
slackManualTimeError?: boolean | undefined;
|
|
160
|
+
mailManualExitSuccess?: boolean | undefined;
|
|
161
|
+
mailManualLaunchError?: boolean | undefined;
|
|
162
|
+
mailAutomaticExitError?: boolean | undefined;
|
|
163
|
+
mailAutomaticTimeError?: boolean | undefined;
|
|
164
|
+
slackManualExitSuccess?: boolean | undefined;
|
|
165
|
+
slackManualLaunchError?: boolean | undefined;
|
|
166
|
+
slackAutomaticExitError?: boolean | undefined;
|
|
167
|
+
slackAutomaticTimeError?: boolean | undefined;
|
|
168
|
+
mailAutomaticExitSuccess?: boolean | undefined;
|
|
169
|
+
mailAutomaticLaunchError?: boolean | undefined;
|
|
170
|
+
slackAutomaticExitSuccess?: boolean | undefined;
|
|
171
|
+
slackAutomaticLaunchError?: boolean | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
proxyPassword?: string | undefined;
|
|
174
|
+
proxyUsername?: string | undefined;
|
|
175
|
+
idempotencyKey?: string | undefined;
|
|
176
|
+
maxParallelism?: number | undefined;
|
|
177
|
+
maxRetryNumber?: number | undefined;
|
|
178
|
+
executionTimeLimit?: number | undefined;
|
|
179
|
+
fileMgmtMaxFolders?: number | undefined;
|
|
180
|
+
launchAfterAgentId?: string | undefined;
|
|
181
|
+
repeatedLaunchTimes?: {
|
|
182
|
+
day: number[];
|
|
183
|
+
dow: string[];
|
|
184
|
+
hour: number[];
|
|
185
|
+
month: string[];
|
|
186
|
+
minute: number[];
|
|
187
|
+
timezone: string;
|
|
188
|
+
simplePreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
|
|
189
|
+
isSimplePresetEnabled?: boolean | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
repeatedLaunchPreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
|
|
192
|
+
squidLeaseIdentifier?: {
|
|
193
|
+
groupSlug: string;
|
|
194
|
+
refreshRate: number;
|
|
195
|
+
location?: string | undefined;
|
|
196
|
+
sublocation?: string | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
masterAgentLaunchAfter?: number | undefined;
|
|
199
|
+
masterAgentLaunchOnExitCodes?: string | number[] | undefined;
|
|
200
|
+
applyScriptManifestDefaultSettings?: boolean | undefined;
|
|
201
|
+
wasSetupValidWhenSubmittedByTheFrontend?: boolean | undefined;
|
|
202
|
+
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType?: boolean | undefined;
|
|
203
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
204
|
//#endregion
|
|
8
205
|
export { phantombusterSaveAgent };
|
|
9
206
|
//# sourceMappingURL=save-agent.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"save-agent.d.cts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;sBAMjC,MAAA"}
|
|
@@ -1,9 +1,206 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/save-agent.d.ts
|
|
4
|
-
declare const PhantombusterSaveAgentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PhantombusterSaveAgentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
org: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
9
|
+
script: z.ZodOptional<z.ZodString>;
|
|
10
|
+
argument: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{}, z.core.$strip>]>>;
|
|
11
|
+
expireAt: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
fileMgmt: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
folders: "folders";
|
|
14
|
+
mix: "mix";
|
|
15
|
+
delete: "delete";
|
|
16
|
+
}>>;
|
|
17
|
+
proxyType: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
none: "none";
|
|
19
|
+
http: "http";
|
|
20
|
+
pool: "pool";
|
|
21
|
+
"squid lease": "squid lease";
|
|
22
|
+
}>>;
|
|
23
|
+
launchType: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
manually: "manually";
|
|
25
|
+
repeatedly: "repeatedly";
|
|
26
|
+
once: "once";
|
|
27
|
+
"after agent": "after agent";
|
|
28
|
+
}>>;
|
|
29
|
+
agentObject: z.ZodOptional<z.ZodString>;
|
|
30
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
staging: "staging";
|
|
32
|
+
release: "release";
|
|
33
|
+
}>>;
|
|
34
|
+
launchOnceAt: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
proxyAddress: z.ZodOptional<z.ZodString>;
|
|
36
|
+
notifications: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
38
|
+
slackWebHook: z.ZodOptional<z.ZodString>;
|
|
39
|
+
mailManualExitError: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
mailManualTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
slackManualExitError: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
slackManualTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
mailManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
mailManualLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
mailAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
mailAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
slackManualExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
slackManualLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
slackAutomaticExitError: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
slackAutomaticTimeError: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
mailAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
mailAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
slackAutomaticExitSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
slackAutomaticLaunchError: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
proxyPassword: z.ZodOptional<z.ZodString>;
|
|
57
|
+
proxyUsername: z.ZodOptional<z.ZodString>;
|
|
58
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
59
|
+
maxParallelism: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
maxRetryNumber: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
executionTimeLimit: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
fileMgmtMaxFolders: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
launchAfterAgentId: z.ZodOptional<z.ZodString>;
|
|
64
|
+
repeatedLaunchTimes: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
day: z.ZodArray<z.ZodNumber>;
|
|
66
|
+
dow: z.ZodArray<z.ZodString>;
|
|
67
|
+
hour: z.ZodArray<z.ZodNumber>;
|
|
68
|
+
month: z.ZodArray<z.ZodString>;
|
|
69
|
+
minute: z.ZodArray<z.ZodNumber>;
|
|
70
|
+
timezone: z.ZodString;
|
|
71
|
+
simplePreset: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
"Once every other day": "Once every other day";
|
|
73
|
+
"Once per day": "Once per day";
|
|
74
|
+
"Once per day, at the start of the day": "Once per day, at the start of the day";
|
|
75
|
+
"Twice per day": "Twice per day";
|
|
76
|
+
"Thrice per day": "Thrice per day";
|
|
77
|
+
"4 times per day": "4 times per day";
|
|
78
|
+
"6 times per day": "6 times per day";
|
|
79
|
+
"8 times per day": "8 times per day";
|
|
80
|
+
"Once every other hour": "Once every other hour";
|
|
81
|
+
"Once per hour": "Once per hour";
|
|
82
|
+
"Twice per hour": "Twice per hour";
|
|
83
|
+
"Thrice per hour": "Thrice per hour";
|
|
84
|
+
"4 times per hour": "4 times per hour";
|
|
85
|
+
"Once every other working hour": "Once every other working hour";
|
|
86
|
+
"Once per working hour": "Once per working hour";
|
|
87
|
+
"Twice per working hour": "Twice per working hour";
|
|
88
|
+
"Thrice per working hour": "Thrice per working hour";
|
|
89
|
+
"4 times per working hour": "4 times per working hour";
|
|
90
|
+
"Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
|
|
91
|
+
"Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
|
|
92
|
+
"Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
|
|
93
|
+
"Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
|
|
94
|
+
"4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
|
|
95
|
+
}>>;
|
|
96
|
+
isSimplePresetEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
repeatedLaunchPreset: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
"Once every other day": "Once every other day";
|
|
100
|
+
"Once per day": "Once per day";
|
|
101
|
+
"Once per day, at the start of the day": "Once per day, at the start of the day";
|
|
102
|
+
"Twice per day": "Twice per day";
|
|
103
|
+
"Thrice per day": "Thrice per day";
|
|
104
|
+
"4 times per day": "4 times per day";
|
|
105
|
+
"6 times per day": "6 times per day";
|
|
106
|
+
"8 times per day": "8 times per day";
|
|
107
|
+
"Once every other hour": "Once every other hour";
|
|
108
|
+
"Once per hour": "Once per hour";
|
|
109
|
+
"Twice per hour": "Twice per hour";
|
|
110
|
+
"Thrice per hour": "Thrice per hour";
|
|
111
|
+
"4 times per hour": "4 times per hour";
|
|
112
|
+
"Once every other working hour": "Once every other working hour";
|
|
113
|
+
"Once per working hour": "Once per working hour";
|
|
114
|
+
"Twice per working hour": "Twice per working hour";
|
|
115
|
+
"Thrice per working hour": "Thrice per working hour";
|
|
116
|
+
"4 times per working hour": "4 times per working hour";
|
|
117
|
+
"Once every other working hour, excluding weekends": "Once every other working hour, excluding weekends";
|
|
118
|
+
"Once per working hour, excluding weekends": "Once per working hour, excluding weekends";
|
|
119
|
+
"Twice per working hour, excluding weekends": "Twice per working hour, excluding weekends";
|
|
120
|
+
"Thrice per working hour, excluding weekends": "Thrice per working hour, excluding weekends";
|
|
121
|
+
"4 times per working hour, excluding weekends": "4 times per working hour, excluding weekends";
|
|
122
|
+
}>>;
|
|
123
|
+
squidLeaseIdentifier: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
location: z.ZodOptional<z.ZodString>;
|
|
125
|
+
groupSlug: z.ZodString;
|
|
126
|
+
refreshRate: z.ZodNumber;
|
|
127
|
+
sublocation: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
masterAgentLaunchAfter: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
masterAgentLaunchOnExitCodes: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>>;
|
|
131
|
+
applyScriptManifestDefaultSettings: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
wasSetupValidWhenSubmittedByTheFrontend: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
declare const PhantombusterSaveAgentOutput: z.ZodObject<{
|
|
136
|
+
id: z.ZodNullable<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
declare const phantombusterSaveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
139
|
+
id?: string | undefined;
|
|
140
|
+
org?: string | undefined;
|
|
141
|
+
name?: string | undefined;
|
|
142
|
+
branch?: string | undefined;
|
|
143
|
+
script?: string | undefined;
|
|
144
|
+
argument?: string | Record<string, never> | undefined;
|
|
145
|
+
expireAt?: number | undefined;
|
|
146
|
+
fileMgmt?: "folders" | "mix" | "delete" | undefined;
|
|
147
|
+
proxyType?: "none" | "http" | "pool" | "squid lease" | undefined;
|
|
148
|
+
launchType?: "manually" | "repeatedly" | "once" | "after agent" | undefined;
|
|
149
|
+
agentObject?: string | undefined;
|
|
150
|
+
environment?: "staging" | "release" | undefined;
|
|
151
|
+
launchOnceAt?: number | undefined;
|
|
152
|
+
proxyAddress?: string | undefined;
|
|
153
|
+
notifications?: {
|
|
154
|
+
webhook?: string | undefined;
|
|
155
|
+
slackWebHook?: string | undefined;
|
|
156
|
+
mailManualExitError?: boolean | undefined;
|
|
157
|
+
mailManualTimeError?: boolean | undefined;
|
|
158
|
+
slackManualExitError?: boolean | undefined;
|
|
159
|
+
slackManualTimeError?: boolean | undefined;
|
|
160
|
+
mailManualExitSuccess?: boolean | undefined;
|
|
161
|
+
mailManualLaunchError?: boolean | undefined;
|
|
162
|
+
mailAutomaticExitError?: boolean | undefined;
|
|
163
|
+
mailAutomaticTimeError?: boolean | undefined;
|
|
164
|
+
slackManualExitSuccess?: boolean | undefined;
|
|
165
|
+
slackManualLaunchError?: boolean | undefined;
|
|
166
|
+
slackAutomaticExitError?: boolean | undefined;
|
|
167
|
+
slackAutomaticTimeError?: boolean | undefined;
|
|
168
|
+
mailAutomaticExitSuccess?: boolean | undefined;
|
|
169
|
+
mailAutomaticLaunchError?: boolean | undefined;
|
|
170
|
+
slackAutomaticExitSuccess?: boolean | undefined;
|
|
171
|
+
slackAutomaticLaunchError?: boolean | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
proxyPassword?: string | undefined;
|
|
174
|
+
proxyUsername?: string | undefined;
|
|
175
|
+
idempotencyKey?: string | undefined;
|
|
176
|
+
maxParallelism?: number | undefined;
|
|
177
|
+
maxRetryNumber?: number | undefined;
|
|
178
|
+
executionTimeLimit?: number | undefined;
|
|
179
|
+
fileMgmtMaxFolders?: number | undefined;
|
|
180
|
+
launchAfterAgentId?: string | undefined;
|
|
181
|
+
repeatedLaunchTimes?: {
|
|
182
|
+
day: number[];
|
|
183
|
+
dow: string[];
|
|
184
|
+
hour: number[];
|
|
185
|
+
month: string[];
|
|
186
|
+
minute: number[];
|
|
187
|
+
timezone: string;
|
|
188
|
+
simplePreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
|
|
189
|
+
isSimplePresetEnabled?: boolean | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
repeatedLaunchPreset?: "Once every other day" | "Once per day" | "Once per day, at the start of the day" | "Twice per day" | "Thrice per day" | "4 times per day" | "6 times per day" | "8 times per day" | "Once every other hour" | "Once per hour" | "Twice per hour" | "Thrice per hour" | "4 times per hour" | "Once every other working hour" | "Once per working hour" | "Twice per working hour" | "Thrice per working hour" | "4 times per working hour" | "Once every other working hour, excluding weekends" | "Once per working hour, excluding weekends" | "Twice per working hour, excluding weekends" | "Thrice per working hour, excluding weekends" | "4 times per working hour, excluding weekends" | undefined;
|
|
192
|
+
squidLeaseIdentifier?: {
|
|
193
|
+
groupSlug: string;
|
|
194
|
+
refreshRate: number;
|
|
195
|
+
location?: string | undefined;
|
|
196
|
+
sublocation?: string | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
masterAgentLaunchAfter?: number | undefined;
|
|
199
|
+
masterAgentLaunchOnExitCodes?: string | number[] | undefined;
|
|
200
|
+
applyScriptManifestDefaultSettings?: boolean | undefined;
|
|
201
|
+
wasSetupValidWhenSubmittedByTheFrontend?: boolean | undefined;
|
|
202
|
+
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType?: boolean | undefined;
|
|
203
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
204
|
//#endregion
|
|
8
205
|
export { phantombusterSaveAgent };
|
|
9
206
|
//# sourceMappingURL=save-agent.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-agent.d.mts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"save-agent.d.mts","names":[],"sources":["../../src/actions/save-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;sBAMjC,MAAA"}
|
|
@@ -132,7 +132,7 @@ const phantombusterSaveAgent = action("PHANTOMBUSTER_SAVE_AGENT", {
|
|
|
132
132
|
wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe("If true, the agent's setup is considered complete.").optional(),
|
|
133
133
|
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe("If true, propagates updated settings to workers regardless of session type.").optional()
|
|
134
134
|
}).describe("Request model for saving (creating or updating) an agent."),
|
|
135
|
-
output: z.object({ id: z.string().describe("Unique identifier of the created or updated agent") }).describe("Response schema for POST /agents/save.")
|
|
135
|
+
output: z.object({ id: z.string().describe("Unique identifier of the created or updated agent").nullable() }).describe("Response schema for POST /agents/save.")
|
|
136
136
|
});
|
|
137
137
|
//#endregion
|
|
138
138
|
export { phantombusterSaveAgent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-agent.mjs","names":[],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.object({})]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\"),\n}).describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;AA0EA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1EuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC3H,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,KAAK;GAAC;GAAW;GAAO;EAAQ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;EACvtB,sBAAsB,EAAE,OAAO;GAC/B,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACtD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;GAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjD,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACvK,8BAA8B,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACxF,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACpI,yCAAyC,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7H,gEAAgE,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATwD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"save-agent.mjs","names":[],"sources":["../../src/actions/save-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveAgentInput = z.object({\n id: z.string().describe(\"If provided, updates the existing agent with this ID. If omitted, creates a new agent.\").optional(),\n org: z.string().describe(\"Organization to link the agent to (pattern: ^(deleted_\\\\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$).\").optional(),\n name: z.string().describe(\"Name of the agent (max 100 characters)\").optional(),\n branch: z.string().describe(\"Branch to assign the agent to (alphanumeric, dash, max 50)\").optional(),\n script: z.string().describe(\"Script filename to assign to the agent (e.g., 'myscript.js')\").optional(),\n argument: z.union([z.string(), z.object({})]).optional(),\n expireAt: z.number().int().describe(\"Unix timestamp (epoch ms) when the agent will be deleted.\").optional(),\n fileMgmt: z.enum([\"folders\", \"mix\", \"delete\"]).describe(\"Agent file management type.\").optional(),\n proxyType: z.enum([\"none\", \"http\", \"pool\", \"squid lease\"]).describe(\"Proxy type configuration.\").optional(),\n launchType: z.enum([\"manually\", \"repeatedly\", \"once\", \"after agent\"]).describe(\"Launch type for the agent.\").optional(),\n agentObject: z.string().describe(\"Sets the agent's object as a JSON string.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Script branch environment.\").optional(),\n launchOnceAt: z.number().int().describe(\"Must be set when launchType is 'once'. Unix timestamp (epoch ms) for single launch.\").optional(),\n proxyAddress: z.string().describe(\"HTTP proxy address (for proxyType='http') or proxy pool name (for proxyType='pool').\").optional(),\n notifications: z.object({\n webhook: z.string().describe(\"Your custom webhook URL. We will post insightful information about your agent run at this address once it's done.\").optional(),\n slackWebHook: z.string().describe(\"Slack webhook URL (max 2000 characters)\").optional(),\n mailManualExitError: z.boolean().describe(\"Send email on manual exit error\").optional(),\n mailManualTimeError: z.boolean().describe(\"Send email on manual time error\").optional(),\n slackManualExitError: z.boolean().describe(\"Send Slack notification on manual exit error\").optional(),\n slackManualTimeError: z.boolean().describe(\"Send Slack notification on manual time error\").optional(),\n mailManualExitSuccess: z.boolean().describe(\"Send email on manual exit success\").optional(),\n mailManualLaunchError: z.boolean().describe(\"Send email on manual launch error\").optional(),\n mailAutomaticExitError: z.boolean().describe(\"Send email on automatic exit error\").optional(),\n mailAutomaticTimeError: z.boolean().describe(\"Send email on automatic time error\").optional(),\n slackManualExitSuccess: z.boolean().describe(\"Send Slack notification on manual exit success\").optional(),\n slackManualLaunchError: z.boolean().describe(\"Send Slack notification on manual launch error\").optional(),\n slackAutomaticExitError: z.boolean().describe(\"Send Slack notification on automatic exit error\").optional(),\n slackAutomaticTimeError: z.boolean().describe(\"Send Slack notification on automatic time error\").optional(),\n mailAutomaticExitSuccess: z.boolean().describe(\"Send email on automatic exit success\").optional(),\n mailAutomaticLaunchError: z.boolean().describe(\"Send email on automatic launch error\").optional(),\n slackAutomaticExitSuccess: z.boolean().describe(\"Send Slack notification on automatic exit success\").optional(),\n slackAutomaticLaunchError: z.boolean().describe(\"Send Slack notification on automatic launch error\").optional(),\n}).describe(\"Notification settings for the agent.\").optional(),\n proxyPassword: z.string().describe(\"Password for proxy authentication (used with proxyType='http').\").optional(),\n proxyUsername: z.string().describe(\"Username for proxy authentication (used with proxyType='http').\").optional(),\n idempotencyKey: z.string().describe(\"Optional key for idempotent operations - only for creating an agent.\").optional(),\n maxParallelism: z.number().int().describe(\"Maximum number of concurrent executions of the agent.\").optional(),\n maxRetryNumber: z.number().int().describe(\"Maximum number of retries the agent will attempt before aborting.\").optional(),\n executionTimeLimit: z.number().describe(\"Execution time limit in seconds. Agent will be stopped if this limit is exceeded.\").optional(),\n fileMgmtMaxFolders: z.number().int().describe(\"Maximum number of folders for file management.\").optional(),\n launchAfterAgentId: z.string().describe(\"Must be set when launchType is 'after agent'. ID of the agent that triggers this agent.\").optional(),\n repeatedLaunchTimes: z.object({\n day: z.array(z.number().int()).describe(\"Days of month when agent should launch\"),\n dow: z.array(z.string()).describe(\"Days of week when agent should launch (lowercase, e.g., ['mon', 'tue', 'wed'])\"),\n hour: z.array(z.number().int()).describe(\"Hours when agent should launch\"),\n month: z.array(z.string()).describe(\"Months when agent should launch (lowercase, e.g., ['jan', 'feb', 'mar'])\"),\n minute: z.array(z.number().int()).describe(\"Minutes when agent should launch\"),\n timezone: z.string().describe(\"Timezone for the schedule (e.g., 'America/New_York')\"),\n simplePreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n isSimplePresetEnabled: z.boolean().describe(\"Whether simple preset is enabled\").optional(),\n}).describe(\"Schedule configuration for repeated launches.\").optional(),\n repeatedLaunchPreset: z.enum([\"Once every other day\", \"Once per day\", \"Once per day, at the start of the day\", \"Twice per day\", \"Thrice per day\", \"4 times per day\", \"6 times per day\", \"8 times per day\", \"Once every other hour\", \"Once per hour\", \"Twice per hour\", \"Thrice per hour\", \"4 times per hour\", \"Once every other working hour\", \"Once per working hour\", \"Twice per working hour\", \"Thrice per working hour\", \"4 times per working hour\", \"Once every other working hour, excluding weekends\", \"Once per working hour, excluding weekends\", \"Twice per working hour, excluding weekends\", \"Thrice per working hour, excluding weekends\", \"4 times per working hour, excluding weekends\"]).describe(\"Preset launch schedules.\").optional(),\n squidLeaseIdentifier: z.object({\n location: z.string().describe(\"Location for the squid lease\").optional(),\n groupSlug: z.string().describe(\"Group slug identifier\"),\n refreshRate: z.number().int().describe(\"Refresh rate in minutes (minimum 0)\"),\n sublocation: z.string().describe(\"Sublocation for the squid lease\").optional(),\n}).describe(\"Squid lease configuration.\").optional(),\n masterAgentLaunchAfter: z.number().describe(\"Delay in seconds before launching after a slave agent finishes. Platform defaults to 10-15 minutes if not set.\").optional(),\n masterAgentLaunchOnExitCodes: z.union([z.array(z.number().int()), z.string()]).optional(),\n applyScriptManifestDefaultSettings: z.boolean().describe(\"If true, applies the manifest's default settings to the agent.\").optional(),\n wasSetupValidWhenSubmittedByTheFrontend: z.boolean().describe(\"If true, the agent's setup is considered complete.\").optional(),\n shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionType: z.boolean().describe(\"If true, propagates updated settings to workers regardless of session type.\").optional(),\n}).describe(\"Request model for saving (creating or updating) an agent.\");\nexport const PhantombusterSaveAgentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated agent\").nullable(),\n}).describe(\"Response schema for POST /agents/save.\");\n\nexport const phantombusterSaveAgent = action(\"PHANTOMBUSTER_SAVE_AGENT\", {\n slug: \"phantombuster-save-agent\",\n name: \"Save Agent\",\n description: \"Tool to create a new agent or update an existing one. Use when you need to configure an agent's launch schedule, settings, or behavior. If an agent ID is provided, the existing agent will be updated; otherwise, a new agent is created.\",\n input: PhantombusterSaveAgentInput,\n output: PhantombusterSaveAgentOutput,\n});\n"],"mappings":";;AA0EA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1EyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC3H,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,KAAK;GAAC;GAAW;GAAO;EAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,KAAK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AA8B,CAAC,CAAC,SAAS;GACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACtD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;GAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjD,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACvK,8BAA8B,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACxF,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACpI,yCAAyC,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7H,gEAAgE,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -10,12 +10,12 @@ const PhantombusterSaveCompanyObjectInput = zod.z.object({
|
|
|
10
10
|
linkedinCompanyId: zod.z.string().describe("The external id of the company scraped from LinkedIn.")
|
|
11
11
|
}).describe("Request model for saving a company object.");
|
|
12
12
|
const PhantombusterSaveCompanyObjectOutput = zod.z.object({
|
|
13
|
-
id: zod.z.string().describe("The internal id of the company object."),
|
|
14
|
-
slug: zod.z.string().describe("The slug of the company object."),
|
|
15
|
-
type: zod.z.string().describe("The type of company object."),
|
|
13
|
+
id: zod.z.string().describe("The internal id of the company object.").nullable(),
|
|
14
|
+
slug: zod.z.string().describe("The slug of the company object.").nullable(),
|
|
15
|
+
type: zod.z.string().describe("The type of company object.").nullable(),
|
|
16
16
|
orgId: zod.z.string().describe("The org id associated with the company object.").nullable().optional(),
|
|
17
17
|
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The properties of the object."),
|
|
18
|
-
linkedinCompanyId: zod.z.string().describe("The external id of the company scraped.")
|
|
18
|
+
linkedinCompanyId: zod.z.string().describe("The external id of the company scraped.").nullable()
|
|
19
19
|
}).describe("Response schema for saving a company object.");
|
|
20
20
|
const phantombusterSaveCompanyObject = require_action.action("PHANTOMBUSTER_SAVE_COMPANY_OBJECT", {
|
|
21
21
|
slug: "phantombuster-save-company-object",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-company-object.cjs","names":["z","action"],"sources":["../../src/actions/save-company-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectInput
|
|
1
|
+
{"version":3,"file":"save-company-object.cjs","names":["z","action"],"sources":["../../src/actions/save-company-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveCompanyObjectInput = z.object({\n id: z.string().describe(\"The internal id of the company object. If provided, updates the existing object.\").optional(),\n slug: z.string().describe(\"The slug of the company object.\"),\n type: z.string().describe(\"The type of company object.\"),\n orgId: z.string().describe(\"The org id associated with the company object.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object. Can contain any additional company data.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped from LinkedIn.\"),\n}).describe(\"Request model for saving a company object.\");\nexport const PhantombusterSaveCompanyObjectOutput = z.object({\n id: z.string().describe(\"The internal id of the company object.\").nullable(),\n slug: z.string().describe(\"The slug of the company object.\").nullable(),\n type: z.string().describe(\"The type of company object.\").nullable(),\n orgId: z.string().describe(\"The org id associated with the company object.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"The properties of the object.\"),\n linkedinCompanyId: z.string().describe(\"The external id of the company scraped.\").nullable(),\n}).describe(\"Response schema for saving a company object.\");\n\nexport const phantombusterSaveCompanyObject = action(\"PHANTOMBUSTER_SAVE_COMPANY_OBJECT\", {\n slug: \"phantombuster-save-company-object\",\n name: \"Save Company Object\",\n description: \"Tool to save one company object to the organization storage. Use when you need to create or update a company object with LinkedIn company data and custom properties.\",\n input: PhantombusterSaveCompanyObjectInput,\n output: PhantombusterSaveCompanyObjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;CAC/H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAChG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAA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