@activepieces/piece-assemblyai 1.0.8 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,32 +1,28 @@
1
1
  {
2
2
  "name": "@activepieces/piece-assemblyai",
3
- "version": "1.0.8",
3
+ "version": "1.1.1",
4
4
  "scripts": {
5
5
  "generate": "tsx ./scripts/generateFromSpec.ts"
6
6
  },
7
7
  "dependencies": {
8
8
  "@sinclair/typebox": "0.34.11",
9
+ "ai": "^6.0.0",
9
10
  "assemblyai": "4.7.0",
10
- "axios": "1.8.3",
11
+ "axios": "1.13.1",
11
12
  "axios-retry": "4.4.1",
12
13
  "deepmerge-ts": "7.1.0",
13
14
  "dotenv": "17.2.3",
15
+ "form-data": "4.0.4",
16
+ "i18next": "23.13.0",
14
17
  "mime-types": "2.1.35",
15
18
  "nanoid": "3.3.8",
16
19
  "semver": "7.6.0",
17
- "zod": "3.25.76",
18
- "@activepieces/pieces-common": "0.8.1",
19
- "@activepieces/pieces-framework": "0.20.1",
20
- "@activepieces/shared": "0.25.1",
21
- "tslib": "2.8.1"
22
- },
23
- "overrides": {
24
- "@tryfabric/martian": {
25
- "@notionhq/client": "$@notionhq/client"
26
- },
27
- "vite": {
28
- "rollup": "npm:@rollup/wasm-node"
29
- }
20
+ "socket.io-client": "4.8.1",
21
+ "zod": "4.1.13",
22
+ "@activepieces/pieces-common": "0.11.2",
23
+ "@activepieces/pieces-framework": "0.24.0",
24
+ "@activepieces/shared": "0.32.0",
25
+ "tslib": "2.6.2"
30
26
  },
31
27
  "resolutions": {
32
28
  "rollup": "npm:@rollup/wasm-node"
package/src/i18n/de.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "Methode",
94
94
  "Headers": "Kopfzeilen",
95
95
  "Query Parameters": "Abfrageparameter",
96
+ "Body Type": "Körpertyp",
96
97
  "Body": "Körper",
97
98
  "Response is Binary ?": "Antwort ist binär?",
98
99
  "No Error on Failure": "Kein Fehler bei Fehler",
99
100
  "Timeout (in seconds)": "Timeout (in Sekunden)",
101
+ "Follow redirects": "Weiterleitungen folgen",
100
102
  "The File or URL of the audio or video file.": "Die Datei oder URL der Audio- oder Videodatei.",
101
103
  "The URL of the audio or video file to transcribe.": "Die URL der zu übertragenden Audio- oder Videodatei.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "Die ID der LeMUR-Anfrage, deren Daten Sie löschen möchten, finden Sie in der Antwort der ursprünglichen Anfrage.",
158
160
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
159
- "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
161
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
160
162
  "English (Global)": "Englisch (Global)",
161
163
  "English (Australian)": "Englisch (australisch)",
162
164
  "English (British)": "Englisch (britisch)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "PUT",
342
344
  "DELETE": "LÖSCHEN",
343
- "HEAD": "HEAD"
345
+ "HEAD": "HEAD",
346
+ "None": "Keine",
347
+ "JSON": "JSON",
348
+ "Form Data": "Formulardaten",
349
+ "Raw": "Rohe"
344
350
  }
package/src/i18n/es.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "Método",
94
94
  "Headers": "Encabezados",
95
95
  "Query Parameters": "Parámetros de consulta",
96
+ "Body Type": "Tipo de cuerpo",
96
97
  "Body": "Cuerpo",
97
98
  "Response is Binary ?": "¿Respuesta es binaria?",
98
99
  "No Error on Failure": "No hay ningún error en fallo",
99
100
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
101
+ "Follow redirects": "Seguir redirecciones",
100
102
  "The File or URL of the audio or video file.": "El archivo o URL del archivo de audio o vídeo.",
101
103
  "The URL of the audio or video file to transcribe.": "La URL del archivo de audio o vídeo a transcribir.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "El idioma de tu archivo de audio. Los valores posibles se encuentran en [Idiomas compatibles](https://www.assemblyai.com/docs/concepts/supported-languages).\nEl valor predeterminado es 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "La temperatura a usar para el modelo.\nValores más altos dan como resultado respuestas más creativas, valores más bajos son más conservadores.\nPuede ser cualquier valor entre 0.0 y 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "El ID de la solicitud de LeMUR cuyos datos desea eliminar. Esto se encuentra en la respuesta de la solicitud original.",
158
160
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
159
- "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
161
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
160
162
  "English (Global)": "Inglés (Global)",
161
163
  "English (Australian)": "Inglés (juliano)",
162
164
  "English (British)": "Inglés (británico)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "PUT",
342
344
  "DELETE": "BORRAR",
343
- "HEAD": "LIMPIO"
345
+ "HEAD": "LIMPIO",
346
+ "None": "Ninguna",
347
+ "JSON": "JSON",
348
+ "Form Data": "Datos de Formulario",
349
+ "Raw": "Rápido"
344
350
  }
package/src/i18n/fr.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "Méthode",
94
94
  "Headers": "En-têtes",
95
95
  "Query Parameters": "Paramètres de requête",
96
+ "Body Type": "Body Type",
96
97
  "Body": "Corps",
97
98
  "Response is Binary ?": "La réponse est Binaire ?",
98
99
  "No Error on Failure": "Aucune erreur en cas d'échec",
99
100
  "Timeout (in seconds)": "Délai d'attente (en secondes)",
101
+ "Follow redirects": "Suivre les redirections",
100
102
  "The File or URL of the audio or video file.": "Le fichier ou l'URL du fichier audio ou vidéo.",
101
103
  "The URL of the audio or video file to transcribe.": "L'URL du fichier audio ou vidéo à transcrire.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "La langue de votre fichier audio. Les valeurs possibles sont trouvées dans [Langues Supportées](https://www.assemblyai.com/docs/concepts/supported-languages).\nLa valeur par défaut est 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "La température à utiliser pour le modèle.\nDes valeurs plus élevées donnent des réponses plus créatives, des valeurs plus faibles sont plus conservatrices.\nPeut être n'importe quelle valeur comprise entre 0.0 et 1.0 inclusivement.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "L'ID de la requête LeMUR dont vous voulez supprimer les données. Cela se trouve dans la réponse de la requête originale.",
158
160
  "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
159
- "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
161
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
160
162
  "English (Global)": "Anglais (Global)",
161
163
  "English (Australian)": "Anglais (Australien)",
162
164
  "English (British)": "Anglais (britannique)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "EFFACER",
342
344
  "DELETE": "SUPPRIMER",
343
- "HEAD": "TÊTE"
345
+ "HEAD": "TÊTE",
346
+ "None": "Aucun",
347
+ "JSON": "JSON",
348
+ "Form Data": "Données du formulaire",
349
+ "Raw": "Brut"
344
350
  }
package/src/i18n/ja.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "方法",
94
94
  "Headers": "ヘッダー",
95
95
  "Query Parameters": "クエリパラメータ",
96
+ "Body Type": "ボディタイプ",
96
97
  "Body": "本文",
97
98
  "Response is Binary ?": "応答はバイナリですか?",
98
99
  "No Error on Failure": "失敗時にエラーはありません",
99
100
  "Timeout (in seconds)": "タイムアウト(秒)",
101
+ "Follow redirects": "リダイレクトをフォローする",
100
102
  "The File or URL of the audio or video file.": "オーディオまたはビデオファイルのファイルまたはURL。",
101
103
  "The URL of the audio or video file to transcribe.": "転記するオーディオファイルまたはビデオファイルのURL。",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "オーディオファイルの言語。使用可能な値は [サポート言語](https://www.assemblyai.com/docs/concepts/supported-languages) にあります。\nデフォルト値は 'en_us' です。\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "データを削除したいLeMURリクエストのID。元のリクエストの応答で確認できます。",
158
160
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
159
- "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
161
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
160
162
  "English (Global)": "英語(世界)",
161
163
  "English (Australian)": "英語 (オーストラリア語)",
162
164
  "English (British)": "英語 (イギリス)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "PUT",
342
344
  "DELETE": "削除",
343
- "HEAD": "頭"
345
+ "HEAD": "頭",
346
+ "None": "なし",
347
+ "JSON": "JSON",
348
+ "Form Data": "フォームデータ",
349
+ "Raw": "Raw"
344
350
  }
package/src/i18n/nl.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "Methode",
94
94
  "Headers": "Kopteksten",
95
95
  "Query Parameters": "Query parameters",
96
+ "Body Type": "Type lichaam",
96
97
  "Body": "Lichaam",
97
98
  "Response is Binary ?": "Antwoord is binair?",
98
99
  "No Error on Failure": "Geen fout bij fout",
99
100
  "Timeout (in seconds)": "Time-out (in seconden)",
101
+ "Follow redirects": "Volg omleidingen",
100
102
  "The File or URL of the audio or video file.": "Het bestand of URL van het audio of video bestand.",
101
103
  "The URL of the audio or video file to transcribe.": "De URL van het audio of video bestand om te overschrijven.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "De taal van uw audiobestand. Mogelijke waarden vindt u in [ondersteunde talen](https://www.assemblyai.com/docs/concepts/supported-languages).\nDe standaardwaarde is 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "De temperatuur die gebruikt moet worden voor het model.\nHogere waarden resulteren in antwoorden die creatiever en lagere waarden conservatiever zijn.\nKan elke waarde tussen 0,0 en 1.0 inclusief zijn.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "Het ID van het LeMUR verzoek wiens gegevens je wilt verwijderen. Dit wordt gevonden in het antwoord van het oorspronkelijke verzoek.",
158
160
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
159
- "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
161
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
160
162
  "English (Global)": "Engels (globaal)",
161
163
  "English (Australian)": "Engels (Australian)",
162
164
  "English (British)": "Engels (Engels)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "BEKIJK",
341
343
  "PUT": "PUT",
342
344
  "DELETE": "VERWIJDEREN",
343
- "HEAD": "HOOFD"
345
+ "HEAD": "HOOFD",
346
+ "None": "geen",
347
+ "JSON": "JSON",
348
+ "Form Data": "Formulieren gegevens",
349
+ "Raw": "Onbewerkte"
344
350
  }
package/src/i18n/pt.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "Método",
94
94
  "Headers": "Cabeçalhos",
95
95
  "Query Parameters": "Parâmetros da consulta",
96
+ "Body Type": "Tipo de Corpo",
96
97
  "Body": "Conteúdo",
97
98
  "Response is Binary ?": "A resposta é binária ?",
98
99
  "No Error on Failure": "Nenhum erro no Failure",
99
100
  "Timeout (in seconds)": "Tempo limite (em segundos)",
101
+ "Follow redirects": "Seguir redirecionamentos",
100
102
  "The File or URL of the audio or video file.": "O arquivo ou URL do arquivo de áudio ou vídeo.",
101
103
  "The URL of the audio or video file to transcribe.": "URL do arquivo de áudio ou vídeo a ser transcrito.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "Idioma do seu arquivo de áudio. Possíveis valores são encontrados em [Idiomas Suportados](https://www.assemblyai.com/docs/concepts/supported-languages).\nO valor padrão é 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "A temperatura para usar para o modelo.\nValores maiores resultam em respostas que são mais criativas, valores mais baixos são mais conservadores.\nPode ser qualquer valor entre 0.0 e 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "O ID da solicitação LeMUR cujos dados você deseja excluir. Isto pode ser encontrado na resposta da solicitação original.",
158
160
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
159
- "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
161
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
160
162
  "English (Global)": "Inglês (Global)",
161
163
  "English (Australian)": "Inglês (australiano)",
162
164
  "English (British)": "Português (Brasil)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "COMPRAR",
341
343
  "PUT": "COLOCAR",
342
344
  "DELETE": "EXCLUIR",
343
- "HEAD": "CABEÇA"
345
+ "HEAD": "CABEÇA",
346
+ "None": "Nenhuma",
347
+ "JSON": "JSON",
348
+ "Form Data": "Dados de Formulário",
349
+ "Raw": "RAW"
344
350
  }
@@ -93,10 +93,12 @@
93
93
  "Method": "Method",
94
94
  "Headers": "Headers",
95
95
  "Query Parameters": "Query Parameters",
96
+ "Body Type": "Body Type",
96
97
  "Body": "Body",
97
98
  "Response is Binary ?": "Response is Binary ?",
98
99
  "No Error on Failure": "No Error on Failure",
99
100
  "Timeout (in seconds)": "Timeout (in seconds)",
101
+ "Follow redirects": "Follow redirects",
100
102
  "The File or URL of the audio or video file.": "The File or URL of the audio or video file.",
101
103
  "The URL of the audio or video file to transcribe.": "The URL of the audio or video file to transcribe.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.",
158
160
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
159
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
161
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
160
162
  "English (Global)": "English (Global)",
161
163
  "English (Australian)": "English (Australian)",
162
164
  "English (British)": "English (British)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "PUT",
342
344
  "DELETE": "DELETE",
343
- "HEAD": "HEAD"
345
+ "HEAD": "HEAD",
346
+ "None": "None",
347
+ "JSON": "JSON",
348
+ "Form Data": "Form Data",
349
+ "Raw": "Raw"
344
350
  }
package/src/i18n/zh.json CHANGED
@@ -93,10 +93,12 @@
93
93
  "Method": "方法",
94
94
  "Headers": "信头",
95
95
  "Query Parameters": "查询参数",
96
+ "Body Type": "Body Type",
96
97
  "Body": "正文内容",
97
98
  "Response is Binary ?": "Response is Binary ?",
98
99
  "No Error on Failure": "失败时没有错误",
99
100
  "Timeout (in seconds)": "超时(秒)",
101
+ "Follow redirects": "Follow redirects",
100
102
  "The File or URL of the audio or video file.": "The File or URL of the audio or video file.",
101
103
  "The URL of the audio or video file to transcribe.": "The URL of the audio or video file to transcribe.",
102
104
  "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n": "The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/concepts/supported-languages).\nThe default value is 'en_us'.\n",
@@ -156,7 +158,7 @@
156
158
  "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n": "The temperature to use for the model.\nHigher values result in answers that are more creative, lower values are more conservative.\nCan be any value between 0.0 and 1.0 inclusive.\n",
157
159
  "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.": "The ID of the LeMUR request whose data you want to delete. This would be found in the response of the original request.",
158
160
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
159
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
161
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
160
162
  "English (Global)": "English (Global)",
161
163
  "English (Australian)": "English (Australian)",
162
164
  "English (British)": "English (British)",
@@ -340,5 +342,9 @@
340
342
  "PATCH": "PATCH",
341
343
  "PUT": "弹出",
342
344
  "DELETE": "删除",
343
- "HEAD": "黑色"
345
+ "HEAD": "黑色",
346
+ "None": "无",
347
+ "JSON": "JSON",
348
+ "Form Data": "表单数据",
349
+ "Raw": "原始文件"
344
350
  }
@@ -1,10 +1,12 @@
1
- export declare const customApiCall: import("dist/packages/pieces/community/framework/src").IAction<import("dist/packages/pieces/community/framework/src").BasicAuthProperty | import("dist/packages/pieces/community/framework/src").CustomAuthProperty<any> | import("dist/packages/pieces/community/framework/src").OAuth2Property<any> | import("dist/packages/pieces/community/framework/src").SecretTextProperty<boolean>, {
2
- url: import("dist/packages/pieces/community/framework/src").DynamicProperties<true>;
1
+ export declare const customApiCall: import("dist/packages/pieces/community/framework/src").IAction<import("dist/packages/pieces/community/framework/src").SecretTextProperty<true>, {
2
+ url: import("dist/packages/pieces/community/framework/src").DynamicProperties<true, import("dist/packages/pieces/community/framework/src").SecretTextProperty<true> | undefined>;
3
3
  method: import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<import("@activepieces/pieces-common").HttpMethod, false> | import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<import("@activepieces/pieces-common").HttpMethod, true>;
4
4
  headers: import("dist/packages/pieces/community/framework/src").ObjectProperty<false> | import("dist/packages/pieces/community/framework/src").ObjectProperty<true>;
5
5
  queryParams: import("dist/packages/pieces/community/framework/src").ObjectProperty<false> | import("dist/packages/pieces/community/framework/src").ObjectProperty<true>;
6
- body: import("dist/packages/pieces/community/framework/src").JsonProperty<false> | import("dist/packages/pieces/community/framework/src").JsonProperty<true>;
6
+ body_type: import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<string, false>;
7
+ body: import("dist/packages/pieces/community/framework/src").DynamicProperties<false, import("dist/packages/pieces/community/framework/src").SecretTextProperty<true> | undefined>;
7
8
  response_is_binary: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false>;
8
9
  failsafe: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false> | import("dist/packages/pieces/community/framework/src").CheckboxProperty<true>;
9
10
  timeout: import("dist/packages/pieces/community/framework/src").NumberProperty<false> | import("dist/packages/pieces/community/framework/src").NumberProperty<true>;
11
+ followRedirects: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false>;
10
12
  }>;
@@ -9,7 +9,7 @@ exports.customApiCall = (0, pieces_common_1.createCustomApiCallAction)({
9
9
  baseUrl: () => 'https://api.assemblyai.com',
10
10
  authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
11
11
  return {
12
- Authorization: `${auth}`,
12
+ Authorization: `${auth.secret_text}`,
13
13
  };
14
14
  }),
15
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"custom-api-call.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/assemblyai/src/lib/actions/custom-api-call.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,kCAAyC;AAE5B,QAAA,aAAa,GAAG,IAAA,yCAAyB,EAAC;IACrD,IAAI,EAAE,qBAAc;IACpB,OAAO,EAAE,GAAG,EAAE,CAAC,4BAA4B;IAC3C,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;QAC1B,OAAO;YACL,aAAa,EAAE,GAAG,IAAI,EAAE;SACzB,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"custom-api-call.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/assemblyai/src/lib/actions/custom-api-call.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,kCAAyC;AAE5B,QAAA,aAAa,GAAG,IAAA,yCAAyB,EAAC;IACrD,IAAI,EAAE,qBAAc;IACpB,OAAO,EAAE,GAAG,EAAE,CAAC,4BAA4B;IAC3C,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;QAC1B,OAAO;YACL,aAAa,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;SACrC,CAAC;IACJ,CAAC,CAAA;CACF,CAAC,CAAC"}
package/src/lib/client.js CHANGED
@@ -11,7 +11,7 @@ const getAssemblyAIClient = (context) => {
11
11
  if (!context.auth)
12
12
  throw new Error('The AssemblyAI API key is required.');
13
13
  return new assemblyai_1.AssemblyAI({
14
- apiKey: context.auth,
14
+ apiKey: context.auth.secret_text,
15
15
  userAgent: {
16
16
  integration: {
17
17
  name: 'Activepieces',
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/assemblyai/src/lib/client.ts"],"names":[],"mappings":";;;;AAIA,2CAAwC;AACxC,8EAA6C;AAEhC,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACpD,iBAAiB;AACjB,mDAAmD;AAE5C,MAAM,mBAAmB,GAAG,CACjC,OAAgD,EACpC,EAAE;IACd,IAAI,CAAC,OAAO,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAC1E,OAAO,IAAI,uBAAU,CAAC;QACpB,MAAM,EAAE,OAAO,CAAC,IAAI;QACpB,SAAS,EAAE;YACT,WAAW,EAAE;gBACX,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE,sBAAW,CAAC,OAAO;aAC7B;SACF;QACD,OAAO,EAAP,eAAO;KACR,CAAC,CAAC;AACL,CAAC,CAAC;AAdW,QAAA,mBAAmB,uBAc9B"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/assemblyai/src/lib/client.ts"],"names":[],"mappings":";;;;AAIA,2CAAwC;AACxC,8EAA6C;AAEhC,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACpD,iBAAiB;AACjB,mDAAmD;AAE5C,MAAM,mBAAmB,GAAG,CACjC,OAAgD,EACpC,EAAE;IACd,IAAI,CAAC,OAAO,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAC1E,OAAO,IAAI,uBAAU,CAAC;QACpB,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,WAAW;QAChC,SAAS,EAAE;YACT,WAAW,EAAE;gBACX,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE,sBAAW,CAAC,OAAO;aAC7B;SACF;QACD,OAAO,EAAP,eAAO;KACR,CAAC,CAAC;AACL,CAAC,CAAC;AAdW,QAAA,mBAAmB,uBAc9B"}