AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(apify): ui improvement (#16503)
Talal Jaberfca123f317e1
diff --git a/bun.lock b/bun.lockindex 6f36763aaf8..1da43eb4868 100644--- a/bun.lock+++ b/bun.lock@@ -718,7 +718,7 @@},"packages/pieces/community/apify": {"name": "@activepieces/piece-apify",- "version": "0.3.1",+ "version": "0.4.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",@@ -728,6 +728,7 @@},"devDependencies": {"tslib": "2.6.2",+ "vitest": "3.2.6",},},"packages/pieces/community/apitable": {diff --git a/packages/pieces/community/apify/package.json b/packages/pieces/community/apify/package.jsonindex 1e56fb3ed06..501d71ffdd1 100644--- a/packages/pieces/community/apify/package.json+++ b/packages/pieces/community/apify/package.json@@ -1,12 +1,13 @@{"name": "@activepieces/piece-apify",- "version": "0.3.1",+ "version": "0.4.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {"build": "tsc -p tsconfig.lib.json && cp package.json dist/","bundle": "node ../../../../dist/packages/cli/src/index.js pieces bundle",- "lint": "eslint 'src/**/*.ts'"+ "lint": "eslint 'src/**/*.ts'",+ "test": "vitest run"},"dependencies": {"@activepieces/pieces-common": "workspace:*",@@ -16,6 +17,7 @@"@activepieces/core-utils": "workspace:*"},"devDependencies": {- "tslib": "2.6.2"+ "tslib": "2.6.2",+ "vitest": "3.2.6"}}diff --git a/packages/pieces/community/apify/src/i18n/de.json b/packages/pieces/community/apify/src/i18n/de.jsonindex e943a85202d..deb0c2c46b9 100644--- a/packages/pieces/community/apify/src/i18n/de.json+++ b/packages/pieces/community/apify/src/i18n/de.json@@ -75,7 +75,7 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",- "Dataset": "Dataset",+ "Dataset": "Datensatz","Offset": "Versatz","Limit": "Limit","Actor Source": "Akteur-Quelle",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "Eintragsschlüssel","Search Query": "Suchanfrage","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -219,6 +219,45 @@"Watch Task Runs": "Aufgaben ansehen","Triggers a Flow on Apify Actor run events": "Löst einen Flow bei Apify Actor Run-Events aus","Triggers a Flow on Apify Actor task run events": "Löst einen Flow bei Apify Actor Task-Run-Events aus",- "Statuses": "Statuses",- "Run statuses to watch.": "Status zum Beobachten ausführen."+ "Statuses": "Status",+ "Run statuses to watch.": "Status zum Beobachten ausführen.",+ "Items to skip from the start.": "Anzahl der Elemente, die am Anfang übersprungen werden.",+ "Maximum number of items to return. Must be above 0.": "Maximale Anzahl der zurückgegebenen Elemente. Muss größer als 0 sein.",+ "Runs an Actor and, if you wait, returns its results.": "Führt einen Akteur aus und gibt, wenn Sie warten, seine Ergebnisse zurück.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Ihre zuletzt ausgeführten Akteure oder ein beliebiger öffentlicher Akteur im Apify Store.",+ "Recently Used": "Kürzlich verwendet",+ "Type to search by name.": "Tippen Sie, um nach Namen zu suchen.",+ "Build tag or number to run. Empty: the default build.": "Build-Tag oder -Nummer, die ausgeführt werden soll. Leer: der Standard-Build.",+ "Memory": "Speicher",+ "Empty: the Actor's default memory.": "Leer: der Standardspeicher des Akteurs.",+ "Timeout": "Zeitlimit",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Sekunden, bis der Lauf gestoppt wird. Leer: der Standardwert des Akteurs.",+ "Wait for Finish": "Auf Abschluss warten",+ "On: waits and returns the run's dataset items. Off: only starts it.": "An: wartet und gibt die Datensatzelemente des Laufs zurück. Aus: startet ihn nur.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Führt eine gespeicherte Akteur-Aufgabe aus und gibt, wenn Sie warten, ihre Ergebnisse zurück.",+ "Task": "Aufgabe",+ "A saved task from your Apify account.": "Eine gespeicherte Aufgabe aus Ihrem Apify-Konto.",+ "Empty: the memory set in the task.": "Leer: der in der Aufgabe festgelegte Speicher.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Sekunden, bis der Lauf gestoppt wird. Leer: die Einstellung der Aufgabe.",+ "Gets a record from a key-value store by its key.": "Ruft einen Eintrag anhand seines Schlüssels aus einem Key-Value-Store ab.",+ "Key-Value Store": "Key-Value-Store",+ "The store that holds the record.": "Der Store, der den Eintrag enthält.",+ "The key the record is saved under.": "Der Schlüssel, unter dem der Eintrag gespeichert ist.",+ "Gets one page's content as Markdown and HTML using Apify.": "Ruft den Inhalt einer Seite mit Apify als Markdown und HTML ab.",+ "Must start with http:// or https://.": "Muss mit http:// oder https:// beginnen.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Reines HTTP ist am schnellsten, führt aber kein JavaScript aus. Adaptiv und Firefox rendern die Seite; Firefox wird am seltensten blockiert.",+ "Raw HTTP": "Reines HTTP",+ "Adaptive": "Adaptiv",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "Wird als ?key=value an die URL angehängt.",+ "Response is Binary": "Antwort ist binär",+ "Return Error as Output": "Fehler als Ausgabe zurückgeben",+ "On a failed request, output the error instead of failing the step.": "Bei einer fehlgeschlagenen Anfrage den Fehler ausgeben, statt den Schritt abzubrechen.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Sekunden bis zur Antwort. Leer: bis zum Flow-Limit (10 Min.).",+ "Follow 3xx redirects instead of returning them as the response.": "3xx-Weiterleitungen folgen, statt sie als Antwort zurückzugeben.",+ "Fires when a run of the Actor ends with a chosen status.": "Wird ausgelöst, wenn ein Lauf des Akteurs mit einem gewählten Status endet.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Wenn Sie diesen Flow aktivieren, wird ein Webhook in Ihrem Apify-Konto erstellt. Beim Deaktivieren wird er entfernt.",+ "Run outcomes that start the flow.": "Laufergebnisse, die den Flow starten.",+ "Fires when a run of the task ends with a chosen status.": "Wird ausgelöst, wenn ein Lauf der Aufgabe mit einem gewählten Status endet."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/es.json b/packages/pieces/community/apify/src/i18n/es.jsonindex e9f7b897d38..9860127ed78 100644--- a/packages/pieces/community/apify/src/i18n/es.json+++ b/packages/pieces/community/apify/src/i18n/es.json@@ -75,12 +75,12 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",- "Dataset": "Dataset",+ "Dataset": "Conjunto de datos","Offset": "Desplazamiento","Limit": "Límite","Actor Source": "Fuente del actor","Actor": "Actor",- "Input": "Input",+ "Input": "Entrada","Build": "Construir","Memory (MB)": "Memoria (MB)","Timeout (seconds)": "Tiempo agotado (segundos)",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "Clave del registro","Search Query": "Buscar consulta","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -219,6 +219,45 @@"Watch Task Runs": "Ver Ejecutar tareas","Triggers a Flow on Apify Actor run events": "Desencadena un flujo en el Actor Apify para ejecutar eventos","Triggers a Flow on Apify Actor task run events": "Desencadena un flujo en la tarea Actor de Apificar eventos",- "Statuses": "Statuses",- "Run statuses to watch.": "Ejecutar estados para ver."+ "Statuses": "Estados",+ "Run statuses to watch.": "Ejecutar estados para ver.",+ "Items to skip from the start.": "Elementos que se omiten desde el inicio.",+ "Maximum number of items to return. Must be above 0.": "Número máximo de elementos a devolver. Debe ser mayor que 0.",+ "Runs an Actor and, if you wait, returns its results.": "Ejecuta un Actor y, si espera, devuelve sus resultados.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Sus Actores ejecutados recientemente o cualquier Actor público del Apify Store.",+ "Recently Used": "Usados recientemente",+ "Type to search by name.": "Escriba para buscar por nombre.",+ "Build tag or number to run. Empty: the default build.": "Etiqueta o número de la compilación a ejecutar. Vacío: la compilación predeterminada.",+ "Memory": "Memoria",+ "Empty: the Actor's default memory.": "Vacío: la memoria predeterminada del Actor.",+ "Timeout": "Tiempo de espera",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Segundos antes de detener la ejecución. Vacío: el valor predeterminado del Actor.",+ "Wait for Finish": "Esperar a que termine",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Activado: espera y devuelve los elementos del conjunto de datos de la ejecución. Desactivado: solo la inicia.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Ejecuta una tarea de Actor guardada y, si espera, devuelve sus resultados.",+ "Task": "Tarea",+ "A saved task from your Apify account.": "Una tarea guardada de su cuenta de Apify.",+ "Empty: the memory set in the task.": "Vacío: la memoria configurada en la tarea.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Segundos antes de detener la ejecución. Vacío: la configuración de la tarea.",+ "Gets a record from a key-value store by its key.": "Obtiene un registro de un almacén clave-valor por su clave.",+ "Key-Value Store": "Almacén clave-valor",+ "The store that holds the record.": "El almacén que contiene el registro.",+ "The key the record is saved under.": "La clave con la que se guardó el registro.",+ "Gets one page's content as Markdown and HTML using Apify.": "Obtiene el contenido de una página como Markdown y HTML con Apify.",+ "Must start with http:// or https://.": "Debe comenzar con http:// o https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "HTTP sin procesar es el más rápido, pero omite JavaScript. Adaptativo y Firefox renderizan la página; Firefox es el que menos se bloquea.",+ "Raw HTTP": "HTTP sin procesar",+ "Adaptive": "Adaptativo",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "Se añade a la URL como ?key=value.",+ "Response is Binary": "Respuesta binaria",+ "Return Error as Output": "Devolver error como salida",+ "On a failed request, output the error instead of failing the step.": "Si la solicitud falla, devuelve el error en lugar de fallar el paso.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera de la respuesta. Vacío: hasta el límite del flujo (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Seguir las redirecciones 3xx en lugar de devolverlas como respuesta.",+ "Fires when a run of the Actor ends with a chosen status.": "Se activa cuando una ejecución del Actor termina con un estado elegido.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Al activar este flujo se crea un webhook en su cuenta de Apify. Al desactivarlo, se elimina.",+ "Run outcomes that start the flow.": "Resultados de ejecución que inician el flujo.",+ "Fires when a run of the task ends with a chosen status.": "Se activa cuando una ejecución de la tarea termina con un estado elegido."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/fr.json b/packages/pieces/community/apify/src/i18n/fr.jsonindex 2b4bb4b28bc..597041cd8c0 100644--- a/packages/pieces/community/apify/src/i18n/fr.json+++ b/packages/pieces/community/apify/src/i18n/fr.json@@ -75,7 +75,7 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",- "Dataset": "Dataset",+ "Dataset": "Jeu de données","Offset": "Décalage","Limit": "Limite","Actor Source": "Source de l'acteur",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "Clé de l'enregistrement","Search Query": "Requête de recherche","Run ID": "Lancer l'ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -106,10 +106,10 @@"Key Prefix": "Key Prefix","Name": "Nom","Method": "Méthode",- "Headers": "Headers",+ "Headers": "En-têtes","Query Parameters": "Paramètres de requête",- "Body Type": "Body Type",- "Body": "Body",+ "Body Type": "Type de corps",+ "Body": "Corps","Response is Binary ?": "La réponse est Binaire ?","No Error on Failure": "Aucune erreur en cas d'échec","Timeout (in seconds)": "Délai d'expiration (en secondes)",@@ -219,6 +219,45 @@"Watch Task Runs": "Regarder les tâches exécutées","Triggers a Flow on Apify Actor run events": "Déclenche un flux sur les événements exécutés par Apify Actor","Triggers a Flow on Apify Actor task run events": "Déclenche un flux sur les événements exécutés par Apify Actor",- "Statuses": "Statuses",- "Run statuses to watch.": "Exécuter les statuts à regarder."+ "Statuses": "Statuts",+ "Run statuses to watch.": "Exécuter les statuts à regarder.",+ "Items to skip from the start.": "Nombre d'éléments à ignorer depuis le début.",+ "Maximum number of items to return. Must be above 0.": "Nombre maximal d'éléments à renvoyer. Doit être supérieur à 0.",+ "Runs an Actor and, if you wait, returns its results.": "Exécute un acteur et, si vous attendez, renvoie ses résultats.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Vos acteurs récemment exécutés, ou tout acteur public de l'Apify Store.",+ "Recently Used": "Récemment utilisés",+ "Type to search by name.": "Saisissez du texte pour rechercher par nom.",+ "Build tag or number to run. Empty: the default build.": "Tag ou numéro du build à exécuter. Vide : le build par défaut.",+ "Memory": "Mémoire",+ "Empty: the Actor's default memory.": "Vide : la mémoire par défaut de l'acteur.",+ "Timeout": "Délai d'expiration",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Secondes avant l'arrêt de l'exécution. Vide : la valeur par défaut de l'acteur.",+ "Wait for Finish": "Attendre la fin",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Activé : attend et renvoie les éléments du jeu de données de l'exécution. Désactivé : la démarre seulement.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Exécute une tâche d'acteur enregistrée et, si vous attendez, renvoie ses résultats.",+ "Task": "Tâche",+ "A saved task from your Apify account.": "Une tâche enregistrée dans votre compte Apify.",+ "Empty: the memory set in the task.": "Vide : la mémoire définie dans la tâche.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Secondes avant l'arrêt de l'exécution. Vide : le paramètre de la tâche.",+ "Gets a record from a key-value store by its key.": "Récupère un enregistrement d'un magasin clé-valeur à partir de sa clé.",+ "Key-Value Store": "Magasin clé-valeur",+ "The store that holds the record.": "Le magasin qui contient l'enregistrement.",+ "The key the record is saved under.": "La clé sous laquelle l'enregistrement est stocké.",+ "Gets one page's content as Markdown and HTML using Apify.": "Récupère le contenu d'une page en Markdown et HTML avec Apify.",+ "Must start with http:// or https://.": "Doit commencer par http:// ou https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "HTTP brut est le plus rapide mais ignore JavaScript. Adaptatif et Firefox effectuent le rendu ; Firefox est le moins souvent bloqué.",+ "Raw HTTP": "HTTP brut",+ "Adaptive": "Adaptatif",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "Ajouté à l'URL sous la forme ?key=value.",+ "Response is Binary": "La réponse est binaire",+ "Return Error as Output": "Renvoyer l'erreur comme sortie",+ "On a failed request, output the error instead of failing the step.": "En cas d'échec de la requête, renvoyer l'erreur au lieu de faire échouer l'étape.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Secondes d'attente de la réponse. Vide : jusqu'à la limite du flux (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Suivre les redirections 3xx au lieu de les renvoyer comme réponse.",+ "Fires when a run of the Actor ends with a chosen status.": "Se déclenche lorsqu'une exécution de l'acteur se termine avec un statut choisi.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Activer ce flux crée un webhook dans votre compte Apify. Le désactiver le supprime.",+ "Run outcomes that start the flow.": "Résultats d'exécution qui démarrent le flux.",+ "Fires when a run of the task ends with a chosen status.": "Se déclenche lorsqu'une exécution de la tâche se termine avec un statut choisi."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/ja.json b/packages/pieces/community/apify/src/i18n/ja.jsonindex 4ecd819a11c..8b7be4fd026 100644--- a/packages/pieces/community/apify/src/i18n/ja.json+++ b/packages/pieces/community/apify/src/i18n/ja.json@@ -75,12 +75,12 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",- "Dataset": "Dataset",+ "Dataset": "データセット","Offset": "オフセット","Limit": "制限","Actor Source": "アクターソース",- "Actor": "Actor",- "Input": "Input",+ "Actor": "アクター",+ "Input": "入力","Build": "ビルド","Memory (MB)": "メモリ (MB)","Timeout (seconds)": "タイムアウト (秒)",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "レコードキー","Search Query": "検索クエリ","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -219,6 +219,45 @@"Watch Task Runs": "タスクの実行を見る","Triggers a Flow on Apify Actor run events": "Apifyアクターの実行時にフローをトリガーする","Triggers a Flow on Apify Actor task run events": "アクターのタスク実行時にフローをトリガーする",- "Statuses": "Statuses",- "Run statuses to watch.": "監視するステータスを実行します。"+ "Statuses": "ステータス",+ "Run statuses to watch.": "監視するステータスを実行します。",+ "Items to skip from the start.": "先頭からスキップする項目数。",+ "Maximum number of items to return. Must be above 0.": "返す項目の最大数。0 より大きい値を指定してください。",+ "Runs an Actor and, if you wait, returns its results.": "アクターを実行し、待機する場合はその結果を返します。",+ "Your recently run Actors, or any public Actor in the Apify Store.": "最近実行したアクター、または Apify Store の任意の公開アクター。",+ "Recently Used": "最近使用",+ "Type to search by name.": "入力して名前で検索します。",+ "Build tag or number to run. Empty: the default build.": "実行するビルドのタグまたは番号。空欄: デフォルトのビルド。",+ "Memory": "メモリ",+ "Empty: the Actor's default memory.": "空欄: アクターのデフォルトのメモリ。",+ "Timeout": "タイムアウト",+ "Seconds before the run is stopped. Empty: the Actor's default.": "実行を停止するまでの秒数。空欄: アクターのデフォルト。",+ "Wait for Finish": "完了を待つ",+ "On: waits and returns the run's dataset items. Off: only starts it.": "オン: 待機して実行のデータセット項目を返します。オフ: 開始のみ行います。",+ "Runs a saved Actor task and, if you wait, returns its results.": "保存済みのアクタータスクを実行し、待機する場合はその結果を返します。",+ "Task": "タスク",+ "A saved task from your Apify account.": "Apify アカウントに保存されたタスク。",+ "Empty: the memory set in the task.": "空欄: タスクで設定されたメモリ。",+ "Seconds before the run is stopped. Empty: the task's setting.": "実行を停止するまでの秒数。空欄: タスクの設定。",+ "Gets a record from a key-value store by its key.": "キーを指定してキー値ストアからレコードを取得します。",+ "Key-Value Store": "キー値ストア",+ "The store that holds the record.": "レコードを保持するストア。",+ "The key the record is saved under.": "レコードが保存されているキー。",+ "Gets one page's content as Markdown and HTML using Apify.": "Apify を使って 1 ページの内容を Markdown と HTML で取得します。",+ "Must start with http:// or https://.": "http:// または https:// で始まる必要があります。",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Raw HTTP は最速ですが JavaScript を実行しません。アダプティブと Firefox はページをレンダリングし、Firefox が最もブロックされにくくなります。",+ "Raw HTTP": "Raw HTTP",+ "Adaptive": "アダプティブ",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "?key=value として URL に追加されます。",+ "Response is Binary": "応答はバイナリ",+ "Return Error as Output": "エラーを出力として返す",+ "On a failed request, output the error instead of failing the step.": "リクエスト失敗時にステップを失敗させず、エラーを出力します。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "応答を待つ秒数。空欄: フローの上限(10 分)まで。",+ "Follow 3xx redirects instead of returning them as the response.": "3xx リダイレクトを応答として返さずに追従します。",+ "Fires when a run of the Actor ends with a chosen status.": "アクターの実行が選択したステータスで終了したときに起動します。",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "このフローをオンにすると、Apify アカウントに Webhook が作成されます。オフにすると削除されます。",+ "Run outcomes that start the flow.": "フローを開始する実行結果。",+ "Fires when a run of the task ends with a chosen status.": "タスクの実行が選択したステータスで終了したときに起動します。"}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/nl.json b/packages/pieces/community/apify/src/i18n/nl.jsonindex 5c51eaf62f5..3b88c168039 100644--- a/packages/pieces/community/apify/src/i18n/nl.json+++ b/packages/pieces/community/apify/src/i18n/nl.json@@ -36,7 +36,7 @@"Create Task": "Taak maken","Get Account": "Get Account","Get Account Limits": "Get Account Limits",- "Custom API Call": "Custom API Call",+ "Custom API Call": "Aangepaste API-aanroep","Retrieves items from a dataset.": "Haal items op uit een dataset.","Runs an Actor and returns all associated details.": "Voert een acteur uit en retourneert alle bijbehorende details.","Runs an Actor task and returns all associated details.": "Voert een actortaak uit en geeft alle bijbehorende details weer.",@@ -80,7 +80,7 @@"Limit": "Limiet","Actor Source": "Bron van acteur","Actor": "Acteur",- "Input": "Input",+ "Input": "Invoer","Build": "Bouwen","Memory (MB)": "Geheugen (MB)","Timeout (seconds)": "Time-out (seconden)",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "Recordsleutel","Search Query": "Zoek query","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -219,6 +219,45 @@"Watch Task Runs": "Bekijk taak uitvoeringen","Triggers a Flow on Apify Actor run events": "Triggert een gloed op Apify Actor start evenementen","Triggers a Flow on Apify Actor task run events": "Toren een flow op Apify Actor taak uit te voeren gebeurtenissen",- "Statuses": "Statuses",- "Run statuses to watch.": "Voer statussen uit om te bekijken."+ "Statuses": "Statussen",+ "Run statuses to watch.": "Voer statussen uit om te bekijken.",+ "Items to skip from the start.": "Aantal items dat aan het begin wordt overgeslagen.",+ "Maximum number of items to return. Must be above 0.": "Maximum aantal items om terug te geven. Moet groter zijn dan 0.",+ "Runs an Actor and, if you wait, returns its results.": "Voert een acteur uit en geeft, als u wacht, de resultaten terug.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Uw recent uitgevoerde acteurs, of een openbare acteur in de Apify Store.",+ "Recently Used": "Recent gebruikt",+ "Type to search by name.": "Typ om op naam te zoeken.",+ "Build tag or number to run. Empty: the default build.": "Build-tag of -nummer om uit te voeren. Leeg: de standaardbuild.",+ "Memory": "Geheugen",+ "Empty: the Actor's default memory.": "Leeg: het standaardgeheugen van de acteur.",+ "Timeout": "Time-out",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Seconden voordat de run wordt gestopt. Leeg: de standaardwaarde van de acteur.",+ "Wait for Finish": "Wachten tot voltooid",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Aan: wacht en geeft de dataset-items van de run terug. Uit: start de run alleen.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Voert een opgeslagen acteurtaak uit en geeft, als u wacht, de resultaten terug.",+ "Task": "Taak",+ "A saved task from your Apify account.": "Een opgeslagen taak uit uw Apify-account.",+ "Empty: the memory set in the task.": "Leeg: het geheugen dat in de taak is ingesteld.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Seconden voordat de run wordt gestopt. Leeg: de instelling van de taak.",+ "Gets a record from a key-value store by its key.": "Haalt een record op uit een sleutel-waardeopslag op basis van de sleutel.",+ "Key-Value Store": "Sleutel-waardeopslag",+ "The store that holds the record.": "De opslag die het record bevat.",+ "The key the record is saved under.": "De sleutel waaronder het record is opgeslagen.",+ "Gets one page's content as Markdown and HTML using Apify.": "Haalt de inhoud van één pagina op als Markdown en HTML met Apify.",+ "Must start with http:// or https://.": "Moet beginnen met http:// of https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Raw HTTP is het snelst maar slaat JavaScript over. Adaptief en Firefox renderen de pagina; Firefox wordt het minst geblokkeerd.",+ "Raw HTTP": "Raw HTTP",+ "Adaptive": "Adaptief",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "Toegevoegd aan de URL als ?key=value.",+ "Response is Binary": "Antwoord is binair",+ "Return Error as Output": "Fout als uitvoer teruggeven",+ "On a failed request, output the error instead of failing the step.": "Bij een mislukt verzoek de fout als uitvoer geven in plaats van de stap te laten mislukken.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconden wachten op een antwoord. Leeg: tot de flowlimiet (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "3xx-omleidingen volgen in plaats van ze als antwoord terug te geven.",+ "Fires when a run of the Actor ends with a chosen status.": "Wordt geactiveerd wanneer een run van de acteur eindigt met een gekozen status.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Als u deze flow inschakelt, wordt er een webhook in uw Apify-account aangemaakt. Als u hem uitschakelt, wordt die verwijderd.",+ "Run outcomes that start the flow.": "Run-resultaten die de flow starten.",+ "Fires when a run of the task ends with a chosen status.": "Wordt geactiveerd wanneer een run van de taak eindigt met een gekozen status."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/pt.json b/packages/pieces/community/apify/src/i18n/pt.jsonindex 62b7d3867d4..b9ad466440c 100644--- a/packages/pieces/community/apify/src/i18n/pt.json+++ b/packages/pieces/community/apify/src/i18n/pt.json@@ -75,7 +75,7 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",- "Dataset": "Dataset",+ "Dataset": "Conjunto de dados","Offset": "Deslocamento","Limit": "Limitar","Actor Source": "Fonte de Ator",@@ -95,7 +95,7 @@"Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "Chave do registro","Search Query": "Consulta de Pesquisa","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -219,6 +219,45 @@"Watch Task Runs": "Assistir à Tarefa Executa","Triggers a Flow on Apify Actor run events": "Aciona um fluxo em eventos de execução do Apify Actor","Triggers a Flow on Apify Actor task run events": "Aciona um fluxo no execução de eventos do Apify Actor",- "Statuses": "Statuses",- "Run statuses to watch.": "Execute status para assistir."+ "Statuses": "Status",+ "Run statuses to watch.": "Execute status para assistir.",+ "Items to skip from the start.": "Itens a ignorar a partir do início.",+ "Maximum number of items to return. Must be above 0.": "Número máximo de itens a retornar. Deve ser maior que 0.",+ "Runs an Actor and, if you wait, returns its results.": "Executa um Ator e, se você aguardar, retorna os resultados.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Seus Atores executados recentemente ou qualquer Ator público da Apify Store.",+ "Recently Used": "Usados recentemente",+ "Type to search by name.": "Digite para pesquisar pelo nome.",+ "Build tag or number to run. Empty: the default build.": "Tag ou número da compilação a executar. Vazio: a compilação padrão.",+ "Memory": "Memória",+ "Empty: the Actor's default memory.": "Vazio: a memória padrão do Ator.",+ "Timeout": "Tempo limite",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Segundos até a execução ser interrompida. Vazio: o padrão do Ator.",+ "Wait for Finish": "Aguardar conclusão",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Ativado: aguarda e retorna os itens do conjunto de dados da execução. Desativado: apenas a inicia.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Executa uma tarefa de Ator salva e, se você aguardar, retorna os resultados.",+ "Task": "Tarefa",+ "A saved task from your Apify account.": "Uma tarefa salva na sua conta Apify.",+ "Empty: the memory set in the task.": "Vazio: a memória definida na tarefa.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Segundos até a execução ser interrompida. Vazio: a configuração da tarefa.",+ "Gets a record from a key-value store by its key.": "Obtém um registro de um armazenamento chave-valor pela sua chave.",+ "Key-Value Store": "Armazenamento chave-valor",+ "The store that holds the record.": "O armazenamento que contém o registro.",+ "The key the record is saved under.": "A chave sob a qual o registro está salvo.",+ "Gets one page's content as Markdown and HTML using Apify.": "Obtém o conteúdo de uma página como Markdown e HTML usando o Apify.",+ "Must start with http:// or https://.": "Deve começar com http:// ou https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "HTTP bruto é o mais rápido, mas ignora JavaScript. Adaptativo e Firefox renderizam a página; o Firefox é o menos bloqueado.",+ "Raw HTTP": "HTTP bruto",+ "Adaptive": "Adaptativo",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "Adicionado à URL como ?key=value.",+ "Response is Binary": "A resposta é binária",+ "Return Error as Output": "Retornar erro como saída",+ "On a failed request, output the error instead of failing the step.": "Se a requisição falhar, retorna o erro em vez de falhar a etapa.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera pela resposta. Vazio: até o limite do fluxo (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Seguir redirecionamentos 3xx em vez de retorná-los como resposta.",+ "Fires when a run of the Actor ends with a chosen status.": "Dispara quando uma execução do Ator termina com um status escolhido.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Ativar este fluxo cria um webhook na sua conta Apify. Desativá-lo o remove.",+ "Run outcomes that start the flow.": "Resultados de execução que iniciam o fluxo.",+ "Fires when a run of the task ends with a chosen status.": "Dispara quando uma execução da tarefa termina com um status escolhido."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/ru.json b/packages/pieces/community/apify/src/i18n/ru.jsonindex 53b0c1218d7..3355c39a9ce 100644--- a/packages/pieces/community/apify/src/i18n/ru.json+++ b/packages/pieces/community/apify/src/i18n/ru.json@@ -1,6 +1,6 @@{"Access Apify tools for web scraping, data extraction, and automation.": "Получите доступ к инструментам Apify для веб-скрейпинга, извлечения данных и автоматизации.",- "API Key": "API Key",+ "API Key": "Ключ API","Find your API key on Apify in the settings, API & Integrations section.": "Найдите свой API Key в Apify в разделе settings, API & Integrations.","Enter API key authentication details": "Введите данные аутентификации API Key","Get Dataset Items": "Получить элементы Dataset",@@ -46,15 +46,15 @@"The type of crawler to use.": "Тип используемого Crawler.","Recently Used Actors": "Недавно использованные Actors","Apify Store": "Apify Store",- "128 MB": "128 MB",- "256 MB": "256 MB",- "512 MB": "512 MB",- "1024 MB": "1024 MB",- "2048 MB": "2048 MB",- "4096 MB": "4096 MB",- "8192 MB": "8192 MB",- "16384 MB": "16384 MB",- "32768 MB": "32768 MB",+ "128 MB": "128 МБ",+ "256 MB": "256 МБ",+ "512 MB": "512 МБ",+ "1024 MB": "1024 МБ",+ "2048 MB": "2048 МБ",+ "4096 MB": "4096 МБ",+ "8192 MB": "8192 МБ",+ "16384 MB": "16384 МБ",+ "32768 MB": "32768 МБ","Cheerio": "Cheerio","JSDOM": "JSDOM","Playwright Adaptive": "Playwright Adaptive",@@ -68,5 +68,36 @@"Aborted": "Прервано","Failed": "Не удалось","Succeeded": "Успешно",- "Timed Out": "Тайм-аут"+ "Timed Out": "Тайм-аут",+ "Items to skip from the start.": "Количество элементов, пропускаемых в начале.",+ "Maximum number of items to return. Must be above 0.": "Максимальное количество возвращаемых элементов. Должно быть больше 0.",+ "Runs an Actor and, if you wait, returns its results.": "Запускает Actor и, если вы ждёте, возвращает его результаты.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Недавно запущенные вами Actors или любой публичный Actor в Apify Store.",+ "Recently Used": "Недавно использованные",+ "Type to search by name.": "Начните вводить для поиска по имени.",+ "Build tag or number to run. Empty: the default build.": "Тег или номер сборки для запуска. Пусто: сборка по умолчанию.",+ "Empty: the Actor's default memory.": "Пусто: память Actor по умолчанию.",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Секунды до остановки запуска. Пусто: значение Actor по умолчанию.",+ "Wait for Finish": "Ждать завершения",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Вкл.: ожидает и возвращает элементы dataset запуска. Выкл.: только запускает его.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Запускает сохранённый Task Actor и, если вы ждёте, возвращает его результаты.",+ "Task": "Task",+ "A saved task from your Apify account.": "Сохранённый Task из вашего аккаунта Apify.",+ "Empty: the memory set in the task.": "Пусто: память, заданная в Task.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Секунды до остановки запуска. Пусто: настройка Task.",+ "Gets a record from a key-value store by its key.": "Получает запись из Key-Value Store по её ключу.",+ "Key-Value Store": "Key-Value Store",+ "The store that holds the record.": "Хранилище, содержащее запись.",+ "The key the record is saved under.": "Ключ, под которым сохранена запись.",+ "Gets one page's content as Markdown and HTML using Apify.": "Получает содержимое одной страницы в формате Markdown и HTML с помощью Apify.",+ "Must start with http:// or https://.": "Должен начинаться с http:// или https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Raw HTTP — самый быстрый, но не выполняет JavaScript. Адаптивный и Firefox отрисовывают страницу; Firefox блокируют реже всего.",+ "Raw HTTP": "Raw HTTP",+ "Adaptive": "Адаптивный",+ "Firefox": "Firefox",+ "Fires when a run of the Actor ends with a chosen status.": "Срабатывает, когда запуск Actor завершается с выбранным статусом.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Включение этого Flow создаёт webhook в вашем аккаунте Apify. Выключение удаляет его.",+ "Run outcomes that start the flow.": "Итоги запуска, при которых стартует Flow.",+ "Fires when a run of the task ends with a chosen status.": "Срабатывает, когда запуск Task завершается с выбранным статусом."}diff --git a/packages/pieces/community/apify/src/i18n/translation.json b/packages/pieces/community/apify/src/i18n/translation.jsonindex cb2be0f46f0..3badb0c241c 100644--- a/packages/pieces/community/apify/src/i18n/translation.json+++ b/packages/pieces/community/apify/src/i18n/translation.json@@ -38,10 +38,10 @@"Get Account Limits": "Get Account Limits","Custom API Call": "Custom API Call","Retrieves items from a dataset.": "Retrieves items from a dataset.",- "Runs an Actor and returns all associated details.": "Runs an Actor and returns all associated details.",- "Runs an Actor task and returns all associated details.": "Runs an Actor task and returns all associated details.",- "Retrieves a value stored in the key-value store under a specific key": "Retrieves a value stored in the key-value store under a specific key",- "Scrape a single URL using the Apify Website Content Crawler Actor and get its content as markdown and HTML.": "Scrape a single URL using the Apify Website Content Crawler Actor and get its content as markdown and HTML.",+ "Runs an Actor and, if you wait, returns its results.": "Runs an Actor and, if you wait, returns its results.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Runs a saved Actor task and, if you wait, returns its results.",+ "Gets a record from a key-value store by its key.": "Gets a record from a key-value store by its key.",+ "Gets one page's content as Markdown and HTML using Apify.": "Gets one page's content as Markdown and HTML using Apify.","Starts an Apify Actor by ID and optionally waits for it to finish.": "Starts an Apify Actor by ID and optionally waits for it to finish.","Runs a saved Apify Actor task by ID and optionally waits for it to finish.": "Runs a saved Apify Actor task by ID and optionally waits for it to finish.","Retrieves stored result items from an Apify dataset by dataset ID.": "Retrieves stored result items from an Apify dataset by dataset ID.",@@ -82,20 +82,23 @@"Actor": "Actor","Input": "Input","Build": "Build",- "Memory (MB)": "Memory (MB)",- "Timeout (seconds)": "Timeout (seconds)",- "Wait for finish": "Wait for finish",- "Actor Task": "Actor Task",- "Key-Value Store ID": "Key-Value Store ID",- "Key-Value Store Record Key": "Key-Value Store Record Key",+ "Memory": "Memory",+ "Timeout": "Timeout",+ "Wait for Finish": "Wait for Finish",+ "Task": "Task",+ "Key-Value Store": "Key-Value Store",+ "Record Key": "Record Key","URL": "URL","Crawler Type": "Crawler Type","Actor ID": "Actor ID","Input JSON": "Input JSON",+ "Memory (MB)": "Memory (MB)",+ "Timeout (seconds)": "Timeout (seconds)",+ "Wait for finish": "Wait for finish","Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Key-Value Store ID": "Key-Value Store ID","Search Query": "Search Query","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -112,24 +115,23 @@"Body": "Body","Response is Binary": "Response is Binary","Return Error as Output": "Return Error as Output",- "Timeout": "Timeout","Follow redirects": "Follow redirects","Select the dataset to get items from.": "Select the dataset to get items from.",- "Number of items that should be skipped at the start. The default value is `0`.": "Number of items that should be skipped at the start. The default value is `0`.",- "Maximum number of results to return. Must be greater than 0.": "Maximum number of results to return. Must be greater than 0.",- "Select an Actor from the list.": "Select an Actor from the list.",- "Build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration (typically `latest`).": "Build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration (typically `latest`).",- "Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the default run configuration for the Actor.": "Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the default run configuration for the Actor.",- "Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the Actor.": "Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the Actor.",- "If enabled, the step waits for the Actor run to finish and returns the run’s dataset items as the step output.": "If enabled, the step waits for the Actor run to finish and returns the run’s dataset items as the step output.",- "Select a task from the list.": "Select a task from the list.",- "Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the task settings.": "Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the task settings.",- "Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the task settings.": "Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the task settings.",- "If enabled, the step waits for the task run to finish and returns the run’s dataset items as the step output.": "If enabled, the step waits for the task run to finish and returns the run’s dataset items as the step output.",- "The ID of the Key-Value Store.": "The ID of the Key-Value Store.",- "The key of the record to be retrieved.": "The key of the record to be retrieved.",- "URL to be scraped. Must start with http:// or https:// and be a valid URL.": "URL to be scraped. Must start with http:// or https:// and be a valid URL.",- "The type of crawler to use.": "The type of crawler to use.",+ "Items to skip from the start.": "Items to skip from the start.",+ "Maximum number of items to return. Must be above 0.": "Maximum number of items to return. Must be above 0.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Your recently run Actors, or any public Actor in the Apify Store.",+ "Type to search by name.": "Type to search by name.",+ "Build tag or number to run. Empty: the default build.": "Build tag or number to run. Empty: the default build.",+ "Empty: the Actor's default memory.": "Empty: the Actor's default memory.",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Seconds before the run is stopped. Empty: the Actor's default.",+ "On: waits and returns the run's dataset items. Off: only starts it.": "On: waits and returns the run's dataset items. Off: only starts it.",+ "A saved task from your Apify account.": "A saved task from your Apify account.",+ "Empty: the memory set in the task.": "Empty: the memory set in the task.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Seconds before the run is stopped. Empty: the task's setting.",+ "The store that holds the record.": "The store that holds the record.",+ "The key the record is saved under.": "The key the record is saved under.",+ "Must start with http:// or https://.": "Must start with http:// or https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.","The ID (or \"username~actor-name\") of the Actor to run. Obtain it from Find Actor (public Apify Store search) or List Actors (your account's own actors).": "The ID (or \"username~actor-name\") of the Actor to run. Obtain it from Find Actor (public Apify Store search) or List Actors (your account's own actors).","JSON input body for the run. Get the field names/types/required from Get Actor Input Schema for this actor. If omitted, the Actor uses the input from its default run configuration.": "JSON input body for the run. Get the field names/types/required from Get Actor Input Schema for this actor. If omitted, the Actor uses the input from its default run configuration.","Build to run — a build tag or build number. Defaults to the build in the Actor's default run configuration (typically \"latest\").": "Build to run — a build tag or build number. Defaults to the build in the Actor's default run configuration (typically \"latest\").",@@ -187,7 +189,7 @@"On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.","Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).","Follow 3xx redirects instead of returning them as the response.": "Follow 3xx redirects instead of returning them as the response.",- "Recently Used Actors": "Recently Used Actors",+ "Recently Used": "Recently Used","Apify Store": "Apify Store","128 MB": "128 MB","256 MB": "256 MB",@@ -198,6 +200,9 @@"8192 MB": "8192 MB","16384 MB": "16384 MB","32768 MB": "32768 MB",+ "Raw HTTP": "Raw HTTP",+ "Adaptive": "Adaptive",+ "Firefox": "Firefox","Cheerio": "Cheerio","Playwright Adaptive": "Playwright Adaptive","Playwright Firefox": "Playwright Firefox",@@ -217,8 +222,10 @@"HEAD": "HEAD","Watch Actor Runs": "Watch Actor Runs","Watch Task Runs": "Watch Task Runs",- "Triggers a Flow on Apify Actor run events": "Triggers a Flow on Apify Actor run events",- "Triggers a Flow on Apify Actor task run events": "Triggers a Flow on Apify Actor task run events",+ "Fires when a run of the Actor ends with a chosen status.": "Fires when a run of the Actor ends with a chosen status.",+ "Fires when a run of the task ends with a chosen status.": "Fires when a run of the task ends with a chosen status.",+ "Markdown": "Markdown","Statuses": "Statuses",- "Run statuses to watch.": "Run statuses to watch."+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.",+ "Run outcomes that start the flow.": "Run outcomes that start the flow."}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/i18n/vi.json b/packages/pieces/community/apify/src/i18n/vi.jsonindex 9bb9f2e21f0..145e5e7d96a 100644--- a/packages/pieces/community/apify/src/i18n/vi.json+++ b/packages/pieces/community/apify/src/i18n/vi.json@@ -1,6 +1,6 @@{"Access Apify tools for web scraping, data extraction, and automation.": "Truy cập các công cụ Apify để thu thập dữ liệu web, trích xuất dữ liệu và tự động hóa.",- "API Key": "API Key",+ "API Key": "Khóa API","Find your API key on Apify in the settings, API & Integrations section.": "Tìm API Key của bạn trên Apify trong phần settings, API & Integrations.","Enter API key authentication details": "Nhập chi tiết xác thực API Key","Get Dataset Items": "Lấy các mục Dataset",@@ -68,5 +68,36 @@"Aborted": "Đã hủy","Failed": "Thất bại","Succeeded": "Thành công",- "Timed Out": "Hết thời gian"+ "Timed Out": "Hết thời gian",+ "Items to skip from the start.": "Số mục cần bỏ qua từ đầu.",+ "Maximum number of items to return. Must be above 0.": "Số mục tối đa cần trả về. Phải lớn hơn 0.",+ "Runs an Actor and, if you wait, returns its results.": "Chạy Actor và, nếu bạn chờ, trả về kết quả của nó.",+ "Your recently run Actors, or any public Actor in the Apify Store.": "Các Actor bạn đã chạy gần đây, hoặc bất kỳ Actor công khai nào trong Apify Store.",+ "Recently Used": "Đã dùng gần đây",+ "Type to search by name.": "Nhập để tìm theo tên.",+ "Build tag or number to run. Empty: the default build.": "Thẻ hoặc số bản dựng cần chạy. Để trống: bản dựng mặc định.",+ "Empty: the Actor's default memory.": "Để trống: bộ nhớ mặc định của Actor.",+ "Seconds before the run is stopped. Empty: the Actor's default.": "Số giây trước khi lần chạy bị dừng. Để trống: giá trị mặc định của Actor.",+ "Wait for Finish": "Chờ hoàn thành",+ "On: waits and returns the run's dataset items. Off: only starts it.": "Bật: chờ và trả về các mục dataset của lần chạy. Tắt: chỉ khởi chạy.",+ "Runs a saved Actor task and, if you wait, returns its results.": "Chạy một Task của Actor đã lưu và, nếu bạn chờ, trả về kết quả của nó.",+ "Task": "Task",+ "A saved task from your Apify account.": "Một Task đã lưu trong tài khoản Apify của bạn.",+ "Empty: the memory set in the task.": "Để trống: bộ nhớ được đặt trong Task.",+ "Seconds before the run is stopped. Empty: the task's setting.": "Số giây trước khi lần chạy bị dừng. Để trống: thiết lập của Task.",+ "Gets a record from a key-value store by its key.": "Lấy một bản ghi từ Key-Value Store theo khóa của nó.",+ "Key-Value Store": "Key-Value Store",+ "The store that holds the record.": "Kho chứa bản ghi.",+ "The key the record is saved under.": "Khóa mà bản ghi được lưu dưới đó.",+ "Gets one page's content as Markdown and HTML using Apify.": "Lấy nội dung của một trang dưới dạng Markdown và HTML bằng Apify.",+ "Must start with http:// or https://.": "Phải bắt đầu bằng http:// hoặc https://.",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "Raw HTTP nhanh nhất nhưng bỏ qua JavaScript. Thích ứng và Firefox có hiển thị trang; Firefox ít bị chặn nhất.",+ "Raw HTTP": "Raw HTTP",+ "Adaptive": "Thích ứng",+ "Firefox": "Firefox",+ "Fires when a run of the Actor ends with a chosen status.": "Kích hoạt khi một lần chạy của Actor kết thúc với trạng thái đã chọn.",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "Bật Flow này sẽ tạo một webhook trong tài khoản Apify của bạn. Tắt Flow sẽ xóa webhook đó.",+ "Run outcomes that start the flow.": "Các kết quả chạy sẽ khởi động Flow.",+ "Fires when a run of the task ends with a chosen status.": "Kích hoạt khi một lần chạy của Task kết thúc với trạng thái đã chọn."}diff --git a/packages/pieces/community/apify/src/i18n/zh.json b/packages/pieces/community/apify/src/i18n/zh.jsonindex 86d3840380c..d28109c05e5 100644--- a/packages/pieces/community/apify/src/i18n/zh.json+++ b/packages/pieces/community/apify/src/i18n/zh.json@@ -1,13 +1,13 @@{- "Access Apify tools for web scraping, data extraction, and automation.": "Access Apify tools for web scraping, data extraction, and automation.",+ "Access Apify tools for web scraping, data extraction, and automation.": "使用 Apify 工具进行网页抓取、数据提取和自动化。","API Key": "API 密钥",- "Find your API key on Apify in the settings, API & Integrations section.": "Find your API key on Apify in the settings, API & Integrations section.",- "Enter API key authentication details": "Enter API key authentication details",- "Get Dataset Items": "Get Dataset Items",- "Run Actor": "Run Actor",- "Run Task": "Run Task",- "Get Key-Value Store Record": "Get Key-Value Store Record",- "Scrape Single URL": "Scrape Single URL",+ "Find your API key on Apify in the settings, API & Integrations section.": "在 Apify 设置的 API & Integrations 部分找到您的 API 密钥。",+ "Enter API key authentication details": "输入 API 密钥认证信息",+ "Get Dataset Items": "获取数据集项目",+ "Run Actor": "运行 Actor",+ "Run Task": "运行任务",+ "Get Key-Value Store Record": "获取键值存储记录",+ "Scrape Single URL": "抓取单个 URL","Scrape URL": "Scrape URL","Find Actor": "Find Actor","Get Actor": "Get Actor",@@ -37,7 +37,7 @@"Get Account": "Get Account","Get Account Limits": "Get Account Limits","Custom API Call": "自定义 API 呼叫",- "Retrieves items from a dataset.": "Retrieves items from a dataset.",+ "Retrieves items from a dataset.": "从数据集中检索项目。","Runs an Actor and returns all associated details.": "Runs an Actor and returns all associated details.","Runs an Actor task and returns all associated details.": "Runs an Actor task and returns all associated details.","Retrieves a value stored in the key-value store under a specific key": "Retrieves a value stored in the key-value store under a specific key",@@ -75,13 +75,13 @@"Retrieves the authenticated Apify account profile.": "Retrieves the authenticated Apify account profile.","Retrieves the authenticated account's plan limits and current usage.": "Retrieves the authenticated account's plan limits and current usage.","Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",- "Dataset": "Dataset",- "Offset": "Offset",- "Limit": "Limit",- "Actor Source": "Actor Source",+ "Dataset": "数据集",+ "Offset": "偏移量",+ "Limit": "限制",+ "Actor Source": "Actor 来源","Actor": "Actor",- "Input": "Input",- "Build": "Build",+ "Input": "输入",+ "Build": "构建","Memory (MB)": "Memory (MB)","Timeout (seconds)": "Timeout (seconds)","Wait for finish": "Wait for finish",@@ -89,13 +89,13 @@"Key-Value Store ID": "Key-Value Store ID","Key-Value Store Record Key": "Key-Value Store Record Key","URL": "URL",- "Crawler Type": "Crawler Type",+ "Crawler Type": "爬虫类型","Actor ID": "Actor ID","Input JSON": "Input JSON","Task ID": "Task ID","Override Input JSON": "Override Input JSON","Dataset ID": "Dataset ID",- "Record Key": "Record Key",+ "Record Key": "记录键","Search Query": "Search Query","Run ID": "Run ID","Wait For Finish (seconds)": "Wait For Finish (seconds)",@@ -108,13 +108,13 @@"Method": "方法","Headers": "信头","Query Parameters": "查询参数",- "Body Type": "Body Type",+ "Body Type": "正文类型","Body": "正文内容","Response is Binary ?": "Response is Binary ?","No Error on Failure": "失败时没有错误","Timeout (in seconds)": "超时(秒)",- "Follow redirects": "Follow redirects",- "Select the dataset to get items from.": "Select the dataset to get items from.",+ "Follow redirects": "跟随重定向",+ "Select the dataset to get items from.": "选择要从中获取项目的数据集。","Number of items that should be skipped at the start. The default value is `0`.": "Number of items that should be skipped at the start. The default value is `0`.","Maximum number of results to return. Must be greater than 0.": "Maximum number of results to return. Must be greater than 0.","Select an Actor from the list.": "Select an Actor from the list.",@@ -182,7 +182,7 @@"The ID (or \"username~actor-name\") of the Actor this task wraps. Obtain it from Find Actor or List Actors.": "The ID (or \"username~actor-name\") of the Actor this task wraps. Obtain it from Find Actor or List Actors.","The JSON input body to store on the task. Match the Actor's input schema (see Get Actor Input Schema).": "The JSON input body to store on the task. Match the Actor's input schema (see Get Actor Input Schema).","Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",- "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",+ "Enable for files like PDFs, images, etc.": "对 PDF、图片等文件启用。","Recently Used Actors": "Recently Used Actors","Apify Store": "Apify Store","128 MB": "128 MB",@@ -204,7 +204,7 @@"Timing Out": "Timing Out","Timed Out": "超时","Aborting": "Aborting",- "Aborted": "Aborted",+ "Aborted": "已中止","GET": "获取","POST": "帖子","PATCH": "PATCH",@@ -215,10 +215,49 @@"JSON": "JSON","Form Data": "表单数据","Raw": "原始文件",- "Watch Actor Runs": "Watch Actor Runs",- "Watch Task Runs": "Watch Task Runs",+ "Watch Actor Runs": "监视 Actor 运行",+ "Watch Task Runs": "监视任务运行","Triggers a Flow on Apify Actor run events": "Triggers a Flow on Apify Actor run events","Triggers a Flow on Apify Actor task run events": "Triggers a Flow on Apify Actor task run events",- "Statuses": "Statuses",- "Run statuses to watch.": "Run statuses to watch."+ "Statuses": "状态",+ "Run statuses to watch.": "Run statuses to watch.",+ "Items to skip from the start.": "从开头跳过的项目数。",+ "Maximum number of items to return. Must be above 0.": "返回的最大项目数。必须大于 0。",+ "Runs an Actor and, if you wait, returns its results.": "运行 Actor,如果等待则返回其结果。",+ "Your recently run Actors, or any public Actor in the Apify Store.": "您最近运行的 Actor,或 Apify Store 中的任何公开 Actor。",+ "Recently Used": "最近使用",+ "Type to search by name.": "输入以按名称搜索。",+ "Build tag or number to run. Empty: the default build.": "要运行的构建标签或编号。留空:默认构建。",+ "Memory": "内存",+ "Empty: the Actor's default memory.": "留空:Actor 的默认内存。",+ "Timeout": "超时",+ "Seconds before the run is stopped. Empty: the Actor's default.": "运行停止前的秒数。留空:Actor 的默认值。",+ "Wait for Finish": "等待完成",+ "On: waits and returns the run's dataset items. Off: only starts it.": "开启:等待并返回运行的数据集项目。关闭:仅启动运行。",+ "Runs a saved Actor task and, if you wait, returns its results.": "运行已保存的 Actor 任务,如果等待则返回其结果。",+ "Task": "任务",+ "A saved task from your Apify account.": "您 Apify 账户中已保存的任务。",+ "Empty: the memory set in the task.": "留空:任务中设置的内存。",+ "Seconds before the run is stopped. Empty: the task's setting.": "运行停止前的秒数。留空:任务的设置。",+ "Gets a record from a key-value store by its key.": "按键从键值存储中获取记录。",+ "Key-Value Store": "键值存储",+ "The store that holds the record.": "保存该记录的存储。",+ "The key the record is saved under.": "保存该记录所用的键。",+ "Gets one page's content as Markdown and HTML using Apify.": "使用 Apify 以 Markdown 和 HTML 格式获取单个页面的内容。",+ "Must start with http:// or https://.": "必须以 http:// 或 https:// 开头。",+ "Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.": "原始 HTTP 速度最快,但会跳过 JavaScript。自适应和 Firefox 会渲染页面;Firefox 最不容易被拦截。",+ "Raw HTTP": "原始 HTTP",+ "Adaptive": "自适应",+ "Firefox": "Firefox",+ "Appended to the URL as ?key=value.": "以 ?key=value 形式附加到 URL。",+ "Response is Binary": "响应为二进制",+ "Return Error as Output": "将错误作为输出返回",+ "On a failed request, output the error instead of failing the step.": "请求失败时输出错误,而不是让步骤失败。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "等待响应的秒数。留空:最长为流程上限(10 分钟)。",+ "Follow 3xx redirects instead of returning them as the response.": "跟随 3xx 重定向,而不是将其作为响应返回。",+ "Fires when a run of the Actor ends with a chosen status.": "当 Actor 的运行以所选状态结束时触发。",+ "Markdown": "Markdown",+ "Turning this flow on creates a webhook in your Apify account. Turning it off removes it.": "开启此流程会在您的 Apify 账户中创建一个 webhook,关闭则会将其删除。",+ "Run outcomes that start the flow.": "触发流程的运行结果。",+ "Fires when a run of the task ends with a chosen status.": "当任务的运行以所选状态结束时触发。"}\ No newline at end of filediff --git a/packages/pieces/community/apify/src/index.ts b/packages/pieces/community/apify/src/index.tsindex 85119a5e1c8..b066df7c213 100644--- a/packages/pieces/community/apify/src/index.ts+++ b/packages/pieces/community/apify/src/index.ts@@ -79,7 +79,7 @@ export const apify = createPiece({displayName: 'Apify',description: 'Access Apify tools for web scraping, data extraction, and automation.',auth: apifyAuth,- minimumSupportedRelease: '0.86.4',+ minimumSupportedRelease: '0.88.2',logoUrl: 'https://cdn.activepieces.com/pieces/apify.png',categories: [PieceCategory.BUSINESS_INTELLIGENCE],authors: ['buttonsbond'],@@ -124,6 +124,12 @@ export const apify = createPiece({return {'Authorization': `Bearer ${auth.props.apikey}`}+ },+ props: {+ url: {+ description: 'Full URL, or a path relative to https://api.apify.com/v2',+ placeholder: '/acts'+ }}})],diff --git a/packages/pieces/community/apify/src/lib/actions/get-dataset-items.ts b/packages/pieces/community/apify/src/lib/actions/get-dataset-items.tsindex fbac4c23553..801ffec6010 100644--- a/packages/pieces/community/apify/src/lib/actions/get-dataset-items.ts+++ b/packages/pieces/community/apify/src/lib/actions/get-dataset-items.ts@@ -26,16 +26,22 @@ export const getDatasetItems = createAction({offset: Property.Number({required: false,displayName: 'Offset',- description: 'Number of items that should be skipped at the start. The default value is `0`.',- defaultValue: 0+ description: 'Items to skip from the start.',+ defaultValue: 0,+ width: 'half'}),limit: Property.Number({required: false,displayName: 'Limit',- description: 'Maximum number of results to return. Must be greater than 0.',- defaultValue: 50+ description: 'Maximum number of items to return. Must be above 0.',+ defaultValue: 50,+ width: 'half'})},+ propertyGroups: [+ { key: 'source', display: 'section', label: 'Where to Read', icon: 'file', props: ['datasetId'] },+ { key: 'paging', display: 'section', label: 'How Many Items', icon: 'filter', props: ['offset', 'limit'] },+ ],async run(context) {const apifyToken = context.auth.props.apikey;const { datasetId, offset, limit } = context.propsValue;diff --git a/packages/pieces/community/apify/src/lib/actions/get-key-value-store-record.ts b/packages/pieces/community/apify/src/lib/actions/get-key-value-store-record.tsindex 05c0e3477fc..bf223787b56 100644--- a/packages/pieces/community/apify/src/lib/actions/get-key-value-store-record.ts+++ b/packages/pieces/community/apify/src/lib/actions/get-key-value-store-record.ts@@ -3,6 +3,7 @@ import { apifyAuth } from '../..';import {createApifyClient,createDropdownOptions,+ getErrorMessage,getFileExtension,isBinaryContentType,listRecords,@@ -15,7 +16,7 @@ export const getKeyValueStoreRecord = createAction({classification: 'READ',auth: apifyAuth,displayName: 'Get Key-Value Store Record',- description: 'Retrieves a value stored in the key-value store under a specific key',+ description: 'Gets a record from a key-value store by its key.',audience: 'human',outputSchema: getKeyValueStoreRecordActionOutputSchema,aiMetadata: { description: 'Fetches a single record from an Apify key-value store by store ID and record key, returning JSON/text values inline or binary values as a file reference. Use this to read named outputs an actor saved (e.g. screenshots, structured results, or status keys) rather than dataset rows. Read-only and idempotent; errors if the key does not exist.', idempotent: true },@@ -24,8 +25,8 @@ export const getKeyValueStoreRecord = createAction({auth: apifyAuth,required: true,refreshers: ['auth'],- displayName: 'Key-Value Store ID',- description: 'The ID of the Key-Value Store.',+ displayName: 'Key-Value Store',+ description: 'The store that holds the record.',options: async (props) => {return createDropdownOptions(props['auth'], listStores);}@@ -34,21 +35,26 @@ export const getKeyValueStoreRecord = createAction({auth: apifyAuth,required: true,refreshers: ['auth', 'store'],- displayName: 'Key-Value Store Record Key',- description: 'The key of the record to be retrieved.',+ displayName: 'Record Key',+ description: 'The key the record is saved under.',options: async (props) => {- if (!props['auth'] || !props['store']) {+ const store = props['store'];+ const storeId = typeof store === 'string' ? store : '';+ if (props['auth'] && !storeId) {return {disabled: true,options: [],+ placeholder: 'Select a store first.',};}- const storeId = props['store'] as string;return createDropdownOptions(props['auth'], (apiKey) => listRecords(apiKey, storeId));}}),},+ propertyGroups: [+ { key: 'record', display: 'section', label: 'Which Record', icon: 'file', props: ['store', 'recordKey'] },+ ],async run(context) {const apifyToken = context.auth.props.apikey;const { store, recordKey } = context.propsValue;@@ -62,7 +68,7 @@ export const getKeyValueStoreRecord = createAction({}try {- const isBinary = isBinaryContentType(record.contentType!);+ const isBinary = isBinaryContentType(record.contentType ?? '');const isJson = record.contentType?.includes('application/json');if (isJson) {@@ -75,7 +81,7 @@ export const getKeyValueStoreRecord = createAction({}if (isBinary && Buffer.isBuffer(record.value)) {- const fileExtension = getFileExtension(record.contentType!);+ const fileExtension = getFileExtension(record.contentType ?? '');const fileName = recordKey + fileExtension;const fileReference = await context.files.write({@@ -99,8 +105,8 @@ export const getKeyValueStoreRecord = createAction({contentType: record.contentType,dataType: 'text'};- } catch (error: any) {- throw new Error(`Failed to process key-value store record: ${error.message}`);+ } catch (error) {+ throw new Error(`Failed to process key-value store record: ${getErrorMessage(error)}`);}}});diff --git a/packages/pieces/community/apify/src/lib/actions/run-actor.ts b/packages/pieces/community/apify/src/lib/actions/run-actor.tsindex 7635f5cc711..480d0cd02c7 100644--- a/packages/pieces/community/apify/src/lib/actions/run-actor.ts+++ b/packages/pieces/community/apify/src/lib/actions/run-actor.ts@@ -20,7 +20,7 @@ export const runActor = createAction({classification: 'WRITE',auth: apifyAuth,displayName: 'Run Actor',- description: 'Runs an Actor and returns all associated details.',+ description: 'Runs an Actor and, if you wait, returns its results.',audience: 'human',outputSchema: runActorActionOutputSchema,aiMetadata: { description: 'Starts an Apify Actor (a hosted scraper/automation program) by actor ID, passing a JSON input body and optional build/memory/timeout settings. Use this to execute a specific Actor for scraping or data extraction; set waitForFinish to block until the run completes and fetch its dataset items. Not idempotent — each call launches a new actor run.', idempotent: false },@@ -31,8 +31,13 @@ export const runActor = createAction({build: createBuildProperty(),memory: createMemoryProperty(RunType.ACTOR),timeout: createTimeoutProperty(RunType.ACTOR),- waitForFinish: createWaitForFinishProperty(RunType.ACTOR)+ waitForFinish: createWaitForFinishProperty()},+ propertyGroups: [+ { key: 'actor', display: 'section', label: 'What to Run', icon: 'send', props: ['actorSource', 'actorid'] },+ { key: 'input', display: 'section', label: 'What to Send', icon: 'code', props: ['input'] },+ { key: 'result', display: 'section', label: 'Results', icon: 'inbox', props: ['waitForFinish'] },+ ],async run(context) {const apifyToken = context.auth.props.apikey;const { input, actorid, timeout, build, memory, waitForFinish } = context.propsValue;diff --git a/packages/pieces/community/apify/src/lib/actions/run-task.ts b/packages/pieces/community/apify/src/lib/actions/run-task.tsindex 356b8df55f9..94d81a168f8 100644--- a/packages/pieces/community/apify/src/lib/actions/run-task.ts+++ b/packages/pieces/community/apify/src/lib/actions/run-task.ts@@ -19,7 +19,7 @@ export const runTask = createAction({classification: 'WRITE',auth: apifyAuth,displayName: 'Run Task',- description: 'Runs an Actor task and returns all associated details.',+ description: 'Runs a saved Actor task and, if you wait, returns its results.',audience: 'human',outputSchema: runTaskActionOutputSchema,aiMetadata: { description: 'Runs a saved Apify Actor task (an Actor pre-configured with stored input) by task ID, optionally overriding the input body and build/memory/timeout. Use this instead of Run Actor when the user has an existing configured task to execute; set waitForFinish to block until completion and retrieve dataset items. Not idempotent — each call launches a new task run.', idempotent: false },@@ -29,8 +29,13 @@ export const runTask = createAction({build: createBuildProperty(),memory: createMemoryProperty(RunType.TASK),timeout: createTimeoutProperty(RunType.TASK),- waitForFinish: createWaitForFinishProperty(RunType.TASK)+ waitForFinish: createWaitForFinishProperty()},+ propertyGroups: [+ { key: 'task', display: 'section', label: 'What to Run', icon: 'send', props: ['taskid'] },+ { key: 'input', display: 'section', label: 'Input Changes', icon: 'code', props: ['input'] },+ { key: 'result', display: 'section', label: 'Results', icon: 'inbox', props: ['waitForFinish'] },+ ],async run(context) {const apifyToken = context.auth.props.apikey;const { input, taskid, timeout, build, memory, waitForFinish } = context.propsValue;diff --git a/packages/pieces/community/apify/src/lib/actions/scrape-single-url.ts b/packages/pieces/community/apify/src/lib/actions/scrape-single-url.tsindex 02bb2ee88a6..3714e5bf79b 100644--- a/packages/pieces/community/apify/src/lib/actions/scrape-single-url.ts+++ b/packages/pieces/community/apify/src/lib/actions/scrape-single-url.ts@@ -1,6 +1,6 @@import { createAction, Property } from '@activepieces/pieces-framework';import { apifyAuth } from '../..';-import { createApifyClient } from '../common';+import { createApifyClient, getErrorMessage } from '../common';import { scrapeUrlActionOutputSchema } from '../output-schemas';const WEBSITE_CONTENT_CRAWLER_ACTOR_ID = 'apify/website-content-crawler';@@ -10,48 +10,55 @@ export const scrapeSingleUrl = createAction({classification: 'READ',auth: apifyAuth,displayName: 'Scrape Single URL',- description: 'Scrape a single URL using the Apify Website Content Crawler Actor and get its content as markdown and HTML.',+ description: 'Gets one page\'s content as Markdown and HTML using Apify.',audience: 'human',outputSchema: scrapeUrlActionOutputSchema,aiMetadata: { description: 'Scrapes the content of one web page via the Apify Website Content Crawler Actor and returns its text as markdown and HTML. Use this for a quick single-page extraction without configuring a full Actor run; the URL must be a valid http/https address and crawler type (Cheerio or Playwright) selects the rendering engine. Not idempotent — each call launches a new crawler run.', idempotent: false },props: {url: Property.ShortText({displayName: 'URL',- description: 'URL to be scraped. Must start with http:// or https:// and be a valid URL.',+ description: 'Must start with http:// or https://.',+ placeholder: 'https://example.com/page',defaultValue: 'https://docs.apify.com/academy/web-scraping-for-beginners',required: true}),crawlerType: Property.StaticDropdown({required: true,displayName: 'Crawler Type',- description: 'The type of crawler to use.',+ description: 'Raw HTTP is fastest but skips JavaScript. Adaptive and Firefox render it; Firefox is blocked least.',defaultValue: 'cheerio',+ display: 'cards',options: {options: [{- label: 'Cheerio',+ label: 'Raw HTTP',value: 'cheerio',+ icon: 'code',},{- label: 'Playwright Adaptive',+ label: 'Adaptive',value: 'playwright:adaptive',+ icon: 'sliders',},{- label: 'Playwright Firefox',+ label: 'Firefox',value: 'playwright:firefox',+ icon: 'file',},]}}),},+ propertyGroups: [+ { key: 'page', display: 'section', label: 'Page to Scrape', icon: 'file', props: ['url'] },+ { key: 'engine', display: 'section', label: 'How to Load It', icon: 'code', props: ['crawlerType'] },+ ],async run(context) {const apifyToken = context.auth.props.apikey;const { crawlerType, url } = context.propsValue;const client = createApifyClient(apifyToken);- try {- new URL(url);- } catch (error) {+ if (!isHttpUrl(url)) {throw new Error('Invalid URL format. Please provide a valid URL with http:// or https://');}@@ -72,8 +79,8 @@ export const scrapeSingleUrl = createAction({let run;try {run = await client.actor(WEBSITE_CONTENT_CRAWLER_ACTOR_ID).call(input);- } catch (error: any) {- throw new Error('Failed to scrape URL: ' + error.message);+ } catch (error) {+ throw new Error('Failed to scrape URL: ' + getErrorMessage(error));}if (run.status !== 'SUCCEEDED') {@@ -87,8 +94,8 @@ export const scrapeSingleUrl = createAction({let result;try {result = await client.dataset(run.defaultDatasetId).listItems();- } catch (error: any) {- throw new Error('Failed to fetch scrape results: ' + error.message);+ } catch (error) {+ throw new Error('Failed to fetch scrape results: ' + getErrorMessage(error));}if (!result.items || result.items.length === 0) {@@ -104,3 +111,12 @@ export const scrapeSingleUrl = createAction({};},});++function isHttpUrl(value: string): boolean {+ try {+ const { protocol } = new URL(value);+ return protocol === 'http:' || protocol === 'https:';+ } catch {+ return false;+ }+}diff --git a/packages/pieces/community/apify/src/lib/common/index.ts b/packages/pieces/community/apify/src/lib/common/index.tsindex 26e226af2cc..b29040f85fb 100644--- a/packages/pieces/community/apify/src/lib/common/index.ts+++ b/packages/pieces/community/apify/src/lib/common/index.ts@@ -63,7 +63,7 @@ export const TERMINAL_STATUSES: WebhookEventType[] = ['ACTOR.RUN.ABORTED',];-export const STATUS_OPTIONS = [+export const STATUS_OPTIONS: { label: string; value: WebhookEventType }[] = [{label: 'Aborted',value: 'ACTOR.RUN.ABORTED',@@ -116,30 +116,38 @@ const mapTaskToDropdownOption = (item: Item): DropdownOption => {};};-export const listActors = async (apiKey: string, actorSource: string): Promise<DropdownOption[]> => {+export const listActors = async ({+ apiKey,+ actorSource,+ search,+}: {+ apiKey: string;+ actorSource: string | undefined;+ search: string | undefined;+}): Promise<DropdownOption[]> => {const client = createApifyClient(apiKey);+ const query = search?.trim() ?? '';- try {- if (actorSource === 'recent') {- const recentActors = await client.actors().list({- offset: 0,- sortBy: ActorListSortBy.LAST_RUN_STARTED_AT,- desc: true,- limit: 1000,- });- return recentActors.items.map(mapActorToDropdownOption);- }-- const storeActors = await client.store().list({- limit: 1000,+ if (actorSource === 'recent') {+ const recentActors = await client.actors().list({offset: 0,+ sortBy: ActorListSortBy.LAST_RUN_STARTED_AT,+ desc: true,+ limit: 1000,});- return storeActors.items.map(mapActorToDropdownOption);- } catch (error: any) {- return [- { label: `Failed to load actors: ${error.message || error}`, value: '' },- ];+ const options = recentActors.items.map(mapActorToDropdownOption);+ const lowerQuery = query.toLowerCase();+ return lowerQuery+ ? options.filter((option) => option.label.toLowerCase().includes(lowerQuery))+ : options;}++ const storeActors = await client.store().list({+ limit: 1000,+ offset: 0,+ ...(query ? { search: query } : {}),+ });+ return storeActors.items.map(mapActorToDropdownOption);};export const fetchActorInputSchema = async (apiKey: string, actorId: string): Promise<Build | undefined> => {@@ -170,71 +178,55 @@ export const getDefaultValuesFromBuild = (build: ActorBuild): Dictionary => {export const listTasks = async (apiKey: string): Promise<DropdownOption[]> => {const client = createApifyClient(apiKey);-- try {- const tasks = await client.tasks().list({- limit: 1000,- offset: 0,- });- return tasks.items.map(mapTaskToDropdownOption);- } catch (error: any) {- return [- { label: `Failed to load tasks: ${error.message || error}`, value: '' },- ];- }+ const tasks = await client.tasks().list({+ limit: 1000,+ offset: 0,+ });+ return tasks.items.map(mapTaskToDropdownOption);};export const listDatasets = async (apiKey: string): Promise<DropdownOption[]> => {const client = createApifyClient(apiKey);+ const dataset = await client.datasets().list({+ desc: true,+ });- try {- const dataset = await client.datasets().list({- desc: true,- });-- return dataset.items.map(item => ({+ return dataset.items.map(item => {+ const name = item.title || item.name;+ const count = `${item.itemCount} ${pluralize(item.itemCount)}`;+ return {value: item.id,- label: `${item.title || item.name} (${item.itemCount} ${pluralize(item.itemCount)} - ${item.id})`- }));- } catch (error: any) {- return [{ label: `Failed to load datasets: ${error.message || error}`, value: '' }];- }+ label: name ? `${name} (${count} - ${item.id})` : `${item.id} (${count})`,+ };+ });};export const listStores = async (apiKey: string): Promise<DropdownOption[]> => {const client = createApifyClient(apiKey);+ const stores = await client.keyValueStores().list({+ desc: true+ });- try {- const stores = await client.keyValueStores().list({- desc: true- });-- return stores.items.map(item => ({- value: item.id,- label: item.title! || item.name!- }));- } catch (error: any) {- return [{ label: `Failed to load Key-Value store list: ${error.message || error}`, value: '' }];- }+ return stores.items.map(item => ({+ value: item.id,+ label: item.title || item.name || item.id+ }));};export const listRecords = async (apiKey: string, storeId: string): Promise<DropdownOption[]> => {const client = createApifyClient(apiKey);+ const records = await client.keyValueStore(storeId).listKeys();- try {- const records = await client.keyValueStore(storeId).listKeys();-- return records.items.map(item => ({- value: item.key,- label: item.key- }));- } catch (error: any) {- return [{ label: `Failed to fetch keys for store "${storeId}". Reason: ${error.message}`, value: '' }];- }+ return records.items.map(item => ({+ value: item.key,+ label: item.key+ }));};export const pluralize = (n: number): string => n === 1 ? "item" : "items";+export const getErrorMessage = (error: unknown): string => error instanceof Error ? error.message : String(error);+// File extension mapping for key-value store recordsexport const getFileExtension = (contentType: string): string => {const extensions: Record<string, string> = {@@ -262,54 +254,62 @@ export const isBinaryContentType = (contentType: string): boolean => {};-// Create dropdown options for a list of itemsexport const createDropdownOptions = async (auth: unknown,fetchItems: (apiKey: string) => Promise<DropdownOption[]>-): Promise<{ disabled: boolean; options: DropdownOption[]; }> => {- if (!auth) {+): Promise<{ disabled: boolean; options: DropdownOption[]; placeholder?: string; }> => {+ if (!isApifyAuth(auth)) {return {disabled: true,options: [],+ placeholder: 'Connect your Apify account first.',};}try {- const apifyAuth = auth as ApifyAuth;- const items = await fetchItems(apifyAuth.props.apikey);+ const items = await fetchItems(auth.props.apikey);return { disabled: false, options: items };- } catch (error) {+ } catch {return {disabled: true,options: [],+ placeholder: 'Could not load the list. Check your connection.',};}};export const createBuildProperty = () => Property.ShortText({displayName: 'Build',- description: 'Build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration (typically `latest`).',- required: false+ description: 'Build tag or number to run. Empty: the default build.',+ placeholder: 'latest',+ required: false,+ advanced: true,});export const createMemoryProperty = (runType: RunType) => Property.StaticDropdown({- displayName: 'Memory (MB)',- description: `Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the ${runType === RunType.ACTOR ? 'default run configuration for the Actor' : 'task settings'}.`,+ displayName: 'Memory',+ description: runType === RunType.ACTOR+ ? "Empty: the Actor's default memory."+ : 'Empty: the memory set in the task.',required: false,+ advanced: true,options: {options: MEMORY_OPTIONS}});export const createTimeoutProperty = (runType: RunType) => Property.Number({- displayName: 'Timeout (seconds)',+ displayName: 'Timeout',required: false,- description: `Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the ${runType === RunType.ACTOR ? 'default run configuration for the Actor' : 'task settings'}.`+ advanced: true,+ description: runType === RunType.ACTOR+ ? "Seconds before the run is stopped. Empty: the Actor's default."+ : "Seconds before the run is stopped. Empty: the task's setting."});-export const createWaitForFinishProperty = (runType: RunType) => Property.Checkbox({- displayName: 'Wait for finish',- description: `If enabled, the step waits for the ${runType} run to finish and returns the run’s dataset items as the step output.`,+export const createWaitForFinishProperty = () => Property.Checkbox({+ displayName: 'Wait for Finish',+ description: "On: waits and returns the run's dataset items. Off: only starts it.",required: false,defaultValue: true,});@@ -368,10 +368,12 @@ export const handleRun = async (export const createActorSourceProperty = () => Property.StaticDropdown({required: true,displayName: 'Actor Source',+ description: 'Your recently run Actors, or any public Actor in the Apify Store.',defaultValue: 'recent',+ display: 'cards',options: {options: [{- label: 'Recently Used Actors',+ label: 'Recently Used',value: 'recent',}, {label: 'Apify Store',@@ -383,19 +385,20 @@ export const createActorSourceProperty = () => Property.StaticDropdown({export const createActorIdProperty = () => Property.Dropdown({displayName: 'Actor',auth: apifyAuth,- description: 'Select an Actor from the list.',+ description: 'Type to search by name.',required: true,refreshers: ['auth', 'actorSource'],- options: async (props) => {- const actorSource = props['actorSource'] as string;- return createDropdownOptions(props['auth'], (apiKey) => listActors(apiKey, actorSource));+ refreshOnSearch: true,+ options: async (props, { searchValue }) => {+ const actorSource = typeof props['actorSource'] === 'string' ? props['actorSource'] : undefined;+ return createDropdownOptions(props['auth'], (apiKey) => listActors({ apiKey, actorSource, search: searchValue }));}});export const createTaskIdProperty = () => Property.Dropdown({- displayName: 'Actor Task',+ displayName: 'Task',auth: apifyAuth,- description: 'Select a task from the list.',+ description: 'A saved task from your Apify account.',required: true,refreshers: ['auth'],options: async (props) => {@@ -405,7 +408,9 @@ export const createTaskIdProperty = () => Property.Dropdown({const createInputBodyProperty = (runType: RunType, defaultValue?: object) => Property.Json({displayName: `${runType === RunType.ACTOR ? '' : 'Override '}Input JSON`,- description: `JSON input for the ${runType} run, which you can find on the ${runType} input page in Apify Console. If empty, the run uses the input specified in the default run configuration.`,+ description: runType === RunType.ACTOR+ ? 'The JSON the Actor gets, prefilled from its defaults when available.'+ : "Fields here replace the same fields in the task's saved input.",required: true,defaultValue});@@ -501,7 +506,7 @@ export const generateIdempotencyKey = (export const createStatusesProperty = () => Property.StaticMultiSelectDropdown({displayName: 'Statuses',- description: 'Run statuses to watch.',+ description: 'Run outcomes that start the flow.',required: true,defaultValue: TERMINAL_STATUSES,options: {@@ -509,6 +514,10 @@ export const createStatusesProperty = () => Property.StaticMultiSelectDropdown({},});+export const createWebhookInfoProperty = () => Property.MarkDown({+ value: 'Turning this flow on creates a webhook in your Apify account. Turning it off removes it.',+});+export const createWebhookSampleData = (runType: RunType) => ({userId: 'wRsJZtadYvn4mBZmm',createdAt: '2019-12-12T07:34:14.202Z',@@ -530,3 +539,11 @@ export const createWebhookSampleData = (runType: RunType) => ({defaultRequestQueueId: "FL35cSF7jrxr3BY39",},});++function isApifyAuth(auth: unknown): auth is ApifyAuth {+ if (typeof auth !== 'object' || auth === null || !('props' in auth)) {+ return false;+ }+ const { props } = auth;+ return typeof props === 'object' && props !== null && 'apikey' in props && typeof props.apikey === 'string';+}diff --git a/packages/pieces/community/apify/src/lib/triggers/watch-actor-runs.ts b/packages/pieces/community/apify/src/lib/triggers/watch-actor-runs.tsindex ad758594b7b..5e8ee052651 100644--- a/packages/pieces/community/apify/src/lib/triggers/watch-actor-runs.ts+++ b/packages/pieces/community/apify/src/lib/triggers/watch-actor-runs.ts@@ -4,6 +4,7 @@ import {createApifyClient,generateIdempotencyKey,createStatusesProperty,+ createWebhookInfoProperty,createActorSourceProperty,createActorIdProperty,createWebhook,@@ -11,7 +12,6 @@ import {createWebhookSampleData,RunType,} from '../common';-import { WebhookEventType } from 'apify-client';import { watchRunsTriggerOutputSchema } from '../output-schemas';export const watchActorRunsTrigger = createTrigger({@@ -19,21 +19,26 @@ export const watchActorRunsTrigger = createTrigger({name: 'watchActorRunsTrigger',classification: 'READ',displayName: 'Watch Actor Runs',- description: 'Triggers a Flow on Apify Actor run events',+ description: 'Fires when a run of the Actor ends with a chosen status.',outputSchema: watchRunsTriggerOutputSchema,aiMetadata: {description: 'Fires when a run of the selected Apify Actor reaches one of the chosen statuses (e.g. succeeded, failed, aborted). Use to react to an Actor finishing, delivering the run event payload via webhook.',},type: TriggerStrategy.WEBHOOK,props: {+ webhookInfo: createWebhookInfoProperty(),actorSource: createActorSourceProperty(),actorid: createActorIdProperty(),statuses: createStatusesProperty(),},+ propertyGroups: [+ { key: 'target', display: 'section', label: 'What to Watch', icon: 'send', props: ['webhookInfo', 'actorSource', 'actorid'] },+ { key: 'outcomes', display: 'section', label: 'When to Fire', icon: 'filter', props: ['statuses'] },+ ],async onEnable(context) {const client = createApifyClient(context.auth.props.apikey);const actorId = context.propsValue.actorid;- const statuses = context.propsValue.statuses as WebhookEventType[];+ const statuses = context.propsValue.statuses;const idempotencyKey = generateIdempotencyKey(actorId, statuses, context.webhookUrl);const webhookId = await createWebhook(@@ -47,7 +52,7 @@ export const watchActorRunsTrigger = createTrigger({await context.store.put('_actor_webhook_id', webhookId);},async onDisable(context) {- const webhookId: string = (await context.store.get('_actor_webhook_id')) as string;+ const webhookId = await context.store.get<string>('_actor_webhook_id');if (webhookId) {const client = createApifyClient(context.auth.props.apikey);await deleteWebhook(client, webhookId);diff --git a/packages/pieces/community/apify/src/lib/triggers/watch-task-runs.ts b/packages/pieces/community/apify/src/lib/triggers/watch-task-runs.tsindex 599d86df6ea..0f9f744245a 100644--- a/packages/pieces/community/apify/src/lib/triggers/watch-task-runs.ts+++ b/packages/pieces/community/apify/src/lib/triggers/watch-task-runs.ts@@ -4,13 +4,13 @@ import {createApifyClient,generateIdempotencyKey,createStatusesProperty,+ createWebhookInfoProperty,createTaskIdProperty,createWebhook,deleteWebhook,RunType,createWebhookSampleData,} from '../common';-import { WebhookEventType } from 'apify-client';import { watchRunsTriggerOutputSchema } from '../output-schemas';export const watchTaskRunsTrigger = createTrigger({@@ -18,20 +18,25 @@ export const watchTaskRunsTrigger = createTrigger({name: 'watchTaskRunsTrigger',classification: 'READ',displayName: 'Watch Task Runs',- description: 'Triggers a Flow on Apify Actor task run events',+ description: 'Fires when a run of the task ends with a chosen status.',outputSchema: watchRunsTriggerOutputSchema,aiMetadata: {description: 'Fires when a run of the selected Apify Actor task reaches one of the chosen statuses (e.g. succeeded, failed, aborted). Use to react to a configured task finishing, delivering the run event payload via webhook.',},type: TriggerStrategy.WEBHOOK,props: {+ webhookInfo: createWebhookInfoProperty(),taskid: createTaskIdProperty(),statuses: createStatusesProperty(),},+ propertyGroups: [+ { key: 'target', display: 'section', label: 'What to Watch', icon: 'send', props: ['webhookInfo', 'taskid'] },+ { key: 'outcomes', display: 'section', label: 'When to Fire', icon: 'filter', props: ['statuses'] },+ ],async onEnable(context) {const client = createApifyClient(context.auth.props.apikey);const taskId = context.propsValue.taskid;- const statuses = context.propsValue.statuses as WebhookEventType[];+ const statuses = context.propsValue.statuses;const idempotencyKey = generateIdempotencyKey(taskId, statuses, context.webhookUrl);const webhookId = await createWebhook(@@ -45,7 +50,7 @@ export const watchTaskRunsTrigger = createTrigger({await context.store.put('_task_webhook_id', webhookId);},async onDisable(context) {- const webhookId: string = (await context.store.get('_task_webhook_id')) as string;+ const webhookId = await context.store.get<string>('_task_webhook_id');if (webhookId) {const client = createApifyClient(context.auth.props.apikey);await deleteWebhook(client, webhookId);diff --git a/packages/pieces/community/apify/test/scrape-single-url.test.ts b/packages/pieces/community/apify/test/scrape-single-url.test.tsnew file mode 100644index 00000000000..e356bddd14d--- /dev/null+++ b/packages/pieces/community/apify/test/scrape-single-url.test.ts@@ -0,0 +1,67 @@+/// <reference types="vitest/globals" />++import { AppConnectionType, createMockActionContext, InputPropertyMap } from '@activepieces/pieces-framework';+import '../src';+import { scrapeSingleUrl } from '../src/lib/actions/scrape-single-url';++const apify = vi.hoisted(() => ({+ call: vi.fn(),+ listItems: vi.fn(),+}));++vi.mock('apify-client', async (importOriginal) => {+ const original = await importOriginal<typeof import('apify-client')>();+ class FakeApifyClient {+ actor() {+ return { call: apify.call };+ }+ dataset() {+ return { listItems: apify.listItems };+ }+ }+ return { ...original, ApifyClient: FakeApifyClient };+});++describe('scrapeSingleUrl', () => {+ beforeEach(() => {+ apify.call.mockReset();+ apify.listItems.mockReset();+ apify.call.mockResolvedValue({ id: 'run-1', status: 'SUCCEEDED', defaultDatasetId: 'dataset-1' });+ apify.listItems.mockResolvedValue({+ items: [{ url: 'https://example.com/page', markdown: '# Page', html: '<h1>Page</h1>' }],+ });+ });++ test.each(['https://example.com/page', 'http://example.com/page'])('starts a crawler run for %s', async (url) => {+ await expect(runScrape(url)).resolves.toEqual({+ url: 'https://example.com/page',+ markdown: '# Page',+ html: '<h1>Page</h1>',+ });+ expect(apify.call).toHaveBeenCalledTimes(1);+ expect(apify.call).toHaveBeenCalledWith(expect.objectContaining({ startUrls: [{ url }], crawlerType: 'cheerio' }));+ });++ test.each([+ 'not a url',+ 'example.com/page',+ 'ftp://example.com/file.txt',+ 'javascript:alert(1)',+ 'file:///etc/passwd',+ ])('rejects %s without starting a run', async (url) => {+ await expect(runScrape(url)).rejects.toThrow(+ 'Invalid URL format. Please provide a valid URL with http:// or https://',+ );+ expect(apify.call).not.toHaveBeenCalled();+ });+});++function runScrape(url: string): Promise<unknown> {+ const propsValue = { url, crawlerType: 'cheerio' };+ const base = createMockActionContext<InputPropertyMap>({ propsValue });+ return scrapeSingleUrl.run({+ ...base,+ auth: { type: AppConnectionType.CUSTOM_AUTH, props: { apikey: 'test-key' } },+ propsValue,+ });+}diff --git a/packages/pieces/community/apify/vitest.config.ts b/packages/pieces/community/apify/vitest.config.tsnew file mode 100644index 00000000000..79c97261904--- /dev/null+++ b/packages/pieces/community/apify/vitest.config.ts@@ -0,0 +1,19 @@+import path from 'path'+import { defineConfig } from 'vitest/config'++const repoRoot = path.resolve(__dirname, '../../../..')++export default defineConfig({+ root: __dirname,+ test: {+ globals: true,+ environment: 'node',+ include: ['test/**/*.test.ts'],+ },+ resolve: {+ alias: {+ '@activepieces/pieces-framework': path.resolve(repoRoot, 'packages/pieces/framework/src/index.ts'),+ '@activepieces/pieces-common': path.resolve(repoRoot, 'packages/pieces/common/src/index.ts'),+ },+ },+})