Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Kollaborative Workspace-Plattform",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Aktiviere Basic Authentication:**\n\n1. Gehe zu https://developer.frame.io/app/tokens\n2. Klicke auf 'Neues Token'\n3. Gib eine Beschreibung für deine Verwendung an.\n4. Abhängig von Ihrer Nutzung können Sie \"Alle Bereiche auswählen\"\n5 senden. Senden Sie das Formular\nab. Der Token wird erstellt. Kopieren Sie das Token und fügen Sie es in die 'Token' Eingabe\n ein",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopfzeilen",
|
||||
"Query Parameters": "Abfrageparameter",
|
||||
"Body": "Körper",
|
||||
"Response is Binary ?": "Antwort ist binär?",
|
||||
"No Error on Failure": "Kein Fehler bei Fehler",
|
||||
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
||||
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
|
||||
"GET": "ERHALTEN",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "LÖSCHEN",
|
||||
"HEAD": "HEAD",
|
||||
"Project Created": "Projekt erstellt",
|
||||
"Asset Created": "Asset erstellt",
|
||||
"Comment Created": "Kommentar erstellt",
|
||||
"Triggered when a new project is created.": "Wird ausgelöst, wenn ein neues Projekt erstellt wird.",
|
||||
"Triggered when a new asset is created.": "Wird ausgelöst, wenn ein neues Asset erstellt wird.",
|
||||
"Triggered when a new comment is created.": "Wird ausgelöst, wenn ein neuer Kommentar erstellt wird.",
|
||||
"Account": "Konto",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "Konten, die über einen bestimmten Benutzer zugänglich sind",
|
||||
"Teams accessible via a given Account": "Über ein bestimmtes Konto erreichbare Teams"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Plataforma de espacio de trabajo colaborativo",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Method": "Método",
|
||||
"Headers": "Encabezados",
|
||||
"Query Parameters": "Parámetros de consulta",
|
||||
"Body": "Cuerpo",
|
||||
"Response is Binary ?": "¿Respuesta es binaria?",
|
||||
"No Error on Failure": "No hay ningún error en fallo",
|
||||
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
||||
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
||||
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
|
||||
"GET": "RECOGER",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "BORRAR",
|
||||
"HEAD": "LIMPIO",
|
||||
"Project Created": "Proyecto creado",
|
||||
"Asset Created": "Equipo creado",
|
||||
"Comment Created": "Comentario creado",
|
||||
"Triggered when a new project is created.": "Se activa cuando se crea un nuevo proyecto.",
|
||||
"Triggered when a new asset is created.": "Se activa cuando se crea un nuevo activo.",
|
||||
"Triggered when a new comment is created.": "Se activa cuando se crea un nuevo comentario.",
|
||||
"Account": "Cuenta",
|
||||
"Team": "Equipo",
|
||||
"Accounts accessible via a given User": "Cuentas accesibles a través de un usuario dado",
|
||||
"Teams accessible via a given Account": "Equipos accesibles a través de una cuenta dada"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Plateforme d'espace de travail collaboratif",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "Appel API personnalisé",
|
||||
"Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
|
||||
"Method": "Méthode",
|
||||
"Headers": "En-têtes",
|
||||
"Query Parameters": "Paramètres de requête",
|
||||
"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'attente (en secondes)",
|
||||
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
||||
"Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
||||
"GET": "OBTENIR",
|
||||
"POST": "POSTER",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "EFFACER",
|
||||
"DELETE": "SUPPRIMER",
|
||||
"HEAD": "TÊTE",
|
||||
"Project Created": "Projet créé",
|
||||
"Asset Created": "Actif créé",
|
||||
"Comment Created": "Commentaire créé",
|
||||
"Triggered when a new project is created.": "Déclenché lorsqu'un nouveau projet est créé.",
|
||||
"Triggered when a new asset is created.": "Déclenché quand une nouvelle ressource est créée.",
|
||||
"Triggered when a new comment is created.": "Déclenché lorsqu'un nouveau commentaire est créé.",
|
||||
"Account": "Compte client",
|
||||
"Team": "Équipe",
|
||||
"Accounts accessible via a given User": "Comptes accessibles par un utilisateur donné",
|
||||
"Teams accessible via a given Account": "Équipes accessibles via un compte donné"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "コラボレーションワークスペースプラットフォーム",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
||||
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
||||
"GET": "取得",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "削除",
|
||||
"HEAD": "頭",
|
||||
"Project Created": "プロジェクトが作成されました",
|
||||
"Asset Created": "アセットが作成されました",
|
||||
"Comment Created": "コメントが作成されました",
|
||||
"Triggered when a new project is created.": "新しいプロジェクトが作成されたときにトリガーされます。",
|
||||
"Triggered when a new asset is created.": "新しいアセットが作成されたときにトリガーされます。",
|
||||
"Triggered when a new comment is created.": "新しいコメントが作成されたときにトリガーされます。",
|
||||
"Account": "アカウント",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "特定のユーザー経由でアクセス可能なアカウント",
|
||||
"Teams accessible via a given Account": "所定のアカウントからアクセス可能なチーム"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Gezamenlijk werkruimte platform",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Zet Basic Authenticatie aan:**\n\n1. Ga naar https://developer.frame.io/app/tokens\n2. Klik op 'Creëer een Token'\n3. Geef een beschrijving voor uw gebruik.\n4. Afhankelijk van uw gebruik kunt u 'Alle toepassingsgebieden' selecteren\n5. Verzend het formulier\n6. Het token zal worden gemaakt. Kopieer en plak het in de 'Token' invoer\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopteksten",
|
||||
"Query Parameters": "Query parameters",
|
||||
"Body": "Lichaam",
|
||||
"Response is Binary ?": "Antwoord is binair?",
|
||||
"No Error on Failure": "Geen fout bij fout",
|
||||
"Timeout (in seconds)": "Time-out (in seconden)",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
||||
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
|
||||
"GET": "KRIJG",
|
||||
"POST": "POSTE",
|
||||
"PATCH": "BEKIJK",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "VERWIJDEREN",
|
||||
"HEAD": "HOOFD",
|
||||
"Project Created": "Project aangemaakt",
|
||||
"Asset Created": "Asset aangemaakt",
|
||||
"Comment Created": "Commentaar aangemaakt",
|
||||
"Triggered when a new project is created.": "Uitgelokt wanneer een nieuw project wordt aangemaakt.",
|
||||
"Triggered when a new asset is created.": "Uitgelokt wanneer een nieuwe asset wordt aangemaakt.",
|
||||
"Triggered when a new comment is created.": "Uitgelokt wanneer een nieuwe reactie wordt aangemaakt.",
|
||||
"Account": "Rekening",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "Accounts toegankelijk via een bepaalde gebruiker",
|
||||
"Teams accessible via a given Account": "Teams toegankelijk via een bepaald account"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Plataforma de espaço de trabalho colaborativo",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Method": "Método",
|
||||
"Headers": "Cabeçalhos",
|
||||
"Query Parameters": "Parâmetros da consulta",
|
||||
"Body": "Conteúdo",
|
||||
"Response is Binary ?": "A resposta é binária ?",
|
||||
"No Error on Failure": "Nenhum erro no Failure",
|
||||
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
||||
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
||||
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
|
||||
"GET": "OBTER",
|
||||
"POST": "POSTAR",
|
||||
"PATCH": "COMPRAR",
|
||||
"PUT": "COLOCAR",
|
||||
"DELETE": "EXCLUIR",
|
||||
"HEAD": "CABEÇA",
|
||||
"Project Created": "Projeto Criado",
|
||||
"Asset Created": "Mídia criada",
|
||||
"Comment Created": "Comentário Criado",
|
||||
"Triggered when a new project is created.": "Acionada quando um novo projeto é criado.",
|
||||
"Triggered when a new asset is created.": "Acionada quando uma nova mídia é criada.",
|
||||
"Triggered when a new comment is created.": "Acionada quando um novo comentário é criado.",
|
||||
"Account": "conta",
|
||||
"Team": "Equipe",
|
||||
"Accounts accessible via a given User": "Contas acessíveis por um determinado usuário",
|
||||
"Teams accessible via a given Account": "Equipes acessíveis por meio de uma determinada Conta"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"Frame": "Frame",
|
||||
"Collaborative workspace platform": "Совместная платформа рабочей области",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Включить базовую аутентификацию:**\n\n1. Перейдите на https://developer.frame.io/app/tokens\n2. Нажмите на 'Создать токен'\n3. Предоставьте описание для использования.\n4. В зависимости от вашего использования, вы можете 'Выбрать все ресурсы'\n5. Отправьте форму\n6. Токен будет создан. Скопируйте токен и вставьте его в поле 'Токен'\n",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
||||
"Method": "Метод",
|
||||
"Headers": "Заголовки",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Body": "Тело",
|
||||
"No Error on Failure": "Нет ошибок при ошибке",
|
||||
"Timeout (in seconds)": "Таймаут (в секундах)",
|
||||
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
||||
"GET": "ПОЛУЧИТЬ",
|
||||
"POST": "ПОСТ",
|
||||
"PATCH": "ПАТЧ",
|
||||
"PUT": "ПОКУПИТЬ",
|
||||
"DELETE": "УДАЛИТЬ",
|
||||
"HEAD": "HEAD",
|
||||
"Project Created": "Проект создан",
|
||||
"Asset Created": "Актив создан",
|
||||
"Comment Created": "Комментарий создан",
|
||||
"Triggered when a new project is created.": "Срабатывает при создании нового проекта.",
|
||||
"Triggered when a new asset is created.": "Срабатывает при создании нового актива.",
|
||||
"Triggered when a new comment is created.": "Срабатывает при создании нового комментария.",
|
||||
"Account": "Аккаунт",
|
||||
"Team": "Команда",
|
||||
"Accounts accessible via a given User": "Учетные записи, доступные через данного пользователя",
|
||||
"Teams accessible via a given Account": "Доступные команды через данный аккаунт"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Collaborative workspace platform",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Project Created": "Project Created",
|
||||
"Asset Created": "Asset Created",
|
||||
"Comment Created": "Comment Created",
|
||||
"Triggered when a new project is created.": "Triggered when a new project is created.",
|
||||
"Triggered when a new asset is created.": "Triggered when a new asset is created.",
|
||||
"Triggered when a new comment is created.": "Triggered when a new comment is created.",
|
||||
"Account": "Account",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "Accounts accessible via a given User",
|
||||
"Teams accessible via a given Account": "Teams accessible via a given Account"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"Frame": "Frame",
|
||||
"Collaborative workspace platform": "Collaborative workspace platform",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Project Created": "Project Created",
|
||||
"Asset Created": "Asset Created",
|
||||
"Comment Created": "Comment Created",
|
||||
"Triggered when a new project is created.": "Triggered when a new project is created.",
|
||||
"Triggered when a new asset is created.": "Triggered when a new asset is created.",
|
||||
"Triggered when a new comment is created.": "Triggered when a new comment is created.",
|
||||
"Account": "Account",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "Accounts accessible via a given User",
|
||||
"Teams accessible via a given Account": "Teams accessible via a given Account"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Collaborative workspace platform": "Collaborative workspace platform",
|
||||
"\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n": "\n**Enable Basic Authentication:**\n\n1. Go to https://developer.frame.io/app/tokens\n2. Click on 'Create a Token'\n3. Provide a Description for your use.\n4. Depending on your usage, you may 'Select all scopes'\n5. Submit the form\n6. The token will be created. Copy the token and paste it in the 'Token' input\n",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"GET": "获取",
|
||||
"POST": "帖子",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "弹出",
|
||||
"DELETE": "删除",
|
||||
"HEAD": "黑色",
|
||||
"Project Created": "Project Created",
|
||||
"Asset Created": "Asset Created",
|
||||
"Comment Created": "Comment Created",
|
||||
"Triggered when a new project is created.": "Triggered when a new project is created.",
|
||||
"Triggered when a new asset is created.": "Triggered when a new asset is created.",
|
||||
"Triggered when a new comment is created.": "Triggered when a new comment is created.",
|
||||
"Account": "Account",
|
||||
"Team": "Team",
|
||||
"Accounts accessible via a given User": "Accounts accessible via a given User",
|
||||
"Teams accessible via a given Account": "Teams accessible via a given Account"
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { triggers } from './lib/triggers';
|
||||
|
||||
const markdownPropertyDescription = `
|
||||
**Enable Basic Authentication:**
|
||||
|
||||
1. Go to https://developer.frame.io/app/tokens
|
||||
2. Click on 'Create a Token'
|
||||
3. Provide a Description for your use.
|
||||
4. Depending on your usage, you may 'Select all scopes'
|
||||
5. Submit the form
|
||||
6. The token will be created. Copy the token and paste it in the 'Token' input
|
||||
`;
|
||||
|
||||
export const frameAuth = PieceAuth.SecretText({
|
||||
displayName: 'Token',
|
||||
description: markdownPropertyDescription,
|
||||
required: true,
|
||||
});
|
||||
|
||||
export const frame = createPiece({
|
||||
displayName: 'Frame',
|
||||
description: 'Collaborative workspace platform',
|
||||
|
||||
auth: frameAuth,
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/frameio.png',
|
||||
categories: [PieceCategory.MARKETING],
|
||||
authors: ["kanarelo","kishanprmr","MoShizzle","abuaboud"],
|
||||
actions: [
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => 'https://api.frame.io/v2',
|
||||
auth: frameAuth,
|
||||
authMapping: async (auth) => ({
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers,
|
||||
});
|
||||
@@ -0,0 +1,67 @@
|
||||
import { frameRegisterTrigger } from './register-trigger';
|
||||
|
||||
export const triggers = [
|
||||
{
|
||||
name: 'project_created',
|
||||
eventType: 'project.created',
|
||||
displayName: 'Project Created',
|
||||
description: 'Triggered when a new project is created.',
|
||||
sampleData: {
|
||||
account_id: '449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65',
|
||||
active: true,
|
||||
app_id: 'affd1d10-9538-4fc8-9e0b-4594a28c1335',
|
||||
deleted_at: '2019-08-24T14:15:22Z',
|
||||
events: ['project.created'],
|
||||
id: '497f6eca-6276-4993-bfeb-53cbbbba6f08',
|
||||
inserted_at: '2019-08-24T14:15:22Z',
|
||||
name: 'string',
|
||||
project_id: '405d8375-3514-403b-8c43-83ae74cfe0e9',
|
||||
secret: 'string',
|
||||
team_id: '810007d0-bec5-486c-b5d1-28fcd8a079ba',
|
||||
updated_at: '2019-08-24T14:15:22Z',
|
||||
url: 'string',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'asset_created',
|
||||
eventType: 'asset.created',
|
||||
displayName: 'Asset Created',
|
||||
description: 'Triggered when a new asset is created.',
|
||||
sampleData: {
|
||||
account_id: '449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65',
|
||||
active: true,
|
||||
app_id: 'affd1d10-9538-4fc8-9e0b-4594a28c1335',
|
||||
deleted_at: '2019-08-24T14:15:22Z',
|
||||
events: ['asset.created'],
|
||||
id: '497f6eca-6276-4993-bfeb-53cbbbba6f08',
|
||||
inserted_at: '2019-08-24T14:15:22Z',
|
||||
name: 'string',
|
||||
project_id: '405d8375-3514-403b-8c43-83ae74cfe0e9',
|
||||
secret: 'string',
|
||||
team_id: '810007d0-bec5-486c-b5d1-28fcd8a079ba',
|
||||
updated_at: '2019-08-24T14:15:22Z',
|
||||
url: 'string',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'comment_created',
|
||||
eventType: 'comment.created',
|
||||
displayName: 'Comment Created',
|
||||
description: 'Triggered when a new comment is created.',
|
||||
sampleData: {
|
||||
account_id: '449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65',
|
||||
active: true,
|
||||
app_id: 'affd1d10-9538-4fc8-9e0b-4594a28c1335',
|
||||
deleted_at: '2019-08-24T14:15:22Z',
|
||||
events: ['comment.created'],
|
||||
id: '497f6eca-6276-4993-bfeb-53cbbbba6f08',
|
||||
inserted_at: '2019-08-24T14:15:22Z',
|
||||
name: 'string',
|
||||
project_id: '405d8375-3514-403b-8c43-83ae74cfe0e9',
|
||||
secret: 'string',
|
||||
team_id: '810007d0-bec5-486c-b5d1-28fcd8a079ba',
|
||||
updated_at: '2019-08-24T14:15:22Z',
|
||||
url: 'string',
|
||||
},
|
||||
},
|
||||
].map((props) => frameRegisterTrigger(props));
|
||||
@@ -0,0 +1,196 @@
|
||||
import {
|
||||
Property,
|
||||
TriggerStrategy,
|
||||
createTrigger,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import {
|
||||
httpClient,
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
AuthenticationType,
|
||||
} from '@activepieces/pieces-common';
|
||||
import { frameAuth } from '../..';
|
||||
|
||||
export const frameRegisterTrigger = ({
|
||||
name,
|
||||
displayName,
|
||||
eventType,
|
||||
description,
|
||||
sampleData,
|
||||
}: {
|
||||
name: string;
|
||||
displayName: string;
|
||||
eventType: string;
|
||||
description: string;
|
||||
sampleData: unknown;
|
||||
}) =>
|
||||
createTrigger({
|
||||
auth: frameAuth,
|
||||
name: `frame_trigger_${name}`,
|
||||
displayName,
|
||||
description,
|
||||
props: {
|
||||
account_id: Property.Dropdown({
|
||||
displayName: 'Account',
|
||||
description: 'Accounts accessible via a given User',
|
||||
required: true,
|
||||
refreshers: [],
|
||||
auth: frameAuth,
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: 'Please authenticate first',
|
||||
};
|
||||
}
|
||||
|
||||
const response = await httpClient.sendRequest<Account[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: `https://api.frame.io/v2/accounts`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BEARER_TOKEN,
|
||||
token: auth.secret_text,
|
||||
},
|
||||
queryParams: {},
|
||||
});
|
||||
|
||||
try {
|
||||
return {
|
||||
disabled: false,
|
||||
options: response.body.map((account) => {
|
||||
return {
|
||||
label: account.display_name,
|
||||
value: account.id,
|
||||
};
|
||||
}),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: `Couldn't load Accounts:\n${error}`,
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
team_id: Property.Dropdown({
|
||||
displayName: 'Team',
|
||||
description: 'Teams accessible via a given Account',
|
||||
required: true,
|
||||
refreshers: ['account_id'],
|
||||
auth: frameAuth,
|
||||
options: async ({ auth, account_id }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: 'Please authenticate first',
|
||||
};
|
||||
}
|
||||
if (!account_id) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: 'Please select an account first',
|
||||
};
|
||||
}
|
||||
|
||||
const response = await httpClient.sendRequest<Team[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: `https://api.frame.io/v2/accounts/${account_id}/teams`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BEARER_TOKEN,
|
||||
token: auth.secret_text,
|
||||
},
|
||||
queryParams: {},
|
||||
});
|
||||
|
||||
try {
|
||||
return {
|
||||
disabled: false,
|
||||
options: response.body.map((team) => {
|
||||
return {
|
||||
label: team.name,
|
||||
value: team.id,
|
||||
};
|
||||
}),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: `Couldn't load Teams:\n${error}`,
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
sampleData,
|
||||
type: TriggerStrategy.WEBHOOK,
|
||||
async onEnable(context) {
|
||||
const response = await httpClient.sendRequest<WebhookInformation>({
|
||||
method: HttpMethod.POST,
|
||||
url: `https://api.frame.com/api/v2/teams/${context.propsValue.team_id}/hooks`,
|
||||
body: {
|
||||
name: displayName,
|
||||
url: context.webhookUrl,
|
||||
events: [eventType],
|
||||
},
|
||||
authentication: {
|
||||
type: AuthenticationType.BEARER_TOKEN,
|
||||
token: context.auth.secret_text,
|
||||
},
|
||||
});
|
||||
await context.store.put<WebhookInformation>(
|
||||
`frame_${name}_trigger`,
|
||||
response.body
|
||||
);
|
||||
},
|
||||
async onDisable(context) {
|
||||
const webhook = await context.store.get<WebhookInformation>(
|
||||
`frame_${name}_trigger`
|
||||
);
|
||||
if (webhook != null) {
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.DELETE,
|
||||
url: `https://api.frame.io/v2/hooks/${webhook.id}`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BEARER_TOKEN,
|
||||
token: context.auth.secret_text,
|
||||
},
|
||||
};
|
||||
await httpClient.sendRequest(request);
|
||||
}
|
||||
},
|
||||
async run(context) {
|
||||
return [context.payload.body];
|
||||
},
|
||||
});
|
||||
|
||||
interface WebhookInformation {
|
||||
id: string;
|
||||
name: string;
|
||||
project_id: string;
|
||||
app_id: string;
|
||||
account_id: string;
|
||||
team_id: string;
|
||||
team: Team[];
|
||||
url: string;
|
||||
active: boolean;
|
||||
events: string[];
|
||||
secret: string;
|
||||
deleted_at: string;
|
||||
inserted_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
interface Team {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Account {
|
||||
id: string;
|
||||
display_name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user