elevenlabs
Advanced tools
Comparing version 0.9.0 to 0.9.1
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
/// <reference types="node" /> | ||
import * as environments from "../../../../environments"; | ||
import * as core from "../../../../core"; | ||
import * as ElevenLabs from "../../../index"; | ||
import * as stream from "stream"; | ||
export declare namespace AudioIsolation { | ||
@@ -28,28 +30,10 @@ interface Options { | ||
* Removes background noise from audio | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationV1AudioIsolationPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolation({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
audioIsolation(request: ElevenLabs.BodyAudioIsolationV1AudioIsolationPost, requestOptions?: AudioIsolation.RequestOptions): Promise<ElevenLabs.AudioIsolationResponseModel>; | ||
audioIsolation(request: ElevenLabs.BodyAudioIsolationV1AudioIsolationPost, requestOptions?: AudioIsolation.RequestOptions): Promise<stream.Readable>; | ||
/** | ||
* Removes background noise from audio and streams the result | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolationStream({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
audioIsolationStream(request: ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost, requestOptions?: AudioIsolation.RequestOptions): Promise<void>; | ||
audioIsolationStream(request: ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost, requestOptions?: AudioIsolation.RequestOptions): Promise<stream.Readable>; | ||
} |
@@ -53,12 +53,3 @@ "use strict"; | ||
* Removes background noise from audio | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationV1AudioIsolationPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolation({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
@@ -76,4 +67,5 @@ audioIsolation(request, requestOptions) { | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
responseType: "streaming", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
@@ -114,12 +106,3 @@ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
* Removes background noise from audio and streams the result | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolationStream({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
@@ -137,4 +120,5 @@ audioIsolationStream(request, requestOptions) { | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
responseType: "streaming", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
@@ -145,3 +129,3 @@ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
if (_response.ok) { | ||
return; | ||
return _response.body; | ||
} | ||
@@ -148,0 +132,0 @@ if (_response.error.reason === "status-code") { |
@@ -108,3 +108,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -111,0 +111,0 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, |
@@ -74,3 +74,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,3 +137,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -200,3 +200,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -263,3 +263,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -326,3 +326,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -391,3 +391,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -394,0 +394,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -117,3 +117,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -176,3 +176,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -238,3 +238,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -293,3 +293,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -363,3 +363,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,0 +366,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -88,3 +88,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -151,3 +151,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -213,3 +213,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -268,3 +268,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -333,3 +333,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -336,0 +336,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -79,0 +79,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -177,3 +177,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -236,3 +236,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -303,3 +303,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -428,3 +428,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -490,3 +490,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -545,3 +545,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -610,3 +610,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -678,3 +678,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -681,0 +681,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -84,3 +84,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -146,3 +146,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -212,3 +212,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -276,3 +276,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -339,3 +339,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -411,3 +411,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -414,0 +414,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -78,3 +78,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -133,3 +133,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,0 +136,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -85,3 +85,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
queryParameters: _queryParams, | ||
@@ -157,3 +157,3 @@ body: yield _maybeEncodedRequest.getBody(), | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
queryParameters: _queryParams, | ||
@@ -160,0 +160,0 @@ body: yield _maybeEncodedRequest.getBody(), |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -70,0 +70,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -89,3 +89,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -168,3 +168,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -236,3 +236,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -315,3 +315,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -318,0 +318,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -134,3 +134,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,0 +137,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -71,3 +71,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -121,3 +121,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -189,3 +189,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -192,0 +192,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -135,3 +135,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -192,3 +192,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -260,3 +260,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -323,3 +323,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -390,3 +390,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -464,3 +464,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -536,3 +536,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -599,3 +599,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -720,3 +720,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -783,3 +783,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -786,0 +786,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -141,3 +141,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -206,3 +206,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -209,0 +209,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -5,5 +5,3 @@ export * from "./AddProjectResponseModel"; | ||
export * from "./AddVoiceResponseModel"; | ||
export * from "./AudioIsolationResponseModel"; | ||
export * from "./AudioNativeCreateProjectResponseModel"; | ||
export * from "./AudioResponseModel"; | ||
export * from "./ChapterState"; | ||
@@ -10,0 +8,0 @@ export * from "./ChapterResponse"; |
@@ -21,5 +21,3 @@ "use strict"; | ||
__exportStar(require("./AddVoiceResponseModel"), exports); | ||
__exportStar(require("./AudioIsolationResponseModel"), exports); | ||
__exportStar(require("./AudioNativeCreateProjectResponseModel"), exports); | ||
__exportStar(require("./AudioResponseModel"), exports); | ||
__exportStar(require("./ChapterState"), exports); | ||
@@ -26,0 +24,0 @@ __exportStar(require("./ChapterResponse"), exports); |
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
/// <reference types="node" /> | ||
import * as environments from "../../../../environments"; | ||
import * as core from "../../../../core"; | ||
import * as ElevenLabs from "../../../index"; | ||
import * as stream from "stream"; | ||
export declare namespace AudioIsolation { | ||
@@ -28,28 +30,10 @@ interface Options { | ||
* Removes background noise from audio | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationV1AudioIsolationPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolation({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
audioIsolation(request: ElevenLabs.BodyAudioIsolationV1AudioIsolationPost, requestOptions?: AudioIsolation.RequestOptions): Promise<ElevenLabs.AudioIsolationResponseModel>; | ||
audioIsolation(request: ElevenLabs.BodyAudioIsolationV1AudioIsolationPost, requestOptions?: AudioIsolation.RequestOptions): Promise<stream.Readable>; | ||
/** | ||
* Removes background noise from audio and streams the result | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolationStream({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
audioIsolationStream(request: ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost, requestOptions?: AudioIsolation.RequestOptions): Promise<void>; | ||
audioIsolationStream(request: ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost, requestOptions?: AudioIsolation.RequestOptions): Promise<stream.Readable>; | ||
} |
@@ -53,12 +53,3 @@ "use strict"; | ||
* Removes background noise from audio | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationV1AudioIsolationPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolation({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
@@ -76,4 +67,5 @@ audioIsolation(request, requestOptions) { | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
responseType: "streaming", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
@@ -114,12 +106,3 @@ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
* Removes background noise from audio and streams the result | ||
* | ||
* @param {ElevenLabs.BodyAudioIsolationStreamV1AudioIsolationStreamPost} request | ||
* @param {AudioIsolation.RequestOptions} requestOptions - Request-specific configuration. | ||
* | ||
* @throws {@link ElevenLabs.UnprocessableEntityError} | ||
* | ||
* @example | ||
* await client.audioIsolation.audioIsolationStream({ | ||
* audio: fs.createReadStream("/path/to/your/file") | ||
* }) | ||
*/ | ||
@@ -137,4 +120,5 @@ audioIsolationStream(request, requestOptions) { | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
responseType: "streaming", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
@@ -145,3 +129,3 @@ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
if (_response.ok) { | ||
return; | ||
return _response.body; | ||
} | ||
@@ -148,0 +132,0 @@ if (_response.error.reason === "status-code") { |
@@ -108,3 +108,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -111,0 +111,0 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, |
@@ -74,3 +74,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,3 +137,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -200,3 +200,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -263,3 +263,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -326,3 +326,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -391,3 +391,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -394,0 +394,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -117,3 +117,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -176,3 +176,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -238,3 +238,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -293,3 +293,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -363,3 +363,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,0 +366,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -88,3 +88,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -151,3 +151,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -213,3 +213,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -268,3 +268,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -333,3 +333,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -336,0 +336,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -79,0 +79,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -177,3 +177,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -236,3 +236,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -303,3 +303,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -428,3 +428,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -490,3 +490,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -545,3 +545,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -610,3 +610,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -678,3 +678,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -681,0 +681,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -84,3 +84,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -146,3 +146,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -212,3 +212,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -276,3 +276,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -339,3 +339,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -411,3 +411,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -414,0 +414,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -78,3 +78,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -133,3 +133,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,0 +136,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -85,3 +85,3 @@ "use strict"; | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
queryParameters: _queryParams, | ||
@@ -157,3 +157,3 @@ body: yield _maybeEncodedRequest.getBody(), | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
queryParameters: _queryParams, | ||
@@ -160,0 +160,0 @@ body: yield _maybeEncodedRequest.getBody(), |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -70,0 +70,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -89,3 +89,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -168,3 +168,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -236,3 +236,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -315,3 +315,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -318,0 +318,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -134,3 +134,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,0 +137,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -71,3 +71,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -121,3 +121,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -189,3 +189,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -192,0 +192,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -135,3 +135,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -192,3 +192,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -260,3 +260,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -323,3 +323,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -390,3 +390,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -464,3 +464,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -536,3 +536,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
? yield core.Supplier.get(this._options.apiKey) | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "elevenlabs", "X-Fern-SDK-Version": "0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield _maybeEncodedRequest.getHeaders())), | ||
body: yield _maybeEncodedRequest.getBody(), | ||
@@ -599,3 +599,3 @@ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -720,3 +720,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -783,3 +783,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -786,0 +786,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -141,3 +141,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -206,3 +206,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "elevenlabs", | ||
"X-Fern-SDK-Version": "0.9.0", | ||
"X-Fern-SDK-Version": "0.9.1", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -209,0 +209,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -5,5 +5,3 @@ export * from "./AddProjectResponseModel"; | ||
export * from "./AddVoiceResponseModel"; | ||
export * from "./AudioIsolationResponseModel"; | ||
export * from "./AudioNativeCreateProjectResponseModel"; | ||
export * from "./AudioResponseModel"; | ||
export * from "./ChapterState"; | ||
@@ -10,0 +8,0 @@ export * from "./ChapterResponse"; |
@@ -21,5 +21,3 @@ "use strict"; | ||
__exportStar(require("./AddVoiceResponseModel"), exports); | ||
__exportStar(require("./AudioIsolationResponseModel"), exports); | ||
__exportStar(require("./AudioNativeCreateProjectResponseModel"), exports); | ||
__exportStar(require("./AudioResponseModel"), exports); | ||
__exportStar(require("./ChapterState"), exports); | ||
@@ -26,0 +24,0 @@ __exportStar(require("./ChapterResponse"), exports); |
{ | ||
"name": "elevenlabs", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/elevenlabs/elevenlabs-js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1450777
867
22585