sarvamai 1.1.1-alpha.1 → 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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.d.ts +1 -21
- package/dist/cjs/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.js +1 -21
- package/dist/cjs/api/resources/speechToTextTranslateStreaming/types/SpeechToTextTranslateStreamingInputAudioCodec.d.ts +1 -21
- package/dist/cjs/api/resources/speechToTextTranslateStreaming/types/SpeechToTextTranslateStreamingInputAudioCodec.js +1 -21
- package/dist/cjs/api/types/AudioData.d.ts +2 -22
- package/dist/cjs/api/types/AudioData.js +1 -21
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.d.mts +1 -21
- package/dist/esm/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.mjs +1 -21
- package/dist/esm/api/resources/speechToTextTranslateStreaming/types/SpeechToTextTranslateStreamingInputAudioCodec.d.mts +1 -21
- package/dist/esm/api/resources/speechToTextTranslateStreaming/types/SpeechToTextTranslateStreamingInputAudioCodec.mjs +1 -21
- package/dist/esm/api/types/AudioData.d.mts +2 -22
- package/dist/esm/api/types/AudioData.mjs +1 -21
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "sarvamai",
|
|
46
|
-
"X-Fern-SDK-Version": "1.1.1
|
|
47
|
-
"User-Agent": "sarvamai/1.1.1
|
|
46
|
+
"X-Fern-SDK-Version": "1.1.1",
|
|
47
|
+
"User-Agent": "sarvamai/1.1.1",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.d.ts
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
/** Audio codec/format of the input file.
|
|
1
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
2
2
|
export declare const SpeechToTextStreamingInputAudioCodec: {
|
|
3
3
|
readonly Wav: "wav";
|
|
4
|
-
readonly XWav: "x-wav";
|
|
5
|
-
readonly Wave: "wave";
|
|
6
|
-
readonly Mp3: "mp3";
|
|
7
|
-
readonly Mpeg: "mpeg";
|
|
8
|
-
readonly Mpeg3: "mpeg3";
|
|
9
|
-
readonly XMp3: "x-mp3";
|
|
10
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
11
|
-
readonly Aac: "aac";
|
|
12
|
-
readonly XAac: "x-aac";
|
|
13
|
-
readonly Aiff: "aiff";
|
|
14
|
-
readonly XAiff: "x-aiff";
|
|
15
|
-
readonly Ogg: "ogg";
|
|
16
|
-
readonly Opus: "opus";
|
|
17
|
-
readonly Flac: "flac";
|
|
18
|
-
readonly XFlac: "x-flac";
|
|
19
|
-
readonly Mp4: "mp4";
|
|
20
|
-
readonly Xm4A: "x-m4a";
|
|
21
|
-
readonly Amr: "amr";
|
|
22
|
-
readonly XMsWma: "x-ms-wma";
|
|
23
|
-
readonly Webm: "webm";
|
|
24
4
|
readonly PcmS16Le: "pcm_s16le";
|
|
25
5
|
readonly PcmL16: "pcm_l16";
|
|
26
6
|
readonly PcmRaw: "pcm_raw";
|
package/dist/cjs/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.js
CHANGED
|
@@ -2,29 +2,9 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.SpeechToTextStreamingInputAudioCodec = void 0;
|
|
5
|
-
/** Audio codec/format of the input file.
|
|
5
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
6
6
|
exports.SpeechToTextStreamingInputAudioCodec = {
|
|
7
7
|
Wav: "wav",
|
|
8
|
-
XWav: "x-wav",
|
|
9
|
-
Wave: "wave",
|
|
10
|
-
Mp3: "mp3",
|
|
11
|
-
Mpeg: "mpeg",
|
|
12
|
-
Mpeg3: "mpeg3",
|
|
13
|
-
XMp3: "x-mp3",
|
|
14
|
-
XMpeg3: "x-mpeg-3",
|
|
15
|
-
Aac: "aac",
|
|
16
|
-
XAac: "x-aac",
|
|
17
|
-
Aiff: "aiff",
|
|
18
|
-
XAiff: "x-aiff",
|
|
19
|
-
Ogg: "ogg",
|
|
20
|
-
Opus: "opus",
|
|
21
|
-
Flac: "flac",
|
|
22
|
-
XFlac: "x-flac",
|
|
23
|
-
Mp4: "mp4",
|
|
24
|
-
Xm4A: "x-m4a",
|
|
25
|
-
Amr: "amr",
|
|
26
|
-
XMsWma: "x-ms-wma",
|
|
27
|
-
Webm: "webm",
|
|
28
8
|
PcmS16Le: "pcm_s16le",
|
|
29
9
|
PcmL16: "pcm_l16",
|
|
30
10
|
PcmRaw: "pcm_raw",
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
/** Audio codec/format of the input file.
|
|
1
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
2
2
|
export declare const SpeechToTextTranslateStreamingInputAudioCodec: {
|
|
3
3
|
readonly Wav: "wav";
|
|
4
|
-
readonly XWav: "x-wav";
|
|
5
|
-
readonly Wave: "wave";
|
|
6
|
-
readonly Mp3: "mp3";
|
|
7
|
-
readonly Mpeg: "mpeg";
|
|
8
|
-
readonly Mpeg3: "mpeg3";
|
|
9
|
-
readonly XMp3: "x-mp3";
|
|
10
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
11
|
-
readonly Aac: "aac";
|
|
12
|
-
readonly XAac: "x-aac";
|
|
13
|
-
readonly Aiff: "aiff";
|
|
14
|
-
readonly XAiff: "x-aiff";
|
|
15
|
-
readonly Ogg: "ogg";
|
|
16
|
-
readonly Opus: "opus";
|
|
17
|
-
readonly Flac: "flac";
|
|
18
|
-
readonly XFlac: "x-flac";
|
|
19
|
-
readonly Mp4: "mp4";
|
|
20
|
-
readonly Xm4A: "x-m4a";
|
|
21
|
-
readonly Amr: "amr";
|
|
22
|
-
readonly XMsWma: "x-ms-wma";
|
|
23
|
-
readonly Webm: "webm";
|
|
24
4
|
readonly PcmS16Le: "pcm_s16le";
|
|
25
5
|
readonly PcmL16: "pcm_l16";
|
|
26
6
|
readonly PcmRaw: "pcm_raw";
|
|
@@ -2,29 +2,9 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.SpeechToTextTranslateStreamingInputAudioCodec = void 0;
|
|
5
|
-
/** Audio codec/format of the input file.
|
|
5
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
6
6
|
exports.SpeechToTextTranslateStreamingInputAudioCodec = {
|
|
7
7
|
Wav: "wav",
|
|
8
|
-
XWav: "x-wav",
|
|
9
|
-
Wave: "wave",
|
|
10
|
-
Mp3: "mp3",
|
|
11
|
-
Mpeg: "mpeg",
|
|
12
|
-
Mpeg3: "mpeg3",
|
|
13
|
-
XMp3: "x-mp3",
|
|
14
|
-
XMpeg3: "x-mpeg-3",
|
|
15
|
-
Aac: "aac",
|
|
16
|
-
XAac: "x-aac",
|
|
17
|
-
Aiff: "aiff",
|
|
18
|
-
XAiff: "x-aiff",
|
|
19
|
-
Ogg: "ogg",
|
|
20
|
-
Opus: "opus",
|
|
21
|
-
Flac: "flac",
|
|
22
|
-
XFlac: "x-flac",
|
|
23
|
-
Mp4: "mp4",
|
|
24
|
-
Xm4A: "x-m4a",
|
|
25
|
-
Amr: "amr",
|
|
26
|
-
XMsWma: "x-ms-wma",
|
|
27
|
-
Webm: "webm",
|
|
28
8
|
PcmS16Le: "pcm_s16le",
|
|
29
9
|
PcmL16: "pcm_l16",
|
|
30
10
|
PcmRaw: "pcm_raw",
|
|
@@ -13,33 +13,13 @@ export interface AudioData {
|
|
|
13
13
|
sample_rate: number;
|
|
14
14
|
/** Audio encoding format */
|
|
15
15
|
encoding: "audio/wav";
|
|
16
|
-
/** Audio codec/format of the input file.
|
|
16
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
17
17
|
input_audio_codec?: AudioData.InputAudioCodec;
|
|
18
18
|
}
|
|
19
19
|
export declare namespace AudioData {
|
|
20
|
-
/** Audio codec/format of the input file.
|
|
20
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
21
21
|
const InputAudioCodec: {
|
|
22
22
|
readonly Wav: "wav";
|
|
23
|
-
readonly XWav: "x-wav";
|
|
24
|
-
readonly Wave: "wave";
|
|
25
|
-
readonly Mp3: "mp3";
|
|
26
|
-
readonly Mpeg: "mpeg";
|
|
27
|
-
readonly Mpeg3: "mpeg3";
|
|
28
|
-
readonly XMp3: "x-mp3";
|
|
29
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
30
|
-
readonly Aac: "aac";
|
|
31
|
-
readonly XAac: "x-aac";
|
|
32
|
-
readonly Aiff: "aiff";
|
|
33
|
-
readonly XAiff: "x-aiff";
|
|
34
|
-
readonly Ogg: "ogg";
|
|
35
|
-
readonly Opus: "opus";
|
|
36
|
-
readonly Flac: "flac";
|
|
37
|
-
readonly XFlac: "x-flac";
|
|
38
|
-
readonly Mp4: "mp4";
|
|
39
|
-
readonly Xm4A: "x-m4a";
|
|
40
|
-
readonly Amr: "amr";
|
|
41
|
-
readonly XMsWma: "x-ms-wma";
|
|
42
|
-
readonly Webm: "webm";
|
|
43
23
|
readonly PcmS16Le: "pcm_s16le";
|
|
44
24
|
readonly PcmL16: "pcm_l16";
|
|
45
25
|
readonly PcmRaw: "pcm_raw";
|
|
@@ -4,29 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.AudioData = void 0;
|
|
5
5
|
var AudioData;
|
|
6
6
|
(function (AudioData) {
|
|
7
|
-
/** Audio codec/format of the input file.
|
|
7
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
8
8
|
AudioData.InputAudioCodec = {
|
|
9
9
|
Wav: "wav",
|
|
10
|
-
XWav: "x-wav",
|
|
11
|
-
Wave: "wave",
|
|
12
|
-
Mp3: "mp3",
|
|
13
|
-
Mpeg: "mpeg",
|
|
14
|
-
Mpeg3: "mpeg3",
|
|
15
|
-
XMp3: "x-mp3",
|
|
16
|
-
XMpeg3: "x-mpeg-3",
|
|
17
|
-
Aac: "aac",
|
|
18
|
-
XAac: "x-aac",
|
|
19
|
-
Aiff: "aiff",
|
|
20
|
-
XAiff: "x-aiff",
|
|
21
|
-
Ogg: "ogg",
|
|
22
|
-
Opus: "opus",
|
|
23
|
-
Flac: "flac",
|
|
24
|
-
XFlac: "x-flac",
|
|
25
|
-
Mp4: "mp4",
|
|
26
|
-
Xm4A: "x-m4a",
|
|
27
|
-
Amr: "amr",
|
|
28
|
-
XMsWma: "x-ms-wma",
|
|
29
|
-
Webm: "webm",
|
|
30
10
|
PcmS16Le: "pcm_s16le",
|
|
31
11
|
PcmL16: "pcm_l16",
|
|
32
12
|
PcmRaw: "pcm_raw",
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.1
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "sarvamai",
|
|
9
|
-
"X-Fern-SDK-Version": "1.1.1
|
|
10
|
-
"User-Agent": "sarvamai/1.1.1
|
|
9
|
+
"X-Fern-SDK-Version": "1.1.1",
|
|
10
|
+
"User-Agent": "sarvamai/1.1.1",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
/** Audio codec/format of the input file.
|
|
1
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
2
2
|
export declare const SpeechToTextStreamingInputAudioCodec: {
|
|
3
3
|
readonly Wav: "wav";
|
|
4
|
-
readonly XWav: "x-wav";
|
|
5
|
-
readonly Wave: "wave";
|
|
6
|
-
readonly Mp3: "mp3";
|
|
7
|
-
readonly Mpeg: "mpeg";
|
|
8
|
-
readonly Mpeg3: "mpeg3";
|
|
9
|
-
readonly XMp3: "x-mp3";
|
|
10
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
11
|
-
readonly Aac: "aac";
|
|
12
|
-
readonly XAac: "x-aac";
|
|
13
|
-
readonly Aiff: "aiff";
|
|
14
|
-
readonly XAiff: "x-aiff";
|
|
15
|
-
readonly Ogg: "ogg";
|
|
16
|
-
readonly Opus: "opus";
|
|
17
|
-
readonly Flac: "flac";
|
|
18
|
-
readonly XFlac: "x-flac";
|
|
19
|
-
readonly Mp4: "mp4";
|
|
20
|
-
readonly Xm4A: "x-m4a";
|
|
21
|
-
readonly Amr: "amr";
|
|
22
|
-
readonly XMsWma: "x-ms-wma";
|
|
23
|
-
readonly Webm: "webm";
|
|
24
4
|
readonly PcmS16Le: "pcm_s16le";
|
|
25
5
|
readonly PcmL16: "pcm_l16";
|
|
26
6
|
readonly PcmRaw: "pcm_raw";
|
package/dist/esm/api/resources/speechToTextStreaming/types/SpeechToTextStreamingInputAudioCodec.mjs
CHANGED
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Audio codec/format of the input file.
|
|
2
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
3
3
|
export const SpeechToTextStreamingInputAudioCodec = {
|
|
4
4
|
Wav: "wav",
|
|
5
|
-
XWav: "x-wav",
|
|
6
|
-
Wave: "wave",
|
|
7
|
-
Mp3: "mp3",
|
|
8
|
-
Mpeg: "mpeg",
|
|
9
|
-
Mpeg3: "mpeg3",
|
|
10
|
-
XMp3: "x-mp3",
|
|
11
|
-
XMpeg3: "x-mpeg-3",
|
|
12
|
-
Aac: "aac",
|
|
13
|
-
XAac: "x-aac",
|
|
14
|
-
Aiff: "aiff",
|
|
15
|
-
XAiff: "x-aiff",
|
|
16
|
-
Ogg: "ogg",
|
|
17
|
-
Opus: "opus",
|
|
18
|
-
Flac: "flac",
|
|
19
|
-
XFlac: "x-flac",
|
|
20
|
-
Mp4: "mp4",
|
|
21
|
-
Xm4A: "x-m4a",
|
|
22
|
-
Amr: "amr",
|
|
23
|
-
XMsWma: "x-ms-wma",
|
|
24
|
-
Webm: "webm",
|
|
25
5
|
PcmS16Le: "pcm_s16le",
|
|
26
6
|
PcmL16: "pcm_l16",
|
|
27
7
|
PcmRaw: "pcm_raw",
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
/** Audio codec/format of the input file.
|
|
1
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
2
2
|
export declare const SpeechToTextTranslateStreamingInputAudioCodec: {
|
|
3
3
|
readonly Wav: "wav";
|
|
4
|
-
readonly XWav: "x-wav";
|
|
5
|
-
readonly Wave: "wave";
|
|
6
|
-
readonly Mp3: "mp3";
|
|
7
|
-
readonly Mpeg: "mpeg";
|
|
8
|
-
readonly Mpeg3: "mpeg3";
|
|
9
|
-
readonly XMp3: "x-mp3";
|
|
10
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
11
|
-
readonly Aac: "aac";
|
|
12
|
-
readonly XAac: "x-aac";
|
|
13
|
-
readonly Aiff: "aiff";
|
|
14
|
-
readonly XAiff: "x-aiff";
|
|
15
|
-
readonly Ogg: "ogg";
|
|
16
|
-
readonly Opus: "opus";
|
|
17
|
-
readonly Flac: "flac";
|
|
18
|
-
readonly XFlac: "x-flac";
|
|
19
|
-
readonly Mp4: "mp4";
|
|
20
|
-
readonly Xm4A: "x-m4a";
|
|
21
|
-
readonly Amr: "amr";
|
|
22
|
-
readonly XMsWma: "x-ms-wma";
|
|
23
|
-
readonly Webm: "webm";
|
|
24
4
|
readonly PcmS16Le: "pcm_s16le";
|
|
25
5
|
readonly PcmL16: "pcm_l16";
|
|
26
6
|
readonly PcmRaw: "pcm_raw";
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Audio codec/format of the input file.
|
|
2
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
3
3
|
export const SpeechToTextTranslateStreamingInputAudioCodec = {
|
|
4
4
|
Wav: "wav",
|
|
5
|
-
XWav: "x-wav",
|
|
6
|
-
Wave: "wave",
|
|
7
|
-
Mp3: "mp3",
|
|
8
|
-
Mpeg: "mpeg",
|
|
9
|
-
Mpeg3: "mpeg3",
|
|
10
|
-
XMp3: "x-mp3",
|
|
11
|
-
XMpeg3: "x-mpeg-3",
|
|
12
|
-
Aac: "aac",
|
|
13
|
-
XAac: "x-aac",
|
|
14
|
-
Aiff: "aiff",
|
|
15
|
-
XAiff: "x-aiff",
|
|
16
|
-
Ogg: "ogg",
|
|
17
|
-
Opus: "opus",
|
|
18
|
-
Flac: "flac",
|
|
19
|
-
XFlac: "x-flac",
|
|
20
|
-
Mp4: "mp4",
|
|
21
|
-
Xm4A: "x-m4a",
|
|
22
|
-
Amr: "amr",
|
|
23
|
-
XMsWma: "x-ms-wma",
|
|
24
|
-
Webm: "webm",
|
|
25
5
|
PcmS16Le: "pcm_s16le",
|
|
26
6
|
PcmL16: "pcm_l16",
|
|
27
7
|
PcmRaw: "pcm_raw",
|
|
@@ -13,33 +13,13 @@ export interface AudioData {
|
|
|
13
13
|
sample_rate: number;
|
|
14
14
|
/** Audio encoding format */
|
|
15
15
|
encoding: "audio/wav";
|
|
16
|
-
/** Audio codec/format of the input file.
|
|
16
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
17
17
|
input_audio_codec?: AudioData.InputAudioCodec;
|
|
18
18
|
}
|
|
19
19
|
export declare namespace AudioData {
|
|
20
|
-
/** Audio codec/format of the input file.
|
|
20
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
21
21
|
const InputAudioCodec: {
|
|
22
22
|
readonly Wav: "wav";
|
|
23
|
-
readonly XWav: "x-wav";
|
|
24
|
-
readonly Wave: "wave";
|
|
25
|
-
readonly Mp3: "mp3";
|
|
26
|
-
readonly Mpeg: "mpeg";
|
|
27
|
-
readonly Mpeg3: "mpeg3";
|
|
28
|
-
readonly XMp3: "x-mp3";
|
|
29
|
-
readonly XMpeg3: "x-mpeg-3";
|
|
30
|
-
readonly Aac: "aac";
|
|
31
|
-
readonly XAac: "x-aac";
|
|
32
|
-
readonly Aiff: "aiff";
|
|
33
|
-
readonly XAiff: "x-aiff";
|
|
34
|
-
readonly Ogg: "ogg";
|
|
35
|
-
readonly Opus: "opus";
|
|
36
|
-
readonly Flac: "flac";
|
|
37
|
-
readonly XFlac: "x-flac";
|
|
38
|
-
readonly Mp4: "mp4";
|
|
39
|
-
readonly Xm4A: "x-m4a";
|
|
40
|
-
readonly Amr: "amr";
|
|
41
|
-
readonly XMsWma: "x-ms-wma";
|
|
42
|
-
readonly Webm: "webm";
|
|
43
23
|
readonly PcmS16Le: "pcm_s16le";
|
|
44
24
|
readonly PcmL16: "pcm_l16";
|
|
45
25
|
readonly PcmRaw: "pcm_raw";
|
|
@@ -1,29 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var AudioData;
|
|
3
3
|
(function (AudioData) {
|
|
4
|
-
/** Audio codec/format of the input file.
|
|
4
|
+
/** Audio codec/format of the input file. For PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files supports sample rate 16000 and 8000. */
|
|
5
5
|
AudioData.InputAudioCodec = {
|
|
6
6
|
Wav: "wav",
|
|
7
|
-
XWav: "x-wav",
|
|
8
|
-
Wave: "wave",
|
|
9
|
-
Mp3: "mp3",
|
|
10
|
-
Mpeg: "mpeg",
|
|
11
|
-
Mpeg3: "mpeg3",
|
|
12
|
-
XMp3: "x-mp3",
|
|
13
|
-
XMpeg3: "x-mpeg-3",
|
|
14
|
-
Aac: "aac",
|
|
15
|
-
XAac: "x-aac",
|
|
16
|
-
Aiff: "aiff",
|
|
17
|
-
XAiff: "x-aiff",
|
|
18
|
-
Ogg: "ogg",
|
|
19
|
-
Opus: "opus",
|
|
20
|
-
Flac: "flac",
|
|
21
|
-
XFlac: "x-flac",
|
|
22
|
-
Mp4: "mp4",
|
|
23
|
-
Xm4A: "x-m4a",
|
|
24
|
-
Amr: "amr",
|
|
25
|
-
XMsWma: "x-ms-wma",
|
|
26
|
-
Webm: "webm",
|
|
27
7
|
PcmS16Le: "pcm_s16le",
|
|
28
8
|
PcmL16: "pcm_l16",
|
|
29
9
|
PcmRaw: "pcm_raw",
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.1
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.1.1
|
|
1
|
+
export const SDK_VERSION = "1.1.1";
|