@activepieces/piece-retune 0.0.5 → 0.0.7

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,19 +1,38 @@
1
1
  {
2
2
  "name": "@activepieces/piece-retune",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "dependencies": {
5
- "@sinclair/typebox": "0.26.8",
6
- "axios": "^1.6.3",
7
- "dayjs": "1.11.9",
8
- "is-base64": "1.1.0",
9
- "lodash": "4.17.21",
10
- "nanoid": "3.3.6",
5
+ "@ai-sdk/anthropic": "1.2.12",
6
+ "@ai-sdk/google": "1.2.19",
7
+ "@ai-sdk/openai": "1.3.22",
8
+ "@ai-sdk/replicate": "0.2.8",
9
+ "@sinclair/typebox": "0.34.11",
10
+ "ai": "4.3.16",
11
+ "axios": "1.8.3",
12
+ "axios-retry": "4.4.1",
13
+ "deepmerge-ts": "7.1.0",
14
+ "fast-glob": "3.3.3",
15
+ "mime-types": "2.1.35",
16
+ "nanoid": "3.3.8",
11
17
  "semver": "7.6.0",
12
- "@activepieces/pieces-common": "0.2.9",
13
- "@activepieces/pieces-framework": "0.7.24",
14
- "@activepieces/shared": "0.10.93",
15
- "tslib": "1.14.1"
18
+ "zod": "3.25.76",
19
+ "@activepieces/pieces-common": "0.6.3",
20
+ "@activepieces/pieces-framework": "0.18.0",
21
+ "@activepieces/shared": "0.17.11",
22
+ "tslib": "2.8.1"
16
23
  },
24
+ "overrides": {
25
+ "@tryfabric/martian": {
26
+ "@notionhq/client": "$@notionhq/client"
27
+ },
28
+ "vite": {
29
+ "rollup": "npm:@rollup/wasm-node"
30
+ }
31
+ },
32
+ "resolutions": {
33
+ "rollup": "npm:@rollup/wasm-node"
34
+ },
35
+ "types": "./src/index.d.ts",
17
36
  "main": "./src/index.js",
18
37
  "type": "commonjs"
19
38
  }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Alles, was Sie brauchen, um Ihr Geschäft mit der KI zu transformieren, von benutzerdefinierten Chatbots zu autonomen Agenten.",
4
+ "Chat ID": "Chat-ID",
5
+ "API Key": "API-Schlüssel",
6
+ "The ID of the chat you want to use.": "Die ID des Chats, den Sie verwenden möchten.",
7
+ "Your re:tune API key.": "Dein re:tune API-Schlüssel.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFolgen Sie diesen Anweisungen, um Ihre re:tune Chat ID und API-Schlüssel zu erhalten:\n\n1. Besuchen Sie die Chatbots Seite: https://retune.so/chats\n2. Sobald Sie auf der Website sind, finden Sie den Chatbot, den Sie verwenden möchten\n3. Kopieren Sie von der URL die Chat-ID, die Sie verwenden möchten;\ne. von diesem: https://retune.so/chat/acewocwe-123123-123123-123123123/ Ihre Chat-ID ist \"acewocwe-123123-123123\"\n4. Um den API-Schlüssel zu erhalten, gehen Sie auf https://retune.so/settings\n5. Scrollen Sie nach unten, um \"Re:tune API Keys\" zu finden und kopieren Sie Ihren Schlüssel unten\n",
9
+ "Ask Chatbot": "Chatbot fragen",
10
+ "Custom API Call": "Eigener API-Aufruf",
11
+ "Sends a message to an existing thread with a chatbot.": "Sendet eine Nachricht an einen bestehenden Thread mit einem Chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
13
+ "Thread": "Thread",
14
+ "Message": "Nachricht",
15
+ "Method": "Methode",
16
+ "Headers": "Kopfzeilen",
17
+ "Query Parameters": "Abfrageparameter",
18
+ "Body": "Körper",
19
+ "No Error on Failure": "Kein Fehler bei Fehler",
20
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
21
+ "The thread you want to send the message to.": "Der Thread, an den Sie die Nachricht senden möchten.",
22
+ "The message you want to send.": "Die Nachricht die Sie senden möchten.",
23
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
24
+ "GET": "ERHALTEN",
25
+ "POST": "POST",
26
+ "PATCH": "PATCH",
27
+ "PUT": "PUT",
28
+ "DELETE": "LÖSCHEN",
29
+ "HEAD": "HEAD"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:sintonizar",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Todo lo que necesita para transformar su negocio con IA, de chatbots personalizados a agentes autónomos.",
4
+ "Chat ID": "ID de chat",
5
+ "API Key": "Clave API",
6
+ "The ID of the chat you want to use.": "El ID del chat que desea usar.",
7
+ "Your re:tune API key.": "Tu clave API de re:tune.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nSigue estas instrucciones para obtener tu re:tune chat ID y API Key:\n\n1. Visita la página de chatbots: https://retune.so/chats\n2. Una vez en el sitio web, localiza y haz clic en el chatbot que quieras usar\n3. Desde la URL, copie el ID del chat que desea usar;\ne. de esto: https://retune.so/chat/acewocwe-123123-123123-123123/ tu ID de chat es \"acewocwe-123123-123-123123\"\n4. Para obtener la clave API, vaya a https://retune.so/settings\n5. Desplácese hasta la parte inferior para encontrar \"Re:tune API Keys\" y copie su clave debajo de\n",
9
+ "Ask Chatbot": "Preguntar a Chatbot",
10
+ "Custom API Call": "Llamada API personalizada",
11
+ "Sends a message to an existing thread with a chatbot.": "Envía un mensaje a un hilo existente con un chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
13
+ "Thread": "Hilo",
14
+ "Message": "Mensaje",
15
+ "Method": "Método",
16
+ "Headers": "Encabezados",
17
+ "Query Parameters": "Parámetros de consulta",
18
+ "Body": "Cuerpo",
19
+ "No Error on Failure": "No hay ningún error en fallo",
20
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
21
+ "The thread you want to send the message to.": "El tema al que quieres enviar el mensaje.",
22
+ "The message you want to send.": "El mensaje que desea enviar.",
23
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
24
+ "GET": "RECOGER",
25
+ "POST": "POST",
26
+ "PATCH": "PATCH",
27
+ "PUT": "PUT",
28
+ "DELETE": "BORRAR",
29
+ "HEAD": "LIMPIO"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tuner",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Tout ce dont vous avez besoin pour transformer votre entreprise avec AI, des chatbots personnalisés aux agents autonomes.",
4
+ "Chat ID": "ID du chat",
5
+ "API Key": "Clé API",
6
+ "The ID of the chat you want to use.": "L'ID du chat que vous voulez utiliser.",
7
+ "Your re:tune API key.": "Votre clé API re:tune.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
9
+ "Ask Chatbot": "Demander à Chatbot",
10
+ "Custom API Call": "Appel API personnalisé",
11
+ "Sends a message to an existing thread with a chatbot.": "Envoie un message à une discussion existante avec un chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
13
+ "Thread": "Fil de discussion",
14
+ "Message": "Message",
15
+ "Method": "Méthode",
16
+ "Headers": "En-têtes",
17
+ "Query Parameters": "Paramètres de requête",
18
+ "Body": "Corps",
19
+ "No Error on Failure": "Aucune erreur en cas d'échec",
20
+ "Timeout (in seconds)": "Délai d'attente (en secondes)",
21
+ "The thread you want to send the message to.": "Le fil de discussion auquel vous voulez envoyer le message.",
22
+ "The message you want to send.": "Le message que vous souhaitez envoyer.",
23
+ "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
24
+ "GET": "OBTENIR",
25
+ "POST": "POSTER",
26
+ "PATCH": "PATCH",
27
+ "PUT": "EFFACER",
28
+ "DELETE": "SUPPRIMER",
29
+ "HEAD": "TÊTE"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "カスタム チャットボットから自律エージェントまで、AI を活用してビジネスを変革するために必要なすべてのもの。",
4
+ "Chat ID": "チャット ID",
5
+ "API Key": "API キー",
6
+ "The ID of the chat you want to use.": "使用したいチャットの ID",
7
+ "Your re:tune API key.": "あなたの re:tune API キー。",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
9
+ "Ask Chatbot": "チャットボットに聞く",
10
+ "Custom API Call": "カスタムAPI通話",
11
+ "Sends a message to an existing thread with a chatbot.": "チャットボットで既存のスレッドにメッセージを送信します。",
12
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
13
+ "Thread": "スレッド",
14
+ "Message": "メッセージ",
15
+ "Method": "方法",
16
+ "Headers": "ヘッダー",
17
+ "Query Parameters": "クエリパラメータ",
18
+ "Body": "本文",
19
+ "No Error on Failure": "失敗時にエラーはありません",
20
+ "Timeout (in seconds)": "タイムアウト(秒)",
21
+ "The thread you want to send the message to.": "メッセージを送信したいスレッド。",
22
+ "The message you want to send.": "送信したいメッセージ.",
23
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
24
+ "GET": "取得",
25
+ "POST": "POST",
26
+ "PATCH": "PATCH",
27
+ "PUT": "PUT",
28
+ "DELETE": "削除",
29
+ "HEAD": "頭"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "her:tunen",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Alles wat je nodig hebt om je bedrijf te transformeren met AI, van aangepaste chatbots tot autonome agenten.",
4
+ "Chat ID": "Chat ID",
5
+ "API Key": "API Sleutel",
6
+ "The ID of the chat you want to use.": "Het ID van de chat die je wilt gebruiken.",
7
+ "Your re:tune API key.": "Je re:tunen API-sleutel.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nVolg deze instructies om je re:tune chat ID en API Key te krijgen:\n\n1. Bezoek de chatbots pagina: https://retune.so/chats\n2. Eenmaal op de website, lokaliseer en klik op de chatbot die je\n3 wilt gebruiken. Vanuit de URL kopieer de chatID die je wilt gebruiken;\ne. van dit: https://retune.so/chat/acewocwe-123123-123123123/ je chatID is \"acewocwe-123123-123123-123123123\"\n4. Om de API-sleutel op te halen, ga naar https://retune.so/instellingen\n5. Scroll naar beneden om \"Her:tunen API-sleutels\" te vinden en kopieer je onderstaande sleutel\n",
9
+ "Ask Chatbot": "Chatbot vragen",
10
+ "Custom API Call": "Custom API Call",
11
+ "Sends a message to an existing thread with a chatbot.": "Stuurt een bericht naar een bestaand gesprek met een chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
13
+ "Thread": "Conversatie",
14
+ "Message": "bericht",
15
+ "Method": "Methode",
16
+ "Headers": "Kopteksten",
17
+ "Query Parameters": "Query parameters",
18
+ "Body": "Lichaam",
19
+ "No Error on Failure": "Geen fout bij fout",
20
+ "Timeout (in seconds)": "Time-out (in seconden)",
21
+ "The thread you want to send the message to.": "De thread waarnaar u het bericht wilt verzenden.",
22
+ "The message you want to send.": "Het bericht dat u wilt verzenden.",
23
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
24
+ "GET": "KRIJG",
25
+ "POST": "POSTE",
26
+ "PATCH": "BEKIJK",
27
+ "PUT": "PUT",
28
+ "DELETE": "VERWIJDEREN",
29
+ "HEAD": "HOOFD"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Tudo o que você precisa para transformar seu negócio com AI, de chatbots personalizados para agentes autônomos.",
4
+ "Chat ID": "ID do Chat",
5
+ "API Key": "Chave de API",
6
+ "The ID of the chat you want to use.": "O ID do chat que você deseja usar.",
7
+ "Your re:tune API key.": "Sua chave de API re:tuny.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nSiga estas instruções para obter sua re:tune ID do chat e chave de API:\n\n1. Visite a página do chatbots: https://retune.so/chats\n2. Uma vez no site, localize e clique no chatbot que você deseja usar\n3. Da URL, copie o ID do bate-papo que você deseja usar;\ne. do seguinte: https://retune.so/chat/acewocwe-123123-123123-123123/ seu chat é \"acewocwe-123123-123123-123123123\"\n4. Para obter a chave de API, acesse https://retune.so/settings\n5. Vá até o final para encontrar \"Re:tune chaves de API\" e copiar sua chave abaixo\n",
9
+ "Ask Chatbot": "Pergunte ao Chatbot",
10
+ "Custom API Call": "Chamada de API personalizada",
11
+ "Sends a message to an existing thread with a chatbot.": "Envia uma mensagem para um tópico existente com um chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
13
+ "Thread": "Tópico",
14
+ "Message": "mensagem",
15
+ "Method": "Método",
16
+ "Headers": "Cabeçalhos",
17
+ "Query Parameters": "Parâmetros da consulta",
18
+ "Body": "Conteúdo",
19
+ "No Error on Failure": "Nenhum erro no Failure",
20
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
21
+ "The thread you want to send the message to.": "Tópico para o qual você deseja enviar mensagem.",
22
+ "The message you want to send.": "A mensagem que você deseja enviar.",
23
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
24
+ "GET": "OBTER",
25
+ "POST": "POSTAR",
26
+ "PATCH": "COMPRAR",
27
+ "PUT": "COLOCAR",
28
+ "DELETE": "EXCLUIR",
29
+ "HEAD": "CABEÇA"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "дюйм",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Все, что вам нужно для преобразования вашего бизнеса с AI, от чатботов до автономных агентов.",
4
+ "Chat ID": "Чат ID",
5
+ "API Key": "Ключ API",
6
+ "The ID of the chat you want to use.": "ID чата, который вы хотите использовать.",
7
+ "Your re:tune API key.": "Ваш ключ: tune API ключ.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nСледуйте этим инструкциям, чтобы получить ваш re:tune чат ID и API Key:\n\n1. Посетите страницу чатботов : https://retune.so/chats\n2. Однажды на сайте, найдите и нажмите на бота чата, который вы хотите использовать\n3. С URL, скопируйте ID чата, который вы хотите использовать;\ne. из этого: https://retune.so/chat/acewocwe-123123-123123123/ твой чат ID \"acewocwe-123123-123123-123123\"\n4. Чтобы получить ключ API, перейдите на https://retune.so/settings\n5. Прокрутите вниз, чтобы найти «Re:tune API Keys» и скопируйте ваш ключ ниже\n",
9
+ "Ask Chatbot": "Спросить Чатбота",
10
+ "Custom API Call": "Пользовательский вызов API",
11
+ "Sends a message to an existing thread with a chatbot.": "Отправляет сообщение в существующую тему с помощью чата.",
12
+ "Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
13
+ "Thread": "Поток",
14
+ "Message": "Сообщение",
15
+ "Method": "Метод",
16
+ "Headers": "Заголовки",
17
+ "Query Parameters": "Параметры запроса",
18
+ "Body": "Тело",
19
+ "No Error on Failure": "Нет ошибок при ошибке",
20
+ "Timeout (in seconds)": "Таймаут (в секундах)",
21
+ "The thread you want to send the message to.": "Поток, на который вы хотите отправить сообщение.",
22
+ "The message you want to send.": "Сообщение, которое вы хотите отправить.",
23
+ "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
24
+ "GET": "ПОЛУЧИТЬ",
25
+ "POST": "ПОСТ",
26
+ "PATCH": "ПАТЧ",
27
+ "PUT": "ПОКУПИТЬ",
28
+ "DELETE": "УДАЛИТЬ",
29
+ "HEAD": "HEAD"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
4
+ "Chat ID": "Chat ID",
5
+ "API Key": "API Key",
6
+ "The ID of the chat you want to use.": "The ID of the chat you want to use.",
7
+ "Your re:tune API key.": "Your re:tune API key.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
9
+ "Ask Chatbot": "Ask Chatbot",
10
+ "Custom API Call": "Custom API Call",
11
+ "Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "Thread": "Thread",
14
+ "Message": "Message",
15
+ "Method": "Method",
16
+ "Headers": "Headers",
17
+ "Query Parameters": "Query Parameters",
18
+ "Body": "Body",
19
+ "No Error on Failure": "No Error on Failure",
20
+ "Timeout (in seconds)": "Timeout (in seconds)",
21
+ "The thread you want to send the message to.": "The thread you want to send the message to.",
22
+ "The message you want to send.": "The message you want to send.",
23
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
24
+ "GET": "GET",
25
+ "POST": "POST",
26
+ "PATCH": "PATCH",
27
+ "PUT": "PUT",
28
+ "DELETE": "DELETE",
29
+ "HEAD": "HEAD"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
4
+ "Chat ID": "Chat ID",
5
+ "API Key": "API Key",
6
+ "The ID of the chat you want to use.": "The ID of the chat you want to use.",
7
+ "Your re:tune API key.": "Your re:tune API key.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
9
+ "Ask Chatbot": "Ask Chatbot",
10
+ "Custom API Call": "Custom API Call",
11
+ "Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "Thread": "Thread",
14
+ "Message": "Message",
15
+ "Method": "Method",
16
+ "Headers": "Headers",
17
+ "Query Parameters": "Query Parameters",
18
+ "Body": "Body",
19
+ "No Error on Failure": "No Error on Failure",
20
+ "Timeout (in seconds)": "Timeout (in seconds)",
21
+ "The thread you want to send the message to.": "The thread you want to send the message to.",
22
+ "The message you want to send.": "The message you want to send.",
23
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
24
+ "GET": "GET",
25
+ "POST": "POST",
26
+ "PATCH": "PATCH",
27
+ "PUT": "PUT",
28
+ "DELETE": "DELETE",
29
+ "HEAD": "HEAD"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "re:tune": "re:tune",
3
+ "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
4
+ "Chat ID": "Chat ID",
5
+ "API Key": "API 密钥",
6
+ "The ID of the chat you want to use.": "The ID of the chat you want to use.",
7
+ "Your re:tune API key.": "Your re:tune API key.",
8
+ "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
9
+ "Ask Chatbot": "Ask Chatbot",
10
+ "Custom API Call": "自定义 API 呼叫",
11
+ "Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
12
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
13
+ "Thread": "Thread",
14
+ "Message": "Message",
15
+ "Method": "方法",
16
+ "Headers": "信头",
17
+ "Query Parameters": "查询参数",
18
+ "Body": "正文内容",
19
+ "No Error on Failure": "失败时没有错误",
20
+ "Timeout (in seconds)": "超时(秒)",
21
+ "The thread you want to send the message to.": "The thread you want to send the message to.",
22
+ "The message you want to send.": "The message you want to send.",
23
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
24
+ "GET": "获取",
25
+ "POST": "帖子",
26
+ "PATCH": "PATCH",
27
+ "PUT": "弹出",
28
+ "DELETE": "删除",
29
+ "HEAD": "黑色"
30
+ }
package/src/index.js CHANGED
@@ -58,7 +58,7 @@ exports.retune = (0, pieces_framework_1.createPiece)({
58
58
  displayName: 're:tune',
59
59
  description: 'Everything you need to transform your business with AI, from custom chatbots to autonomous agents.',
60
60
  auth: exports.retuneAuth,
61
- minimumSupportedRelease: '0.9.0',
61
+ minimumSupportedRelease: '0.30.0',
62
62
  logoUrl: 'https://cdn.activepieces.com/pieces/retune.png',
63
63
  categories: [shared_1.PieceCategory.ARTIFICIAL_INTELLIGENCE],
64
64
  authors: ["kishanprmr", "MoShizzle", "abuaboud"],
@@ -67,8 +67,10 @@ exports.retune = (0, pieces_framework_1.createPiece)({
67
67
  (0, pieces_common_1.createCustomApiCallAction)({
68
68
  baseUrl: () => 'https://retune.so/api',
69
69
  auth: exports.retuneAuth,
70
- authMapping: (auth) => ({
71
- 'X-Workspace-API-Key': auth.apiKey,
70
+ authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
71
+ return ({
72
+ 'X-Workspace-API-Key': auth.apiKey,
73
+ });
72
74
  }),
73
75
  }),
74
76
  ],
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/retune/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAIqC;AACrC,qEAIwC;AACxC,iDAAqD;AACrD,2DAAuD;AAEvD,MAAM,mBAAmB,GAAG;;;;;;;;;CAS3B,CAAC;AAEW,QAAA,UAAU,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC7C,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACL,+EAA+E;QAC/E,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,MAAM,EAAE,4BAAS,CAAC,UAAU,CAAC;YAC3B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,uBAAuB;YACpC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IAED,QAAQ,EAAE,CAAO,IAAI,EAAE,EAAE;QACvB,IAAI;YACF,MAAM,0BAAU,CAAC,WAAW,CAEzB;gBACD,GAAG,EAAE,8BAA8B,IAAI,CAAC,IAAI,CAAC,MAAM,UAAU;gBAC7D,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,OAAO,EAAE;oBACP,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM;iBACxC;gBACD,IAAI,EAAE,EAAE;aACT,CAAC,CAAC;YACH,OAAO;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC;SACH;QAAC,OAAO,CAAC,EAAE;YACV,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,iBAAiB;aACzB,CAAC;SACH;IACH,CAAC,CAAA;CACF,CAAC,CAAC;AAEU,QAAA,MAAM,GAAG,IAAA,8BAAW,EAAC;IAChC,WAAW,EAAE,SAAS;IACtB,WAAW,EACT,oGAAoG;IAEtG,IAAI,EAAE,kBAAU;IAChB,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,gDAAgD;IACzD,UAAU,EAAE,CAAC,sBAAa,CAAC,uBAAuB,CAAC;IACnD,OAAO,EAAE,CAAC,YAAY,EAAC,WAAW,EAAC,UAAU,CAAC;IAC9C,OAAO,EAAE;QACP,wBAAU;QACV,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,uBAAuB;YACtC,IAAI,EAAE,kBAAU;YAChB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtB,qBAAqB,EAAG,IAA2B,CAAC,MAAM;aAC3D,CAAC;SACH,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/retune/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAIqC;AACrC,qEAIwC;AACxC,iDAAqD;AACrD,2DAAuD;AAEvD,MAAM,mBAAmB,GAAG;;;;;;;;;CAS3B,CAAC;AAEW,QAAA,UAAU,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC7C,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACL,+EAA+E;QAC/E,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,MAAM,EAAE,4BAAS,CAAC,UAAU,CAAC;YAC3B,WAAW,EAAE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(0, pieces_framework_1.createAction)({
16
16
  description: 'The thread you want to send the message to.',
17
17
  required: true,
18
18
  refreshers: [],
19
- options: ({ auth }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
19
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
20
20
  const options = yield pieces_common_1.httpClient.sendRequest({
21
21
  url: `https://retune.so/api/chat/${auth.chatId}/threads`,
22
22
  method: pieces_common_1.HttpMethod.POST,
@@ -42,8 +42,8 @@ exports.askChatbot = (0, pieces_framework_1.createAction)({
42
42
  required: true,
43
43
  }),
44
44
  },
45
- run({ auth, propsValue }) {
46
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
45
+ run(_a) {
46
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ auth, propsValue }) {
47
47
  const { thread, message } = propsValue;
48
48
  const response = yield pieces_common_1.httpClient.sendRequest({
49
49
  url: `https://retune.so/api/chat/${auth.chatId}/response`,
@@ -1 +1 @@
1
- {"version":3,"file":"ask-chatbot.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/retune/src/lib/actions/ask-chatbot.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,uCAAyC;AACzC,+DAAqE;AAExD,QAAA,UAAU,GAAG,IAAA,+BAAY,EAAC;IACrC,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,uDAAuD;IACpE,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACxB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,6CAA6C;YAC1D,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;gBAC1B,MAAM,OAAO,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;oBAC3C,GAAG,EAAE,8BAA+B,IAAY,CAAC,MAAM,UAAU;oBACjE,MAAM,EAAE,0BAAU,CAAC,IAAI;oBACvB,OAAO,EAAE;wBACP,qBAAqB,EAAG,IAAY,CAAC,MAAM;qBAC5C;oBACD,IAAI,EAAE,EAAE;iBACT,CAAC,CAAC;gBAEH,OAAO;oBACL,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE;;wBACjD,OAAO;4BACL,KAAK,EAAE,MAAA,IAAI,CAAC,IAAI,mCAAI,IAAI,CAAC,EAAE;4BAC3B,KAAK,EAAE,IAAI,CAAC,EAAE;yBACf,CAAC;oBACJ,CAAC,CAAC;iBACH,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;QACF,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;;YAC5B,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC;YAEvC,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,GAAG,EAAE,8BAA8B,IAAI,CAAC,MAAM,WAAW;gBACzD,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,OAAO,EAAE;oBACP,qBAAqB,EAAE,IAAI,CAAC,MAAM;iBACnC;gBACD,IAAI,EAAE;oBACJ,QAAQ,EAAE,MAAM;oBAChB,KAAK,EAAE,OAAO;iBACf;aACF,CAAC,CAAC;YAEH,OAAQ,QAAQ,CAAC,IAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC/C,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"ask-chatbot.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/retune/src/lib/actions/ask-chatbot.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE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