@activepieces/piece-phantombuster 0.0.1 → 0.1.1

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/package.json CHANGED
@@ -1,23 +1,26 @@
1
1
  {
2
2
  "name": "@activepieces/piece-phantombuster",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
8
  "@sinclair/typebox": "0.34.11",
9
- "axios": "1.8.3",
9
+ "ai": "^6.0.0",
10
+ "axios": "1.13.1",
10
11
  "axios-retry": "4.4.1",
11
12
  "deepmerge-ts": "7.1.0",
13
+ "form-data": "4.0.4",
14
+ "i18next": "23.13.0",
12
15
  "mime-types": "2.1.35",
13
16
  "nanoid": "3.3.8",
14
17
  "semver": "7.6.0",
15
18
  "socket.io-client": "4.8.1",
16
19
  "tslib": "^2.3.0",
17
- "zod": "3.25.76",
18
- "@activepieces/pieces-common": "0.8.1",
19
- "@activepieces/pieces-framework": "0.20.2",
20
- "@activepieces/shared": "0.26.0"
20
+ "zod": "4.1.13",
21
+ "@activepieces/pieces-common": "0.11.2",
22
+ "@activepieces/pieces-framework": "0.24.0",
23
+ "@activepieces/shared": "0.32.0"
21
24
  },
22
25
  "resolutions": {
23
26
  "rollup": "npm:@rollup/wasm-node"
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automatisieren Sie Ihre Web-Sroping- und Web-Automatisierungsaufgaben",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Loggen Sie sich in Ihr Pushbullet Dashboard ein.\n2. Gehen Sie zu **https://phantombuster.com/workspace-settings**.\n3. auf die Registerkarte **API Keys** wechseln und API-Schlüssel **hinzufügen.\n4. Kopiere den API-Schlüssel in die Zwischenablage und füge ihn ein.\n",
4
+ "Launch Phantom": "Phantom starten",
5
+ "Custom API Call": "Eigener API-Aufruf",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Starte einen Phantombuster Agent und füge ihn zur Warteschlange hinzu",
7
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
8
+ "Agent": "Agent",
9
+ "Wait for Output": "Warten auf Ausgabe",
10
+ "Argument": "Argument",
11
+ "Max Retries": "Max. Wiederholungen",
12
+ "Method": "Methode",
13
+ "Headers": "Kopfzeilen",
14
+ "Query Parameters": "Abfrageparameter",
15
+ "Body Type": "Körpertyp",
16
+ "Body": "Körper",
17
+ "Response is Binary ?": "Antwort ist binär?",
18
+ "No Error on Failure": "Kein Fehler bei Fehler",
19
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
20
+ "Follow redirects": "Weiterleitungen folgen",
21
+ "Select the Phantombuster agent to use": "Phantombuster Agent auswählen",
22
+ "Wait until the agent execution completes and output is available": "Warten, bis die Agentenausführung abgeschlossen ist und die Ausgabe verfügbar ist",
23
+ "Optional argument to pass to the agent": "Optionales Argument, das an den Agent übergeben wird",
24
+ "Maximum number of retries if the agent fails": "Maximale Anzahl von Wiederholungen, wenn der Agent fehlschlägt",
25
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
26
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
27
+ "GET": "ERHALTEN",
28
+ "POST": "POST",
29
+ "PATCH": "PATCH",
30
+ "PUT": "PUT",
31
+ "DELETE": "LÖSCHEN",
32
+ "HEAD": "HEAD",
33
+ "None": "Keine",
34
+ "JSON": "JSON",
35
+ "Form Data": "Formulardaten",
36
+ "Raw": "Rohe",
37
+ "New Output": "Neue Ausgabe",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Auslösen wenn eine neue Ausgabe von einem Phantombuster Agent generiert wird ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automatiza tus tareas de raspado web y automatización web",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n",
4
+ "Launch Phantom": "Iniciar Fantasma",
5
+ "Custom API Call": "Llamada API personalizada",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Lanzar un agente de Phantombuster y añadirlo a la cola de ejecución",
7
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
8
+ "Agent": "Agente",
9
+ "Wait for Output": "Espere a la salida",
10
+ "Argument": "Argumento",
11
+ "Max Retries": "Reintentos máximos",
12
+ "Method": "Método",
13
+ "Headers": "Encabezados",
14
+ "Query Parameters": "Parámetros de consulta",
15
+ "Body Type": "Tipo de cuerpo",
16
+ "Body": "Cuerpo",
17
+ "Response is Binary ?": "¿Respuesta es binaria?",
18
+ "No Error on Failure": "No hay ningún error en fallo",
19
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
20
+ "Follow redirects": "Seguir redirecciones",
21
+ "Select the Phantombuster agent to use": "Seleccione el agente de Phantombuster para usar",
22
+ "Wait until the agent execution completes and output is available": "Espere hasta que se complete la ejecución del agente y la salida esté disponible",
23
+ "Optional argument to pass to the agent": "Argumento opcional para pasar al agente",
24
+ "Maximum number of retries if the agent fails": "Número máximo de reintentos si el agente falla",
25
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
26
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
27
+ "GET": "RECOGER",
28
+ "POST": "POST",
29
+ "PATCH": "PATCH",
30
+ "PUT": "PUT",
31
+ "DELETE": "BORRAR",
32
+ "HEAD": "LIMPIO",
33
+ "None": "Ninguna",
34
+ "JSON": "JSON",
35
+ "Form Data": "Datos de Formulario",
36
+ "Raw": "Rápido",
37
+ "New Output": "Nueva salida",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Activar cuando una nueva salida es generada por un agente Phantombuster ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automatisez vos tâches de grattage web et d'automatisation web",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n",
4
+ "Launch Phantom": "Lancer le Fantôme",
5
+ "Custom API Call": "Appel d'API personnalisé",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Lancez un agent Phantombuster et ajoutez-le à la file d’attente d’exécution",
7
+ "Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
8
+ "Agent": "Agent",
9
+ "Wait for Output": "Attendre la sortie",
10
+ "Argument": "Argument",
11
+ "Max Retries": "Nombre maximum de tentatives",
12
+ "Method": "Méthode",
13
+ "Headers": "Headers",
14
+ "Query Parameters": "Paramètres de requête",
15
+ "Body Type": "Body Type",
16
+ "Body": "Body",
17
+ "Response is Binary ?": "La réponse est Binaire ?",
18
+ "No Error on Failure": "Aucune erreur en cas d'échec",
19
+ "Timeout (in seconds)": "Délai d'expiration (en secondes)",
20
+ "Follow redirects": "Suivre les redirections",
21
+ "Select the Phantombuster agent to use": "Sélectionnez l'agent Phantombuster à utiliser",
22
+ "Wait until the agent execution completes and output is available": "Attendre que l'exécution de l'agent soit terminée et que la sortie soit disponible",
23
+ "Optional argument to pass to the agent": "Argument optionnel à passer à l'agent",
24
+ "Maximum number of retries if the agent fails": "Nombre maximum de tentatives si l'agent échoue",
25
+ "Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
26
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
27
+ "GET": "GET",
28
+ "POST": "POST",
29
+ "PATCH": "PATCH",
30
+ "PUT": "PUT",
31
+ "DELETE": "DELETE",
32
+ "HEAD": "HEAD",
33
+ "None": "Aucun",
34
+ "JSON": "JSON",
35
+ "Form Data": "Données du formulaire",
36
+ "Raw": "Brut",
37
+ "New Output": "Nouvelle sortie",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Déclencher quand une nouvelle sortie est générée par un agent Phantombuster ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "ウェブスクレイピングと自動化のタスク",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n",
4
+ "Launch Phantom": "Phantom を起動",
5
+ "Custom API Call": "カスタムAPI通話",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Phantombuster エージェントを起動し、実行キューに追加します",
7
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
8
+ "Agent": "エージェント",
9
+ "Wait for Output": "出力待ち",
10
+ "Argument": "引数",
11
+ "Max Retries": "最大再試行回数",
12
+ "Method": "方法",
13
+ "Headers": "ヘッダー",
14
+ "Query Parameters": "クエリパラメータ",
15
+ "Body Type": "ボディタイプ",
16
+ "Body": "本文",
17
+ "Response is Binary ?": "応答はバイナリですか?",
18
+ "No Error on Failure": "失敗時にエラーはありません",
19
+ "Timeout (in seconds)": "タイムアウト(秒)",
20
+ "Follow redirects": "リダイレクトをフォローする",
21
+ "Select the Phantombuster agent to use": "使用するファントムバスターエージェントを選択してください",
22
+ "Wait until the agent execution completes and output is available": "エージェントの実行が完了し、出力が可能になるまで待ちます。",
23
+ "Optional argument to pass to the agent": "エージェントに渡すオプション引数",
24
+ "Maximum number of retries if the agent fails": "エージェントが失敗した場合のリトライ回数の上限",
25
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
26
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
27
+ "GET": "取得",
28
+ "POST": "POST",
29
+ "PATCH": "PATCH",
30
+ "PUT": "PUT",
31
+ "DELETE": "削除",
32
+ "HEAD": "頭",
33
+ "None": "なし",
34
+ "JSON": "JSON",
35
+ "Form Data": "フォームデータ",
36
+ "Raw": "Raw",
37
+ "New Output": "新規出力",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Phantombuster エージェントによって新しい出力が生成されたときにトリガーします ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automatiseer uw web scraping en web automatisering taken",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Log in op uw Pushbullet Dashboard.\n2. Ga naar **https://phantombuster.com/workspace-settings**.\n3. wijzig naar het tabblad **API Key** en **Voeg API Key toe**.\n4. Kopieer de API Key naar het klembord en plak het.\n",
4
+ "Launch Phantom": "Start Phantom",
5
+ "Custom API Call": "Custom API Call",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Start een Phantombuster agent en voeg deze toe aan de executie wachtrij",
7
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
8
+ "Agent": "Agent",
9
+ "Wait for Output": "Wacht op uitvoer",
10
+ "Argument": "Argument",
11
+ "Max Retries": "Maximaal aantal pogingen",
12
+ "Method": "Methode",
13
+ "Headers": "Kopteksten",
14
+ "Query Parameters": "Query parameters",
15
+ "Body Type": "Type lichaam",
16
+ "Body": "Lichaam",
17
+ "Response is Binary ?": "Antwoord is binair?",
18
+ "No Error on Failure": "Geen fout bij fout",
19
+ "Timeout (in seconds)": "Time-out (in seconden)",
20
+ "Follow redirects": "Volg omleidingen",
21
+ "Select the Phantombuster agent to use": "Selecteer de Phantombuster agent om te gebruiken",
22
+ "Wait until the agent execution completes and output is available": "Wacht tot de agent uitvoert en uitvoer beschikbaar is",
23
+ "Optional argument to pass to the agent": "Optioneel argument om door te geven aan de agent",
24
+ "Maximum number of retries if the agent fails": "Maximum aantal nieuwe pogingen als de agent mislukt",
25
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
26
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
27
+ "GET": "KRIJG",
28
+ "POST": "POSTE",
29
+ "PATCH": "BEKIJK",
30
+ "PUT": "PUT",
31
+ "DELETE": "VERWIJDEREN",
32
+ "HEAD": "HOOFD",
33
+ "None": "geen",
34
+ "JSON": "JSON",
35
+ "Form Data": "Formulieren gegevens",
36
+ "Raw": "Onbewerkte",
37
+ "New Output": "Nieuwe uitvoer",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Activeer wanneer een nieuwe output wordt gegenereerd door een Phantombuster agent ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automatize seu scraping de web e tarefas de automação web",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Faça login no seu Painel de Pushbullet. U\n2. Vá para **https://phantombuster.com/workspace-settings**.\n3. mude para a guia **Chaves de API** e **Adicionar Chave de API**.\n4. Copie a Chave da API para a área de transferência e cole-a.\n",
4
+ "Launch Phantom": "Lançar Fantasma",
5
+ "Custom API Call": "Chamada de API personalizada",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Lança um agente Phantombuster e adicioná-lo à fila de execução",
7
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
8
+ "Agent": "Representante",
9
+ "Wait for Output": "Aguardar a saída",
10
+ "Argument": "Argumento",
11
+ "Max Retries": "Máximo de buscas",
12
+ "Method": "Método",
13
+ "Headers": "Cabeçalhos",
14
+ "Query Parameters": "Parâmetros da consulta",
15
+ "Body Type": "Tipo de Corpo",
16
+ "Body": "Conteúdo",
17
+ "Response is Binary ?": "A resposta é binária ?",
18
+ "No Error on Failure": "Nenhum erro no Failure",
19
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
20
+ "Follow redirects": "Seguir redirecionamentos",
21
+ "Select the Phantombuster agent to use": "Selecione o agente Phantombuster para usar",
22
+ "Wait until the agent execution completes and output is available": "Aguarde até que a execução do agente seja concluída e saída disponível",
23
+ "Optional argument to pass to the agent": "Argumento opcional para passar para o agente",
24
+ "Maximum number of retries if the agent fails": "Número máximo de tentativas se o agente falhar",
25
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
26
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
27
+ "GET": "OBTER",
28
+ "POST": "POSTAR",
29
+ "PATCH": "COMPRAR",
30
+ "PUT": "COLOCAR",
31
+ "DELETE": "EXCLUIR",
32
+ "HEAD": "CABEÇA",
33
+ "None": "Nenhuma",
34
+ "JSON": "JSON",
35
+ "Form Data": "Dados de Formulário",
36
+ "Raw": "RAW",
37
+ "New Output": "Nova Saída",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Aciona quando uma nova saída é gerada por um agente Phantombuster ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automate your web scraping and web automation tasks",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n",
4
+ "Launch Phantom": "Launch Phantom",
5
+ "Custom API Call": "Custom API Call",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Launch a Phantombuster agent and add it to the execution queue",
7
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
8
+ "Agent": "Agent",
9
+ "Wait for Output": "Wait for Output",
10
+ "Argument": "Argument",
11
+ "Max Retries": "Max Retries",
12
+ "Method": "Method",
13
+ "Headers": "Headers",
14
+ "Query Parameters": "Query Parameters",
15
+ "Body Type": "Body Type",
16
+ "Body": "Body",
17
+ "Response is Binary ?": "Response is Binary ?",
18
+ "No Error on Failure": "No Error on Failure",
19
+ "Timeout (in seconds)": "Timeout (in seconds)",
20
+ "Follow redirects": "Follow redirects",
21
+ "Select the Phantombuster agent to use": "Select the Phantombuster agent to use",
22
+ "Wait until the agent execution completes and output is available": "Wait until the agent execution completes and output is available",
23
+ "Optional argument to pass to the agent": "Optional argument to pass to the agent",
24
+ "Maximum number of retries if the agent fails": "Maximum number of retries if the agent fails",
25
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
26
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
27
+ "GET": "GET",
28
+ "POST": "POST",
29
+ "PATCH": "PATCH",
30
+ "PUT": "PUT",
31
+ "DELETE": "DELETE",
32
+ "HEAD": "HEAD",
33
+ "None": "None",
34
+ "JSON": "JSON",
35
+ "Form Data": "Form Data",
36
+ "Raw": "Raw",
37
+ "New Output": "New Output",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Trigger when a new output is generated by a Phantombuster agent ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "Automate your web scraping and web automation tasks": "Automate your web scraping and web automation tasks",
3
+ "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n": "\n1. Login to your Pushbullet Dashboard.\n2. Go to **https://phantombuster.com/workspace-settings**.\n3. change to the **API Keys** tab and **Add API Key**.\n4. Copy the API Key to the clipboard and paste it.\n",
4
+ "Launch Phantom": "Launch Phantom",
5
+ "Custom API Call": "自定义 API 呼叫",
6
+ "Launch a Phantombuster agent and add it to the execution queue": "Launch a Phantombuster agent and add it to the execution queue",
7
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
8
+ "Agent": "Agent",
9
+ "Wait for Output": "Wait for Output",
10
+ "Argument": "Argument",
11
+ "Max Retries": "Max Retries",
12
+ "Method": "方法",
13
+ "Headers": "信头",
14
+ "Query Parameters": "查询参数",
15
+ "Body Type": "Body Type",
16
+ "Body": "正文内容",
17
+ "Response is Binary ?": "Response is Binary ?",
18
+ "No Error on Failure": "失败时没有错误",
19
+ "Timeout (in seconds)": "超时(秒)",
20
+ "Follow redirects": "Follow redirects",
21
+ "Select the Phantombuster agent to use": "Select the Phantombuster agent to use",
22
+ "Wait until the agent execution completes and output is available": "Wait until the agent execution completes and output is available",
23
+ "Optional argument to pass to the agent": "Optional argument to pass to the agent",
24
+ "Maximum number of retries if the agent fails": "Maximum number of retries if the agent fails",
25
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
26
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
27
+ "GET": "获取",
28
+ "POST": "帖子",
29
+ "PATCH": "PATCH",
30
+ "PUT": "弹出",
31
+ "DELETE": "删除",
32
+ "HEAD": "黑色",
33
+ "None": "无",
34
+ "JSON": "JSON",
35
+ "Form Data": "表单数据",
36
+ "Raw": "原始文件",
37
+ "New Output": "New Output",
38
+ "Trigger when a new output is generated by a Phantombuster agent ": "Trigger when a new output is generated by a Phantombuster agent ",
39
+ "Markdown": "Markdown",
40
+ "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - ": "## Webhook Configuration\n\nTo use this trigger, you need to configure a webhook URL in your Phantombuster agent:\n\n### Steps to Configure:\n1. Go to your Phantombuster agent page\n2. Click on **Settings**\n3. Select **Advanced Notification Settings**\n4. Input the webhook URL in the webhook field:\n```\n{{webhookUrl}}\n```\n\n### Supported Exit Messages (Status Values):\n- `finished` - Agent completed successfully (exitCode: 0)\n- `killed` - Agent was killed\n- `global timeout` - Global timeout reached\n- `org timeout` - Organization timeout reached\n- `agent timeout` - Agent timeout reached\n- `unknown` - Unknown status\n\n### Important Notes:\n- Maximum webhook timeout: 11 seconds\n- Webhooks accept POST requests only\n- Maximum 2 redirections allowed\n- Response body is ignored (you don't need to respond with data)\n\n[Learn more about webhooks](https://hub.phantombuster.com/docs/using-webhooks)"
41
+ }
package/src/index.js CHANGED
@@ -25,7 +25,7 @@ exports.phantombuster = (0, pieces_framework_1.createPiece)({
25
25
  authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
26
26
  const apiKey = auth;
27
27
  return {
28
- 'X-Phantombuster-Key': `${apiKey}`,
28
+ 'X-Phantombuster-Key': `${apiKey.secret_text}`,
29
29
  'Content-Type': 'application/json',
30
30
  };
31
31
  }),
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/phantombuster/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,iEAA6D;AAC7D,4CAAsD;AACtD,0DAAsD;AACtD,+DAAwE;AACxE,gDAA+C;AAC/C,iDAAqD;AAExC,QAAA,aAAa,GAAG,IAAA,8BAAW,EAAC;IACvC,WAAW,EAAE,eAAe;IAC5B,IAAI,EAAE,wBAAiB;IACvB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,uDAAuD;IAChE,WAAW,EAAE,qDAAqD;IAClE,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,EAAE,sBAAa,CAAC,aAAa,CAAC;IAClE,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,OAAO,EAAE;QACP,8BAAa;QACb,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,wBAAiB;YACvB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAQ;YACvB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,MAAM,MAAM,GAAG,IAAI,CAAC;gBACpB,OAAO;oBACL,qBAAqB,EAAE,GAAG,MAAgB,EAAE;oBAC5C,cAAc,EAAE,kBAAkB;iBACnC,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE,CAAC,sBAAS,CAAC;CACtB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/phantombuster/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,iEAA6D;AAC7D,4CAAsD;AACtD,0DAAsD;AACtD,+DAAwE;AACxE,gDAA+C;AAC/C,iDAAqD;AAExC,QAAA,aAAa,GAAG,IAAA,8BAAW,EAAC;IACvC,WAAW,EAAE,eAAe;IAC5B,IAAI,EAAE,wBAAiB;IACvB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,uDAAuD;IAChE,WAAW,EAAE,qDAAqD;IAClE,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,EAAE,sBAAa,CAAC,aAAa,CAAC;IAClE,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,OAAO,EAAE;QACP,8BAAa;QACb,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,wBAAiB;YACvB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAQ;YACvB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,MAAM,MAAM,GAAG,IAAI,CAAC;gBACpB,OAAO;oBACL,qBAAqB,EAAE,GAAG,MAAM,CAAC,WAAW,EAAE;oBAC9C,cAAc,EAAE,kBAAkB;iBACnC,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE,CAAC,sBAAS,CAAC;CACtB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export declare const launchPhantom: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
2
- agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true>;
2
+ agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
3
3
  waitForOutput: import("@activepieces/pieces-framework").CheckboxProperty<false>;
4
4
  argument: import("@activepieces/pieces-framework").ObjectProperty<false>;
5
5
  maxRetries: import("@activepieces/pieces-framework").NumberProperty<false>;
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const pieces_common_1 = require("@activepieces/pieces-common");
6
6
  const pieces_framework_1 = require("@activepieces/pieces-framework");
7
7
  const client_1 = require("./client");
8
+ const shared_1 = require("@activepieces/shared");
8
9
  const authHelpDescription = `
9
10
  1. Login to your Pushbullet Dashboard.
10
11
  2. Go to **https://phantombuster.com/workspace-settings**.
@@ -17,7 +18,7 @@ exports.phantombusterAuth = pieces_framework_1.PieceAuth.SecretText({
17
18
  required: true,
18
19
  validate: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
19
20
  try {
20
- yield (0, client_1.makeRequest)(auth.auth, pieces_common_1.HttpMethod.GET, '/agents/fetch-all');
21
+ yield (0, client_1.makeRequest)({ secret_text: auth.auth, type: shared_1.AppConnectionType.SECRET_TEXT }, pieces_common_1.HttpMethod.GET, '/agents/fetch-all');
21
22
  return { valid: true };
22
23
  }
23
24
  catch (e) {
@@ -1 +1 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/auth.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAA2D;AAC3D,qCAAuC;AAEvC,MAAM,mBAAmB,GAAG;;;;;CAK3B,CAAC;AAEW,QAAA,iBAAiB,GAAG,4BAAS,CAAC,UAAU,CAAC;IACpD,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,CAAO,IAAI,EAAE,EAAE;QACvB,IAAI,CAAC;YACH,MAAM,IAAA,oBAAW,EACf,IAAI,CAAC,IAAc,EACnB,0BAAU,CAAC,GAAG,EACd,mBAAmB,CACpB,CAAC;YACF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,6CAA6C;aACrD,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/auth.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAA2D;AAC3D,qCAAuC;AACvC,iDAAyD;AAEzD,MAAM,mBAAmB,GAAG;;;;;CAK3B,CAAC;AAEW,QAAA,iBAAiB,GAAG,4BAAS,CAAC,UAAU,CAAC;IACpD,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,CAAO,IAAI,EAAE,EAAE;QACvB,IAAI,CAAC;YACH,MAAM,IAAA,oBAAW,EACf,EAAE,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,0BAAiB,CAAC,WAAW,EAAE,EAC/D,0BAAU,CAAC,GAAG,EACd,mBAAmB,CACpB,CAAC;YACF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,6CAA6C;aACrD,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;CACF,CAAC,CAAC"}
@@ -1,3 +1,5 @@
1
1
  import { HttpMethod } from '@activepieces/pieces-common';
2
+ import { AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
3
+ import { phantombusterAuth } from './auth';
2
4
  export declare const BASE_URL = "https://api.phantombuster.com/api/v2";
3
- export declare function makeRequest(apiKey: string, method: HttpMethod, path: string, body?: unknown): Promise<any>;
5
+ export declare function makeRequest(apiKey: AppConnectionValueForAuthProperty<typeof phantombusterAuth>, method: HttpMethod, path: string, body?: unknown): Promise<any>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/client.ts"],"names":[],"mappings":";;;AAIA,kCAqBC;;AAzBD,+DAAqE;AAExD,QAAA,QAAQ,GAAG,sCAAsC,CAAC;AAE/D,SAAsB,WAAW,CAC/B,MAAc,EACd,MAAkB,EAClB,IAAY,EACZ,IAAc;;QAEd,IAAI,CAAC;YACH,OAAO,CAAC,GAAG,CAAE,GAAG,gBAAQ,GAAG,IAAI,EAAE,CAAC,CAAA;YAClC,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,MAAM;gBACN,GAAG,EAAE,GAAG,gBAAQ,GAAG,IAAI,EAAE;gBACzB,OAAO,EAAE;oBACP,qBAAqB,EAAE,GAAG,MAAM,EAAE;oBAClC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI;aACL,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACvB,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CAAC,qBAAqB,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/client.ts"],"names":[],"mappings":";;;AAMA,kCAqBC;;AA3BD,+DAAqE;AAIxD,QAAA,QAAQ,GAAG,sCAAsC,CAAC;AAE/D,SAAsB,WAAW,CAC/B,MAAmE,EACnE,MAAkB,EAClB,IAAY,EACZ,IAAc;;QAEd,IAAI,CAAC;YACH,OAAO,CAAC,GAAG,CAAE,GAAG,gBAAQ,GAAG,IAAI,EAAE,CAAC,CAAA;YAClC,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,MAAM;gBACN,GAAG,EAAE,GAAG,gBAAQ,GAAG,IAAI,EAAE;gBACzB,OAAO,EAAE;oBACP,qBAAqB,EAAE,GAAG,MAAM,EAAE;oBAClC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI;aACL,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACvB,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CAAC,qBAAqB,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;CAAA"}
@@ -1 +1 @@
1
- export declare const agentIdDropdown: import("@activepieces/pieces-framework").DropdownProperty<unknown, true>;
1
+ export declare const agentIdDropdown: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
@@ -5,7 +5,9 @@ const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const client_1 = require("./client");
7
7
  const pieces_common_1 = require("@activepieces/pieces-common");
8
+ const auth_1 = require("./auth");
8
9
  exports.agentIdDropdown = pieces_framework_1.Property.Dropdown({
10
+ auth: auth_1.phantombusterAuth,
9
11
  displayName: 'Agent',
10
12
  description: 'Select the Phantombuster agent to use',
11
13
  required: true,
@@ -1 +1 @@
1
- {"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/props.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,qCAAuC;AACvC,+DAAyD;AAE5C,QAAA,eAAe,GAAG,2BAAQ,CAAC,QAAQ,CAAC;IAC/C,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,uCAAuC;IACpD,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACtB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO;gBACL,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2CAA2C;aACzD,CAAC;QACJ,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAChC,IAAc,EACd,0BAAU,CAAC,GAAG,EACd,mBAAmB,CACpB,CAAC;QAEF,OAAO;YACL,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC;gBACrC,KAAK,EAAE,KAAK,CAAC,IAAI,GAAG,GAAG,GAAG,KAAK,CAAC,SAAS;gBACzC,KAAK,EAAE,KAAK,CAAC,EAAE;aAChB,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/phantombuster/src/lib/common/props.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,qCAAuC;AACvC,+DAAyD;AACzD,iCAA2C;AAE9B,QAAA,eAAe,GAAG,2BAAQ,CAAC,QAAQ,CAAC;IAC/C,IAAI,EAAE,wBAAiB;IACvB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,uCAAuC;IACpD,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACtB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO;gBACL,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2CAA2C;aACzD,CAAC;QACJ,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAChC,IAAI,EACJ,0BAAU,CAAC,GAAG,EACd,mBAAmB,CACpB,CAAC;QAEF,OAAO;YACL,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC;gBACrC,KAAK,EAAE,KAAK,CAAC,IAAI,GAAG,GAAG,GAAG,KAAK,CAAC,SAAS;gBACzC,KAAK,EAAE,KAAK,CAAC,EAAE;aAChB,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import { TriggerStrategy } from '@activepieces/pieces-framework';
2
2
  export declare const newOutput: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
3
- agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true>;
3
+ agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
4
4
  markdown: import("dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
5
5
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
6
- agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true>;
6
+ agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
7
+ markdown: import("dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
8
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
9
+ agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
7
10
  markdown: import("dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
8
11
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
9
- agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true>;
12
+ agentId: import("@activepieces/pieces-framework").DropdownProperty<unknown, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
10
13
  markdown: import("dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
11
14
  }>;