@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
|
@@ -13,7 +13,7 @@ const phantombusterSaveList = action("PHANTOMBUSTER_SAVE_LIST", {
|
|
|
13
13
|
"pbai",
|
|
14
14
|
"opinion-leaders"
|
|
15
15
|
]).describe("Allowed tags for organizational categorization of lists.")).describe("An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'").optional(),
|
|
16
|
-
filter: z.
|
|
16
|
+
filter: z.record(z.string(), z.unknown()).describe("An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}"),
|
|
17
17
|
description: z.string().describe("A string describing the list's purpose.").optional(),
|
|
18
18
|
"X-Phantombuster-Org": z.string().describe("ID of the org that is performing the operation (not necessary when using a third party key).").optional()
|
|
19
19
|
}).describe("Request model for saving (creating or updating) a list."),
|
|
@@ -23,7 +23,7 @@ const phantombusterSaveList = action("PHANTOMBUSTER_SAVE_LIST", {
|
|
|
23
23
|
createdAt: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
24
24
|
updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
25
25
|
description: z.string().describe("Description of the list if provided.").nullable().optional()
|
|
26
|
-
}).describe("Response schema for saving a list.")
|
|
26
|
+
}).passthrough().describe("Response schema for saving a list.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { phantombusterSaveList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-list.mjs","names":[],"sources":["../../src/actions/save-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveListInput = z.object({\n id: z.string().describe(\"A string for updating existing lists (omit when creating new ones).\").optional(),\n name: z.string().describe(\"A string specifying the list's title.\"),\n tags: z.array(z.enum([\"hidden\", \"workflow\", \"pbai\", \"opinion-leaders\"]).describe(\"Allowed tags for organizational categorization of lists.\")).describe(\"An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'\").optional(),\n filter: z.
|
|
1
|
+
{"version":3,"file":"save-list.mjs","names":[],"sources":["../../src/actions/save-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveListInput = z.object({\n id: z.string().describe(\"A string for updating existing lists (omit when creating new ones).\").optional(),\n name: z.string().describe(\"A string specifying the list's title.\"),\n tags: z.array(z.enum([\"hidden\", \"workflow\", \"pbai\", \"opinion-leaders\"]).describe(\"Allowed tags for organizational categorization of lists.\")).describe(\"An array of strings for organizational categorization. Allowed values: 'hidden', 'workflow', 'pbai', 'opinion-leaders'\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"An object that configures which leads are included in the list. Supports global search using '__global_search__' key, simple field filters, logical AND/OR operators, and complex nested filters. Example: {'__global_search__': 'test'} or {'email': 'user@example.com'}\"),\n description: z.string().describe(\"A string describing the list's purpose.\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the org that is performing the operation (not necessary when using a third party key).\").optional(),\n}).describe(\"Request model for saving (creating or updating) a list.\");\nexport const PhantombusterSaveListOutput = z.object({\n id: z.string().describe(\"Unique identifier of the saved list.\").nullable(),\n name: z.string().describe(\"Name of the saved list.\").nullable(),\n createdAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n updatedAt: z.union([z.number().int(), z.string()]).nullable().optional(),\n description: z.string().describe(\"Description of the list if provided.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for saving a list.\");\n\nexport const phantombusterSaveList = action(\"PHANTOMBUSTER_SAVE_LIST\", {\n slug: \"phantombuster-save-list\",\n name: \"Save List\",\n description: \"Tool to save (create or update) a list with filter criteria. Use when you need to create a new list or update an existing one by providing a filter configuration. This is a Beta feature.\",\n input: PhantombusterSaveListInput,\n output: PhantombusterSaveListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,MAAM,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAY;GAAQ;EAAiB,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EAC1R,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2QAA2Q;EAC9T,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAbyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const PhantombusterSaveScriptInput = zod.z.object({
|
|
|
12
12
|
categories: zod.z.array(zod.z.string()).describe("List of categories for the script (max 10 items).").optional(),
|
|
13
13
|
description: zod.z.string().describe("Description of what the script does (max 500 chars)."),
|
|
14
14
|
isDeprecated: zod.z.boolean().describe("Whether the script is deprecated.").optional(),
|
|
15
|
-
defaultArgument: zod.z.
|
|
15
|
+
defaultArgument: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Default arguments for the script as key-value pairs.").optional(),
|
|
16
16
|
askUserToNameAgent: zod.z.boolean().describe("Whether to ask user to name the agent.").optional(),
|
|
17
17
|
tutorialArticleUrl: zod.z.string().describe("URL to tutorial article for the script.").optional()
|
|
18
18
|
}).passthrough().describe("JSON script manifest required to create/update a script.").optional(),
|
|
@@ -22,7 +22,7 @@ const PhantombusterSaveScriptInput = zod.z.object({
|
|
|
22
22
|
const PhantombusterSaveScriptOutput = zod.z.object({
|
|
23
23
|
id: zod.z.string().describe("Unique identifier of the created or updated script.").nullable(),
|
|
24
24
|
name: zod.z.string().describe("Name of the script file.").nullable()
|
|
25
|
-
}).describe("Response schema for POST /scripts/save.");
|
|
25
|
+
}).passthrough().describe("Response schema for POST /scripts/save.");
|
|
26
26
|
const phantombusterSaveScript = require_action.action("PHANTOMBUSTER_SAVE_SCRIPT", {
|
|
27
27
|
slug: "phantombuster-save-script",
|
|
28
28
|
name: "Save Script",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-script.cjs","names":["z","action"],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.
|
|
1
|
+
{"version":3,"file":"save-script.cjs","names":["z","action"],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.record(z.string(), z.unknown()).describe(\"Default arguments for the script as key-value pairs.\").optional(),\n askUserToNameAgent: z.boolean().describe(\"Whether to ask user to name the agent.\").optional(),\n tutorialArticleUrl: z.string().describe(\"URL to tutorial article for the script.\").optional(),\n}).passthrough().describe(\"JSON script manifest required to create/update a script.\").optional(),\n markdown: z.string().describe(\"Markdown description of the script (max 200,000 chars).\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for POST /scripts/save. Updates or creates a script.\");\nexport const PhantombusterSaveScriptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated script.\").nullable(),\n name: z.string().describe(\"Name of the script file.\").nullable(),\n}).passthrough().describe(\"Response schema for POST /scripts/save.\");\n\nexport const phantombusterSaveScript = action(\"PHANTOMBUSTER_SAVE_SCRIPT\", {\n slug: \"phantombuster-save-script\",\n name: \"Save Script\",\n description: \"Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.\",\n input: PhantombusterSaveScriptInput,\n output: PhantombusterSaveScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO;EACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAC5H,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7H,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const PhantombusterSaveScriptInput: z.ZodObject<{
|
|
|
12
12
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
13
|
description: z.ZodString;
|
|
14
14
|
isDeprecated: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
defaultArgument: z.ZodOptional<z.
|
|
15
|
+
defaultArgument: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
askUserToNameAgent: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
tutorialArticleUrl: z.ZodOptional<z.ZodString>;
|
|
18
18
|
}, z.core.$loose>>;
|
|
@@ -22,7 +22,7 @@ declare const PhantombusterSaveScriptInput: z.ZodObject<{
|
|
|
22
22
|
declare const PhantombusterSaveScriptOutput: z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
name: string;
|
|
28
28
|
id?: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowAct
|
|
|
35
35
|
unlisted?: boolean | undefined;
|
|
36
36
|
categories?: string[] | undefined;
|
|
37
37
|
isDeprecated?: boolean | undefined;
|
|
38
|
-
defaultArgument?: Record<string,
|
|
38
|
+
defaultArgument?: Record<string, unknown> | undefined;
|
|
39
39
|
askUserToNameAgent?: boolean | undefined;
|
|
40
40
|
tutorialArticleUrl?: string | undefined;
|
|
41
41
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ declare const PhantombusterSaveScriptInput: z.ZodObject<{
|
|
|
12
12
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
13
|
description: z.ZodString;
|
|
14
14
|
isDeprecated: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
defaultArgument: z.ZodOptional<z.
|
|
15
|
+
defaultArgument: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
askUserToNameAgent: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
tutorialArticleUrl: z.ZodOptional<z.ZodString>;
|
|
18
18
|
}, z.core.$loose>>;
|
|
@@ -22,7 +22,7 @@ declare const PhantombusterSaveScriptInput: z.ZodObject<{
|
|
|
22
22
|
declare const PhantombusterSaveScriptOutput: z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
name: string;
|
|
28
28
|
id?: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare const phantombusterSaveScript: import("@keystrokehq/action").WorkflowAct
|
|
|
35
35
|
unlisted?: boolean | undefined;
|
|
36
36
|
categories?: string[] | undefined;
|
|
37
37
|
isDeprecated?: boolean | undefined;
|
|
38
|
-
defaultArgument?: Record<string,
|
|
38
|
+
defaultArgument?: Record<string, unknown> | undefined;
|
|
39
39
|
askUserToNameAgent?: boolean | undefined;
|
|
40
40
|
tutorialArticleUrl?: string | undefined;
|
|
41
41
|
} | undefined;
|
|
@@ -15,7 +15,7 @@ const phantombusterSaveScript = action("PHANTOMBUSTER_SAVE_SCRIPT", {
|
|
|
15
15
|
categories: z.array(z.string()).describe("List of categories for the script (max 10 items).").optional(),
|
|
16
16
|
description: z.string().describe("Description of what the script does (max 500 chars)."),
|
|
17
17
|
isDeprecated: z.boolean().describe("Whether the script is deprecated.").optional(),
|
|
18
|
-
defaultArgument: z.
|
|
18
|
+
defaultArgument: z.record(z.string(), z.unknown()).describe("Default arguments for the script as key-value pairs.").optional(),
|
|
19
19
|
askUserToNameAgent: z.boolean().describe("Whether to ask user to name the agent.").optional(),
|
|
20
20
|
tutorialArticleUrl: z.string().describe("URL to tutorial article for the script.").optional()
|
|
21
21
|
}).passthrough().describe("JSON script manifest required to create/update a script.").optional(),
|
|
@@ -25,7 +25,7 @@ const phantombusterSaveScript = action("PHANTOMBUSTER_SAVE_SCRIPT", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
id: z.string().describe("Unique identifier of the created or updated script.").nullable(),
|
|
27
27
|
name: z.string().describe("Name of the script file.").nullable()
|
|
28
|
-
}).describe("Response schema for POST /scripts/save.")
|
|
28
|
+
}).passthrough().describe("Response schema for POST /scripts/save.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { phantombusterSaveScript };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-script.mjs","names":[],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.
|
|
1
|
+
{"version":3,"file":"save-script.mjs","names":[],"sources":["../../src/actions/save-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSaveScriptInput = z.object({\n id: z.string().describe(\"If provided, the script with this ID will be updated. Otherwise, a new script is created.\").optional(),\n code: z.string().describe(\"JavaScript source code of the script (max 600,000 chars).\").optional(),\n name: z.string().describe(\"Name of the script file. Must end with .js or .coffee. Prepend with 'lib-' to define as a module.\"),\n branch: z.string().describe(\"Name of the branch to associate with the script (alphanumeric, hyphens, 1-50 chars).\").optional(),\n manifest: z.object({\n slug: z.string().describe(\"Unique slug identifier for the script (alphanumeric, hyphens, underscores allowed, 1-100 chars).\"),\n unlisted: z.boolean().describe(\"Whether the script is unlisted.\").optional(),\n categories: z.array(z.string()).describe(\"List of categories for the script (max 10 items).\").optional(),\n description: z.string().describe(\"Description of what the script does (max 500 chars).\"),\n isDeprecated: z.boolean().describe(\"Whether the script is deprecated.\").optional(),\n defaultArgument: z.record(z.string(), z.unknown()).describe(\"Default arguments for the script as key-value pairs.\").optional(),\n askUserToNameAgent: z.boolean().describe(\"Whether to ask user to name the agent.\").optional(),\n tutorialArticleUrl: z.string().describe(\"URL to tutorial article for the script.\").optional(),\n}).passthrough().describe(\"JSON script manifest required to create/update a script.\").optional(),\n markdown: z.string().describe(\"Markdown description of the script (max 200,000 chars).\").optional(),\n \"X-Phantombuster-Org\": z.string().describe(\"ID of the organization performing the operation (not needed when using a third party key).\").optional(),\n}).describe(\"Request model for POST /scripts/save. Updates or creates a script.\");\nexport const PhantombusterSaveScriptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created or updated script.\").nullable(),\n name: z.string().describe(\"Name of the script file.\").nullable(),\n}).passthrough().describe(\"Response schema for POST /scripts/save.\");\n\nexport const phantombusterSaveScript = action(\"PHANTOMBUSTER_SAVE_SCRIPT\", {\n slug: \"phantombuster-save-script\",\n name: \"Save Script\",\n description: \"Tool to create a new script or update an existing one. Provide an id to update; otherwise creates new script. Use when you need to save JavaScript automation code to Phantombuster.\",\n input: PhantombusterSaveScriptInput,\n output: PhantombusterSaveScriptOutput,\n});\n"],"mappings":";;AA2BA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO;GACnB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;GAC5H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC3E,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;GACvF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GACjF,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC7H,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAV2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/search-company-objects.ts
|
|
4
4
|
const PhantombusterSearchCompanyObjectsInput = zod.z.object({
|
|
5
|
-
or: zod.z.array(zod.z.
|
|
6
|
-
and: zod.z.array(zod.z.
|
|
7
|
-
filter: zod.z.
|
|
5
|
+
or: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
6
|
+
and: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
7
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Nested filter object for more complex filtering logic with field names as keys and string values.").optional(),
|
|
8
8
|
__global_search__: zod.z.string().describe("Global search string to search across all fields of company objects.").optional()
|
|
9
9
|
}).describe("Request model for searching company objects.");
|
|
10
10
|
const PhantombusterSearchCompanyObjectsOutput = zod.z.object({
|
|
11
11
|
totalCount: zod.z.number().int().describe("Total count of company objects matching the search criteria.").nullable().optional(),
|
|
12
12
|
companiesObjects: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of company objects matching the search criteria. Each object contains company data fields.")
|
|
13
|
-
}).describe("Response schema for searching company objects.");
|
|
13
|
+
}).passthrough().describe("Response schema for searching company objects.");
|
|
14
14
|
const phantombusterSearchCompanyObjects = require_action.action("PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS", {
|
|
15
15
|
slug: "phantombuster-search-company-objects",
|
|
16
16
|
name: "Search Company Objects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-company-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput = z.object({\n or: z.array(z.
|
|
1
|
+
{"version":3,"file":"search-company-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput = z.object({\n or: z.array(z.record(z.string(), z.unknown())).describe(\"Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.\").optional(),\n and: z.array(z.record(z.string(), z.unknown())).describe(\"Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Nested filter object for more complex filtering logic with field names as keys and string values.\").optional(),\n __global_search__: z.string().describe(\"Global search string to search across all fields of company objects.\").optional(),\n}).describe(\"Request model for searching company objects.\");\nexport const PhantombusterSearchCompanyObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of company objects matching the search criteria.\").nullable().optional(),\n companiesObjects: z.array(z.record(z.string(), z.unknown())).describe(\"List of company objects matching the search criteria. Each object contains company data fields.\"),\n}).passthrough().describe(\"Response schema for searching company objects.\");\n\nexport const phantombusterSearchCompanyObjects = action(\"PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS\", {\n slug: \"phantombuster-search-company-objects\",\n name: \"Search Company Objects\",\n description: \"Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.\",\n input: PhantombusterSearchCompanyObjectsInput,\n output: PhantombusterSearchCompanyObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC3L,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC7L,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACjK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-company-objects.d.ts
|
|
4
4
|
declare const PhantombusterSearchCompanyObjectsInput: z.ZodObject<{
|
|
5
|
-
or: z.ZodOptional<z.ZodArray<z.
|
|
6
|
-
and: z.ZodOptional<z.ZodArray<z.
|
|
7
|
-
filter: z.ZodOptional<z.
|
|
5
|
+
or: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6
|
+
and: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
__global_search__: z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PhantombusterSearchCompanyObjectsOutput: z.ZodObject<{
|
|
11
11
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
companiesObjects: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const phantombusterSearchCompanyObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
or?: Record<string,
|
|
16
|
-
and?: Record<string,
|
|
17
|
-
filter?: Record<string,
|
|
15
|
+
or?: Record<string, unknown>[] | undefined;
|
|
16
|
+
and?: Record<string, unknown>[] | undefined;
|
|
17
|
+
filter?: Record<string, unknown> | undefined;
|
|
18
18
|
__global_search__?: string | undefined;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-company-objects.d.ts
|
|
4
4
|
declare const PhantombusterSearchCompanyObjectsInput: z.ZodObject<{
|
|
5
|
-
or: z.ZodOptional<z.ZodArray<z.
|
|
6
|
-
and: z.ZodOptional<z.ZodArray<z.
|
|
7
|
-
filter: z.ZodOptional<z.
|
|
5
|
+
or: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6
|
+
and: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
__global_search__: z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PhantombusterSearchCompanyObjectsOutput: z.ZodObject<{
|
|
11
11
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
companiesObjects: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const phantombusterSearchCompanyObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
or?: Record<string,
|
|
16
|
-
and?: Record<string,
|
|
17
|
-
filter?: Record<string,
|
|
15
|
+
or?: Record<string, unknown>[] | undefined;
|
|
16
|
+
and?: Record<string, unknown>[] | undefined;
|
|
17
|
+
filter?: Record<string, unknown> | undefined;
|
|
18
18
|
__global_search__?: string | undefined;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
@@ -5,15 +5,15 @@ const phantombusterSearchCompanyObjects = action("PHANTOMBUSTER_SEARCH_COMPANY_O
|
|
|
5
5
|
name: "Search Company Objects",
|
|
6
6
|
description: "Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
or: z.array(z.
|
|
9
|
-
and: z.array(z.
|
|
10
|
-
filter: z.
|
|
8
|
+
or: z.array(z.record(z.string(), z.unknown())).describe("Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
9
|
+
and: z.array(z.record(z.string(), z.unknown())).describe("Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.").optional(),
|
|
10
|
+
filter: z.record(z.string(), z.unknown()).describe("Nested filter object for more complex filtering logic with field names as keys and string values.").optional(),
|
|
11
11
|
__global_search__: z.string().describe("Global search string to search across all fields of company objects.").optional()
|
|
12
12
|
}).describe("Request model for searching company objects."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
totalCount: z.number().int().describe("Total count of company objects matching the search criteria.").nullable().optional(),
|
|
15
15
|
companiesObjects: z.array(z.record(z.string(), z.unknown())).describe("List of company objects matching the search criteria. Each object contains company data fields.")
|
|
16
|
-
}).describe("Response schema for searching company objects.")
|
|
16
|
+
}).passthrough().describe("Response schema for searching company objects.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { phantombusterSearchCompanyObjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-company-objects.mjs","names":[],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput = z.object({\n or: z.array(z.
|
|
1
|
+
{"version":3,"file":"search-company-objects.mjs","names":[],"sources":["../../src/actions/search-company-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchCompanyObjectsInput = z.object({\n or: z.array(z.record(z.string(), z.unknown())).describe(\"Array of filter conditions joined by OR logic. Each condition is an object with field names as keys and string values.\").optional(),\n and: z.array(z.record(z.string(), z.unknown())).describe(\"Array of filter conditions joined by AND logic. Each condition is an object with field names as keys and string values.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Nested filter object for more complex filtering logic with field names as keys and string values.\").optional(),\n __global_search__: z.string().describe(\"Global search string to search across all fields of company objects.\").optional(),\n}).describe(\"Request model for searching company objects.\");\nexport const PhantombusterSearchCompanyObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of company objects matching the search criteria.\").nullable().optional(),\n companiesObjects: z.array(z.record(z.string(), z.unknown())).describe(\"List of company objects matching the search criteria. Each object contains company data fields.\"),\n}).passthrough().describe(\"Response schema for searching company objects.\");\n\nexport const phantombusterSearchCompanyObjects = action(\"PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS\", {\n slug: \"phantombuster-search-company-objects\",\n name: \"Search Company Objects\",\n description: \"Tool to search company objects in Phantombuster's organizational storage. Use when you need to find companies by specific criteria or perform a global search.\",\n input: PhantombusterSearchCompanyObjectsInput,\n output: PhantombusterSearchCompanyObjectsOutput,\n});\n"],"mappings":";;AAeA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoD,EAAE,OAAO;EAC7D,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EAC3L,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC7L,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACjK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const PhantombusterSearchLeadObjects_LeadObjectSchema = zod.z.object({ _id: zod.
|
|
|
6
6
|
const PhantombusterSearchLeadObjectsOutput = zod.z.object({
|
|
7
7
|
totalCount: zod.z.number().int().describe("Total count of leads matching the filter criteria.").nullable().optional(),
|
|
8
8
|
leadsObjects: zod.z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe("Array of lead objects matching the search criteria.")
|
|
9
|
-
}).describe("Response schema for searching lead objects.");
|
|
9
|
+
}).passthrough().describe("Response schema for searching lead objects.");
|
|
10
10
|
const phantombusterSearchLeadObjects = require_action.action("PHANTOMBUSTER_SEARCH_LEAD_OBJECTS", {
|
|
11
11
|
slug: "phantombuster-search-lead-objects",
|
|
12
12
|
name: "Search Lead Objects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-lead-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAO,EACjB,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AACvI,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"search-lead-objects.cjs","names":["z","action"],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).passthrough().describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAO,EACjB,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterSearchLeadObjectsOutput: z.ZodObject<{
|
|
|
11
11
|
leadsObjects: z.ZodArray<z.ZodObject<{
|
|
12
12
|
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
}, z.core.$loose>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterSearchLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
filter: {
|
|
17
17
|
[x: string]: unknown;
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterSearchLeadObjectsOutput: z.ZodObject<{
|
|
|
11
11
|
leadsObjects: z.ZodArray<z.ZodObject<{
|
|
12
12
|
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
}, z.core.$loose>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterSearchLeadObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
filter: {
|
|
17
17
|
[x: string]: unknown;
|
|
@@ -11,7 +11,7 @@ const phantombusterSearchLeadObjects = action("PHANTOMBUSTER_SEARCH_LEAD_OBJECTS
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
totalCount: z.number().int().describe("Total count of leads matching the filter criteria.").nullable().optional(),
|
|
13
13
|
leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe("Array of lead objects matching the search criteria.")
|
|
14
|
-
}).describe("Response schema for searching lead objects.")
|
|
14
|
+
}).passthrough().describe("Response schema for searching lead objects.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { phantombusterSearchLeadObjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-lead-objects.mjs","names":[],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EACjB,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"search-lead-objects.mjs","names":[],"sources":["../../src/actions/search-lead-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterSearchLeadObjectsInput = z.object({\n filter: z.object({\n __global_search__: z.string().describe(\"Global text search across all lead fields. Use this for broad keyword searches.\").optional(),\n}).passthrough().describe(\"Filter criteria for searching leads. Use '__global_search__' for simple text searches across all fields.\"),\n}).describe(\"Request model for searching lead objects in Phantombuster org storage.\");\nconst PhantombusterSearchLeadObjects_LeadObjectSchema = z.object({\n _id: z.string().describe(\"Unique identifier for the lead object.\").nullable().optional(),\n}).passthrough().describe(\"Lead object returned from search.\");\nexport const PhantombusterSearchLeadObjectsOutput = z.object({\n totalCount: z.number().int().describe(\"Total count of leads matching the filter criteria.\").nullable().optional(),\n leadsObjects: z.array(PhantombusterSearchLeadObjects_LeadObjectSchema).describe(\"Array of lead objects matching the search criteria.\"),\n}).passthrough().describe(\"Response schema for searching lead objects.\");\n\nexport const phantombusterSearchLeadObjects = action(\"PHANTOMBUSTER_SEARCH_LEAD_OBJECTS\", {\n slug: \"phantombuster-search-lead-objects\",\n name: \"Search Lead Objects\",\n description: \"Tool to search lead objects in Phantombuster org storage. Use when you need to find leads based on search criteria or filter conditions.\",\n input: PhantombusterSearchLeadObjectsInput,\n output: PhantombusterSearchLeadObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EACjB,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G,EACpI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const PhantombusterStopAgentInput = zod.z.object({
|
|
|
11
11
|
const PhantombusterStopAgentOutput = zod.z.object({
|
|
12
12
|
error: zod.z.string().describe("Error message if the stop operation failed.").nullable().optional(),
|
|
13
13
|
status: zod.z.string().describe("Status of the stop operation, e.g., 'success' or 'error'.").nullable().optional()
|
|
14
|
-
}).describe("Response schema for POST /agents/stop.");
|
|
14
|
+
}).passthrough().describe("Response schema for POST /agents/stop.");
|
|
15
15
|
const phantombusterStopAgent = require_action.action("PHANTOMBUSTER_STOP_AGENT", {
|
|
16
16
|
slug: "phantombuster-stop-agent",
|
|
17
17
|
name: "Stop Agent",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop-agent.cjs","names":["z","action"],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"stop-agent.cjs","names":["z","action"],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterStopAgentInput: z.ZodObject<{
|
|
|
11
11
|
declare const PhantombusterStopAgentOutput: z.ZodObject<{
|
|
12
12
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterStopAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: string;
|
|
17
17
|
softAbort?: boolean | undefined;
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterStopAgentInput: z.ZodObject<{
|
|
|
11
11
|
declare const PhantombusterStopAgentOutput: z.ZodObject<{
|
|
12
12
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterStopAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: string;
|
|
17
17
|
softAbort?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ const phantombusterStopAgent = action("PHANTOMBUSTER_STOP_AGENT", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
error: z.string().describe("Error message if the stop operation failed.").nullable().optional(),
|
|
16
16
|
status: z.string().describe("Status of the stop operation, e.g., 'success' or 'error'.").nullable().optional()
|
|
17
|
-
}).describe("Response schema for POST /agents/stop.")
|
|
17
|
+
}).passthrough().describe("Response schema for POST /agents/stop.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { phantombusterStopAgent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop-agent.mjs","names":[],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAClD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"stop-agent.mjs","names":[],"sources":["../../src/actions/stop-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterStopAgentInput = z.object({\n id: z.string().describe(\"Id of the agent to stop.\"),\n softAbort: z.boolean().describe(\"If true, tries to softly abort the agent.\").optional(),\n dontLaunchSoon: z.boolean().describe(\"If true, disables the next scheduled 'launch soon' of the agent.\").optional(),\n cascadeToAllSlaves: z.boolean().describe(\"If true, slave agents will recursively be stopped (even nested slaves).\").optional(),\n switchToManualLaunch: z.boolean().describe(\"If true, the agent will switch to manual launch.\").optional(),\n}).describe(\"Request model for POST /agents/stop.\");\nexport const PhantombusterStopAgentOutput = z.object({\n error: z.string().describe(\"Error message if the stop operation failed.\").nullable().optional(),\n status: z.string().describe(\"Status of the stop operation, e.g., 'success' or 'error'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for POST /agents/stop.\");\n\nexport const phantombusterStopAgent = action(\"PHANTOMBUSTER_STOP_AGENT\", {\n slug: \"phantombuster-stop-agent\",\n name: \"Stop Agent\",\n description: \"Tool to stop a running agent. Use when you need to halt agent execution, optionally cascading to slave agents or switching to manual launch mode.\",\n input: PhantombusterStopAgentInput,\n output: PhantombusterStopAgentOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAClD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PhantombusterUpdateScriptInput = zod.z.object({
|
|
|
9
9
|
const PhantombusterUpdateScriptOutput = zod.z.object({
|
|
10
10
|
data: zod.z.number().describe("Script ID if a new script was created, or null if an existing script was updated.").nullable().optional(),
|
|
11
11
|
status: zod.z.string().describe("Status of the operation (e.g., 'success').").nullable()
|
|
12
|
-
}).describe("Response schema for POST /api/v1/script/{name}.");
|
|
12
|
+
}).passthrough().describe("Response schema for POST /api/v1/script/{name}.");
|
|
13
13
|
const phantombusterUpdateScript = require_action.action("PHANTOMBUSTER_UPDATE_SCRIPT", {
|
|
14
14
|
slug: "phantombuster-update-script",
|
|
15
15
|
name: "Update Script (v1 API)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-script.cjs","names":["z","action"],"sources":["../../src/actions/update-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptInput = z.object({\n name: z.string().describe(\"Name of the script to update or create, with its extension (.js or .coffee).\"),\n text: z.string().describe(\"Full text contents of the script.\"),\n insertOnly: z.boolean().describe(\"If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.\").optional(),\n}).describe(\"Request model for updating or creating a script (Legacy v1 API).\");\nexport const PhantombusterUpdateScriptOutput = z.object({\n data: z.number().describe(\"Script ID if a new script was created, or null if an existing script was updated.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation (e.g., 'success').\").nullable(),\n}).describe(\"Response schema for POST /api/v1/script/{name}.\");\n\nexport const phantombusterUpdateScript = action(\"PHANTOMBUSTER_UPDATE_SCRIPT\", {\n slug: \"phantombuster-update-script\",\n name: \"Update Script (v1 API)\",\n description: \"Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.\",\n input: PhantombusterUpdateScriptInput,\n output: PhantombusterUpdateScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"update-script.cjs","names":["z","action"],"sources":["../../src/actions/update-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptInput = z.object({\n name: z.string().describe(\"Name of the script to update or create, with its extension (.js or .coffee).\"),\n text: z.string().describe(\"Full text contents of the script.\"),\n insertOnly: z.boolean().describe(\"If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.\").optional(),\n}).describe(\"Request model for updating or creating a script (Legacy v1 API).\");\nexport const PhantombusterUpdateScriptOutput = z.object({\n data: z.number().describe(\"Script ID if a new script was created, or null if an existing script was updated.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation (e.g., 'success').\").nullable(),\n}).passthrough().describe(\"Response schema for POST /api/v1/script/{name}.\");\n\nexport const phantombusterUpdateScript = action(\"PHANTOMBUSTER_UPDATE_SCRIPT\", {\n slug: \"phantombuster-update-script\",\n name: \"Update Script (v1 API)\",\n description: \"Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.\",\n input: PhantombusterUpdateScriptInput,\n output: PhantombusterUpdateScriptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PhantombusterUpdateScriptInput: z.ZodObject<{
|
|
|
9
9
|
declare const PhantombusterUpdateScriptOutput: z.ZodObject<{
|
|
10
10
|
data: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
status: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const phantombusterUpdateScript: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
text: string;
|
|
@@ -9,7 +9,7 @@ declare const PhantombusterUpdateScriptInput: z.ZodObject<{
|
|
|
9
9
|
declare const PhantombusterUpdateScriptOutput: z.ZodObject<{
|
|
10
10
|
data: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
status: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const phantombusterUpdateScript: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
text: string;
|
|
@@ -12,7 +12,7 @@ const phantombusterUpdateScript = action("PHANTOMBUSTER_UPDATE_SCRIPT", {
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
data: z.number().describe("Script ID if a new script was created, or null if an existing script was updated.").nullable().optional(),
|
|
14
14
|
status: z.string().describe("Status of the operation (e.g., 'success').").nullable()
|
|
15
|
-
}).describe("Response schema for POST /api/v1/script/{name}.")
|
|
15
|
+
}).passthrough().describe("Response schema for POST /api/v1/script/{name}.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { phantombusterUpdateScript };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-script.mjs","names":[],"sources":["../../src/actions/update-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptInput = z.object({\n name: z.string().describe(\"Name of the script to update or create, with its extension (.js or .coffee).\"),\n text: z.string().describe(\"Full text contents of the script.\"),\n insertOnly: z.boolean().describe(\"If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.\").optional(),\n}).describe(\"Request model for updating or creating a script (Legacy v1 API).\");\nexport const PhantombusterUpdateScriptOutput = z.object({\n data: z.number().describe(\"Script ID if a new script was created, or null if an existing script was updated.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation (e.g., 'success').\").nullable(),\n}).describe(\"Response schema for POST /api/v1/script/{name}.\");\n\nexport const phantombusterUpdateScript = action(\"PHANTOMBUSTER_UPDATE_SCRIPT\", {\n slug: \"phantombuster-update-script\",\n name: \"Update Script (v1 API)\",\n description: \"Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.\",\n input: PhantombusterUpdateScriptInput,\n output: PhantombusterUpdateScriptOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,SAAS,kEAUH;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-script.mjs","names":[],"sources":["../../src/actions/update-script.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptInput = z.object({\n name: z.string().describe(\"Name of the script to update or create, with its extension (.js or .coffee).\"),\n text: z.string().describe(\"Full text contents of the script.\"),\n insertOnly: z.boolean().describe(\"If true, make sure that we don't update an existing script. An error will be returned if a script with the same name already exists.\").optional(),\n}).describe(\"Request model for updating or creating a script (Legacy v1 API).\");\nexport const PhantombusterUpdateScriptOutput = z.object({\n data: z.number().describe(\"Script ID if a new script was created, or null if an existing script was updated.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation (e.g., 'success').\").nullable(),\n}).passthrough().describe(\"Response schema for POST /api/v1/script/{name}.\");\n\nexport const phantombusterUpdateScript = action(\"PHANTOMBUSTER_UPDATE_SCRIPT\", {\n slug: \"phantombuster-update-script\",\n name: \"Update Script (v1 API)\",\n description: \"Tool to update an existing script or create a new one if it does not exist (Legacy v1 API). Use when you need to save script code to Phantombuster. If insertOnly is true, the operation will fail if a script with the same name already exists.\",\n input: PhantombusterUpdateScriptInput,\n output: PhantombusterUpdateScriptOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,SAAS,kEAUH;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const PhantombusterUpdateScriptsAccessListInput = zod.z.object({
|
|
|
11
11
|
const PhantombusterUpdateScriptsAccessListOutput = zod.z.object({
|
|
12
12
|
message: zod.z.string().describe("Additional message about the operation result.").nullable().optional(),
|
|
13
13
|
success: zod.z.boolean().describe("Indicates whether the access list was successfully updated.").nullable()
|
|
14
|
-
}).describe("Response schema for updating script access list.");
|
|
14
|
+
}).passthrough().describe("Response schema for updating script access list.");
|
|
15
15
|
const phantombusterUpdateScriptsAccessList = require_action.action("PHANTOMBUSTER_UPDATE_SCRIPTS_ACCESS_LIST", {
|
|
16
16
|
slug: "phantombuster-update-scripts-access-list",
|
|
17
17
|
name: "Update Script Access List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-scripts-access-list.cjs","names":["z","action"],"sources":["../../src/actions/update-scripts-access-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptsAccessListInput = z.object({\n add: z.string().describe(\"Org or user to add in the access list.\").optional(),\n name: z.string().describe(\"Name of the script to update the access list of.\"),\n branch: z.string().describe(\"Name of the branch to update the access list of.\"),\n remove: z.string().describe(\"Org or user to remove from the access list.\").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 updating the access list of a script.\");\nexport const PhantombusterUpdateScriptsAccessListOutput = z.object({\n message: z.string().describe(\"Additional message about the operation result.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the access list was successfully updated.\").nullable(),\n}).describe(\"Response schema for updating script access list.\");\n\nexport const phantombusterUpdateScriptsAccessList = action(\"PHANTOMBUSTER_UPDATE_SCRIPTS_ACCESS_LIST\", {\n slug: \"phantombuster-update-scripts-access-list\",\n name: \"Update Script Access List\",\n description: \"Tool to update the access list of a script. Use when you need to add or remove users/orgs from a script's access list in a specific branch.\",\n input: PhantombusterUpdateScriptsAccessListInput,\n output: PhantombusterUpdateScriptsAccessListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"update-scripts-access-list.cjs","names":["z","action"],"sources":["../../src/actions/update-scripts-access-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PhantombusterUpdateScriptsAccessListInput = z.object({\n add: z.string().describe(\"Org or user to add in the access list.\").optional(),\n name: z.string().describe(\"Name of the script to update the access list of.\"),\n branch: z.string().describe(\"Name of the branch to update the access list of.\"),\n remove: z.string().describe(\"Org or user to remove from the access list.\").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 updating the access list of a script.\");\nexport const PhantombusterUpdateScriptsAccessListOutput = z.object({\n message: z.string().describe(\"Additional message about the operation result.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the access list was successfully updated.\").nullable(),\n}).passthrough().describe(\"Response schema for updating script access list.\");\n\nexport const phantombusterUpdateScriptsAccessList = action(\"PHANTOMBUSTER_UPDATE_SCRIPTS_ACCESS_LIST\", {\n slug: \"phantombuster-update-scripts-access-list\",\n name: \"Update Script Access List\",\n description: \"Tool to update the access list of a script. Use when you need to add or remove users/orgs from a script's access list in a specific branch.\",\n input: PhantombusterUpdateScriptsAccessListInput,\n output: PhantombusterUpdateScriptsAccessListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterUpdateScriptsAccessListInput: z.ZodObject<{
|
|
|
11
11
|
declare const PhantombusterUpdateScriptsAccessListOutput: z.ZodObject<{
|
|
12
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterUpdateScriptsAccessList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
branch: string;
|
|
@@ -11,7 +11,7 @@ declare const PhantombusterUpdateScriptsAccessListInput: z.ZodObject<{
|
|
|
11
11
|
declare const PhantombusterUpdateScriptsAccessListOutput: z.ZodObject<{
|
|
12
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const phantombusterUpdateScriptsAccessList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
branch: string;
|
|
@@ -14,7 +14,7 @@ const phantombusterUpdateScriptsAccessList = action("PHANTOMBUSTER_UPDATE_SCRIPT
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
message: z.string().describe("Additional message about the operation result.").nullable().optional(),
|
|
16
16
|
success: z.boolean().describe("Indicates whether the access list was successfully updated.").nullable()
|
|
17
|
-
}).describe("Response schema for updating script access list.")
|
|
17
|
+
}).passthrough().describe("Response schema for updating script access list.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { phantombusterUpdateScriptsAccessList };
|