@keystrokehq/phantombuster 0.1.2 → 0.1.3
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/actions/abort-agent-v1.cjs +2 -2
- package/dist/actions/abort-agent-v1.cjs.map +1 -1
- package/dist/actions/abort-agent-v1.d.cts +2 -2
- package/dist/actions/abort-agent-v1.d.mts +2 -2
- package/dist/actions/abort-agent-v1.mjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-agent.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/delete-lead-objects.d.mts +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 +1 -1
- package/dist/actions/delete-leads-many.d.mts +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 +1 -1
- package/dist/actions/delete-list.d.mts +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 +2 -2
- package/dist/actions/delete-script.d.mts +2 -2
- package/dist/actions/delete-script.mjs +2 -2
- package/dist/actions/delete-script.mjs.map +1 -1
- package/dist/actions/get-agent-containers.cjs +2 -2
- package/dist/actions/get-agent-containers.cjs.map +1 -1
- package/dist/actions/get-agent-containers.d.cts +2 -2
- package/dist/actions/get-agent-containers.d.mts +2 -2
- package/dist/actions/get-agent-containers.mjs +2 -2
- package/dist/actions/get-agent-containers.mjs.map +1 -1
- package/dist/actions/get-agent-output.cjs +4 -4
- package/dist/actions/get-agent-output.cjs.map +1 -1
- package/dist/actions/get-agent-output.d.cts +4 -4
- package/dist/actions/get-agent-output.d.mts +4 -4
- package/dist/actions/get-agent-output.mjs +4 -4
- 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 +13 -13
- package/dist/actions/get-agent.d.mts +13 -13
- 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 +2 -2
- package/dist/actions/get-agents-fetch-all.d.mts +2 -2
- 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-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 +2 -2
- package/dist/actions/get-branches-fetch-all.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-containers-fetch-all.cjs.map +1 -1
- package/dist/actions/get-containers-fetch-all.d.cts +2 -2
- package/dist/actions/get-containers-fetch-all.d.mts +2 -2
- package/dist/actions/get-containers-fetch-all.mjs +2 -2
- package/dist/actions/get-containers-fetch-all.mjs.map +1 -1
- package/dist/actions/get-leads-by-list.cjs +1 -1
- package/dist/actions/get-leads-by-list.cjs.map +1 -1
- package/dist/actions/get-leads-by-list.d.cts +1 -1
- package/dist/actions/get-leads-by-list.d.mts +1 -1
- package/dist/actions/get-leads-by-list.mjs +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 +1 -1
- package/dist/actions/get-location-ip.d.mts +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 +2 -2
- package/dist/actions/get-org-storage-lists-fetch-all.cjs.map +1 -1
- package/dist/actions/get-org-storage-lists-fetch-all.d.cts +2 -2
- package/dist/actions/get-org-storage-lists-fetch-all.d.mts +2 -2
- package/dist/actions/get-org-storage-lists-fetch-all.mjs +2 -2
- 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 +1 -1
- package/dist/actions/get-orgs-export-agent-usage.d.mts +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 +1 -1
- package/dist/actions/get-orgs-export-container-usage.d.mts +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 +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.d.cts +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.d.mts +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.mjs +1 -1
- package/dist/actions/get-orgs-fetch-agent-groups.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.cjs +4 -4
- package/dist/actions/get-orgs-fetch-resources.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-resources.d.cts +4 -4
- package/dist/actions/get-orgs-fetch-resources.d.mts +4 -4
- package/dist/actions/get-orgs-fetch-resources.mjs +4 -4
- package/dist/actions/get-orgs-fetch-resources.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.cjs +2 -2
- package/dist/actions/get-orgs-fetch-running-containers.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch-running-containers.d.cts +2 -2
- package/dist/actions/get-orgs-fetch-running-containers.d.mts +2 -2
- package/dist/actions/get-orgs-fetch-running-containers.mjs +2 -2
- package/dist/actions/get-orgs-fetch-running-containers.mjs.map +1 -1
- package/dist/actions/get-orgs-fetch.cjs +1 -1
- package/dist/actions/get-orgs-fetch.cjs.map +1 -1
- package/dist/actions/get-orgs-fetch.d.cts +1 -1
- package/dist/actions/get-orgs-fetch.d.mts +1 -1
- package/dist/actions/get-orgs-fetch.mjs +1 -1
- package/dist/actions/get-orgs-fetch.mjs.map +1 -1
- package/dist/actions/get-script-by-name.cjs +3 -3
- package/dist/actions/get-script-by-name.cjs.map +1 -1
- package/dist/actions/get-script-by-name.d.cts +3 -3
- package/dist/actions/get-script-by-name.d.mts +3 -3
- package/dist/actions/get-script-by-name.mjs +3 -3
- package/dist/actions/get-script-by-name.mjs.map +1 -1
- package/dist/actions/get-script.cjs +4 -4
- package/dist/actions/get-script.cjs.map +1 -1
- package/dist/actions/get-script.d.cts +4 -4
- package/dist/actions/get-script.d.mts +4 -4
- package/dist/actions/get-script.mjs +4 -4
- 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 +1 -1
- package/dist/actions/get-scripts-code.d.mts +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 +3 -3
- package/dist/actions/get-scripts-fetch-all.cjs.map +1 -1
- package/dist/actions/get-scripts-fetch-all.d.cts +3 -3
- package/dist/actions/get-scripts-fetch-all.d.mts +3 -3
- package/dist/actions/get-scripts-fetch-all.mjs +3 -3
- package/dist/actions/get-scripts-fetch-all.mjs.map +1 -1
- package/dist/actions/get-user.cjs +3 -3
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.mjs +3 -3
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/post-agents-unschedule-all.cjs +1 -1
- package/dist/actions/post-agents-unschedule-all.cjs.map +1 -1
- package/dist/actions/post-agents-unschedule-all.d.cts +1 -1
- package/dist/actions/post-agents-unschedule-all.d.cts.map +1 -1
- package/dist/actions/post-agents-unschedule-all.d.mts +1 -1
- package/dist/actions/post-agents-unschedule-all.d.mts.map +1 -1
- package/dist/actions/post-agents-unschedule-all.mjs +1 -1
- package/dist/actions/post-agents-unschedule-all.mjs.map +1 -1
- package/dist/actions/post-ai-completions.cjs +3 -3
- package/dist/actions/post-ai-completions.cjs.map +1 -1
- package/dist/actions/post-ai-completions.d.cts +3 -3
- package/dist/actions/post-ai-completions.d.mts +3 -3
- package/dist/actions/post-ai-completions.mjs +3 -3
- package/dist/actions/post-ai-completions.mjs.map +1 -1
- package/dist/actions/post-branches-create.cjs +1 -1
- package/dist/actions/post-branches-create.cjs.map +1 -1
- package/dist/actions/post-branches-create.d.cts +1 -1
- package/dist/actions/post-branches-create.d.mts +1 -1
- package/dist/actions/post-branches-create.mjs +1 -1
- 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 +2 -2
- package/dist/actions/post-branches-delete.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/post-hcaptcha.cjs.map +1 -1
- package/dist/actions/post-hcaptcha.d.cts +1 -1
- package/dist/actions/post-hcaptcha.d.mts +1 -1
- package/dist/actions/post-hcaptcha.mjs +1 -1
- package/dist/actions/post-hcaptcha.mjs.map +1 -1
- package/dist/actions/post-identities-generate-token.cjs +1 -1
- package/dist/actions/post-identities-generate-token.cjs.map +1 -1
- package/dist/actions/post-identities-generate-token.d.cts +1 -1
- package/dist/actions/post-identities-generate-token.d.mts +1 -1
- package/dist/actions/post-identities-generate-token.mjs +1 -1
- package/dist/actions/post-identities-generate-token.mjs.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.cjs +8 -8
- package/dist/actions/post-org-storage-leads-save-many.cjs.map +1 -1
- package/dist/actions/post-org-storage-leads-save-many.d.cts +13 -12
- package/dist/actions/post-org-storage-leads-save-many.d.mts +13 -12
- package/dist/actions/post-org-storage-leads-save-many.mjs +8 -8
- package/dist/actions/post-org-storage-leads-save-many.mjs.map +1 -1
- package/dist/actions/post-recaptcha.cjs +1 -1
- package/dist/actions/post-recaptcha.cjs.map +1 -1
- package/dist/actions/post-recaptcha.d.cts +1 -1
- package/dist/actions/post-recaptcha.d.mts +1 -1
- package/dist/actions/post-recaptcha.mjs +1 -1
- package/dist/actions/post-recaptcha.mjs.map +1 -1
- package/dist/actions/post-scripts-visibility.cjs +1 -1
- package/dist/actions/post-scripts-visibility.cjs.map +1 -1
- package/dist/actions/post-scripts-visibility.d.cts +1 -1
- package/dist/actions/post-scripts-visibility.d.mts +1 -1
- package/dist/actions/post-scripts-visibility.mjs +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 +1 -1
- package/dist/actions/release-branch.d.mts +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 +3 -3
- package/dist/actions/save-agent-groups.cjs.map +1 -1
- package/dist/actions/save-agent-groups.d.cts +4 -3
- package/dist/actions/save-agent-groups.d.mts +4 -3
- package/dist/actions/save-agent-groups.mjs +3 -3
- package/dist/actions/save-agent-groups.mjs.map +1 -1
- package/dist/actions/save-agent.cjs +2 -2
- package/dist/actions/save-agent.cjs.map +1 -1
- package/dist/actions/save-agent.d.cts +3 -3
- package/dist/actions/save-agent.d.mts +3 -3
- package/dist/actions/save-agent.mjs +2 -2
- package/dist/actions/save-agent.mjs.map +1 -1
- package/dist/actions/save-company-object.cjs +1 -1
- package/dist/actions/save-company-object.cjs.map +1 -1
- package/dist/actions/save-company-object.d.cts +1 -1
- package/dist/actions/save-company-object.d.mts +1 -1
- package/dist/actions/save-company-object.mjs +1 -1
- 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 +9 -8
- package/dist/actions/save-company-objects-many.d.cts.map +1 -1
- package/dist/actions/save-company-objects-many.d.mts +9 -8
- 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 +1 -1
- package/dist/actions/save-identity-event.cjs.map +1 -1
- package/dist/actions/save-identity-event.d.cts +1 -1
- package/dist/actions/save-identity-event.d.mts +1 -1
- package/dist/actions/save-identity-event.mjs +1 -1
- package/dist/actions/save-identity-event.mjs.map +1 -1
- package/dist/actions/save-lead-object.cjs +1 -1
- package/dist/actions/save-lead-object.cjs.map +1 -1
- package/dist/actions/save-lead-object.d.cts +1 -1
- package/dist/actions/save-lead-object.d.mts +1 -1
- package/dist/actions/save-lead-object.mjs +1 -1
- package/dist/actions/save-lead-object.mjs.map +1 -1
- package/dist/actions/save-lead.cjs +1 -1
- package/dist/actions/save-lead.cjs.map +1 -1
- package/dist/actions/save-lead.d.cts +1 -1
- package/dist/actions/save-lead.d.mts +1 -1
- package/dist/actions/save-lead.mjs +1 -1
- package/dist/actions/save-lead.mjs.map +1 -1
- package/dist/actions/save-leads-objects-many.cjs +5 -5
- package/dist/actions/save-leads-objects-many.cjs.map +1 -1
- package/dist/actions/save-leads-objects-many.d.cts +7 -6
- package/dist/actions/save-leads-objects-many.d.cts.map +1 -1
- package/dist/actions/save-leads-objects-many.d.mts +7 -6
- package/dist/actions/save-leads-objects-many.d.mts.map +1 -1
- package/dist/actions/save-leads-objects-many.mjs +5 -5
- 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 +3 -3
- package/dist/actions/save-list.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/save-script.d.mts +3 -3
- package/dist/actions/save-script.mjs +2 -2
- package/dist/actions/save-script.mjs.map +1 -1
- package/dist/actions/search-company-objects.cjs +4 -4
- package/dist/actions/search-company-objects.cjs.map +1 -1
- package/dist/actions/search-company-objects.d.cts +7 -7
- package/dist/actions/search-company-objects.d.mts +7 -7
- package/dist/actions/search-company-objects.mjs +4 -4
- package/dist/actions/search-company-objects.mjs.map +1 -1
- package/dist/actions/search-lead-objects.cjs +1 -1
- package/dist/actions/search-lead-objects.cjs.map +1 -1
- package/dist/actions/search-lead-objects.d.cts +1 -1
- package/dist/actions/search-lead-objects.d.mts +1 -1
- package/dist/actions/search-lead-objects.mjs +1 -1
- package/dist/actions/search-lead-objects.mjs.map +1 -1
- package/dist/actions/stop-agent.cjs +1 -1
- package/dist/actions/stop-agent.cjs.map +1 -1
- package/dist/actions/stop-agent.d.cts +1 -1
- package/dist/actions/stop-agent.d.mts +1 -1
- package/dist/actions/stop-agent.mjs +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 +1 -1
- package/dist/actions/update-script.d.mts +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 +1 -1
- package/dist/actions/update-scripts-access-list.d.mts +1 -1
- package/dist/actions/update-scripts-access-list.mjs +1 -1
- package/dist/actions/update-scripts-access-list.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-script.mjs","names":[],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptInput = z.object({\n id: z.string().describe(\"Id of the script to fetch.\"),\n branch: z.string().describe(\"If set, the specified branch will be used to retrieve the script.\").optional(),\n withCode: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for withCode parameter.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for script branches.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation. Not necessary when using a third party key.\").optional(),\n}).describe(\"Request model for GET /scripts/fetch.\");\nconst PhantombusterGetScript_ScriptStatusSchema = z.object({\n type: z.string().describe(\"Status type identifier.\").nullable().optional(),\n description: z.string().describe(\"Status description.\").nullable().optional(),\n}).describe(\"Status information for a script.\");\nconst PhantombusterGetScript_ScriptBranchSchema = z.object({\n id: z.string().describe(\"Unique identifier of the branch.\").nullable(),\n name: z.string().describe(\"Name of the branch.\").nullable(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the branch.\").nullable().optional(),\n inputTypes: z.array(z.string()).describe(\"List of input types supported by the branch.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the branch.\").nullable(),\n environment: z.string().describe(\"Environment of the branch.\").nullable().optional(),\n outputTypes: z.array(z.string()).describe(\"List of output types supported by the branch.\").nullable().optional(),\n}).describe(\"Represents metadata for a script branch.\");\nconst PhantombusterGetScript_RecommenderMetadataSchema = z.object({\n workers: z.array(z.string()).describe(\"List of worker identifiers.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the recommender is disabled.\").nullable().optional(),\n description: z.string().describe(\"Description for AI recommender system.\").nullable().optional(),\n}).describe(\"Configuration for the AI recommender (campaign_agent) system.\");\nexport const PhantombusterGetScriptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the script.\").nullable(),\n code: z.string().describe(\"Source code of the script. Only present if withCode parameter was set.\").nullable().optional(),\n name: z.string().describe(\"Name of the script.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the script.\").nullable().optional(),\n orgId: z.string().describe(\"Organization ID owning the script.\").nullable(),\n branch: z.string().describe(\"Current branch name.\").nullable().optional(),\n status: PhantombusterGetScript_ScriptStatusSchema.nullable().optional(),\n orgSlug: z.string().describe(\"Organization slug.\").nullable(),\n branches: z.array(PhantombusterGetScript_ScriptBranchSchema).describe(\"List of script branches.\"),\n markdown: z.string().describe(\"Markdown documentation for the script.\").nullable().optional(),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").nullable().optional(),\n inputIcon: z.string().describe(\"Input icon identifier.\").nullable().optional(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the script.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the script belongs to.\").nullable().optional(),\n outputIcon: z.string().describe(\"Output icon identifier.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the script.\").nullable(),\n description: z.string().describe(\"Description of the script.\").nullable().optional(),\n environment: z.string().describe(\"Environment of the script.\").nullable(),\n outputTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script outputs, keyed by output name. Each value defines the output's type metadata (e.g., types, filenameBeginsWith). Structure varies per script.\").nullable().optional(),\n argumentForm: z.record(z.string(), z.unknown()).describe(\"Form UI configuration for script arguments. Structure is per-script and may include fields like 'enabled' (bool) and 'steps' (list of step configurations with field settings).\").nullable().optional(),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").nullable().optional(),\n argumentTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script arguments, keyed by argument name. Each value defines the argument's type metadata (e.g., types, pipe, targetsColumn). Structure varies per script.\").nullable().optional(),\n argumentSchema: z.record(z.string(), z.unknown()).describe(\"JSON Schema definition for script arguments. This is a per-script configuration that follows JSON Schema format but may include custom extensions like 'ui-required'. Structure varies by script.\").nullable().optional(),\n markdownRender: z.string().describe(\"Rendered markdown content.\").nullable().optional(),\n outputDescription: z.record(z.string(), z.unknown()).describe(\"Description of each output field, keyed by field name.\").nullable().optional(),\n reservedAgentSlots: z.number().describe(\"Number of reserved agent slots.\").nullable().optional(),\n recommenderMetadata: PhantombusterGetScript_RecommenderMetadataSchema.nullable().optional(),\n reservedAgentSlotsFactor: z.number().describe(\"Factor for reserved agent slots.\").nullable().optional(),\n}).describe(\"Response schema for GET /scripts/fetch.\");\n\nexport const phantombusterGetScript = action(\"PHANTOMBUSTER_GET_SCRIPT\", {\n slug: \"phantombuster-get-script\",\n name: \"Get Script\",\n description: \"Tool to fetch a script by its unique ID. Use when you need to retrieve detailed metadata about a specific script, including its branches, visibility, and optionally its source code.\",\n input: PhantombusterGetScriptInput,\n output: PhantombusterGetScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,QAAQ,EA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C,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpR,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,qBAAqB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC1F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-script.mjs","names":[],"sources":["../../src/actions/get-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptInput = z.object({\n id: z.string().describe(\"Id of the script to fetch.\"),\n branch: z.string().describe(\"If set, the specified branch will be used to retrieve the script.\").optional(),\n withCode: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for withCode parameter.\").optional(),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enumeration for script branches.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation. Not necessary when using a third party key.\").optional(),\n}).describe(\"Request model for GET /scripts/fetch.\");\nconst PhantombusterGetScript_ScriptStatusSchema = z.object({\n type: z.string().describe(\"Status type identifier.\").nullable().optional(),\n description: z.string().describe(\"Status description.\").nullable().optional(),\n}).passthrough().describe(\"Status information for a script.\");\nconst PhantombusterGetScript_ScriptBranchSchema = z.object({\n id: z.string().describe(\"Unique identifier of the branch.\").nullable(),\n name: z.string().describe(\"Name of the branch.\").nullable(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the branch.\").nullable().optional(),\n inputTypes: z.array(z.string()).describe(\"List of input types supported by the branch.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the branch.\").nullable(),\n environment: z.string().describe(\"Environment of the branch.\").nullable().optional(),\n outputTypes: z.array(z.string()).describe(\"List of output types supported by the branch.\").nullable().optional(),\n}).passthrough().describe(\"Represents metadata for a script branch.\");\nconst PhantombusterGetScript_RecommenderMetadataSchema = z.object({\n workers: z.array(z.string()).describe(\"List of worker identifiers.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the recommender is disabled.\").nullable().optional(),\n description: z.string().describe(\"Description for AI recommender system.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for the AI recommender (campaign_agent) system.\");\nexport const PhantombusterGetScriptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the script.\").nullable(),\n code: z.string().describe(\"Source code of the script. Only present if withCode parameter was set.\").nullable().optional(),\n name: z.string().describe(\"Name of the script.\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the script.\").nullable().optional(),\n orgId: z.string().describe(\"Organization ID owning the script.\").nullable(),\n branch: z.string().describe(\"Current branch name.\").nullable().optional(),\n status: PhantombusterGetScript_ScriptStatusSchema.nullable().optional(),\n orgSlug: z.string().describe(\"Organization slug.\").nullable(),\n branches: z.array(PhantombusterGetScript_ScriptBranchSchema).describe(\"List of script branches.\"),\n markdown: z.string().describe(\"Markdown documentation for the script.\").nullable().optional(),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").nullable().optional(),\n inputIcon: z.string().describe(\"Input icon identifier.\").nullable().optional(),\n accessList: z.array(z.string()).describe(\"List of accounts with access to the script.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the script belongs to.\").nullable().optional(),\n outputIcon: z.string().describe(\"Output icon identifier.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility level of the script.\").nullable(),\n description: z.string().describe(\"Description of the script.\").nullable().optional(),\n environment: z.string().describe(\"Environment of the script.\").nullable(),\n outputTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script outputs, keyed by output name. Each value defines the output's type metadata (e.g., types, filenameBeginsWith). Structure varies per script.\").nullable().optional(),\n argumentForm: z.record(z.string(), z.unknown()).describe(\"Form UI configuration for script arguments. Structure is per-script and may include fields like 'enabled' (bool) and 'steps' (list of step configurations with field settings).\").nullable().optional(),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").nullable().optional(),\n argumentTypes: z.record(z.string(), z.unknown()).describe(\"Type definitions for script arguments, keyed by argument name. Each value defines the argument's type metadata (e.g., types, pipe, targetsColumn). Structure varies per script.\").nullable().optional(),\n argumentSchema: z.record(z.string(), z.unknown()).describe(\"JSON Schema definition for script arguments. This is a per-script configuration that follows JSON Schema format but may include custom extensions like 'ui-required'. Structure varies by script.\").nullable().optional(),\n markdownRender: z.string().describe(\"Rendered markdown content.\").nullable().optional(),\n outputDescription: z.record(z.string(), z.unknown()).describe(\"Description of each output field, keyed by field name.\").nullable().optional(),\n reservedAgentSlots: z.number().describe(\"Number of reserved agent slots.\").nullable().optional(),\n recommenderMetadata: PhantombusterGetScript_RecommenderMetadataSchema.nullable().optional(),\n reservedAgentSlotsFactor: z.number().describe(\"Factor for reserved agent slots.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch.\");\n\nexport const phantombusterGetScript = action(\"PHANTOMBUSTER_GET_SCRIPT\", {\n slug: \"phantombuster-get-script\",\n name: \"Get Script\",\n description: \"Tool to fetch a script by its unique ID. Use when you need to retrieve detailed metadata about a specific script, including its branches, visibility, and optionally its source code.\",\n input: PhantombusterGetScriptInput,\n output: PhantombusterGetScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE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S,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpR,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,qBAAqB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC1F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PhantombusterGetScriptsCodeInput = zod.z.object({
|
|
|
8
8
|
environment: zod.z.enum(["staging", "release"]).describe("Environment enum for script code fetching.").optional(),
|
|
9
9
|
"X-Phantombuster-Org": zod.z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
|
|
10
10
|
}).describe("Request model for GET /scripts/code.");
|
|
11
|
-
const PhantombusterGetScriptsCodeOutput = zod.z.object({ code: zod.z.string().describe("The code content of the requested script.").nullable() }).describe("Response schema for GET /scripts/code.");
|
|
11
|
+
const PhantombusterGetScriptsCodeOutput = zod.z.object({ code: zod.z.string().describe("The code content of the requested script.").nullable() }).passthrough().describe("Response schema for GET /scripts/code.");
|
|
12
12
|
const phantombusterGetScriptsCode = require_action.action("PHANTOMBUSTER_GET_SCRIPTS_CODE", {
|
|
13
13
|
slug: "phantombuster-get-scripts-code",
|
|
14
14
|
name: "Get Script Code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scripts-code.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-scripts-code.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).passthrough().describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,aAAaA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
|
|
15
15
|
code: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
script: string;
|
|
19
19
|
org?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const PhantombusterGetScriptsCodeInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const PhantombusterGetScriptsCodeOutput: z.ZodObject<{
|
|
15
15
|
code: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const phantombusterGetScriptsCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
script: string;
|
|
19
19
|
org?: string | undefined;
|
|
@@ -11,7 +11,7 @@ const phantombusterGetScriptsCode = action("PHANTOMBUSTER_GET_SCRIPTS_CODE", {
|
|
|
11
11
|
environment: z.enum(["staging", "release"]).describe("Environment enum for script code fetching.").optional(),
|
|
12
12
|
"X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
|
|
13
13
|
}).describe("Request model for GET /scripts/code."),
|
|
14
|
-
output: z.object({ code: z.string().describe("The code content of the requested script.").nullable() }).describe("Response schema for GET /scripts/code.")
|
|
14
|
+
output: z.object({ code: z.string().describe("The code content of the requested script.").nullable() }).passthrough().describe("Response schema for GET /scripts/code.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { phantombusterGetScriptsCode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scripts-code.mjs","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACxE,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-scripts-code.mjs","names":[],"sources":["../../src/actions/get-scripts-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsCodeInput = z.object({\n org: z.string().describe(\"If set, the specified org will be used to fetch the code.\").optional(),\n branch: z.string().describe(\"If set, the specified branch will be used to fetch the code.\").optional(),\n script: z.string().describe(\"Name of the script to fetch the code from.\"),\n environment: z.enum([\"staging\", \"release\"]).describe(\"Environment enum for script code fetching.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for GET /scripts/code.\");\nexport const PhantombusterGetScriptsCodeOutput = z.object({\n code: z.string().describe(\"The code content of the requested script.\").nullable(),\n}).passthrough().describe(\"Response schema for GET /scripts/code.\");\n\nexport const phantombusterGetScriptsCode = action(\"PHANTOMBUSTER_GET_SCRIPTS_CODE\", {\n slug: \"phantombuster-get-scripts-code\",\n name: \"Get Script Code\",\n description: \"Tool to get the code of a script. Use when you need to retrieve the source code content of a specific script.\",\n input: PhantombusterGetScriptsCodeInput,\n output: PhantombusterGetScriptsCodeOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACxE,aAAa,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -8,10 +8,10 @@ const PhantombusterGetScriptsFetchAll_ScriptSchema = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("Name of the script").nullable(),
|
|
9
9
|
nonce: zod.z.number().int().describe("Nonce associated with the script").nullable(),
|
|
10
10
|
source: zod.z.string().describe("Source of the script").nullable(),
|
|
11
|
-
httpHeaders: zod.z.
|
|
11
|
+
httpHeaders: zod.z.record(zod.z.string(), zod.z.unknown()).describe("HTTP headers of the script, if any").nullable().optional(),
|
|
12
12
|
lastSaveDate: zod.z.number().int().describe("Unix timestamp (ms) of the last save date").nullable()
|
|
13
|
-
}).describe("Represents metadata for a single script.");
|
|
14
|
-
const PhantombusterGetScriptsFetchAllOutput = zod.z.object({ scripts: zod.z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).describe("Response schema for GET /scripts/fetch-all.");
|
|
13
|
+
}).passthrough().describe("Represents metadata for a single script.");
|
|
14
|
+
const PhantombusterGetScriptsFetchAllOutput = zod.z.object({ scripts: zod.z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).passthrough().describe("Response schema for GET /scripts/fetch-all.");
|
|
15
15
|
const phantombusterGetScriptsFetchAll = require_action.action("PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL", {
|
|
16
16
|
slug: "phantombuster-get-scripts-fetch-all",
|
|
17
17
|
name: "Get All Scripts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scripts-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.
|
|
1
|
+
{"version":3,"file":"get-scripts-fetch-all.cjs","names":["z","action"],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.record(z.string(), z.unknown()).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\").nullable(),\n}).passthrough().describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ declare const PhantombusterGetScriptsFetchAllOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
nonce: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
source: z.ZodNullable<z.ZodString>;
|
|
12
|
-
httpHeaders: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
httpHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
lastSaveDate: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { phantombusterGetScriptsFetchAll };
|
|
@@ -9,10 +9,10 @@ declare const PhantombusterGetScriptsFetchAllOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
nonce: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
source: z.ZodNullable<z.ZodString>;
|
|
12
|
-
httpHeaders: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
httpHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
lastSaveDate: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const phantombusterGetScriptsFetchAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { phantombusterGetScriptsFetchAll };
|
|
@@ -8,15 +8,15 @@ const PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({
|
|
|
8
8
|
name: z.string().describe("Name of the script").nullable(),
|
|
9
9
|
nonce: z.number().int().describe("Nonce associated with the script").nullable(),
|
|
10
10
|
source: z.string().describe("Source of the script").nullable(),
|
|
11
|
-
httpHeaders: z.
|
|
11
|
+
httpHeaders: z.record(z.string(), z.unknown()).describe("HTTP headers of the script, if any").nullable().optional(),
|
|
12
12
|
lastSaveDate: z.number().int().describe("Unix timestamp (ms) of the last save date").nullable()
|
|
13
|
-
}).describe("Represents metadata for a single script.");
|
|
13
|
+
}).passthrough().describe("Represents metadata for a single script.");
|
|
14
14
|
const phantombusterGetScriptsFetchAll = action("PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL", {
|
|
15
15
|
slug: "phantombuster-get-scripts-fetch-all",
|
|
16
16
|
name: "Get All Scripts",
|
|
17
17
|
description: "Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.",
|
|
18
18
|
input: PhantombusterGetScriptsFetchAllInput,
|
|
19
|
-
output: z.object({ scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).describe("Response schema for GET /scripts/fetch-all.")
|
|
19
|
+
output: z.object({ scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe("List of script metadata objects") }).passthrough().describe("Response schema for GET /scripts/fetch-all.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { phantombusterGetScriptsFetchAll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.
|
|
1
|
+
{"version":3,"file":"get-scripts-fetch-all.mjs","names":[],"sources":["../../src/actions/get-scripts-fetch-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetScriptsFetchAllInput = z.object({}).describe(\"Request model for GET /scripts/fetch-all. No parameters required.\");\nconst PhantombusterGetScriptsFetchAll_ScriptSchema = z.object({\n id: z.string().describe(\"Unique identifier of the script\").nullable(),\n url: z.string().describe(\"URL associated with the script\").nullable(),\n name: z.string().describe(\"Name of the script\").nullable(),\n nonce: z.number().int().describe(\"Nonce associated with the script\").nullable(),\n source: z.string().describe(\"Source of the script\").nullable(),\n httpHeaders: z.record(z.string(), z.unknown()).describe(\"HTTP headers of the script, if any\").nullable().optional(),\n lastSaveDate: z.number().int().describe(\"Unix timestamp (ms) of the last save date\").nullable(),\n}).passthrough().describe(\"Represents metadata for a single script.\");\nexport const PhantombusterGetScriptsFetchAllOutput = z.object({\n scripts: z.array(PhantombusterGetScriptsFetchAll_ScriptSchema).describe(\"List of script metadata objects\"),\n}).passthrough().describe(\"Response schema for GET /scripts/fetch-all.\");\n\nexport const phantombusterGetScriptsFetchAll = action(\"PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL\", {\n slug: \"phantombuster-get-scripts-fetch-all\",\n name: \"Get All Scripts\",\n description: \"Tool to fetch all scripts for the current user. Use after authenticating your Phantombuster API key to list scripts without their code bodies.\",\n input: PhantombusterGetScriptsFetchAllInput,\n output: PhantombusterGetScriptsFetchAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC7I,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,iCAAiC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const PhantombusterGetUser_AgentInfoSchema = zod.z.object({
|
|
|
10
10
|
lastEndMessage: zod.z.string().describe("Last message when the agent finished execution").nullable().optional(),
|
|
11
11
|
queuedContainers: zod.z.number().int().describe("Number of containers queued for this agent").nullable().optional(),
|
|
12
12
|
runningContainers: zod.z.number().int().describe("Number of containers currently running for this agent").nullable().optional()
|
|
13
|
-
}).describe("Information about a single agent in the user's account.");
|
|
13
|
+
}).passthrough().describe("Information about a single agent in the user's account.");
|
|
14
14
|
const PhantombusterGetUser_UserDataSchema = zod.z.object({
|
|
15
15
|
email: zod.z.string().describe("User's email address").nullable(),
|
|
16
16
|
agents: zod.z.array(PhantombusterGetUser_AgentInfoSchema).describe("List of agents associated with the user's account").nullable().optional(),
|
|
@@ -19,11 +19,11 @@ const PhantombusterGetUser_UserDataSchema = zod.z.object({
|
|
|
19
19
|
storageLeft: zod.z.number().describe("Remaining storage space in bytes").nullable().optional(),
|
|
20
20
|
captchasLeft: zod.z.number().describe("Number of CAPTCHA solves remaining in quota").nullable().optional(),
|
|
21
21
|
databaseLeft: zod.z.number().describe("Remaining database storage in bytes").nullable().optional()
|
|
22
|
-
}).describe("User account data including quotas and agents.");
|
|
22
|
+
}).passthrough().describe("User account data including quotas and agents.");
|
|
23
23
|
const PhantombusterGetUserOutput = zod.z.object({
|
|
24
24
|
data: PhantombusterGetUser_UserDataSchema.nullable(),
|
|
25
25
|
status: zod.z.string().describe("Response status (e.g., 'success')").nullable()
|
|
26
|
-
}).describe("Response schema for GET_USER.");
|
|
26
|
+
}).passthrough().describe("Response schema for GET_USER.");
|
|
27
27
|
const phantombusterGetUser = require_action.action("PHANTOMBUSTER_GET_USER", {
|
|
28
28
|
slug: "phantombuster-get-user",
|
|
29
29
|
name: "Get User Information",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,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C,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,oCAAoC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,15 +13,15 @@ declare const PhantombusterGetUserOutput: z.ZodObject<{
|
|
|
13
13
|
lastEndMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
queuedContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
runningContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
timeLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
emailsLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
storageLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
captchasLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
databaseLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
status: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { phantombusterGetUser };
|
|
@@ -13,15 +13,15 @@ declare const PhantombusterGetUserOutput: z.ZodObject<{
|
|
|
13
13
|
lastEndMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
queuedContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
runningContainers: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
17
|
timeLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
emailsLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
storageLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
captchasLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
databaseLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
status: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const phantombusterGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { phantombusterGetUser };
|
|
@@ -10,7 +10,7 @@ const PhantombusterGetUser_AgentInfoSchema = z.object({
|
|
|
10
10
|
lastEndMessage: z.string().describe("Last message when the agent finished execution").nullable().optional(),
|
|
11
11
|
queuedContainers: z.number().int().describe("Number of containers queued for this agent").nullable().optional(),
|
|
12
12
|
runningContainers: z.number().int().describe("Number of containers currently running for this agent").nullable().optional()
|
|
13
|
-
}).describe("Information about a single agent in the user's account.");
|
|
13
|
+
}).passthrough().describe("Information about a single agent in the user's account.");
|
|
14
14
|
const PhantombusterGetUser_UserDataSchema = z.object({
|
|
15
15
|
email: z.string().describe("User's email address").nullable(),
|
|
16
16
|
agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe("List of agents associated with the user's account").nullable().optional(),
|
|
@@ -19,7 +19,7 @@ const PhantombusterGetUser_UserDataSchema = z.object({
|
|
|
19
19
|
storageLeft: z.number().describe("Remaining storage space in bytes").nullable().optional(),
|
|
20
20
|
captchasLeft: z.number().describe("Number of CAPTCHA solves remaining in quota").nullable().optional(),
|
|
21
21
|
databaseLeft: z.number().describe("Remaining database storage in bytes").nullable().optional()
|
|
22
|
-
}).describe("User account data including quotas and agents.");
|
|
22
|
+
}).passthrough().describe("User account data including quotas and agents.");
|
|
23
23
|
const phantombusterGetUser = action("PHANTOMBUSTER_GET_USER", {
|
|
24
24
|
slug: "phantombuster-get-user",
|
|
25
25
|
name: "Get User Information",
|
|
@@ -28,7 +28,7 @@ const phantombusterGetUser = action("PHANTOMBUSTER_GET_USER", {
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
data: PhantombusterGetUser_UserDataSchema.nullable(),
|
|
30
30
|
status: z.string().describe("Response status (e.g., 'success')").nullable()
|
|
31
|
-
}).describe("Response schema for GET_USER.")
|
|
31
|
+
}).passthrough().describe("Response schema for GET_USER.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { phantombusterGetUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterGetUserInput = z.object({}).describe(\"No parameters are required for this endpoint.\");\nconst PhantombusterGetUser_AgentInfoSchema = z.object({\n id: z.number().int().describe(\"Unique numeric identifier for the agent\").nullable(),\n name: z.string().describe(\"Display name of the agent\").nullable(),\n scriptId: z.number().int().describe(\"ID of the script associated with this agent\").nullable().optional(),\n lastEndStatus: z.string().describe(\"Last execution status (e.g., 'success', 'launch failed')\").nullable().optional(),\n lastEndMessage: z.string().describe(\"Last message when the agent finished execution\").nullable().optional(),\n queuedContainers: z.number().int().describe(\"Number of containers queued for this agent\").nullable().optional(),\n runningContainers: z.number().int().describe(\"Number of containers currently running for this agent\").nullable().optional(),\n}).passthrough().describe(\"Information about a single agent in the user's account.\");\nconst PhantombusterGetUser_UserDataSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable(),\n agents: z.array(PhantombusterGetUser_AgentInfoSchema).describe(\"List of agents associated with the user's account\").nullable().optional(),\n timeLeft: z.number().describe(\"Remaining execution time in milliseconds\").nullable().optional(),\n emailsLeft: z.number().describe(\"Number of emails remaining in quota\").nullable().optional(),\n storageLeft: z.number().describe(\"Remaining storage space in bytes\").nullable().optional(),\n captchasLeft: z.number().describe(\"Number of CAPTCHA solves remaining in quota\").nullable().optional(),\n databaseLeft: z.number().describe(\"Remaining database storage in bytes\").nullable().optional(),\n}).passthrough().describe(\"User account data including quotas and agents.\");\nexport const PhantombusterGetUserOutput = z.object({\n data: PhantombusterGetUser_UserDataSchema.nullable(),\n status: z.string().describe(\"Response status (e.g., 'success')\").nullable(),\n}).passthrough().describe(\"Response schema for GET_USER.\");\n\nexport const phantombusterGetUser = action(\"PHANTOMBUSTER_GET_USER\", {\n slug: \"phantombuster-get-user\",\n name: \"Get User Information\",\n description: \"Tool to get information about your PhantomBuster account and your agents using the legacy v1 API. Use when you need to check account quotas, remaining resources, or list associated agents.\",\n input: PhantombusterGetUserInput,\n output: PhantombusterGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC9G,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC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AC,SAAS,+BAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/post-agents-unschedule-all.ts
|
|
4
4
|
const PhantombusterPostAgentsUnscheduleAllInput = zod.z.object({}).describe("No parameters are required. This endpoint disables automatic launches for all agents in the organization context.");
|
|
5
|
-
const PhantombusterPostAgentsUnscheduleAllOutput = zod.z.
|
|
5
|
+
const PhantombusterPostAgentsUnscheduleAllOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response schema for POST /agents/unschedule-all.");
|
|
6
6
|
const phantombusterPostAgentsUnscheduleAll = require_action.action("PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL", {
|
|
7
7
|
slug: "phantombuster-post-agents-unschedule-all",
|
|
8
8
|
name: "Unschedule All Agent Launches",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-agents-unschedule-all.cjs","names":["z","action"],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.
|
|
1
|
+
{"version":3,"file":"post-agents-unschedule-all.cjs","names":["z","action"],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAClM,MAAa,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEvJ,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-agents-unschedule-all.d.ts
|
|
4
4
|
declare const PhantombusterPostAgentsUnscheduleAllInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
-
declare const PhantombusterPostAgentsUnscheduleAllOutput: z.
|
|
5
|
+
declare const PhantombusterPostAgentsUnscheduleAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
declare const phantombusterPostAgentsUnscheduleAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { phantombusterPostAgentsUnscheduleAll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-agents-unschedule-all.d.cts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"post-agents-unschedule-all.d.cts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-agents-unschedule-all.d.ts
|
|
4
4
|
declare const PhantombusterPostAgentsUnscheduleAllInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
-
declare const PhantombusterPostAgentsUnscheduleAllOutput: z.
|
|
5
|
+
declare const PhantombusterPostAgentsUnscheduleAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
declare const phantombusterPostAgentsUnscheduleAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { phantombusterPostAgentsUnscheduleAll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-agents-unschedule-all.d.mts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"post-agents-unschedule-all.d.mts","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzC,0CAAA,EAA0C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const phantombusterPostAgentsUnscheduleAll = action("PHANTOMBUSTER_POST_AGENTS_U
|
|
|
5
5
|
name: "Unschedule All Agent Launches",
|
|
6
6
|
description: "Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.",
|
|
7
7
|
input: z.object({}).describe("No parameters are required. This endpoint disables automatic launches for all agents in the organization context."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Response schema for POST /agents/unschedule-all.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { phantombusterPostAgentsUnscheduleAll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-agents-unschedule-all.mjs","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.
|
|
1
|
+
{"version":3,"file":"post-agents-unschedule-all.mjs","names":[],"sources":["../../src/actions/post-agents-unschedule-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAgentsUnscheduleAllInput = z.object({}).describe(\"No parameters are required. This endpoint disables automatic launches for all agents in the organization context.\");\nexport const PhantombusterPostAgentsUnscheduleAllOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for POST /agents/unschedule-all.\");\n\nexport const phantombusterPostAgentsUnscheduleAll = action(\"PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL\", {\n slug: \"phantombuster-post-agents-unschedule-all\",\n name: \"Unschedule All Agent Launches\",\n description: \"Tool to unschedule all scheduled launches for agents. Use when you need to disable every automated agent run organization-wide after verifying your API key.\",\n input: PhantombusterPostAgentsUnscheduleAllInput,\n output: PhantombusterPostAgentsUnscheduleAllOutput,\n});\n"],"mappings":";;AAOA,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAOtE;CACP,QAPwD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAO3F;AACV,CAAC"}
|
|
@@ -14,17 +14,17 @@ const PhantombusterPostAiCompletions_UsageSchema = zod.z.object({
|
|
|
14
14
|
totalTokens: zod.z.number().int().describe("Total tokens consumed by the request.").nullable(),
|
|
15
15
|
promptTokens: zod.z.number().int().describe("Number of tokens in the prompt.").nullable(),
|
|
16
16
|
completionTokens: zod.z.number().int().describe("Number of tokens generated in the completion.").nullable()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const PhantombusterPostAiCompletions_ChoiceSchema = zod.z.object({
|
|
19
19
|
text: zod.z.string().describe("Generated text of the completion.").nullable(),
|
|
20
20
|
index: zod.z.number().int().describe("Index of this completion in the results list.").nullable(),
|
|
21
21
|
finishReason: zod.z.string().describe("Reason why the completion generation stopped.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const PhantombusterPostAiCompletionsOutput = zod.z.object({
|
|
24
24
|
usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),
|
|
25
25
|
choices: zod.z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe("List of generated completion choice objects."),
|
|
26
26
|
creditsCost: zod.z.number().int().describe("Cost in credits for this request.").nullable().optional()
|
|
27
|
-
}).describe("Response schema for generating a text completion from the Phantombuster AI module.");
|
|
27
|
+
}).passthrough().describe("Response schema for generating a text completion from the Phantombuster AI module.");
|
|
28
28
|
const phantombusterPostAiCompletions = require_action.action("PHANTOMBUSTER_POST_AI_COMPLETIONS", {
|
|
29
29
|
slug: "phantombuster-post-ai-completions",
|
|
30
30
|
name: "Request AI Completion",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-ai-completions.cjs","names":["z","action"],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n});\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n});\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC;
|
|
1
|
+
{"version":3,"file":"post-ai-completions.cjs","names":["z","action"],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAE9G,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,14 +15,14 @@ declare const PhantombusterPostAiCompletionsOutput: z.ZodObject<{
|
|
|
15
15
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
promptTokens: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
completionTokens: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
choices: z.ZodArray<z.ZodObject<{
|
|
20
20
|
text: z.ZodNullable<z.ZodString>;
|
|
21
21
|
index: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
creditsCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const phantombusterPostAiCompletions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
prompt: string;
|
|
28
28
|
n?: number | undefined;
|
|
@@ -15,14 +15,14 @@ declare const PhantombusterPostAiCompletionsOutput: z.ZodObject<{
|
|
|
15
15
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
promptTokens: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
completionTokens: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
choices: z.ZodArray<z.ZodObject<{
|
|
20
20
|
text: z.ZodNullable<z.ZodString>;
|
|
21
21
|
index: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
creditsCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const phantombusterPostAiCompletions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
prompt: string;
|
|
28
28
|
n?: number | undefined;
|
|
@@ -14,12 +14,12 @@ const PhantombusterPostAiCompletions_UsageSchema = z.object({
|
|
|
14
14
|
totalTokens: z.number().int().describe("Total tokens consumed by the request.").nullable(),
|
|
15
15
|
promptTokens: z.number().int().describe("Number of tokens in the prompt.").nullable(),
|
|
16
16
|
completionTokens: z.number().int().describe("Number of tokens generated in the completion.").nullable()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const PhantombusterPostAiCompletions_ChoiceSchema = z.object({
|
|
19
19
|
text: z.string().describe("Generated text of the completion.").nullable(),
|
|
20
20
|
index: z.number().int().describe("Index of this completion in the results list.").nullable(),
|
|
21
21
|
finishReason: z.string().describe("Reason why the completion generation stopped.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const phantombusterPostAiCompletions = action("PHANTOMBUSTER_POST_AI_COMPLETIONS", {
|
|
24
24
|
slug: "phantombuster-post-ai-completions",
|
|
25
25
|
name: "Request AI Completion",
|
|
@@ -29,7 +29,7 @@ const phantombusterPostAiCompletions = action("PHANTOMBUSTER_POST_AI_COMPLETIONS
|
|
|
29
29
|
usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),
|
|
30
30
|
choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe("List of generated completion choice objects."),
|
|
31
31
|
creditsCost: z.number().int().describe("Cost in credits for this request.").nullable().optional()
|
|
32
|
-
}).describe("Response schema for generating a text completion from the Phantombuster AI module.")
|
|
32
|
+
}).passthrough().describe("Response schema for generating a text completion from the Phantombuster AI module.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { phantombusterPostAiCompletions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-ai-completions.mjs","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n});\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n});\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC;
|
|
1
|
+
{"version":3,"file":"post-ai-completions.mjs","names":[],"sources":["../../src/actions/post-ai-completions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterPostAiCompletionsInput = z.object({\n n: z.number().int().describe(\"Number of completion choices to generate.\").optional(),\n stop: z.array(z.string()).describe(\"Sequences where the API will stop generating further tokens.\").optional(),\n topP: z.number().describe(\"Nucleus sampling probability between 0 and 1.\").optional(),\n model: z.string().describe(\"Identifier of the AI model to use for the completion.\").optional(),\n prompt: z.string().describe(\"Input text prompt to generate a completion for.\"),\n maxTokens: z.number().int().describe(\"Maximum number of tokens to generate in the completion.\").optional(),\n temperature: z.number().describe(\"Sampling temperature between 0 and 1.\").optional(),\n}).describe(\"Request model for generating a text completion from the AI module.\");\nconst PhantombusterPostAiCompletions_UsageSchema = z.object({\n totalTokens: z.number().int().describe(\"Total tokens consumed by the request.\").nullable(),\n promptTokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable(),\n completionTokens: z.number().int().describe(\"Number of tokens generated in the completion.\").nullable(),\n}).passthrough();\nconst PhantombusterPostAiCompletions_ChoiceSchema = z.object({\n text: z.string().describe(\"Generated text of the completion.\").nullable(),\n index: z.number().int().describe(\"Index of this completion in the results list.\").nullable(),\n finishReason: z.string().describe(\"Reason why the completion generation stopped.\").nullable().optional(),\n}).passthrough();\nexport const PhantombusterPostAiCompletionsOutput = z.object({\n usage: PhantombusterPostAiCompletions_UsageSchema.nullable().optional(),\n choices: z.array(PhantombusterPostAiCompletions_ChoiceSchema).describe(\"List of generated completion choice objects.\"),\n creditsCost: z.number().int().describe(\"Cost in credits for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for generating a text completion from the Phantombuster AI module.\");\n\nexport const phantombusterPostAiCompletions = action(\"PHANTOMBUSTER_POST_AI_COMPLETIONS\", {\n slug: \"phantombuster-post-ai-completions\",\n name: \"Request AI Completion\",\n description: \"Tool to request a text completion from the AI module. Use when you need to generate text based on a prompt.\",\n input: PhantombusterPostAiCompletionsInput,\n output: PhantombusterPostAiCompletionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;EACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PhantombusterPostBranchesCreateInput = zod.z.object({
|
|
|
8
8
|
const PhantombusterPostBranchesCreateOutput = zod.z.object({
|
|
9
9
|
id: zod.z.string().describe("Unique identifier of the created branch.").nullable(),
|
|
10
10
|
name: zod.z.string().describe("Name of the created branch.").nullable()
|
|
11
|
-
}).describe("Response schema for a newly created branch.");
|
|
11
|
+
}).passthrough().describe("Response schema for a newly created branch.");
|
|
12
12
|
const phantombusterPostBranchesCreate = require_action.action("PHANTOMBUSTER_POST_BRANCHES_CREATE", {
|
|
13
13
|
slug: "phantombuster-post-branches-create",
|
|
14
14
|
name: "Create Branch",
|