@activepieces/piece-chatnode 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "@activepieces/piece-chatnode",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
8
  "@sinclair/typebox": "0.34.11",
9
+ "ai": "^6.0.0",
9
10
  "axios": "1.13.1",
10
11
  "axios-retry": "4.4.1",
11
12
  "deepmerge-ts": "7.1.0",
12
13
  "form-data": "4.0.4",
14
+ "i18next": "23.13.0",
13
15
  "mime-types": "2.1.35",
14
16
  "nanoid": "3.3.8",
15
17
  "semver": "7.6.0",
16
18
  "socket.io-client": "4.8.1",
17
19
  "tslib": "^2.3.0",
18
20
  "zod": "4.1.13",
19
- "@activepieces/pieces-common": "0.11.0",
20
- "@activepieces/pieces-framework": "0.23.0",
21
- "@activepieces/shared": "0.30.4"
21
+ "@activepieces/pieces-common": "0.11.3",
22
+ "@activepieces/pieces-framework": "0.25.1",
23
+ "@activepieces/shared": "0.34.0"
22
24
  },
23
25
  "resolutions": {
24
26
  "rollup": "npm:@rollup/wasm-node"
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "Um einen API-Schlüssel zu generieren, gehen Sie zu den Team-Einstellungen und navigieren Sie zur Registerkarte API-Zugriff. Dort finden Sie die Möglichkeit, einen neuen API-Schlüssel zu generieren.",
3
+ "Ask Chatbot": "Chatbot fragen",
4
+ "Custom API Call": "Eigener API-Aufruf",
5
+ "Sends a message to your bot and get back an answer.": "Sendet eine Nachricht an Ihren Bot und erhalte eine Antwort zurück.",
6
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "Nachricht",
9
+ "Chat Session ID": "Chat-Session-ID",
10
+ "Method": "Methode",
11
+ "Headers": "Kopfzeilen",
12
+ "Query Parameters": "Abfrageparameter",
13
+ "Body Type": "Körpertyp",
14
+ "Body": "Körper",
15
+ "Response is Binary ?": "Antwort ist binär?",
16
+ "No Error on Failure": "Kein Fehler bei Fehler",
17
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
18
+ "Follow redirects": "Weiterleitungen folgen",
19
+ "You can obtain Bot ID from bot's settings menu.": "Sie können die Bot-ID aus dem Einstellungsmenü des Bots erhalten.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "Die Chat-Session-ID, um eine einzigartige Unterhaltung zu verfolgen. Wenn nicht angegeben wird, wird standardmäßig jedes Mal ein neues generiert. Sie können es von der URL nach /chats/ erhalten.",
21
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
22
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
23
+ "GET": "ERHALTEN",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "LÖSCHEN",
28
+ "HEAD": "HEAD",
29
+ "None": "Keine",
30
+ "JSON": "JSON",
31
+ "Form Data": "Formulardaten",
32
+ "Raw": "Rohe"
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "Para generar una clave API, vaya a Configuración del Equipo y vaya a la pestaña Acceso de API. Ahí encontrará la opción de generar una nueva clave API.",
3
+ "Ask Chatbot": "Preguntar a Chatbot",
4
+ "Custom API Call": "Llamada API personalizada",
5
+ "Sends a message to your bot and get back an answer.": "Envía un mensaje a tu bot y vuelve a obtener una respuesta.",
6
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "Mensaje",
9
+ "Chat Session ID": "ID de Sesión de Chat",
10
+ "Method": "Método",
11
+ "Headers": "Encabezados",
12
+ "Query Parameters": "Parámetros de consulta",
13
+ "Body Type": "Tipo de cuerpo",
14
+ "Body": "Cuerpo",
15
+ "Response is Binary ?": "¿Respuesta es binaria?",
16
+ "No Error on Failure": "No hay ningún error en fallo",
17
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
18
+ "Follow redirects": "Seguir redirecciones",
19
+ "You can obtain Bot ID from bot's settings menu.": "Puedes obtener ID de bot desde el menú de configuración del bot.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "El id de sesión de chat para llevar un seguimiento de una conversación única. Si no se proporciona, por defecto generará una nueva cada vez. Puede obtenerla desde la URL después de /chats/.",
21
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
22
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
23
+ "GET": "RECOGER",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "BORRAR",
28
+ "HEAD": "LIMPIO",
29
+ "None": "Ninguna",
30
+ "JSON": "JSON",
31
+ "Form Data": "Datos de Formulario",
32
+ "Raw": "Rápido"
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "Pour générer une clé d'API, allez dans les paramètres de l'équipe et accédez à l'onglet Accès API. Là, vous trouverez l’option de générer une nouvelle clé API.",
3
+ "Ask Chatbot": "Demander à Chatbot",
4
+ "Custom API Call": "Appel d'API personnalisé",
5
+ "Sends a message to your bot and get back an answer.": "Envoie un message à votre bot et récupère une réponse.",
6
+ "Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "Message",
9
+ "Chat Session ID": "ID de session de chat",
10
+ "Method": "Méthode",
11
+ "Headers": "Headers",
12
+ "Query Parameters": "Paramètres de requête",
13
+ "Body Type": "Body Type",
14
+ "Body": "Body",
15
+ "Response is Binary ?": "La réponse est Binaire ?",
16
+ "No Error on Failure": "Aucune erreur en cas d'échec",
17
+ "Timeout (in seconds)": "Délai d'expiration (en secondes)",
18
+ "Follow redirects": "Suivre les redirections",
19
+ "You can obtain Bot ID from bot's settings menu.": "Vous pouvez obtenir l'ID du Bot à partir du menu des paramètres du bot.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "L'identifiant de la session de chat pour garder une trace d'une conversation unique. S'il n'est pas fourni, il sera par défaut de générer un nouveau à chaque fois. Vous pouvez l'obtenir à partir d'URL après /chats/.",
21
+ "Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
22
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
23
+ "GET": "GET",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "DELETE",
28
+ "HEAD": "HEAD",
29
+ "None": "Aucun",
30
+ "JSON": "JSON",
31
+ "Form Data": "Données du formulaire",
32
+ "Raw": "Brut"
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "API キーを生成するには、[Team Settings] に進み、[API Access] タブに移動します。 そこに、新しいAPIキーを生成するオプションがあります。",
3
+ "Ask Chatbot": "チャットボットに聞く",
4
+ "Custom API Call": "カスタムAPI通話",
5
+ "Sends a message to your bot and get back an answer.": "ボットにメッセージを送信し、回答を取り戻します。",
6
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "メッセージ",
9
+ "Chat Session ID": "チャットセッションID",
10
+ "Method": "方法",
11
+ "Headers": "ヘッダー",
12
+ "Query Parameters": "クエリパラメータ",
13
+ "Body Type": "ボディタイプ",
14
+ "Body": "本文",
15
+ "Response is Binary ?": "応答はバイナリですか?",
16
+ "No Error on Failure": "失敗時にエラーはありません",
17
+ "Timeout (in seconds)": "タイムアウト(秒)",
18
+ "Follow redirects": "リダイレクトをフォローする",
19
+ "You can obtain Bot ID from bot's settings menu.": "Botの設定メニューからBotのIDを取得できます。",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "ユニークな会話を追跡するためのチャットセッションID。 指定されていない場合は、毎回新しいものを生成します。/chats/の後にURLから取得できます。",
21
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
22
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
23
+ "GET": "取得",
24
+ "POST": "POST",
25
+ "PATCH": "PATCH",
26
+ "PUT": "PUT",
27
+ "DELETE": "削除",
28
+ "HEAD": "頭",
29
+ "None": "なし",
30
+ "JSON": "JSON",
31
+ "Form Data": "フォームデータ",
32
+ "Raw": "Raw"
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "Om een API-sleutel te genereren, ga naar Teaminstellingen en navigeer naar het tabblad API-toegang. Hier vindt u de optie om een nieuwe API-sleutel te genereren.",
3
+ "Ask Chatbot": "Chatbot vragen",
4
+ "Custom API Call": "Custom API Call",
5
+ "Sends a message to your bot and get back an answer.": "Stuurt een bericht naar je bot en krijg een antwoord terug.",
6
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "bericht",
9
+ "Chat Session ID": "Chat Sessie ID",
10
+ "Method": "Methode",
11
+ "Headers": "Kopteksten",
12
+ "Query Parameters": "Query parameters",
13
+ "Body Type": "Type lichaam",
14
+ "Body": "Lichaam",
15
+ "Response is Binary ?": "Antwoord is binair?",
16
+ "No Error on Failure": "Geen fout bij fout",
17
+ "Timeout (in seconds)": "Time-out (in seconden)",
18
+ "Follow redirects": "Volg omleidingen",
19
+ "You can obtain Bot ID from bot's settings menu.": "Je kunt Bot ID verkrijgen in het bot's instellingen menu.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "De chat-sessie-id om een uniek gesprek bij te houden. Indien niet opgegeven, zal het standaard een nieuwe aanmaken elke keer. U kunt het verkrijgen via de URL na /chats/.",
21
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
22
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
23
+ "GET": "KRIJG",
24
+ "POST": "POSTE",
25
+ "PATCH": "BEKIJK",
26
+ "PUT": "PUT",
27
+ "DELETE": "VERWIJDEREN",
28
+ "HEAD": "HOOFD",
29
+ "None": "geen",
30
+ "JSON": "JSON",
31
+ "Form Data": "Formulieren gegevens",
32
+ "Raw": "Onbewerkte"
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "Para gerar uma chave de API, vá até as configurações de equipe e navegue até a aba de Acesso à API. Lá você encontrará a opção de gerar uma nova chave de API.",
3
+ "Ask Chatbot": "Pergunte ao Chatbot",
4
+ "Custom API Call": "Chamada de API personalizada",
5
+ "Sends a message to your bot and get back an answer.": "Envia uma mensagem para o bot e retorna uma resposta.",
6
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "mensagem",
9
+ "Chat Session ID": "ID de Sessão no Chat",
10
+ "Method": "Método",
11
+ "Headers": "Cabeçalhos",
12
+ "Query Parameters": "Parâmetros da consulta",
13
+ "Body Type": "Tipo de Corpo",
14
+ "Body": "Conteúdo",
15
+ "Response is Binary ?": "A resposta é binária ?",
16
+ "No Error on Failure": "Nenhum erro no Failure",
17
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
18
+ "Follow redirects": "Seguir redirecionamentos",
19
+ "You can obtain Bot ID from bot's settings menu.": "Você pode obter o ID do Bot através do menu de configurações do bot.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "O ID da sessão de bate-papo para acompanhar uma conversa única. Se não for fornecido, será o padrão gerar uma nova a cada vez. Você pode obtê-la na URL após /chats/.",
21
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
22
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
23
+ "GET": "OBTER",
24
+ "POST": "POSTAR",
25
+ "PATCH": "COMPRAR",
26
+ "PUT": "COLOCAR",
27
+ "DELETE": "EXCLUIR",
28
+ "HEAD": "CABEÇA",
29
+ "None": "Nenhuma",
30
+ "JSON": "JSON",
31
+ "Form Data": "Dados de Formulário",
32
+ "Raw": "RAW"
33
+ }
@@ -10,18 +10,24 @@
10
10
  "Method": "Method",
11
11
  "Headers": "Headers",
12
12
  "Query Parameters": "Query Parameters",
13
+ "Body Type": "Body Type",
13
14
  "Body": "Body",
14
15
  "Response is Binary ?": "Response is Binary ?",
15
16
  "No Error on Failure": "No Error on Failure",
16
17
  "Timeout (in seconds)": "Timeout (in seconds)",
18
+ "Follow redirects": "Follow redirects",
17
19
  "You can obtain Bot ID from bot's settings menu.": "You can obtain Bot ID from bot's settings menu.",
18
20
  "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.",
19
21
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
20
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
22
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
21
23
  "GET": "GET",
22
24
  "POST": "POST",
23
25
  "PATCH": "PATCH",
24
26
  "PUT": "PUT",
25
27
  "DELETE": "DELETE",
26
- "HEAD": "HEAD"
28
+ "HEAD": "HEAD",
29
+ "None": "None",
30
+ "JSON": "JSON",
31
+ "Form Data": "Form Data",
32
+ "Raw": "Raw"
27
33
  }
@@ -0,0 +1,33 @@
1
+ {
2
+ "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.": "To generate an API key, go to Team Settings and navigate to the API Access tab. There, you’ll find the option to generate a new API key.",
3
+ "Ask Chatbot": "Ask Chatbot",
4
+ "Custom API Call": "自定义 API 呼叫",
5
+ "Sends a message to your bot and get back an answer.": "Sends a message to your bot and get back an answer.",
6
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
7
+ "Bot ID": "Bot ID",
8
+ "Message": "Message",
9
+ "Chat Session ID": "Chat Session ID",
10
+ "Method": "方法",
11
+ "Headers": "信头",
12
+ "Query Parameters": "查询参数",
13
+ "Body Type": "Body Type",
14
+ "Body": "正文内容",
15
+ "Response is Binary ?": "Response is Binary ?",
16
+ "No Error on Failure": "失败时没有错误",
17
+ "Timeout (in seconds)": "超时(秒)",
18
+ "Follow redirects": "Follow redirects",
19
+ "You can obtain Bot ID from bot's settings menu.": "You can obtain Bot ID from bot's settings menu.",
20
+ "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.": "The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.You can obtain it from URL after /chats/.",
21
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
22
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
23
+ "GET": "获取",
24
+ "POST": "帖子",
25
+ "PATCH": "PATCH",
26
+ "PUT": "弹出",
27
+ "DELETE": "删除",
28
+ "HEAD": "黑色",
29
+ "None": "无",
30
+ "JSON": "JSON",
31
+ "Form Data": "表单数据",
32
+ "Raw": "原始文件"
33
+ }