@activepieces/piece-chat-aid 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "@activepieces/piece-chat-aid",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
8
  "@sinclair/typebox": "0.34.11",
9
+ "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.2",
22
+ "@activepieces/pieces-framework": "0.24.0",
23
+ "@activepieces/shared": "0.32.0"
22
24
  },
23
25
  "resolutions": {
24
26
  "rollup": "npm:@rollup/wasm-node"
package/src/i18n/de.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "Methode",
19
19
  "Headers": "Kopfzeilen",
20
20
  "Query Parameters": "Abfrageparameter",
21
+ "Body Type": "Körpertyp",
21
22
  "Body": "Körper",
22
23
  "Response is Binary ?": "Antwort ist binär?",
23
24
  "No Error on Failure": "Kein Fehler bei Fehler",
24
25
  "Timeout (in seconds)": "Timeout (in Sekunden)",
26
+ "Follow redirects": "Weiterleitungen folgen",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "Eine oder mehrere Dateien zum Hochladen (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "Optionale Team-ID (Standardmäßig org-weit)",
27
29
  "The question to ask the knowledge base": "Die Frage, um die Wissensdatenbank zu stellen",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Optionaler Unix-Zeitstempel der aktuellen Nachricht. Benutzen Sie mit den Eltern-Ts für Folgefragen in einem Gespräch.",
30
32
  "The ID of the custom source to retrieve": "Die ID der benutzerdefinierten Quelle zum Abrufen",
31
33
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
32
- "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
34
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
33
35
  "GET": "ERHALTEN",
34
36
  "POST": "POST",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "LÖSCHEN",
38
- "HEAD": "HEAD"
40
+ "HEAD": "HEAD",
41
+ "None": "Keine",
42
+ "JSON": "JSON",
43
+ "Form Data": "Formulardaten",
44
+ "Raw": "Rohe"
39
45
  }
package/src/i18n/es.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "Método",
19
19
  "Headers": "Encabezados",
20
20
  "Query Parameters": "Parámetros de consulta",
21
+ "Body Type": "Tipo de cuerpo",
21
22
  "Body": "Cuerpo",
22
23
  "Response is Binary ?": "¿Respuesta es binaria?",
23
24
  "No Error on Failure": "No hay ningún error en fallo",
24
25
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
26
+ "Follow redirects": "Seguir redirecciones",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "Uno o más archivos para subir (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "ID de equipo opcional (por defecto org-wid)",
27
29
  "The question to ask the knowledge base": "La pregunta para hacer la base de conocimiento",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Marca de tiempo Unix opcional del mensaje actual. Usar con los padres para preguntas de seguimiento en una conversación.",
30
32
  "The ID of the custom source to retrieve": "El ID de la fuente personalizada a recuperar",
31
33
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
32
- "Enable for files like PDFs, images, etc..": "Activar para archivos como PDF, imágenes, etc.",
34
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
33
35
  "GET": "RECOGER",
34
36
  "POST": "POST",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "BORRAR",
38
- "HEAD": "LIMPIO"
40
+ "HEAD": "LIMPIO",
41
+ "None": "Ninguna",
42
+ "JSON": "JSON",
43
+ "Form Data": "Datos de Formulario",
44
+ "Raw": "Rápido"
39
45
  }
package/src/i18n/fr.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "Méthode",
19
19
  "Headers": "Headers",
20
20
  "Query Parameters": "Paramètres de requête",
21
+ "Body Type": "Body Type",
21
22
  "Body": "Body",
22
23
  "Response is Binary ?": "La réponse est Binaire ?",
23
24
  "No Error on Failure": "Aucune erreur en cas d'échec",
24
25
  "Timeout (in seconds)": "Délai d'expiration (en secondes)",
26
+ "Follow redirects": "Suivre les redirections",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "Un ou plusieurs fichiers à télécharger (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "ID d'équipe optionnel (par défaut à l'entière)",
27
29
  "The question to ask the knowledge base": "La question à poser à la base de connaissances",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Horodatage UNIX optionnel du message courant. Utiliser avec les Ts parents pour les questions de suivi dans une conversation.",
30
32
  "The ID of the custom source to retrieve": "L'ID de la source personnalisée à récupérer",
31
33
  "Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
32
- "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
34
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
33
35
  "GET": "GET",
34
36
  "POST": "POST",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "DELETE",
38
- "HEAD": "HEAD"
40
+ "HEAD": "HEAD",
41
+ "None": "Aucun",
42
+ "JSON": "JSON",
43
+ "Form Data": "Données du formulaire",
44
+ "Raw": "Brut"
39
45
  }
package/src/i18n/ja.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "方法",
19
19
  "Headers": "ヘッダー",
20
20
  "Query Parameters": "クエリパラメータ",
21
+ "Body Type": "ボディタイプ",
21
22
  "Body": "本文",
22
23
  "Response is Binary ?": "応答はバイナリですか?",
23
24
  "No Error on Failure": "失敗時にエラーはありません",
24
25
  "Timeout (in seconds)": "タイムアウト(秒)",
26
+ "Follow redirects": "リダイレクトをフォローする",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "アップロードするファイル(PDF、Word、テキスト、Markdown、HTML、Excel、CSV、PowerPoint、PNG、JPEG、GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "任意のチームID(デフォルトは組織全体)",
27
29
  "The question to ask the knowledge base": "ナレッジベースに質問する",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "現在のメッセージの任意の Unix タイムスタンプ。会話のフォローアップの質問には、親と一緒に使用します。",
30
32
  "The ID of the custom source to retrieve": "取得するカスタム ソースの ID",
31
33
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
32
- "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
34
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
33
35
  "GET": "取得",
34
36
  "POST": "POST",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "削除",
38
- "HEAD": "頭"
40
+ "HEAD": "頭",
41
+ "None": "なし",
42
+ "JSON": "JSON",
43
+ "Form Data": "フォームデータ",
44
+ "Raw": "Raw"
39
45
  }
package/src/i18n/nl.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "Methode",
19
19
  "Headers": "Kopteksten",
20
20
  "Query Parameters": "Query parameters",
21
+ "Body Type": "Type lichaam",
21
22
  "Body": "Lichaam",
22
23
  "Response is Binary ?": "Antwoord is binair?",
23
24
  "No Error on Failure": "Geen fout bij fout",
24
25
  "Timeout (in seconds)": "Time-out (in seconden)",
26
+ "Follow redirects": "Volg omleidingen",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "Een of meer te uploaden bestanden (PDF, Word, Tekst, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "Optioneel team ID (standaard op org-wide)",
27
29
  "The question to ask the knowledge base": "De vraag om de kennisbank te stellen",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Optionele Unix tijdstempel van het huidige bericht. Gebruik met ouderT's voor vervolgvragen in een gesprek.",
30
32
  "The ID of the custom source to retrieve": "Het ID van de te ophalen aangepaste bron",
31
33
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
32
- "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
34
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
33
35
  "GET": "KRIJG",
34
36
  "POST": "POSTE",
35
37
  "PATCH": "BEKIJK",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "VERWIJDEREN",
38
- "HEAD": "HOOFD"
40
+ "HEAD": "HOOFD",
41
+ "None": "geen",
42
+ "JSON": "JSON",
43
+ "Form Data": "Formulieren gegevens",
44
+ "Raw": "Onbewerkte"
39
45
  }
package/src/i18n/pt.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "Método",
19
19
  "Headers": "Cabeçalhos",
20
20
  "Query Parameters": "Parâmetros da consulta",
21
+ "Body Type": "Tipo de Corpo",
21
22
  "Body": "Conteúdo",
22
23
  "Response is Binary ?": "A resposta é binária ?",
23
24
  "No Error on Failure": "Nenhum erro no Failure",
24
25
  "Timeout (in seconds)": "Tempo limite (em segundos)",
26
+ "Follow redirects": "Seguir redirecionamentos",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "Um ou mais arquivos a serem enviados (PDF, Word, Texto, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "ID opcional da equipe (o padrão é todo o org)",
27
29
  "The question to ask the knowledge base": "A pergunta para perguntar a base de conhecimento",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Carimbo de tempo Unix opcional. Use com Ts Pai para perguntas de acompanhamento em uma conversa.",
30
32
  "The ID of the custom source to retrieve": "A ID da fonte personalizada para recuperar",
31
33
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
32
- "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
34
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
33
35
  "GET": "OBTER",
34
36
  "POST": "POSTAR",
35
37
  "PATCH": "COMPRAR",
36
38
  "PUT": "COLOCAR",
37
39
  "DELETE": "EXCLUIR",
38
- "HEAD": "CABEÇA"
40
+ "HEAD": "CABEÇA",
41
+ "None": "Nenhuma",
42
+ "JSON": "JSON",
43
+ "Form Data": "Dados de Formulário",
44
+ "Raw": "RAW"
39
45
  }
@@ -18,10 +18,12 @@
18
18
  "Method": "Method",
19
19
  "Headers": "Headers",
20
20
  "Query Parameters": "Query Parameters",
21
+ "Body Type": "Body Type",
21
22
  "Body": "Body",
22
23
  "Response is Binary ?": "Response is Binary ?",
23
24
  "No Error on Failure": "No Error on Failure",
24
25
  "Timeout (in seconds)": "Timeout (in seconds)",
26
+ "Follow redirects": "Follow redirects",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "Optional team ID (defaults to org-wide)",
27
29
  "The question to ask the knowledge base": "The question to ask the knowledge base",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.",
30
32
  "The ID of the custom source to retrieve": "The ID of the custom source to retrieve",
31
33
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
32
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
34
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
33
35
  "GET": "GET",
34
36
  "POST": "POST",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "PUT",
37
39
  "DELETE": "DELETE",
38
- "HEAD": "HEAD"
40
+ "HEAD": "HEAD",
41
+ "None": "None",
42
+ "JSON": "JSON",
43
+ "Form Data": "Form Data",
44
+ "Raw": "Raw"
39
45
  }
package/src/i18n/zh.json CHANGED
@@ -18,10 +18,12 @@
18
18
  "Method": "方法",
19
19
  "Headers": "信头",
20
20
  "Query Parameters": "查询参数",
21
+ "Body Type": "Body Type",
21
22
  "Body": "正文内容",
22
23
  "Response is Binary ?": "Response is Binary ?",
23
24
  "No Error on Failure": "失败时没有错误",
24
25
  "Timeout (in seconds)": "超时(秒)",
26
+ "Follow redirects": "Follow redirects",
25
27
  "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)": "One or more files to upload (PDF, Word, Text, Markdown, HTML, Excel, CSV, PowerPoint, PNG, JPEG, GIF)",
26
28
  "Optional team ID (defaults to org-wide)": "Optional team ID (defaults to org-wide)",
27
29
  "The question to ask the knowledge base": "The question to ask the knowledge base",
@@ -29,11 +31,15 @@
29
31
  "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.": "Optional Unix timestamp of current message. Use with parentTs for follow-up questions in a conversation.",
30
32
  "The ID of the custom source to retrieve": "The ID of the custom source to retrieve",
31
33
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
32
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
34
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
33
35
  "GET": "获取",
34
36
  "POST": "帖子",
35
37
  "PATCH": "PATCH",
36
38
  "PUT": "弹出",
37
39
  "DELETE": "删除",
38
- "HEAD": "黑色"
40
+ "HEAD": "黑色",
41
+ "None": "无",
42
+ "JSON": "JSON",
43
+ "Form Data": "表单数据",
44
+ "Raw": "原始文件"
39
45
  }