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,33 @@
|
||||
{
|
||||
"extends": [
|
||||
"../../../../.eslintrc.base.json"
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"!**/*"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.ts",
|
||||
"*.tsx",
|
||||
"*.js",
|
||||
"*.jsx"
|
||||
],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"*.ts",
|
||||
"*.tsx"
|
||||
],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"*.js",
|
||||
"*.jsx"
|
||||
],
|
||||
"rules": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# pieces-fliqr-ai
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Building
|
||||
|
||||
Run `nx build pieces-fliqr-ai` to build the library.
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "@activepieces/piece-fliqr-ai",
|
||||
"version": "0.0.6"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"name": "pieces-fliqr-ai",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/pieces/community/fliqr-ai/src",
|
||||
"projectType": "library",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/packages/pieces/community/fliqr-ai",
|
||||
"tsConfig": "packages/pieces/community/fliqr-ai/tsconfig.lib.json",
|
||||
"packageJson": "packages/pieces/community/fliqr-ai/package.json",
|
||||
"main": "packages/pieces/community/fliqr-ai/src/index.ts",
|
||||
"assets": [
|
||||
"packages/pieces/community/fliqr-ai/*.md",
|
||||
{
|
||||
"input": "packages/pieces/community/fliqr-ai/src/i18n",
|
||||
"output": "./src/i18n",
|
||||
"glob": "**/!(i18n.json)"
|
||||
}
|
||||
],
|
||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"prebuild"
|
||||
]
|
||||
},
|
||||
"publish": {
|
||||
"command": "node tools/scripts/publish.mjs pieces-fliqr-ai {args.ver} {args.tag}",
|
||||
"dependsOn": [
|
||||
"build"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
]
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"cwd": "packages/pieces/community/fliqr-ai",
|
||||
"command": "bun install --no-save --silent"
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI Chatbot verbessert die Kundeninteraktionen zwischen WhatsApp, Facebook, Instagram, Telegramm und 6 anderen Plattformen.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n Um dein Fliqr API Zugangs-Token zu erhalten, folgen Sie diesen Schritten:\n\n 1. Melden Sie sich bei Ihrem Fliqr Konto an.\n 2. Navigieren Sie zu den Fliqr API Access Token Einstellungen.\n 3. Unter Integrationen finden Sie das Fliqr API Access Token.\n Klicken Sie auf Token kopieren, um Ihr bestehendes Token zu kopieren oder klicken Sie auf Token generieren, um ein neues zu erstellen.\n Kopieren Sie das Token und fügen Sie es unten in \"Fliqr API Access Token\" ein.\n ",
|
||||
"Get Business Account details": "Details des Geschäftskontos erhalten",
|
||||
"Get Account Flows": "Erhalte Kontoflüsse",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Get basic account details of business": "Erhalten Sie grundlegende Kontodaten von Unternehmen",
|
||||
"Get all flows from the account": "Alle Fließungen aus dem Konto holen",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "AI chatbot Omnichannel mejora las interacciones de los clientes en WhatsApp, Facebook, Instagram, Telegram y otras 6 plataformas.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n Para obtener tu token de acceso a la API de Fliqr, siga estos pasos:\n\n 1. Inicie sesión en su cuenta de Fliqr.\n 2. Vaya a la Configuración del token de acceso de la API de Fliqr.\n 3. En la sección de Integraciones, encuentre el token de acceso de la API de Fliqr.\n 4. Haga clic en Copiar Token para copiar su token existente o haga clic en Generar Token para crear uno nuevo.\n 5. Copia el token y pégalo abajo en \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Detalles de la cuenta comercial",
|
||||
"Get Account Flows": "Obtener Flows de Cuenta",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Get basic account details of business": "Obtener detalles básicos de la cuenta de negocios",
|
||||
"Get all flows from the account": "Obtener todos los flujos de la cuenta",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI chatbot améliorant les interactions clients à travers WhatsApp, Facebook, Instagram, Telegram, et 6 autres plateformes.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Obtenir les coordonnées du compte professionnel",
|
||||
"Get Account Flows": "Recevoir des flux de compte",
|
||||
"Custom API Call": "Appel API personnalisé",
|
||||
"Get basic account details of business": "Obtenir les informations de base du compte professionnel",
|
||||
"Get all flows from the account": "Obtenir tous les flux depuis le compte",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "WhatsApp、Facebook、Instagram、Telegram、および他の6つのプラットフォームで顧客とのやり取りを強化するオムニチャネルAIチャットボット。",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "法人アカウントの詳細を取得",
|
||||
"Get Account Flows": "アカウントフローを取得",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Get basic account details of business": "ビジネスの基本的なアカウントの詳細を取得する",
|
||||
"Get all flows from the account": "アカウントからすべてのフローを取得",
|
||||
"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": "頭"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI chatbot verbetert interacties tussen klanten via WhatsApp, Facebook, Instagram, Telegram en 6 andere platformen.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n Om je Fliqr API-toegangstoken te verkrijgen, volg deze stappen:\n\n 1. Log in op je Fliqr account.\n 2. Navigeer naar Fliqr API Access Token Instellingen.\n 3. Zoek onder de Integraties sectie de Fliqr API Access Token.\n 4. Klik op Kopiëren Token om uw bestaande token te kopiëren of klik op Token genereren om een nieuwe aan te maken.\n 5. Kopieer de token en plak het hieronder in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Zakelijke accountgegevens verkrijgen",
|
||||
"Get Account Flows": "Accountstromen ophalen",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Get basic account details of business": "Ontvang basisaccountgegevens van business",
|
||||
"Get all flows from the account": "Krijg alle stromen van de rekening",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "ChatBot Omnichannel AI, aprimorando as interações com o cliente através de WhatsApp, Facebook, Instagram, Telegram, e 6 outras plataformas.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Obter detalhes da Conta Empresarial",
|
||||
"Get Account Flows": "Obter fluxos de conta",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Get basic account details of business": "Obter detalhes básicos de conta da empresa",
|
||||
"Get all flows from the account": "Obtenha todos os fluxos da conta",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"Fliqr AI": "Fliqr AI",
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnich<unk> AI чат-бот усиливает взаимодействие с клиентами через WhatsApp, Facebook, Instagram, Telegram, 6 других платформ.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Получить информацию о бизнес-счете",
|
||||
"Get Account Flows": "Получить Потоки клиента",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Get basic account details of business": "Получить основные реквизиты для бизнеса",
|
||||
"Get all flows from the account": "Получить все потоки со счета",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Get Business Account details",
|
||||
"Get Account Flows": "Get Account Flows",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Get basic account details of business": "Get basic account details of business",
|
||||
"Get all flows from the account": "Get all flows from the account",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"Fliqr AI": "Fliqr AI",
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Get Business Account details",
|
||||
"Get Account Flows": "Get Account Flows",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Get basic account details of business": "Get basic account details of business",
|
||||
"Get all flows from the account": "Get all flows from the account",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.": "Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.",
|
||||
"\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ": "\n To obtain your Fliqr API access token, follow these steps:\n\n 1. Log in to your Fliqr account.\n 2. Navigate to Fliqr API Access Token Settings.\n 3. Under the Integrations section, find the Fliqr API Access Token.\n 4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.\n 5. Copy the token and paste it below in \"Fliqr API Access Token\".\n ",
|
||||
"Get Business Account details": "Get Business Account details",
|
||||
"Get Account Flows": "Get Account Flows",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Get basic account details of business": "Get basic account details of business",
|
||||
"Get all flows from the account": "Get all flows from the account",
|
||||
"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": "黑色"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
import { HttpMethod, createCustomApiCallAction, httpClient } from '@activepieces/pieces-common';
|
||||
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
||||
import { getFliqrAccountDetails } from './lib/actions/get-account-details';
|
||||
import { fliqrConfig } from './lib/common/models';
|
||||
import { getFliqrAccountFlows } from './lib/actions/get-account-flows';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
|
||||
export const fliqrAuth = PieceAuth.SecretText({
|
||||
displayName: 'Fliqr API Access Token',
|
||||
required: true,
|
||||
description: `
|
||||
To obtain your Fliqr API access token, follow these steps:
|
||||
|
||||
1. Log in to your Fliqr account.
|
||||
2. Navigate to Fliqr API Access Token Settings.
|
||||
3. Under the Integrations section, find the Fliqr API Access Token.
|
||||
4. Click on Copy Token to copy your existing token or click on Generate Token to create a new one.
|
||||
5. Copy the token and paste it below in "Fliqr API Access Token".
|
||||
`,
|
||||
validate: async (auth) => {
|
||||
try {
|
||||
await httpClient.sendRequest<string[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: `${fliqrConfig.baseUrl}/accounts/me`,
|
||||
headers: {
|
||||
[fliqrConfig.accessTokenHeaderKey]: auth.auth,
|
||||
},
|
||||
});
|
||||
return {
|
||||
valid: true,
|
||||
};
|
||||
} catch (e) {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Invalid personal access token',
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
export const fliqrAi = createPiece({
|
||||
displayName: 'Fliqr AI',
|
||||
description:
|
||||
'Omnichannel AI chatbot enhancing customer interactions across WhatsApp, Facebook, Instagram, Telegram, and 6 other platforms.',
|
||||
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/fliqr-ai.png',
|
||||
authors: ["drona2938"],
|
||||
categories: [PieceCategory.COMMUNICATION,PieceCategory.CUSTOMER_SUPPORT,PieceCategory.MARKETING],
|
||||
auth: fliqrAuth,
|
||||
actions: [ getFliqrAccountDetails,
|
||||
getFliqrAccountFlows,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => fliqrConfig.baseUrl,
|
||||
auth: fliqrAuth,
|
||||
authMapping: async (auth) => ({
|
||||
[fliqrConfig.accessTokenHeaderKey]: `${auth}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,24 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { fliqrAuth } from '../../index';
|
||||
import { fliqrConfig } from '../common/models';
|
||||
|
||||
|
||||
export const getFliqrAccountDetails = createAction({
|
||||
// auth: check https://www.activepieces.com/docs/developers/piece-reference/authentication,
|
||||
name: 'get_fliqr_account_details',
|
||||
auth: fliqrAuth,
|
||||
displayName: 'Get Business Account details',
|
||||
description: 'Get basic account details of business',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const res = await httpClient.sendRequest<string[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: `${fliqrConfig.baseUrl}/accounts/me`,
|
||||
headers: {
|
||||
[fliqrConfig.accessTokenHeaderKey]: context.auth.secret_text,
|
||||
},
|
||||
});
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,23 @@
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { fliqrConfig } from '../common/models';
|
||||
import { fliqrAuth } from '../../index';
|
||||
|
||||
export const getFliqrAccountFlows = createAction({
|
||||
// auth: check https://www.activepieces.com/docs/developers/piece-reference/authentication,
|
||||
name: 'get_fliqr_account_flows',
|
||||
auth: fliqrAuth,
|
||||
displayName: 'Get Account Flows',
|
||||
description: 'Get all flows from the account',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const res = await httpClient.sendRequest<string[]>({
|
||||
method: HttpMethod.GET,
|
||||
url: `${fliqrConfig.baseUrl}/accounts/flows`,
|
||||
headers: {
|
||||
[fliqrConfig.accessTokenHeaderKey]: context.auth.secret_text,
|
||||
}
|
||||
});
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
export const fliqrConfig = {
|
||||
baseUrl: 'https://app.fliqr.ai/api',
|
||||
accessTokenHeaderKey: 'X-ACCESS-TOKEN',
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"noImplicitOverride": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"outDir": "../../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user