@activepieces/piece-camb-ai 0.0.1 → 0.1.0

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,31 +1,24 @@
1
1
  {
2
2
  "name": "@activepieces/piece-camb-ai",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
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
- "axios": "1.8.3",
9
+ "axios": "1.13.1",
10
10
  "axios-retry": "4.4.1",
11
11
  "deepmerge-ts": "7.1.0",
12
12
  "form-data": "^4.0.4",
13
13
  "mime-types": "2.1.35",
14
14
  "nanoid": "3.3.8",
15
15
  "semver": "7.6.0",
16
+ "socket.io-client": "4.8.1",
16
17
  "tslib": "^2.3.0",
17
- "zod": "3.25.76",
18
- "@activepieces/pieces-common": "0.7.0",
19
- "@activepieces/pieces-framework": "0.20.1",
20
- "@activepieces/shared": "0.22.0"
21
- },
22
- "overrides": {
23
- "@tryfabric/martian": {
24
- "@notionhq/client": "$@notionhq/client"
25
- },
26
- "vite": {
27
- "rollup": "npm:@rollup/wasm-node"
28
- }
18
+ "zod": "4.1.13",
19
+ "@activepieces/pieces-common": "0.11.0",
20
+ "@activepieces/pieces-framework": "0.23.0",
21
+ "@activepieces/shared": "0.30.4"
29
22
  },
30
23
  "resolutions": {
31
24
  "rollup": "npm:@rollup/wasm-node"
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n Um Ihren API-Schlüssel zu erhalten, folgen Sie bitte diesen Schritten:\n 1. Melde dich bei deinem [CAMB.AI Studio](https://camb.ai/studio/) Account an.\n 2. Navigieren Sie zur API-Tasten-Übersicht Ihres Arbeitsbereichs.\n 3. Erstellen Sie einen neuen Schlüssel, wenn Sie es noch nicht getan haben.\n 4. Kopieren Sie den API-Schlüssel und fügen Sie ihn hier ein.\n ",
3
+ "Create Text-to-Sound": "Text-to-Sound erstellen",
4
+ "Create Text-to-Speech": "Text-to-Speech erstellen",
5
+ "Create Translation": "Übersetzung erstellen",
6
+ "Create Transcription": "Transkription erstellen",
7
+ "Custom API Call": "Eigener API-Aufruf",
8
+ "Convert input text into “sound effects” using an AI model.": "Konvertieren Sie Eingabetext in „Soundeffekte“ mit Hilfe eines KI-Modells.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Konvertieren Sie Text in Sprache mit einer bestimmten Stimme, Sprache, Geschlecht und Altersgruppe.",
10
+ "Translate text from a source language to a target language.": "Übersetze Text von einer Ausgangssprache in eine Zielsprache.",
11
+ "Creates a task to process speech into readable text.": "Erstellt eine Aufgabe, um die Sprache in lesbaren Text zu verarbeiten.",
12
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "Dauer (Sekunden)",
15
+ "Project Name": "Projekt Name",
16
+ "Project Description": "Projektbeschreibung",
17
+ "Folder": "Ordner",
18
+ "Text": "Text",
19
+ "Source Language": "Quellsprache",
20
+ "Voice": "Stimme",
21
+ "Gender": "Geschlecht",
22
+ "Age": "Alter",
23
+ "Text to Translate": "Zu übersetzender Text",
24
+ "Target Language": "Zielsprache",
25
+ "Formality": "Formalität",
26
+ "Audience Age": "Alter des Publikums",
27
+ "Media Source": "Medienquelle",
28
+ "Media": "Medien",
29
+ "Method": "Methode",
30
+ "Headers": "Kopfzeilen",
31
+ "Query Parameters": "Abfrageparameter",
32
+ "Body": "Körper",
33
+ "Response is Binary ?": "Antwort ist binär?",
34
+ "No Error on Failure": "Kein Fehler bei Fehler",
35
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "Eine klare, beschreibende Erklärung des gewünschten Audio-Effekts.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "Die gewünschte Audiolänge in Sekunden (max 10). Standardmäßig 8 wenn nicht gesetzt.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Ein denkwürdiger Name für Ihr Projekt, um Aufgaben in Ihrem Camb.ai Arbeitsbereich zu organisieren.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Geben Sie zu Dokumentationszwecken Details zu den Zielen und Spezifikationen Ihres Projekts an.",
40
+ "Select the folder to save the task in.": "Wählen Sie den Ordner, in dem die Aufgabe gespeichert werden soll.",
41
+ "The text to be converted to speech.": "Der Text, der in eine Rede umgewandelt werden soll.",
42
+ "Select the original language of the input text.": "Wählen Sie die Originalsprache des Eingabetextes.",
43
+ "Select the voice to generate the speech.": "Wählen Sie die Stimme aus, um die Sprache zu generieren.",
44
+ "The gender of the speaker.": "Das Geschlecht des Redners.",
45
+ "The age of the speaker to be generated.": "Das Alter des zu erzeugenden Lautsprechers.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "Der zu übersetzende Text. Sie können mehrere Zeilen eingeben, jede Zeile wird als separates Textsegment behandelt.",
47
+ "Select the language to translate the text into.": "Wählen Sie die Sprache aus, in die der Text übersetzt werden soll.",
48
+ "Adjust the formality level to match your context.": "Passen Sie die Formalitätsstufe an, die Ihrem Kontext entspricht.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Geben Sie grammatische Geschlechterpräferenzen an, wenn sie in der Zielsprache relevant sind.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Hilfe passt Vokabular und Ausdrücke altersgerecht an.",
51
+ "Choose whether to upload a file or provide a URL.": "Wählen Sie, ob eine Datei hochgeladen oder eine URL angegeben werden soll.",
52
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
53
+ "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
54
+ "Male": "Mann",
55
+ "Female": "Weiblich",
56
+ "Neutral": "Neutral",
57
+ "Unspecified": "Nicht angegeben",
58
+ "Formal": "Formal",
59
+ "Informal": "Informell",
60
+ "Upload File": "Datei hochladen",
61
+ "File URL": "Datei-URL",
62
+ "GET": "ERHALTEN",
63
+ "POST": "POST",
64
+ "PATCH": "PATCH",
65
+ "PUT": "PUT",
66
+ "DELETE": "LÖSCHEN",
67
+ "HEAD": "HEAD"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "Crear texto a sonido",
4
+ "Create Text-to-Speech": "Crear texto a voz",
5
+ "Create Translation": "Crear traducción",
6
+ "Create Transcription": "Crear Transcripción",
7
+ "Custom API Call": "Llamada API personalizada",
8
+ "Convert input text into “sound effects” using an AI model.": "Convierte texto de entrada en \"efectos de sonido\" utilizando un modelo de IA.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Convierte texto en voz usando una voz, idioma, género y grupo de edad.",
10
+ "Translate text from a source language to a target language.": "Traducir texto de un idioma de origen a un idioma de destino.",
11
+ "Creates a task to process speech into readable text.": "Crea una tarea para procesar el discurso en texto legible.",
12
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
13
+ "Prompt": "Petición",
14
+ "Duration (seconds)": "Duración (segundos)",
15
+ "Project Name": "Nombre del proyecto",
16
+ "Project Description": "Descripción del proyecto",
17
+ "Folder": "Carpeta",
18
+ "Text": "Texto",
19
+ "Source Language": "Idioma de origen",
20
+ "Voice": "Voz",
21
+ "Gender": "Sexo",
22
+ "Age": "Edad",
23
+ "Text to Translate": "Texto a traducir",
24
+ "Target Language": "Idioma de destino",
25
+ "Formality": "Formalidad",
26
+ "Audience Age": "Edad del público",
27
+ "Media Source": "Origen multimedia",
28
+ "Media": "Medios",
29
+ "Method": "Método",
30
+ "Headers": "Encabezados",
31
+ "Query Parameters": "Parámetros de consulta",
32
+ "Body": "Cuerpo",
33
+ "Response is Binary ?": "¿Respuesta es binaria?",
34
+ "No Error on Failure": "No hay ningún error en fallo",
35
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "Una explicación clara y descriptiva del efecto de audio deseado.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "La longitud deseada del audio en segundos (máx. 10). Por defecto es 8 si no está definido.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Un nombre memorable para su proyecto para ayudar a organizar tareas en su espacio de trabajo Camb.ai.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Proporcione detalles sobre los objetivos y especificaciones de su proyecto para fines de documentación.",
40
+ "Select the folder to save the task in.": "Seleccione la carpeta en la que guardar la tarea.",
41
+ "The text to be converted to speech.": "El texto que se convertirá en voz.",
42
+ "Select the original language of the input text.": "Seleccione el idioma original del texto de entrada.",
43
+ "Select the voice to generate the speech.": "Seleccione la voz para generar la voz.",
44
+ "The gender of the speaker.": "El género del orador.",
45
+ "The age of the speaker to be generated.": "La edad del orador que se generará.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "El texto a traducir. Puede introducir múltiples líneas; cada línea será tratada como un segmento de texto separado.",
47
+ "Select the language to translate the text into.": "Seleccione el idioma al que traducir el texto.",
48
+ "Adjust the formality level to match your context.": "Ajuste el nivel de formalidad para que coincida con su contexto.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Especifique las preferencias de género gramaticales cuando sea relevante en el idioma de destino.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Ayuda a ajustar el vocabulario y las expresiones para que sean apropiadas para la edad.",
51
+ "Choose whether to upload a file or provide a URL.": "Elija si desea subir un archivo o proporcionar una URL.",
52
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
53
+ "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
54
+ "Male": "Hombre",
55
+ "Female": "Mujer",
56
+ "Neutral": "Neutral",
57
+ "Unspecified": "Sin especificar",
58
+ "Formal": "Formal",
59
+ "Informal": "Informal",
60
+ "Upload File": "Subir archivo",
61
+ "File URL": "URL del archivo",
62
+ "GET": "RECOGER",
63
+ "POST": "POST",
64
+ "PATCH": "PATCH",
65
+ "PUT": "PUT",
66
+ "DELETE": "BORRAR",
67
+ "HEAD": "LIMPIO"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "Créer un texte à son",
4
+ "Create Text-to-Speech": "Créer un texte à voix",
5
+ "Create Translation": "Créer une traduction",
6
+ "Create Transcription": "Créer une transcription",
7
+ "Custom API Call": "Appel d'API personnalisé",
8
+ "Convert input text into “sound effects” using an AI model.": "Convertissez le texte en « effets sonores » en utilisant un modèle IA.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Convertissez le texte en parole en utilisant une voix spécifiée, une langue, un sexe et un groupe d'âge.",
10
+ "Translate text from a source language to a target language.": "Traduire le texte d'une langue source vers une langue cible.",
11
+ "Creates a task to process speech into readable text.": "Crée une tâche pour traiter la parole en texte lisible.",
12
+ "Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "Durée (secondes)",
15
+ "Project Name": "Project Name",
16
+ "Project Description": "Description du projet",
17
+ "Folder": "Dossier",
18
+ "Text": "Texte du texte",
19
+ "Source Language": "Langue source",
20
+ "Voice": "Voix",
21
+ "Gender": "Sexe",
22
+ "Age": "Âge",
23
+ "Text to Translate": "Texte à traduire",
24
+ "Target Language": "Langue cible",
25
+ "Formality": "Formalité",
26
+ "Audience Age": "Âge du public",
27
+ "Media Source": "Media Source",
28
+ "Media": "Médias",
29
+ "Method": "Méthode",
30
+ "Headers": "Headers",
31
+ "Query Parameters": "Paramètres de requête",
32
+ "Body": "Body",
33
+ "Response is Binary ?": "La réponse est Binaire ?",
34
+ "No Error on Failure": "Aucune erreur en cas d'échec",
35
+ "Timeout (in seconds)": "Délai d'expiration (en secondes)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "Une explication claire et descriptive de l'effet audio désiré. Concise invite à produire des résultats plus précis.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "La longueur souhaitée de l'audio en secondes (max 10). Par défaut 8 si non défini.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Un nom mémorable pour votre projet afin de vous aider à organiser des tâches dans votre espace de travail Camb.ai.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Fournissez des détails sur les objectifs et les spécifications de votre projet à des fins de documentation.",
40
+ "Select the folder to save the task in.": "Sélectionnez le dossier dans lequel enregistrer la tâche.",
41
+ "The text to be converted to speech.": "Le texte à convertir en discours.",
42
+ "Select the original language of the input text.": "Sélectionnez la langue d'origine du texte de saisie.",
43
+ "Select the voice to generate the speech.": "Sélectionnez la voix pour générer le discours.",
44
+ "The gender of the speaker.": "Le sexe de l'orateur.",
45
+ "The age of the speaker to be generated.": "L'âge de l'orateur à générer.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "Le texte à traduire. Vous pouvez entrer plusieurs lignes; chaque ligne sera traitée comme un segment de texte séparé.",
47
+ "Select the language to translate the text into.": "Sélectionnez la langue dans laquelle traduire le texte.",
48
+ "Adjust the formality level to match your context.": "Ajustez le niveau de formalité pour correspondre à votre contexte.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Spécifiez les préférences grammaticales de genre quand elles sont pertinentes dans la langue cible.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Aide à ajuster le vocabulaire et les expressions en fonction de l'âge.",
51
+ "Choose whether to upload a file or provide a URL.": "Choisissez si vous souhaitez télécharger un fichier ou fournir une URL.",
52
+ "Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
53
+ "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
54
+ "Male": "Homme",
55
+ "Female": "Femme",
56
+ "Neutral": "Neutre",
57
+ "Unspecified": "Non spécifié",
58
+ "Formal": "Formale",
59
+ "Informal": "Informel",
60
+ "Upload File": "Charger un fichier",
61
+ "File URL": "URL du fichier",
62
+ "GET": "GET",
63
+ "POST": "POST",
64
+ "PATCH": "PATCH",
65
+ "PUT": "PUT",
66
+ "DELETE": "DELETE",
67
+ "HEAD": "HEAD"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "テキストからサウンドへの作成",
4
+ "Create Text-to-Speech": "テキスト読み上げの作成",
5
+ "Create Translation": "翻訳を作成",
6
+ "Create Transcription": "表記を作成",
7
+ "Custom API Call": "カスタムAPI通話",
8
+ "Convert input text into “sound effects” using an AI model.": "AIモデルを使用して入力テキストを「効果音」に変換します。",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "指定した音声、言語、性別、年齢グループを使用してテキストを音声に変換します。",
10
+ "Translate text from a source language to a target language.": "翻訳元の言語からターゲット言語にテキストを翻訳します。",
11
+ "Creates a task to process speech into readable text.": "読み取り可能なテキストに音声を処理するタスクを作成します。",
12
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "期間 (秒)",
15
+ "Project Name": "プロジェクト名",
16
+ "Project Description": "プロジェクトの説明",
17
+ "Folder": "Folder",
18
+ "Text": "テキスト",
19
+ "Source Language": "ソース言語",
20
+ "Voice": "音声",
21
+ "Gender": "性別",
22
+ "Age": "年齢",
23
+ "Text to Translate": "翻訳するテキスト",
24
+ "Target Language": "翻訳先言語",
25
+ "Formality": "Formatality",
26
+ "Audience Age": "オーディエンス年齢",
27
+ "Media Source": "メディアソース",
28
+ "Media": "メディア",
29
+ "Method": "方法",
30
+ "Headers": "ヘッダー",
31
+ "Query Parameters": "クエリパラメータ",
32
+ "Body": "本文",
33
+ "Response is Binary ?": "応答はバイナリですか?",
34
+ "No Error on Failure": "失敗時にエラーはありません",
35
+ "Timeout (in seconds)": "タイムアウト(秒)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "目的のオーディオエフェクトの明確な説明。より正確な結果が得られるように促します。",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "オーディオの任意の長さを秒単位で指定します。設定されていない場合、デフォルトは 8 です。",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Camb.aiワークスペースでタスクを整理するのに役立つプロジェクトの思い出に残る名前。",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "あなたのプロジェクトの目標とドキュメントの目的のための仕様についての詳細を提供します。",
40
+ "Select the folder to save the task in.": "タスクを保存するフォルダーを選択します。",
41
+ "The text to be converted to speech.": "音声に変換されるテキスト。",
42
+ "Select the original language of the input text.": "入力テキストの元の言語を選択します。",
43
+ "Select the voice to generate the speech.": "音声を生成する音声を選択します。",
44
+ "The gender of the speaker.": "スピーカーの性別。",
45
+ "The age of the speaker to be generated.": "生成するスピーカーの年齢。",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "翻訳するテキスト。複数行を入力することができます。各行は個別のテキストセグメントとして扱われます。",
47
+ "Select the language to translate the text into.": "テキストを翻訳する言語を選択します。",
48
+ "Adjust the formality level to match your context.": "文脈に合わせて形式レベルを調整します。",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "ターゲット言語に関連する文法上の性別設定を指定します。",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "ボキャブラリーや表現の調整に役立ちます。",
51
+ "Choose whether to upload a file or provide a URL.": "ファイルをアップロードするか、URLを指定するかを選択します。",
52
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
53
+ "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
54
+ "Male": "男性",
55
+ "Female": "女性",
56
+ "Neutral": "ニュートラル",
57
+ "Unspecified": "未指定",
58
+ "Formal": "Formal",
59
+ "Informal": "非公式な",
60
+ "Upload File": "ファイルをアップロード",
61
+ "File URL": "ファイル URL",
62
+ "GET": "取得",
63
+ "POST": "POST",
64
+ "PATCH": "PATCH",
65
+ "PUT": "PUT",
66
+ "DELETE": "削除",
67
+ "HEAD": "頭"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n Om uw API-sleutel te krijgen, volg de volgende stappen:\n 1. Log in op je [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigeer naar het dashboard van de API-sleutels.\n 3. Creëer een nieuwe sleutel als je dat nog niet gedaan hebt.\n 4. Kopieer en plak de API-sleutel hier.\n ",
3
+ "Create Text-to-Sound": "Text-to-Sound aanmaken",
4
+ "Create Text-to-Speech": "Maak tekst-naar-spraak",
5
+ "Create Translation": "Vertaling aanmaken",
6
+ "Create Transcription": "Transcriptie aanmaken",
7
+ "Custom API Call": "Custom API Call",
8
+ "Convert input text into “sound effects” using an AI model.": "Zet tekst om in \"geluidseffecten\" met behulp van een AI-model.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Zet tekst om in spraak met een bepaalde stem, taal, geslacht en leeftijdsgroep.",
10
+ "Translate text from a source language to a target language.": "Vertaal tekst van een brontaal naar een doeltaal.",
11
+ "Creates a task to process speech into readable text.": "Maakt een taak om spraak in leesbare tekst te verwerken.",
12
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "Duur (seconden)",
15
+ "Project Name": "Projectnaam",
16
+ "Project Description": "Project beschrijving",
17
+ "Folder": "Map",
18
+ "Text": "Tekstveld",
19
+ "Source Language": "Bron taal",
20
+ "Voice": "Stem",
21
+ "Gender": "Geslacht",
22
+ "Age": "Leeftijd",
23
+ "Text to Translate": "Tekst te vertalen",
24
+ "Target Language": "Doel taal",
25
+ "Formality": "Formaliteit",
26
+ "Audience Age": "Audience Leeftijd",
27
+ "Media Source": "Media Bron",
28
+ "Media": "Medium",
29
+ "Method": "Methode",
30
+ "Headers": "Kopteksten",
31
+ "Query Parameters": "Query parameters",
32
+ "Body": "Lichaam",
33
+ "Response is Binary ?": "Antwoord is binair?",
34
+ "No Error on Failure": "Geen fout bij fout",
35
+ "Timeout (in seconds)": "Time-out (in seconden)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "Een duidelijke, beschrijvende uitleg van het gewenste audio-effect. Concise zorgt voor nauwkeurigere resultaten.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "De gewenste lengte van de audio in seconden (max 10). Standaard ingesteld op 8 indien niet ingesteld.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Een memorabele naam voor uw project om taken te organiseren in uw Camb.ai werkruimte.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Geef details over de doelen en specificaties van uw project voor documentatiedoeleinden.",
40
+ "Select the folder to save the task in.": "Selecteer de map waarin de taak moet worden opgeslagen.",
41
+ "The text to be converted to speech.": "De tekst die moet worden omgezet in woorden.",
42
+ "Select the original language of the input text.": "Selecteer de originele taal van de invoertekst.",
43
+ "Select the voice to generate the speech.": "Selecteer de stem om de toespraak te genereren.",
44
+ "The gender of the speaker.": "Het geslacht van de spreker.",
45
+ "The age of the speaker to be generated.": "De leeftijd van de spreker die wordt gegenereerd.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "De te vertalen tekst. U kunt meerdere regels invoeren; elke regel wordt behandeld als een apart tekstsegment.",
47
+ "Select the language to translate the text into.": "Selecteer de taal waar de tekst naartoe moet worden vertaald.",
48
+ "Adjust the formality level to match your context.": "Pas het formaliteitsniveau aan om aan uw context te voldoen.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Geef grammaticale gendervoorkeuren op wanneer relevant in de doeltaal.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Helpen aanpassen aan woordenschat en uitdrukkingen naar leeftijd.",
51
+ "Choose whether to upload a file or provide a URL.": "Kies of een bestand moet worden geüpload of een URL moet worden ingevuld.",
52
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
53
+ "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
54
+ "Male": "Mannelijk",
55
+ "Female": "Vrouwelijk",
56
+ "Neutral": "Neutraal",
57
+ "Unspecified": "Ongespecificeerd",
58
+ "Formal": "Formeel",
59
+ "Informal": "Informeel",
60
+ "Upload File": "Bestand uploaden",
61
+ "File URL": "Bestand URL",
62
+ "GET": "KRIJG",
63
+ "POST": "POSTE",
64
+ "PATCH": "BEKIJK",
65
+ "PUT": "PUT",
66
+ "DELETE": "VERWIJDEREN",
67
+ "HEAD": "HOOFD"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "Criar texto-para-som",
4
+ "Create Text-to-Speech": "Criar texto-para-voz",
5
+ "Create Translation": "Criar tradução",
6
+ "Create Transcription": "Criar Transcrição",
7
+ "Custom API Call": "Chamada de API personalizada",
8
+ "Convert input text into “sound effects” using an AI model.": "Converter texto de entrada em \"efeitos de som\" usando um modelo de IA.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Converta texto em fala usando uma determinada voz, idioma, gênero e faixa etária.",
10
+ "Translate text from a source language to a target language.": "Traduzir o texto de um idioma de origem para um idioma de destino.",
11
+ "Creates a task to process speech into readable text.": "Cria uma tarefa para processar a fala em texto legível.",
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
+ "Prompt": "Aviso",
14
+ "Duration (seconds)": "Duração (segundos)",
15
+ "Project Name": "Nome do Projeto",
16
+ "Project Description": "Descrição do Projeto",
17
+ "Folder": "Pasta",
18
+ "Text": "texto",
19
+ "Source Language": "Língua Original",
20
+ "Voice": "Voz",
21
+ "Gender": "Gênero",
22
+ "Age": "Idade",
23
+ "Text to Translate": "Texto para traduzir",
24
+ "Target Language": "Idioma de destino",
25
+ "Formality": "Formaldade",
26
+ "Audience Age": "Era da audiência",
27
+ "Media Source": "Fonte de Mídia",
28
+ "Media": "Multimídia",
29
+ "Method": "Método",
30
+ "Headers": "Cabeçalhos",
31
+ "Query Parameters": "Parâmetros da consulta",
32
+ "Body": "Conteúdo",
33
+ "Response is Binary ?": "A resposta é binária ?",
34
+ "No Error on Failure": "Nenhum erro no Failure",
35
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "Uma explicação clara e descritiva do efeito de áudio desejado. Prompts concisos produzem resultados mais precisos.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "O comprimento desejado do áudio em segundos (máximo 10). O padrão é 8, se não for definido.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "Um nome memorável para seu projeto ajudar a organizar tarefas no seu espaço de trabalho do Camb.ai.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Forneça detalhes sobre metas e especificações de seu projeto para fins de documentação.",
40
+ "Select the folder to save the task in.": "Selecione a pasta para salvar a tarefa",
41
+ "The text to be converted to speech.": "O texto a ser convertido em fala.",
42
+ "Select the original language of the input text.": "Selecione o idioma original do texto de entrada.",
43
+ "Select the voice to generate the speech.": "Selecione a voz para gerar a fala.",
44
+ "The gender of the speaker.": "O género do orador.",
45
+ "The age of the speaker to be generated.": "A idade do orador a gerar.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "O texto a ser traduzido. Você pode inserir várias linhas; cada linha será tratada como um segmento de texto separado.",
47
+ "Select the language to translate the text into.": "Selecione o idioma para traduzir o texto.",
48
+ "Adjust the formality level to match your context.": "Ajuste o nível de formalidade para corresponder ao seu contexto.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Especifique preferências gramaticais de gênero quando relevante no idioma de destino.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Ajuda a ajustar vocabulário e expressões para serem apropriadas.",
51
+ "Choose whether to upload a file or provide a URL.": "Escolha se deseja enviar um arquivo ou fornecer uma URL.",
52
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
53
+ "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
54
+ "Male": "Masculino",
55
+ "Female": "Feminino",
56
+ "Neutral": "Neutro",
57
+ "Unspecified": "Não-especificado",
58
+ "Formal": "Formal",
59
+ "Informal": "Informal",
60
+ "Upload File": "Enviar Arquivo",
61
+ "File URL": "URL do Arquivo",
62
+ "GET": "OBTER",
63
+ "POST": "POSTAR",
64
+ "PATCH": "COMPRAR",
65
+ "PUT": "COLOCAR",
66
+ "DELETE": "EXCLUIR",
67
+ "HEAD": "CABEÇA"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "Create Text-to-Sound",
4
+ "Create Text-to-Speech": "Create Text-to-Speech",
5
+ "Create Translation": "Create Translation",
6
+ "Create Transcription": "Create Transcription",
7
+ "Custom API Call": "Custom API Call",
8
+ "Convert input text into “sound effects” using an AI model.": "Convert input text into “sound effects” using an AI model.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Convert text into speech using a specified voice, language, gender, and age group.",
10
+ "Translate text from a source language to a target language.": "Translate text from a source language to a target language.",
11
+ "Creates a task to process speech into readable text.": "Creates a task to process speech into readable text.",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "Duration (seconds)",
15
+ "Project Name": "Project Name",
16
+ "Project Description": "Project Description",
17
+ "Folder": "Folder",
18
+ "Text": "Text",
19
+ "Source Language": "Source Language",
20
+ "Voice": "Voice",
21
+ "Gender": "Gender",
22
+ "Age": "Age",
23
+ "Text to Translate": "Text to Translate",
24
+ "Target Language": "Target Language",
25
+ "Formality": "Formality",
26
+ "Audience Age": "Audience Age",
27
+ "Media Source": "Media Source",
28
+ "Media": "Media",
29
+ "Method": "Method",
30
+ "Headers": "Headers",
31
+ "Query Parameters": "Query Parameters",
32
+ "Body": "Body",
33
+ "Response is Binary ?": "Response is Binary ?",
34
+ "No Error on Failure": "No Error on Failure",
35
+ "Timeout (in seconds)": "Timeout (in seconds)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "A memorable name for your project to help organize tasks in your Camb.ai workspace.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Provide details about your project's goals and specifications for documentation purposes.",
40
+ "Select the folder to save the task in.": "Select the folder to save the task in.",
41
+ "The text to be converted to speech.": "The text to be converted to speech.",
42
+ "Select the original language of the input text.": "Select the original language of the input text.",
43
+ "Select the voice to generate the speech.": "Select the voice to generate the speech.",
44
+ "The gender of the speaker.": "The gender of the speaker.",
45
+ "The age of the speaker to be generated.": "The age of the speaker to be generated.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.",
47
+ "Select the language to translate the text into.": "Select the language to translate the text into.",
48
+ "Adjust the formality level to match your context.": "Adjust the formality level to match your context.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Specify grammatical gender preferences when relevant in the target language.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Helps adjust vocabulary and expressions to be age-appropriate.",
51
+ "Choose whether to upload a file or provide a URL.": "Choose whether to upload a file or provide a URL.",
52
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
53
+ "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
54
+ "Male": "Male",
55
+ "Female": "Female",
56
+ "Neutral": "Neutral",
57
+ "Unspecified": "Unspecified",
58
+ "Formal": "Formal",
59
+ "Informal": "Informal",
60
+ "Upload File": "Upload File",
61
+ "File URL": "File URL",
62
+ "GET": "GET",
63
+ "POST": "POST",
64
+ "PATCH": "PATCH",
65
+ "PUT": "PUT",
66
+ "DELETE": "DELETE",
67
+ "HEAD": "HEAD"
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ": "\n To get your API key, please follow these steps:\n 1. Log in to your [CAMB.AI Studio](https://camb.ai/studio/) account.\n 2. Navigate to your workspace's API Keys dashboard.\n 3. Create a new key if you haven't already.\n 4. Copy the API key and paste it here.\n ",
3
+ "Create Text-to-Sound": "Create Text-to-Sound",
4
+ "Create Text-to-Speech": "Create Text-to-Speech",
5
+ "Create Translation": "Create Translation",
6
+ "Create Transcription": "Create Transcription",
7
+ "Custom API Call": "自定义 API 呼叫",
8
+ "Convert input text into “sound effects” using an AI model.": "Convert input text into “sound effects” using an AI model.",
9
+ "Convert text into speech using a specified voice, language, gender, and age group.": "Convert text into speech using a specified voice, language, gender, and age group.",
10
+ "Translate text from a source language to a target language.": "Translate text from a source language to a target language.",
11
+ "Creates a task to process speech into readable text.": "Creates a task to process speech into readable text.",
12
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
13
+ "Prompt": "Prompt",
14
+ "Duration (seconds)": "Duration (seconds)",
15
+ "Project Name": "项目名称",
16
+ "Project Description": "Project Description",
17
+ "Folder": "Folder",
18
+ "Text": "文本",
19
+ "Source Language": "Source Language",
20
+ "Voice": "Voice",
21
+ "Gender": "Gender",
22
+ "Age": "Age",
23
+ "Text to Translate": "Text to Translate",
24
+ "Target Language": "Target Language",
25
+ "Formality": "Formality",
26
+ "Audience Age": "Audience Age",
27
+ "Media Source": "Media Source",
28
+ "Media": "Media",
29
+ "Method": "方法",
30
+ "Headers": "信头",
31
+ "Query Parameters": "查询参数",
32
+ "Body": "正文内容",
33
+ "Response is Binary ?": "Response is Binary ?",
34
+ "No Error on Failure": "失败时没有错误",
35
+ "Timeout (in seconds)": "超时(秒)",
36
+ "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.": "A clear, descriptive explanation of the desired audio effect. Concise prompts yield more accurate results.",
37
+ "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.": "The desired length of the audio in seconds (max 10). Defaults to 8 if not set.",
38
+ "A memorable name for your project to help organize tasks in your Camb.ai workspace.": "A memorable name for your project to help organize tasks in your Camb.ai workspace.",
39
+ "Provide details about your project's goals and specifications for documentation purposes.": "Provide details about your project's goals and specifications for documentation purposes.",
40
+ "Select the folder to save the task in.": "Select the folder to save the task in.",
41
+ "The text to be converted to speech.": "The text to be converted to speech.",
42
+ "Select the original language of the input text.": "Select the original language of the input text.",
43
+ "Select the voice to generate the speech.": "Select the voice to generate the speech.",
44
+ "The gender of the speaker.": "The gender of the speaker.",
45
+ "The age of the speaker to be generated.": "The age of the speaker to be generated.",
46
+ "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.": "The text to be translated. You can enter multiple lines; each line will be treated as a separate text segment.",
47
+ "Select the language to translate the text into.": "Select the language to translate the text into.",
48
+ "Adjust the formality level to match your context.": "Adjust the formality level to match your context.",
49
+ "Specify grammatical gender preferences when relevant in the target language.": "Specify grammatical gender preferences when relevant in the target language.",
50
+ "Helps adjust vocabulary and expressions to be age-appropriate.": "Helps adjust vocabulary and expressions to be age-appropriate.",
51
+ "Choose whether to upload a file or provide a URL.": "Choose whether to upload a file or provide a URL.",
52
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
53
+ "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
54
+ "Male": "Male",
55
+ "Female": "Female",
56
+ "Neutral": "Neutral",
57
+ "Unspecified": "Unspecified",
58
+ "Formal": "Formal",
59
+ "Informal": "Informal",
60
+ "Upload File": "Upload File",
61
+ "File URL": "File URL",
62
+ "GET": "获取",
63
+ "POST": "帖子",
64
+ "PATCH": "PATCH",
65
+ "PUT": "弹出",
66
+ "DELETE": "删除",
67
+ "HEAD": "黑色"
68
+ }
package/src/index.js CHANGED
@@ -58,7 +58,7 @@ exports.cambAi = (0, pieces_framework_1.createPiece)({
58
58
  baseUrl: () => common_1.API_BASE_URL,
59
59
  authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
60
60
  return {
61
- 'x-api-key': auth,
61
+ 'x-api-key': auth.secret_text,
62
62
  };
63
63
  }),
64
64
  }),
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/camb-ai/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAgG;AAChG,6EAAuE;AACvE,+EAAyE;AACzE,yEAAqE;AACrE,6EAAyE;AACzE,yCAA4C;AAC5C,iDAAqD;AAExC,QAAA,UAAU,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC3C,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE;;;;;;KAMZ;IACD,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACrB,IAAI,CAAC;YACD,MAAM,0BAAU,CAAC,WAAW,CAAC;gBACzB,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,mBAAmB;gBACvC,OAAO,EAAE;oBACL,WAAW,EAAE,IAAI;iBACpB;aACJ,CAAC,CAAC;YACH,OAAO;gBACH,KAAK,EAAE,IAAI;aACd,CAAC;QACN,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,OAAO;gBACH,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,kBAAkB;aAC5B,CAAC;QACN,CAAC;IACL,CAAC,CAAA;CACJ,CAAC,CAAC;AAEU,QAAA,MAAM,GAAG,IAAA,8BAAW,EAAC;IAC9B,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,kBAAU;IAChB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,iDAAiD;IAC1D,OAAO,EAAE,CAAC,oBAAoB,EAAC,aAAa,CAAC;IAC7C,UAAU,EAAC,CAAC,sBAAa,CAAC,uBAAuB,CAAC;IAClD,OAAO,EAAE;QACL,wCAAiB;QACjB,0CAAkB;QAClB,sCAAiB;QACjB,0CAAmB;QACnB,IAAA,yCAAyB,EAAC;YACtB,IAAI,EAAE,kBAAU;YAChB,OAAO,EAAE,GAAG,EAAE,CAAC,qBAAY;YAC3B,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBACxB,OAAO;oBACH,WAAW,EAAE,IAAc;iBAC9B,CAAC;YACN,CAAC,CAAA;SACJ,CAAC;KACL;IACD,QAAQ,EAAE,EAAE;CACf,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/camb-ai/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAgG;AAChG,6EAAuE;AACvE,+EAAyE;AACzE,yEAAqE;AACrE,6EAAyE;AACzE,yCAA4C;AAC5C,iDAAqD;AAExC,QAAA,UAAU,GAAG,4B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
  duration: import("@activepieces/pieces-framework").NumberProperty<false>;
4
4
  project_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
5
5
  project_description: import("@activepieces/pieces-framework").LongTextProperty<false>;
6
- folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false>;
6
+ folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
7
7
  }>;
@@ -53,7 +53,7 @@ exports.createTextToSound = (0, pieces_framework_1.createAction)({
53
53
  method: pieces_common_1.HttpMethod.POST,
54
54
  url: `${common_1.API_BASE_URL}/text-to-sound`,
55
55
  headers: {
56
- 'x-api-key': auth,
56
+ 'x-api-key': auth.secret_text,
57
57
  'Content-Type': 'application/json'
58
58
  },
59
59
  body: payload,
@@ -66,7 +66,7 @@ exports.createTextToSound = (0, pieces_framework_1.createAction)({
66
66
  method: pieces_common_1.HttpMethod.GET,
67
67
  url: `${common_1.API_BASE_URL}/text-to-sound/${taskId}`,
68
68
  headers: {
69
- 'x-api-key': auth,
69
+ 'x-api-key': auth.secret_text,
70
70
  },
71
71
  });
72
72
  const status = statusResponse.body.status;
@@ -86,7 +86,7 @@ exports.createTextToSound = (0, pieces_framework_1.createAction)({
86
86
  const audioResponse = yield pieces_common_1.httpClient.sendRequest({
87
87
  method: pieces_common_1.HttpMethod.GET,
88
88
  url: `${common_1.API_BASE_URL}/text-to-sound-result/${run_id}`,
89
- headers: { 'x-api-key': auth },
89
+ headers: { 'x-api-key': auth.secret_text },
90
90
  responseType: 'arraybuffer',
91
91
  });
92
92
  return { audio: audioResponse.body };
@@ -1 +1 @@
1
- {"version":3,"file":"create-text-to-sound.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-text-to-sound.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,uCAAyC;AACzC,sCAAoF;AACpF,sCAAgD;AAEnC,QAAA,iBAAiB,GAAG,IAAA,+BAAY,EAA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CAAC,CAAC;YACrF,CAAC;YACD,MAAM,aAAa,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC/C,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,yBAAyB,MAAM,EAAE;gBACrD,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;gBAC9B,YAAY,EAAE,aAAa;aAC9B,CAAC,CAAC;YAEH,OAAO,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC;QAEzC,CAAC;KAAA;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"create-text-to-sound.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-text-to-sound.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,uCAAyC;AACzC,sCAAoF;AACpF,sCAAgD;AAEnC,QAAA,iBAAiB,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,4DAA4D;IACzE,KAAK,EAAE;QACH,MAAM,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACtB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,4GAA4G;YACzH,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,oBAAoB;YACjC,WAAW,EAAE,gFAAgF;YAC7F,QAAQ,EAAE,KAAK;SAClB,CAAC;QACF,YAAY,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,qFAAqF;YAClG,QAAQ,EAAE,KAAK;SAClB,CAAC;QACF,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACnC,WAAW,EAAE,qBAAqB;YAClC,WAAW,EAAE,4FAA4F;YACz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WAAW;qBAChC;iBACJ,CAAC,CAAC;gBAEH,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC;gBAE1C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;oBAEvB,MAAM,GAAG,MAAA,cAAc,CAAC,IAAI,CAAC,MAAM,mCAAI,IAAI,CAAC;oBAC5C,MAAM;gBACV,CAAC;gBAED,IAAI,MAAM,KAAK,QAAQ,EAAE,CAAC;oBAEtB,MAAM,IAAI,KAAK,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBAC5F,CAAC;gBAGD,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,4BAAmB,CAAC,CAAC,CAAC;gBACvE,QAAQ,EAAE,CAAC;YACf,CAAC;YAGD,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;YACrF,CAAC;YACD,MAAM,aAAa,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC/C,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,yBAAyB,MAAM,EAAE;gBACrD,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;gBAC1C,YAAY,EAAE,aAAa;aAC9B,CAAC,CAAC;YAEH,OAAO,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC;QAEzC,CAAC;KAAA;CACJ,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  export declare const createTextToSpeech: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
2
2
  text: import("@activepieces/pieces-framework").LongTextProperty<true>;
3
- language: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
4
- voice_id: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
3
+ language: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
4
+ voice_id: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
5
5
  gender: import("@activepieces/pieces-framework").StaticDropdownProperty<number, false>;
6
6
  age: import("@activepieces/pieces-framework").NumberProperty<false>;
7
7
  project_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
8
8
  project_description: import("@activepieces/pieces-framework").LongTextProperty<false>;
9
- folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false>;
9
+ folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
10
10
  }>;
@@ -69,7 +69,7 @@ exports.createTextToSpeech = (0, pieces_framework_1.createAction)({
69
69
  const initialResponse = yield pieces_common_1.httpClient.sendRequest({
70
70
  method: pieces_common_1.HttpMethod.POST,
71
71
  url: `${common_1.API_BASE_URL}/tts`,
72
- headers: { 'x-api-key': auth, 'Content-Type': 'application/json' },
72
+ headers: { 'x-api-key': auth.secret_text, 'Content-Type': 'application/json' },
73
73
  body: payload,
74
74
  });
75
75
  const taskId = initialResponse.body.task_id;
@@ -79,7 +79,7 @@ exports.createTextToSpeech = (0, pieces_framework_1.createAction)({
79
79
  const statusResponse = yield pieces_common_1.httpClient.sendRequest({
80
80
  method: pieces_common_1.HttpMethod.GET,
81
81
  url: `${common_1.API_BASE_URL}/tts/${taskId}`,
82
- headers: { 'x-api-key': auth },
82
+ headers: { 'x-api-key': auth.secret_text },
83
83
  });
84
84
  if (statusResponse.body.status === 'SUCCESS') {
85
85
  run_id = (_a = statusResponse.body.run_id) !== null && _a !== void 0 ? _a : null;
@@ -97,7 +97,7 @@ exports.createTextToSpeech = (0, pieces_framework_1.createAction)({
97
97
  const audioResponse = yield pieces_common_1.httpClient.sendRequest({
98
98
  method: pieces_common_1.HttpMethod.GET,
99
99
  url: `${common_1.API_BASE_URL}/tts-result/${run_id}`,
100
- headers: { 'x-api-key': auth },
100
+ headers: { 'x-api-key': auth.secret_text },
101
101
  responseType: 'arraybuffer',
102
102
  });
103
103
  const fileName = `speech_${run_id}.wav`;
@@ -1 +1 @@
1
- {"version":3,"file":"create-text-to-speech.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-text-to-speech.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAmF;AACnF,uCAAyC;AACzC,sCAAoI;AACpI,sCAAgD;AAEnC,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE,oFAAoF;IACjG,KAAK,EAAE;QACH,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACpB,WAAW,EAAE,MAAM;YACnB,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,QAAQ,EAAE,oCAA2B;QACrC,QAAQ,EAAE,2BAAkB;QAC5B,MAAM,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC5B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;oBAC3B,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE;oBAC7B,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE;oBAC9B,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAAE;iBACrC;aACJ;SACJ,CAAC;QACF,GAAG,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,yCAAyC;YACtD,QAAQ,EAAE,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E,WAAW,EAAE,IAAI,EAAE;gBAC9B,YAAY,EAAE,aAAa;aAC9B,CAAC,CAAC;YAEH,MAAM,QAAQ,GAAG,UAAU,MAAM,MAAM,CAAC;YACxC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAmB,CAAC,CAAC;YAChE,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;gBACtC,QAAQ;gBACR,IAAI,EAAE,QAAQ;aACjB,CAAC,CAAC;YAEH,OAAO;gBACH,OAAO,EAAE,gCAAgC;gBACzC,SAAS,EAAE,OAAO;gBAClB,MAAM,EAAE,MAAM;aACjB,CAAC;QACN,CAAC;KAAA;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"create-text-to-speech.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-text-to-speech.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAmF;AACnF,uCAAyC;AACzC,sCAAoI;AACpI,sCAAgD;AAEnC,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE,oFAAoF;IACjG,KAAK,EAAE;QACH,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACpB,WAAW,EAAE,MAAM;YACnB,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,QAAQ,EAAE,oCAA2B;QACrC,QAAQ,EAAE,2BAAkB;QAC5B,MAAM,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC5B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;oB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CAAC,OAAO,EAAE,4BAAmB,CAAC,CAAC,CAAC;gBACvE,QAAQ,EAAE,CAAC;YACf,CAAC;YAGD,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;YACnF,CAAC;YAGD,MAAM,aAAa,GAAiB,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC7D,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,eAAe,MAAM,EAAE;gBAC3C,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;gBAC1C,YAAY,EAAE,aAAa;aAC9B,CAAC,CAAC;YAEH,MAAM,QAAQ,GAAG,UAAU,MAAM,MAAM,CAAC;YACxC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAmB,CAAC,CAAC;YAChE,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;gBACtC,QAAQ;gBACR,IAAI,EAAE,QAAQ;aACjB,CAAC,CAAC;YAEH,OAAO;gBACH,OAAO,EAAE,gCAAgC;gBACzC,SAAS,EAAE,OAAO;gBAClB,MAAM,EAAE,MAAM;aACjB,CAAC;QACN,CAAC;KAAA;CACJ,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  export declare const createTranscription: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
2
- language: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
2
+ language: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
3
3
  source_type: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
4
- media: import("@activepieces/pieces-framework").DynamicProperties<true>;
4
+ media: import("@activepieces/pieces-framework").DynamicProperties<true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
5
5
  project_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
6
6
  project_description: import("@activepieces/pieces-framework").LongTextProperty<false>;
7
- folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false>;
7
+ folder_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
8
8
  }>;
@@ -28,6 +28,7 @@ exports.createTranscription = (0, pieces_framework_1.createAction)({
28
28
  },
29
29
  }),
30
30
  media: pieces_framework_1.Property.DynamicProperties({
31
+ auth: index_1.cambaiAuth,
31
32
  displayName: 'Media',
32
33
  required: true,
33
34
  refreshers: ['source_type'],
@@ -88,7 +89,7 @@ exports.createTranscription = (0, pieces_framework_1.createAction)({
88
89
  formData.append('media_file', fileData.data, fileData.filename);
89
90
  }
90
91
  const requestBody = yield formData.getBuffer();
91
- const headers = Object.assign({ 'x-api-key': auth }, formData.getHeaders());
92
+ const headers = Object.assign({ 'x-api-key': auth.secret_text }, formData.getHeaders());
92
93
  const initialResponse = yield pieces_common_1.httpClient.sendRequest({
93
94
  method: pieces_common_1.HttpMethod.POST,
94
95
  url: `${common_1.API_BASE_URL}/transcribe`,
@@ -102,7 +103,7 @@ exports.createTranscription = (0, pieces_framework_1.createAction)({
102
103
  const statusResponse = yield pieces_common_1.httpClient.sendRequest({
103
104
  method: pieces_common_1.HttpMethod.GET,
104
105
  url: `${common_1.API_BASE_URL}/transcribe/${taskId}`,
105
- headers: { 'x-api-key': auth },
106
+ headers: { 'x-api-key': auth.secret_text },
106
107
  });
107
108
  if (statusResponse.body.status === 'SUCCESS') {
108
109
  run_id = (_a = statusResponse.body.run_id) !== null && _a !== void 0 ? _a : null;
@@ -120,7 +121,7 @@ exports.createTranscription = (0, pieces_framework_1.createAction)({
120
121
  const resultResponse = yield pieces_common_1.httpClient.sendRequest({
121
122
  method: pieces_common_1.HttpMethod.GET,
122
123
  url: `${common_1.API_BASE_URL}/transcription-result/${run_id}`,
123
- headers: { 'x-api-key': auth },
124
+ headers: { 'x-api-key': auth.secret_text },
124
125
  });
125
126
  return resultResponse.body;
126
127
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-transcription.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-transcription.ts"],"names":[],"mappings":";;;;AAAA,qEAAmG;AACnG,+DAAmG;AACnG,uCAAyC;AACzC,sCAAsH;AACtH,kEAAiC;AACjC,sCAAgD;AAEnC,QAAA,mBAAmB,GAAG,IAAA,+BAAY,EAAC;IAC5C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,sDAAsD;IACnE,KAAK,EAAE;QACH,QAAQ,EAAE,oCAA2B;QACrC,WAAW,EAAE,2BAAQ,CAAC,cAAc,CAAC;YACjC,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,MAAM;YACpB,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE;oBACvC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE;iBACtC;aACJ;SACJ,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,iBAAiB,CAAC;YAC9B,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,CAAC,aAAa,CAAC;YAC3B,KAAK,EAAE,CAAO,OAAO,EAAE,EAAE;gBACrB,MAAM,UAAU,GAAI,OAAO,CAAC,aAAa,CAAuB,CAAC;gBACjE,MAAM,MAAM,GAAsB,EAAE,CAAC;gBACrC,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;oBACxB,MAAM,CAAC,YAAY,CAAC,GAAG,2BAAQ,CAAC,IAAI,CAAC;wBACjC,WAAW,EAAE,YAAY;wBACzB,WAAW,EAAE,qEAAqE;wBAClF,QAAQ,EAAE,IAAI;qBACjB,CAA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,CAAC,CAAC;gBAEH,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;oBAC3C,MAAM,GAAG,MAAA,cAAc,CAAC,IAAI,CAAC,MAAM,mCAAI,IAAI,CAAC;oBAC5C,MAAM;gBACV,CAAC;gBACD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;oBAC1C,MAAM,IAAI,KAAK,CAAC,8BAA8B,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACzF,CAAC;gBACD,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,4BAAmB,CAAC,CAAC,CAAC;gBACvE,QAAQ,EAAE,CAAC;YACf,CAAC;YAED,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;YACnF,CAAC;YACD,MAAM,cAAc,GAAG,MAAM,0BAAU,CAAC,WAAW,CAA+B;gBAC9E,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,yBAAyB,MAAM,EAAE;gBACrD,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;aACjC,CAAC,CAAC;YAEH,OAAO,cAAc,CAAC,IAAI,CAAC;QAE/B,CAAC;KAAA;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"create-transcription.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-transcription.ts"],"names":[],"mappings":";;;;AAAA,qEAAmG;AACnG,+DAAmG;AACnG,uCAAyC;AACzC,sCAAsH;AACtH,kEAAiC;AACjC,sCAAgD;AAEnC,QAAA,mBAAmB,GAAG,IAAA,+BAAY,EAAC;IAC5C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WA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AAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACzF,CAAC;gBACD,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,4BAAmB,CAAC,CAAC,CAAC;gBACvE,QAAQ,EAAE,CAAC;YACf,CAAC;YAED,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;YACnF,CAAC;YACD,MAAM,cAAc,GAAG,MAAM,0BAAU,CAAC,WAAW,CAA+B;gBAC9E,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,yBAAyB,MAAM,EAAE;gBACrD,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;aAC7C,CAAC,CAAC;YAEH,OAAO,cAAc,CAAC,IAAI,CAAC;QAE/B,CAAC;KAAA;CACJ,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export declare const createTranslation: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
2
2
  texts: import("@activepieces/pieces-framework").LongTextProperty<true>;
3
- source_language: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
4
- target_language: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
3
+ source_language: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
4
+ target_language: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
5
5
  formality: import("@activepieces/pieces-framework").StaticDropdownProperty<number, false>;
6
6
  gender: import("@activepieces/pieces-framework").StaticDropdownProperty<number, false>;
7
7
  age: import("@activepieces/pieces-framework").NumberProperty<false>;
@@ -75,7 +75,7 @@ exports.createTranslation = (0, pieces_framework_1.createAction)({
75
75
  const initialResponse = yield pieces_common_1.httpClient.sendRequest({
76
76
  method: pieces_common_1.HttpMethod.POST,
77
77
  url: `${common_1.API_BASE_URL}/translate`,
78
- headers: { 'x-api-key': auth, 'Content-Type': 'application/json' },
78
+ headers: { 'x-api-key': auth.secret_text, 'Content-Type': 'application/json' },
79
79
  body: payload,
80
80
  });
81
81
  const taskId = initialResponse.body.task_id;
@@ -85,7 +85,7 @@ exports.createTranslation = (0, pieces_framework_1.createAction)({
85
85
  const statusResponse = yield pieces_common_1.httpClient.sendRequest({
86
86
  method: pieces_common_1.HttpMethod.GET,
87
87
  url: `${common_1.API_BASE_URL}/translate/${taskId}`,
88
- headers: { 'x-api-key': auth },
88
+ headers: { 'x-api-key': auth.secret_text },
89
89
  });
90
90
  if (statusResponse.body.status === 'SUCCESS') {
91
91
  run_id = (_a = statusResponse.body.run_id) !== null && _a !== void 0 ? _a : null;
@@ -103,7 +103,7 @@ exports.createTranslation = (0, pieces_framework_1.createAction)({
103
103
  const resultResponse = yield pieces_common_1.httpClient.sendRequest({
104
104
  method: pieces_common_1.HttpMethod.GET,
105
105
  url: `${common_1.API_BASE_URL}/translation-result/${run_id}`,
106
- headers: { 'x-api-key': auth },
106
+ headers: { 'x-api-key': auth.secret_text },
107
107
  });
108
108
  return resultResponse.body;
109
109
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-translation.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-translation.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,uCAAyC;AACzC,sCAA4I;AAE/H,QAAA,iBAAiB,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,oBAAoB;IACjC,WAAW,EAAE,6DAA6D;IAC1E,KAAK,EAAE;QACH,KAAK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrB,WAAW,EAAE,mBAAmB;YAChC,WAAW,EAAE,gHAAgH;YAC7H,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,eA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AAE;iBACjC,CAAC,CAAC;gBAEH,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;oBAE3C,MAAM,GAAG,MAAA,cAAc,CAAC,IAAI,CAAC,MAAM,mCAAI,IAAI,CAAC;oBAC5C,MAAM;gBACV,CAAC;gBACD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,KAAK,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;oBAEpF,MAAM,IAAI,KAAK,CAAC,4BAA4B,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACvF,CAAC;gBACD,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,4BAAmB,CAAC,CAAC,CAAC;gBACvE,QAAQ,EAAE,CAAC;YACf,CAAC;YAGD,IAAI,CAAC,MAAM,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,2DAA2D,CAAC,CAAC;YACjF,CAAC;YAED,MAAM,cAAc,GAAG,MAAM,0BAAU,CAAC,WAAW,CAA6B;gBAC5E,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,qBAAY,uBAAuB,MAAM,EAAE;gBACnD,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;aACjC,CAAC,CAAC;YAEH,OAAO,cAAc,CAAC,IAAI,CAAC;QAG/B,CAAC;KAAA;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"create-translation.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/actions/create-translation.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,uCAAyC;AACzC,sCAA4I;AAE/H,QAAA,iBAAiB,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,oBAAoB;IAC1B,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are const POLLING_INTERVAL_MS = 5000;
3
3
  export declare const LONG_POLLING_INTERVAL_MS = 10000;
4
4
  export declare const MAX_POLLING_ATTEMPTS = 10;
5
5
  export declare const LONG_MAX_POLLING_ATTEMPTS = 120;
6
- export declare const listVoicesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
7
- export declare const listSourceLanguagesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
8
- export declare const listTargetLanguagesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true>;
9
- export declare const listFoldersDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, false>;
6
+ export declare const listVoicesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
7
+ export declare const listSourceLanguagesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
8
+ export declare const listTargetLanguagesDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
9
+ export declare const listFoldersDropdown: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").SecretTextProperty<true>>;
@@ -4,12 +4,14 @@ exports.listFoldersDropdown = exports.listTargetLanguagesDropdown = exports.list
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const pieces_common_1 = require("@activepieces/pieces-common");
7
+ const __1 = require("../..");
7
8
  exports.API_BASE_URL = "https://client.camb.ai/apis";
8
9
  exports.POLLING_INTERVAL_MS = 5000;
9
10
  exports.LONG_POLLING_INTERVAL_MS = 10000;
10
11
  exports.MAX_POLLING_ATTEMPTS = 10;
11
12
  exports.LONG_MAX_POLLING_ATTEMPTS = 120;
12
13
  exports.listVoicesDropdown = pieces_framework_1.Property.Dropdown({
14
+ auth: __1.cambaiAuth,
13
15
  displayName: 'Voice',
14
16
  description: 'Select the voice to generate the speech.',
15
17
  required: true,
@@ -27,7 +29,7 @@ exports.listVoicesDropdown = pieces_framework_1.Property.Dropdown({
27
29
  method: pieces_common_1.HttpMethod.GET,
28
30
  url: `${exports.API_BASE_URL}/list-voices`,
29
31
  headers: {
30
- 'x-api-key': auth,
32
+ 'x-api-key': auth.secret_text,
31
33
  },
32
34
  });
33
35
  const voices = (_b = response.body) !== null && _b !== void 0 ? _b : [];
@@ -41,6 +43,7 @@ exports.listVoicesDropdown = pieces_framework_1.Property.Dropdown({
41
43
  }),
42
44
  });
43
45
  exports.listSourceLanguagesDropdown = pieces_framework_1.Property.Dropdown({
46
+ auth: __1.cambaiAuth,
44
47
  displayName: 'Source Language',
45
48
  description: 'Select the original language of the input text.',
46
49
  required: true,
@@ -58,7 +61,7 @@ exports.listSourceLanguagesDropdown = pieces_framework_1.Property.Dropdown({
58
61
  method: pieces_common_1.HttpMethod.GET,
59
62
  url: `${exports.API_BASE_URL}/source-languages`,
60
63
  headers: {
61
- 'x-api-key': auth,
64
+ 'x-api-key': auth.secret_text,
62
65
  },
63
66
  });
64
67
  const languages = (_b = response.body) !== null && _b !== void 0 ? _b : [];
@@ -74,6 +77,7 @@ exports.listSourceLanguagesDropdown = pieces_framework_1.Property.Dropdown({
74
77
  exports.listTargetLanguagesDropdown = pieces_framework_1.Property.Dropdown({
75
78
  displayName: 'Target Language',
76
79
  description: 'Select the language to translate the text into.',
80
+ auth: __1.cambaiAuth,
77
81
  required: true,
78
82
  refreshers: [],
79
83
  options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
@@ -89,7 +93,7 @@ exports.listTargetLanguagesDropdown = pieces_framework_1.Property.Dropdown({
89
93
  method: pieces_common_1.HttpMethod.GET,
90
94
  url: `${exports.API_BASE_URL}/target-languages`,
91
95
  headers: {
92
- 'x-api-key': auth,
96
+ 'x-api-key': auth.secret_text,
93
97
  },
94
98
  });
95
99
  const languages = (_b = response.body) !== null && _b !== void 0 ? _b : [];
@@ -104,6 +108,7 @@ exports.listTargetLanguagesDropdown = pieces_framework_1.Property.Dropdown({
104
108
  });
105
109
  exports.listFoldersDropdown = pieces_framework_1.Property.Dropdown({
106
110
  displayName: 'Folder',
111
+ auth: __1.cambaiAuth,
107
112
  description: 'Select the folder to save the task in.',
108
113
  required: false,
109
114
  refreshers: [],
@@ -121,7 +126,7 @@ exports.listFoldersDropdown = pieces_framework_1.Property.Dropdown({
121
126
  method: pieces_common_1.HttpMethod.GET,
122
127
  url: `${exports.API_BASE_URL}/folders`,
123
128
  headers: {
124
- 'x-api-key': auth,
129
+ 'x-api-key': auth.secret_text,
125
130
  },
126
131
  });
127
132
  const folders = (_b = response.body) !== null && _b !== void 0 ? _b : [];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,+DAAqE;AAGxD,QAAA,YAAY,GAAG,6BAA6B,CAAC;AAC7C,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,wBAAwB,GAAG,KAAK,CAAC;AACjC,QAAA,oBAAoB,GAAG,EAAE,CAAC;AAC1B,QAAA,yBAAyB,GAAG,GAAG,CAAC;AAmBhC,QAAA,kBAAkB,GAAG,2BAAQ,CAAC,QAAQ,CAAC;IAChD,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;;QACpB,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,OAAO;gBACH,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aAC3C,CAAC;QACN,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAU;YACnD,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,GAAG,EAAE,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,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,OAAO;gBACH,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aAC3C,CAAC;QACN,CAAC;QACD,IAAI,CAAC;YACD,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAW;gBACpD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,GAAG,oBAAY,UAAU;gBAC9B,OAAO,EAAE;oBACL,WAAW,EAAE,IAAc;iBAC9B;aACJ,CAAC,CAAC;YACH,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,IAAI,mCAAI,EAAE,CAAC;YACpC,OAAO;gBACH,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;oBAC9B,KAAK,EAAE,MAAM,CAAC,WAAW;oBACzB,KAAK,EAAE,MAAM,CAAC,SAAS;iBAC1B,CAAC,CAAC;aACN,CAAC;QACN,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,OAAO;gBACH,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yBAAyB;aACzC,CAAA;QACL,CAAC;IACL,CAAC,CAAA;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/camb-ai/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,+DAAqE;AACrE,6BAAmC;AAGtB,QAAA,YAAY,GAAG,6BAA6B,CAAC;AAC7C,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,wBAAwB,GAAG,KAAK,CAAC;AACjC,QAAA,oBAAoB,GAAG,EAAE,CAAC;AAC1B,QAAA,yBAAyB,GAAG,GAAG,CAAC;AAmBhC,QAAA,kBAAkB,GAAG,2BAAQ,CAAC,QAAQ,CA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