sarvamai 0.1.6 → 0.1.7-a.2
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/Client.d.ts +6 -0
- package/dist/cjs/Client.js +18 -8
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +1 -2
- package/dist/cjs/api/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/index.js +5 -1
- package/dist/cjs/api/resources/speechToText/client/Client.d.ts +11 -11
- package/dist/cjs/api/resources/speechToText/client/Client.js +17 -11
- package/dist/cjs/api/resources/speechToText/client/requests/SpeechToTextTranscriptionRequest.d.ts +2 -0
- package/dist/cjs/api/resources/speechToText/client/requests/SpeechToTextTranslationRequest.d.ts +3 -1
- package/dist/cjs/api/resources/speechToTextJob/client/Client.d.ts +153 -0
- package/dist/cjs/api/resources/speechToTextJob/client/Client.js +491 -0
- package/dist/cjs/api/resources/speechToTextJob/client/SpeechToTextJobInstance.d.ts +73 -0
- package/dist/cjs/api/resources/speechToTextJob/client/SpeechToTextJobInstance.js +248 -0
- package/dist/cjs/api/resources/speechToTextJob/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/speechToTextJob/client/index.js +17 -0
- package/dist/cjs/api/resources/speechToTextJob/client/requests/SpeechToTextJobRequest.d.ts +16 -0
- package/dist/cjs/api/{types/Format.js → resources/speechToTextJob/client/requests/SpeechToTextJobRequest.js} +0 -5
- package/dist/cjs/api/resources/speechToTextJob/client/requests/SpeechToTextJobStartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/speechToTextJob/client/requests/SpeechToTextJobStartRequest.js +5 -0
- package/dist/cjs/api/resources/speechToTextJob/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/speechToTextJob/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/speechToTextJob/index.d.ts +1 -0
- package/dist/cjs/api/resources/speechToTextJob/index.js +17 -0
- package/dist/cjs/api/resources/speechToTextStreaming/client/Socket.d.ts +6 -1
- package/dist/cjs/api/resources/speechToTextStreaming/client/Socket.js +10 -1
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/Client.d.ts +156 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/Client.js +522 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/SpeechToTextTranslateJobInstance.d.ts +73 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/SpeechToTextTranslateJobInstance.js +252 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/index.js +17 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetDownloadLinksRequest.d.ts +20 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetDownloadLinksRequest.js +5 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetUploadLinksRequest.d.ts +20 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetUploadLinksRequest.js +5 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobRequest.d.ts +17 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobRequest.js +5 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobStartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobStartRequest.js +5 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/index.d.ts +1 -0
- package/dist/cjs/api/resources/speechToTextTranslateJob/index.js +17 -0
- package/dist/cjs/api/resources/speechToTextTranslateStreaming/client/Socket.d.ts +6 -1
- package/dist/cjs/api/resources/speechToTextTranslateStreaming/client/Socket.js +10 -1
- package/dist/cjs/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
- package/dist/cjs/api/resources/textToSpeechStreaming/client/Socket.d.ts +16 -1
- package/dist/cjs/api/resources/textToSpeechStreaming/client/Socket.js +20 -1
- package/dist/cjs/api/types/AudioData.d.ts +1 -1
- package/dist/{esm/api/types/Format.mjs → cjs/api/types/BaseJobParameters.d.ts} +2 -4
- package/dist/cjs/api/types/BaseJobParameters.js +5 -0
- package/dist/cjs/api/types/BulkJobCallback.d.ts +9 -0
- package/dist/cjs/api/types/BulkJobCallback.js +5 -0
- package/dist/cjs/api/types/BulkJobInitResponseV1.d.ts +12 -0
- package/dist/cjs/api/types/BulkJobInitResponseV1.js +5 -0
- package/dist/cjs/api/types/ConfigureConnection.d.ts +15 -1
- package/dist/cjs/api/types/ConfigureConnection.js +10 -0
- package/dist/cjs/api/types/EventsData.d.ts +19 -2
- package/dist/cjs/api/types/EventsData.js +8 -0
- package/dist/cjs/api/types/FileSignedUrlDetails.d.ts +7 -0
- package/dist/cjs/api/types/FileSignedUrlDetails.js +5 -0
- package/dist/cjs/api/types/FilesDownloadResponse.d.ts +10 -0
- package/dist/cjs/api/types/FilesDownloadResponse.js +5 -0
- package/dist/cjs/api/types/FilesRequest.d.ts +7 -0
- package/dist/cjs/api/types/FilesRequest.js +5 -0
- package/dist/cjs/api/types/FilesUploadResponse.d.ts +10 -0
- package/dist/cjs/api/types/FilesUploadResponse.js +5 -0
- package/dist/cjs/api/types/InputAudioCodec.d.ts +33 -0
- package/dist/cjs/api/types/InputAudioCodec.js +32 -0
- package/dist/cjs/api/types/JobState.d.ts +11 -0
- package/dist/cjs/api/types/JobState.js +13 -0
- package/dist/cjs/api/types/JobStatusV1Response.d.ts +26 -0
- package/dist/cjs/api/types/JobStatusV1Response.js +5 -0
- package/dist/cjs/api/types/SpeechToTextJobParameters.d.ts +16 -0
- package/dist/cjs/api/types/SpeechToTextJobParameters.js +5 -0
- package/dist/cjs/api/types/SpeechToTextTranslateJobParameters.d.ts +18 -0
- package/dist/cjs/api/types/SpeechToTextTranslateJobParameters.js +5 -0
- package/dist/cjs/api/types/StorageContainerType.d.ts +10 -0
- package/dist/cjs/api/types/StorageContainerType.js +12 -0
- package/dist/cjs/api/types/TaskDetailV1.d.ts +11 -0
- package/dist/cjs/api/types/TaskDetailV1.js +5 -0
- package/dist/cjs/api/types/TaskFileDetails.d.ts +7 -0
- package/dist/cjs/api/types/TaskFileDetails.js +5 -0
- package/dist/cjs/api/types/TaskState.d.ts +9 -0
- package/dist/cjs/api/types/TaskState.js +11 -0
- package/dist/cjs/api/types/{AudioCodec.d.ts → TextToSpeechOutputAudioCodec.d.ts} +2 -2
- package/dist/cjs/api/types/{AudioCodec.js → TextToSpeechOutputAudioCodec.js} +2 -2
- package/dist/cjs/api/types/index.d.ts +17 -2
- package/dist/cjs/api/types/index.js +17 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +12 -2
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +1 -2
- package/dist/esm/api/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/index.mjs +4 -0
- package/dist/esm/api/resources/speechToText/client/Client.d.mts +11 -11
- package/dist/esm/api/resources/speechToText/client/Client.mjs +17 -11
- package/dist/esm/api/resources/speechToText/client/requests/SpeechToTextTranscriptionRequest.d.mts +2 -0
- package/dist/esm/api/resources/speechToText/client/requests/SpeechToTextTranslationRequest.d.mts +3 -1
- package/dist/esm/api/resources/speechToTextJob/client/Client.d.mts +153 -0
- package/dist/esm/api/resources/speechToTextJob/client/Client.mjs +451 -0
- package/dist/esm/api/resources/speechToTextJob/client/SpeechToTextJobInstance.d.mts +73 -0
- package/dist/esm/api/resources/speechToTextJob/client/SpeechToTextJobInstance.mjs +208 -0
- package/dist/esm/api/resources/speechToTextJob/client/index.d.mts +1 -0
- package/dist/esm/api/resources/speechToTextJob/client/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/SpeechToTextJobRequest.d.mts +16 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/SpeechToTextJobRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/SpeechToTextJobStartRequest.d.mts +10 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/SpeechToTextJobStartRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/speechToTextJob/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextJob/index.d.mts +1 -0
- package/dist/esm/api/resources/speechToTextJob/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextStreaming/client/Socket.d.mts +6 -1
- package/dist/esm/api/resources/speechToTextStreaming/client/Socket.mjs +10 -1
- package/dist/esm/api/resources/speechToTextTranslateJob/client/Client.d.mts +156 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/Client.mjs +482 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/SpeechToTextTranslateJobInstance.d.mts +73 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/SpeechToTextTranslateJobInstance.mjs +212 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/index.d.mts +1 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetDownloadLinksRequest.d.mts +20 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetDownloadLinksRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetUploadLinksRequest.d.mts +20 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobGetUploadLinksRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobRequest.d.mts +17 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobStartRequest.d.mts +10 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/SpeechToTextTranslateJobStartRequest.mjs +4 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/index.d.mts +1 -0
- package/dist/esm/api/resources/speechToTextTranslateJob/index.mjs +1 -0
- package/dist/esm/api/resources/speechToTextTranslateStreaming/client/Socket.d.mts +6 -1
- package/dist/esm/api/resources/speechToTextTranslateStreaming/client/Socket.mjs +10 -1
- package/dist/esm/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.mts +1 -1
- package/dist/esm/api/resources/textToSpeechStreaming/client/Socket.d.mts +16 -1
- package/dist/esm/api/resources/textToSpeechStreaming/client/Socket.mjs +20 -1
- package/dist/esm/api/types/AudioData.d.mts +1 -1
- package/dist/esm/api/types/BaseJobParameters.d.mts +5 -0
- package/dist/esm/api/types/BaseJobParameters.mjs +4 -0
- package/dist/esm/api/types/BulkJobCallback.d.mts +9 -0
- package/dist/esm/api/types/BulkJobCallback.mjs +4 -0
- package/dist/esm/api/types/BulkJobInitResponseV1.d.mts +12 -0
- package/dist/esm/api/types/BulkJobInitResponseV1.mjs +4 -0
- package/dist/esm/api/types/ConfigureConnection.d.mts +15 -1
- package/dist/esm/api/types/ConfigureConnection.mjs +10 -0
- package/dist/esm/api/types/EventsData.d.mts +19 -2
- package/dist/esm/api/types/EventsData.mjs +7 -1
- package/dist/esm/api/types/FileSignedUrlDetails.d.mts +7 -0
- package/dist/esm/api/types/FileSignedUrlDetails.mjs +4 -0
- package/dist/esm/api/types/FilesDownloadResponse.d.mts +10 -0
- package/dist/esm/api/types/FilesDownloadResponse.mjs +4 -0
- package/dist/esm/api/types/FilesRequest.d.mts +7 -0
- package/dist/esm/api/types/FilesRequest.mjs +4 -0
- package/dist/esm/api/types/FilesUploadResponse.d.mts +10 -0
- package/dist/esm/api/types/FilesUploadResponse.mjs +4 -0
- package/dist/esm/api/types/InputAudioCodec.d.mts +33 -0
- package/dist/esm/api/types/InputAudioCodec.mjs +29 -0
- package/dist/esm/api/types/JobState.d.mts +11 -0
- package/dist/esm/api/types/JobState.mjs +10 -0
- package/dist/esm/api/types/JobStatusV1Response.d.mts +26 -0
- package/dist/esm/api/types/JobStatusV1Response.mjs +4 -0
- package/dist/esm/api/types/SpeechToTextJobParameters.d.mts +16 -0
- package/dist/esm/api/types/SpeechToTextJobParameters.mjs +4 -0
- package/dist/esm/api/types/SpeechToTextTranslateJobParameters.d.mts +18 -0
- package/dist/esm/api/types/SpeechToTextTranslateJobParameters.mjs +4 -0
- package/dist/esm/api/types/StorageContainerType.d.mts +10 -0
- package/dist/esm/api/types/StorageContainerType.mjs +9 -0
- package/dist/esm/api/types/TaskDetailV1.d.mts +11 -0
- package/dist/esm/api/types/TaskDetailV1.mjs +4 -0
- package/dist/esm/api/types/TaskFileDetails.d.mts +7 -0
- package/dist/esm/api/types/TaskFileDetails.mjs +4 -0
- package/dist/esm/api/types/TaskState.d.mts +9 -0
- package/dist/esm/api/types/TaskState.mjs +8 -0
- package/dist/esm/api/types/{AudioCodec.d.mts → TextToSpeechOutputAudioCodec.d.mts} +2 -2
- package/dist/esm/api/types/{AudioCodec.mjs → TextToSpeechOutputAudioCodec.mjs} +1 -1
- package/dist/esm/api/types/index.d.mts +17 -2
- package/dist/esm/api/types/index.mjs +17 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +681 -11
- package/dist/cjs/api/types/Format.d.ts +0 -8
- package/dist/esm/api/types/Format.d.mts +0 -8
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { Text } from "./api/resources/text/client/Client.js";
|
|
|
7
7
|
import { SpeechToText } from "./api/resources/speechToText/client/Client.js";
|
|
8
8
|
import { TextToSpeech } from "./api/resources/textToSpeech/client/Client.js";
|
|
9
9
|
import { Chat } from "./api/resources/chat/client/Client.js";
|
|
10
|
+
import { SpeechToTextJob } from "./api/resources/speechToTextJob/client/Client.js";
|
|
11
|
+
import { SpeechToTextTranslateJob } from "./api/resources/speechToTextTranslateJob/client/Client.js";
|
|
10
12
|
import { SpeechToTextStreaming } from "./api/resources/speechToTextStreaming/client/Client.js";
|
|
11
13
|
import { SpeechToTextTranslateStreaming } from "./api/resources/speechToTextTranslateStreaming/client/Client.js";
|
|
12
14
|
import { TextToSpeechStreaming } from "./api/resources/textToSpeechStreaming/client/Client.js";
|
|
@@ -36,6 +38,8 @@ export declare class SarvamAIClient {
|
|
|
36
38
|
protected _speechToText: SpeechToText | undefined;
|
|
37
39
|
protected _textToSpeech: TextToSpeech | undefined;
|
|
38
40
|
protected _chat: Chat | undefined;
|
|
41
|
+
protected _speechToTextJob: SpeechToTextJob | undefined;
|
|
42
|
+
protected _speechToTextTranslateJob: SpeechToTextTranslateJob | undefined;
|
|
39
43
|
protected _speechToTextStreaming: SpeechToTextStreaming | undefined;
|
|
40
44
|
protected _speechToTextTranslateStreaming: SpeechToTextTranslateStreaming | undefined;
|
|
41
45
|
protected _textToSpeechStreaming: TextToSpeechStreaming | undefined;
|
|
@@ -44,6 +48,8 @@ export declare class SarvamAIClient {
|
|
|
44
48
|
get speechToText(): SpeechToText;
|
|
45
49
|
get textToSpeech(): TextToSpeech;
|
|
46
50
|
get chat(): Chat;
|
|
51
|
+
get speechToTextJob(): SpeechToTextJob;
|
|
52
|
+
get speechToTextTranslateJob(): SpeechToTextTranslateJob;
|
|
47
53
|
get speechToTextStreaming(): SpeechToTextStreaming;
|
|
48
54
|
get speechToTextTranslateStreaming(): SpeechToTextTranslateStreaming;
|
|
49
55
|
get textToSpeechStreaming(): TextToSpeechStreaming;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -43,16 +43,18 @@ const Client_js_1 = require("./api/resources/text/client/Client.js");
|
|
|
43
43
|
const Client_js_2 = require("./api/resources/speechToText/client/Client.js");
|
|
44
44
|
const Client_js_3 = require("./api/resources/textToSpeech/client/Client.js");
|
|
45
45
|
const Client_js_4 = require("./api/resources/chat/client/Client.js");
|
|
46
|
-
const Client_js_5 = require("./api/resources/
|
|
47
|
-
const Client_js_6 = require("./api/resources/
|
|
48
|
-
const Client_js_7 = require("./api/resources/
|
|
46
|
+
const Client_js_5 = require("./api/resources/speechToTextJob/client/Client.js");
|
|
47
|
+
const Client_js_6 = require("./api/resources/speechToTextTranslateJob/client/Client.js");
|
|
48
|
+
const Client_js_7 = require("./api/resources/speechToTextStreaming/client/Client.js");
|
|
49
|
+
const Client_js_8 = require("./api/resources/speechToTextTranslateStreaming/client/Client.js");
|
|
50
|
+
const Client_js_9 = require("./api/resources/textToSpeechStreaming/client/Client.js");
|
|
49
51
|
class SarvamAIClient {
|
|
50
52
|
constructor(_options = {}) {
|
|
51
53
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
52
54
|
"X-Fern-Language": "JavaScript",
|
|
53
55
|
"X-Fern-SDK-Name": "sarvamai",
|
|
54
|
-
"X-Fern-SDK-Version": "0.1.
|
|
55
|
-
"User-Agent": "sarvamai/0.1.
|
|
56
|
+
"X-Fern-SDK-Version": "0.1.7-a.2",
|
|
57
|
+
"User-Agent": "sarvamai/0.1.7-a.2",
|
|
56
58
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
57
59
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
58
60
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -73,17 +75,25 @@ class SarvamAIClient {
|
|
|
73
75
|
var _a;
|
|
74
76
|
return ((_a = this._chat) !== null && _a !== void 0 ? _a : (this._chat = new Client_js_4.Chat(this._options)));
|
|
75
77
|
}
|
|
78
|
+
get speechToTextJob() {
|
|
79
|
+
var _a;
|
|
80
|
+
return ((_a = this._speechToTextJob) !== null && _a !== void 0 ? _a : (this._speechToTextJob = new Client_js_5.SpeechToTextJob(this._options)));
|
|
81
|
+
}
|
|
82
|
+
get speechToTextTranslateJob() {
|
|
83
|
+
var _a;
|
|
84
|
+
return ((_a = this._speechToTextTranslateJob) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateJob = new Client_js_6.SpeechToTextTranslateJob(this._options)));
|
|
85
|
+
}
|
|
76
86
|
get speechToTextStreaming() {
|
|
77
87
|
var _a;
|
|
78
|
-
return ((_a = this._speechToTextStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextStreaming = new
|
|
88
|
+
return ((_a = this._speechToTextStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextStreaming = new Client_js_7.SpeechToTextStreaming(this._options)));
|
|
79
89
|
}
|
|
80
90
|
get speechToTextTranslateStreaming() {
|
|
81
91
|
var _a;
|
|
82
|
-
return ((_a = this._speechToTextTranslateStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateStreaming = new
|
|
92
|
+
return ((_a = this._speechToTextTranslateStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateStreaming = new Client_js_8.SpeechToTextTranslateStreaming(this._options)));
|
|
83
93
|
}
|
|
84
94
|
get textToSpeechStreaming() {
|
|
85
95
|
var _a;
|
|
86
|
-
return ((_a = this._textToSpeechStreaming) !== null && _a !== void 0 ? _a : (this._textToSpeechStreaming = new
|
|
96
|
+
return ((_a = this._textToSpeechStreaming) !== null && _a !== void 0 ? _a : (this._textToSpeechStreaming = new Client_js_9.TextToSpeechStreaming(this._options)));
|
|
87
97
|
}
|
|
88
98
|
}
|
|
89
99
|
exports.SarvamAIClient = SarvamAIClient;
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as errors from "../../errors/index.js";
|
|
5
|
-
import * as SarvamAI from "../index.js";
|
|
6
5
|
import * as core from "../../core/index.js";
|
|
7
6
|
export declare class ServiceUnavailableError extends errors.SarvamAIError {
|
|
8
|
-
constructor(body
|
|
7
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
9
8
|
}
|
|
@@ -7,7 +7,11 @@ export * as text from "./text/index.js";
|
|
|
7
7
|
export * as speechToText from "./speechToText/index.js";
|
|
8
8
|
export * as textToSpeech from "./textToSpeech/index.js";
|
|
9
9
|
export * as chat from "./chat/index.js";
|
|
10
|
+
export * as speechToTextJob from "./speechToTextJob/index.js";
|
|
11
|
+
export * as speechToTextTranslateJob from "./speechToTextTranslateJob/index.js";
|
|
10
12
|
export * from "./text/client/requests/index.js";
|
|
11
13
|
export * from "./speechToText/client/requests/index.js";
|
|
12
14
|
export * from "./textToSpeech/client/requests/index.js";
|
|
13
15
|
export * from "./chat/client/requests/index.js";
|
|
16
|
+
export * from "./speechToTextJob/client/requests/index.js";
|
|
17
|
+
export * from "./speechToTextTranslateJob/client/requests/index.js";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.chat = exports.textToSpeech = exports.speechToText = exports.text = exports.textToSpeechStreaming = exports.speechToTextTranslateStreaming = exports.speechToTextStreaming = void 0;
|
|
39
|
+
exports.speechToTextTranslateJob = exports.speechToTextJob = exports.chat = exports.textToSpeech = exports.speechToText = exports.text = exports.textToSpeechStreaming = exports.speechToTextTranslateStreaming = exports.speechToTextStreaming = void 0;
|
|
40
40
|
exports.speechToTextStreaming = __importStar(require("./speechToTextStreaming/index.js"));
|
|
41
41
|
__exportStar(require("./speechToTextStreaming/types/index.js"), exports);
|
|
42
42
|
exports.speechToTextTranslateStreaming = __importStar(require("./speechToTextTranslateStreaming/index.js"));
|
|
@@ -46,7 +46,11 @@ exports.text = __importStar(require("./text/index.js"));
|
|
|
46
46
|
exports.speechToText = __importStar(require("./speechToText/index.js"));
|
|
47
47
|
exports.textToSpeech = __importStar(require("./textToSpeech/index.js"));
|
|
48
48
|
exports.chat = __importStar(require("./chat/index.js"));
|
|
49
|
+
exports.speechToTextJob = __importStar(require("./speechToTextJob/index.js"));
|
|
50
|
+
exports.speechToTextTranslateJob = __importStar(require("./speechToTextTranslateJob/index.js"));
|
|
49
51
|
__exportStar(require("./text/client/requests/index.js"), exports);
|
|
50
52
|
__exportStar(require("./speechToText/client/requests/index.js"), exports);
|
|
51
53
|
__exportStar(require("./textToSpeech/client/requests/index.js"), exports);
|
|
52
54
|
__exportStar(require("./chat/client/requests/index.js"), exports);
|
|
55
|
+
__exportStar(require("./speechToTextJob/client/requests/index.js"), exports);
|
|
56
|
+
__exportStar(require("./speechToTextTranslateJob/client/requests/index.js"), exports);
|
|
@@ -28,19 +28,19 @@ export declare class SpeechToText {
|
|
|
28
28
|
protected readonly _options: SpeechToText.Options;
|
|
29
29
|
constructor(_options?: SpeechToText.Options);
|
|
30
30
|
/**
|
|
31
|
-
* ##
|
|
31
|
+
* ## Speech to Text API
|
|
32
32
|
*
|
|
33
|
-
* This API transcribes speech to text in multiple Indian languages and English. Supports
|
|
33
|
+
* This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
|
|
34
34
|
*
|
|
35
35
|
* ### Available Options:
|
|
36
|
-
* - **
|
|
37
|
-
* - **Batch API**: For longer audio files,
|
|
36
|
+
* - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
|
|
37
|
+
* - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
|
|
38
38
|
* - Supports diarization (speaker identification)
|
|
39
39
|
*
|
|
40
40
|
* ### Note:
|
|
41
|
-
* - Pricing differs for
|
|
41
|
+
* - Pricing differs for REST and Batch APIs
|
|
42
42
|
* - Diarization is only available in Batch API with separate pricing
|
|
43
|
-
* - Please refer to [
|
|
43
|
+
* - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
|
|
44
44
|
*
|
|
45
45
|
* @param {SarvamAI.SpeechToTextTranscriptionRequest} request
|
|
46
46
|
* @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -60,19 +60,19 @@ export declare class SpeechToText {
|
|
|
60
60
|
transcribe(request: SarvamAI.SpeechToTextTranscriptionRequest, requestOptions?: SpeechToText.RequestOptions): core.HttpResponsePromise<SarvamAI.SpeechToTextResponse>;
|
|
61
61
|
private __transcribe;
|
|
62
62
|
/**
|
|
63
|
-
* ##
|
|
63
|
+
* ## Speech to Text Translation API
|
|
64
64
|
*
|
|
65
65
|
* This API automatically detects the input language, transcribes the speech, and translates the text to English.
|
|
66
66
|
*
|
|
67
67
|
* ### Available Options:
|
|
68
|
-
* - **
|
|
69
|
-
* - **Batch API**: For longer audio files
|
|
68
|
+
* - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
|
|
69
|
+
* - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
|
|
70
70
|
* - Supports diarization (speaker identification)
|
|
71
71
|
*
|
|
72
72
|
* ### Note:
|
|
73
|
-
* - Pricing differs for
|
|
73
|
+
* - Pricing differs for REST and Batch APIs
|
|
74
74
|
* - Diarization is only available in Batch API with separate pricing
|
|
75
|
-
* - Please refer to [
|
|
75
|
+
* - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
|
|
76
76
|
*
|
|
77
77
|
* @param {SarvamAI.SpeechToTextTranslationRequest} request
|
|
78
78
|
* @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -60,19 +60,19 @@ class SpeechToText {
|
|
|
60
60
|
this._options = _options;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* ##
|
|
63
|
+
* ## Speech to Text API
|
|
64
64
|
*
|
|
65
|
-
* This API transcribes speech to text in multiple Indian languages and English. Supports
|
|
65
|
+
* This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
|
|
66
66
|
*
|
|
67
67
|
* ### Available Options:
|
|
68
|
-
* - **
|
|
69
|
-
* - **Batch API**: For longer audio files,
|
|
68
|
+
* - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
|
|
69
|
+
* - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
|
|
70
70
|
* - Supports diarization (speaker identification)
|
|
71
71
|
*
|
|
72
72
|
* ### Note:
|
|
73
|
-
* - Pricing differs for
|
|
73
|
+
* - Pricing differs for REST and Batch APIs
|
|
74
74
|
* - Diarization is only available in Batch API with separate pricing
|
|
75
|
-
* - Please refer to [
|
|
75
|
+
* - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
|
|
76
76
|
*
|
|
77
77
|
* @param {SarvamAI.SpeechToTextTranscriptionRequest} request
|
|
78
78
|
* @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -103,6 +103,9 @@ class SpeechToText {
|
|
|
103
103
|
if (request.language_code != null) {
|
|
104
104
|
_request.append("language_code", request.language_code);
|
|
105
105
|
}
|
|
106
|
+
if (request.input_audio_codec != null) {
|
|
107
|
+
_request.append("input_audio_codec", request.input_audio_codec);
|
|
108
|
+
}
|
|
106
109
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
107
110
|
const _response = yield core.fetcher({
|
|
108
111
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SarvamAIEnvironment.Production).base, "speech-to-text"),
|
|
@@ -158,19 +161,19 @@ class SpeechToText {
|
|
|
158
161
|
});
|
|
159
162
|
}
|
|
160
163
|
/**
|
|
161
|
-
* ##
|
|
164
|
+
* ## Speech to Text Translation API
|
|
162
165
|
*
|
|
163
166
|
* This API automatically detects the input language, transcribes the speech, and translates the text to English.
|
|
164
167
|
*
|
|
165
168
|
* ### Available Options:
|
|
166
|
-
* - **
|
|
167
|
-
* - **Batch API**: For longer audio files
|
|
169
|
+
* - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
|
|
170
|
+
* - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
|
|
168
171
|
* - Supports diarization (speaker identification)
|
|
169
172
|
*
|
|
170
173
|
* ### Note:
|
|
171
|
-
* - Pricing differs for
|
|
174
|
+
* - Pricing differs for REST and Batch APIs
|
|
172
175
|
* - Diarization is only available in Batch API with separate pricing
|
|
173
|
-
* - Please refer to [
|
|
176
|
+
* - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
|
|
174
177
|
*
|
|
175
178
|
* @param {SarvamAI.SpeechToTextTranslationRequest} request
|
|
176
179
|
* @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -201,6 +204,9 @@ class SpeechToText {
|
|
|
201
204
|
if (request.model != null) {
|
|
202
205
|
_request.append("model", request.model);
|
|
203
206
|
}
|
|
207
|
+
if (request.input_audio_codec != null) {
|
|
208
|
+
_request.append("input_audio_codec", request.input_audio_codec);
|
|
209
|
+
}
|
|
204
210
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
205
211
|
const _response = yield core.fetcher({
|
|
206
212
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SarvamAIEnvironment.Production).base, "speech-to-text-translate"),
|
package/dist/cjs/api/resources/speechToText/client/requests/SpeechToTextTranscriptionRequest.d.ts
CHANGED
|
@@ -22,4 +22,6 @@ export interface SpeechToTextTranscriptionRequest {
|
|
|
22
22
|
* `unknown`: Use this when the language is not known; the API will detect it automatically.
|
|
23
23
|
*/
|
|
24
24
|
language_code?: SarvamAI.SpeechToTextLanguage;
|
|
25
|
+
/** Input Audio codec/format of the input file. PCM files are supported only at 16kHz sample rate. */
|
|
26
|
+
input_audio_codec?: SarvamAI.InputAudioCodec;
|
|
25
27
|
}
|
package/dist/cjs/api/resources/speechToText/client/requests/SpeechToTextTranslationRequest.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ import * as SarvamAI from "../../../../index.js";
|
|
|
11
11
|
*/
|
|
12
12
|
export interface SpeechToTextTranslationRequest {
|
|
13
13
|
file: File | fs.ReadStream | Blob;
|
|
14
|
-
/** Conversation context can be passed as a prompt to boost model accuracy. However, the current system is at an experimentation stage and doesn
|
|
14
|
+
/** Conversation context can be passed as a prompt to boost model accuracy. However, the current system is at an experimentation stage and doesn't match the prompt performance of large language models. */
|
|
15
15
|
prompt?: string;
|
|
16
16
|
/** Model to be used for converting speech to text in target language */
|
|
17
17
|
model?: SarvamAI.SpeechToTextTranslateModel;
|
|
18
|
+
/** Audio codec/format of the input file. Our API automatically detects all codec formats, but for PCM files specifically (pcm_s16le, pcm_l16, pcm_raw), you must pass this parameter. PCM files are supported only at 16kHz sample rate. */
|
|
19
|
+
input_audio_codec?: SarvamAI.InputAudioCodec;
|
|
18
20
|
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
|
+
import * as SarvamAI from "../../../index.js";
|
|
7
|
+
import { SpeechToTextJobInstance } from "./SpeechToTextJobInstance.js";
|
|
8
|
+
export declare namespace SpeechToTextJob {
|
|
9
|
+
interface Options {
|
|
10
|
+
environment?: core.Supplier<environments.SarvamAIEnvironment | environments.SarvamAIEnvironmentUrls>;
|
|
11
|
+
/** Specify a custom URL to connect the client to. */
|
|
12
|
+
baseUrl?: core.Supplier<string>;
|
|
13
|
+
apiSubscriptionKey?: core.Supplier<string>;
|
|
14
|
+
/** Additional headers to include in requests. */
|
|
15
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class SpeechToTextJob {
|
|
29
|
+
protected readonly _options: SpeechToTextJob.Options;
|
|
30
|
+
constructor(_options?: SpeechToTextJob.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Get a job uuid, and storage folder details for speech to text bulk job v1
|
|
33
|
+
*
|
|
34
|
+
* @param {SarvamAI.SpeechToTextJobRequest} request
|
|
35
|
+
* @param {SpeechToTextJob.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link SarvamAI.BadRequestError}
|
|
38
|
+
* @throws {@link SarvamAI.ForbiddenError}
|
|
39
|
+
* @throws {@link SarvamAI.UnprocessableEntityError}
|
|
40
|
+
* @throws {@link SarvamAI.TooManyRequestsError}
|
|
41
|
+
* @throws {@link SarvamAI.InternalServerError}
|
|
42
|
+
* @throws {@link SarvamAI.ServiceUnavailableError}
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* await client.speechToTextJob.initialise({
|
|
46
|
+
* job_parameters: {}
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
initialise(request: SarvamAI.SpeechToTextJobRequest, requestOptions?: SpeechToTextJob.RequestOptions): core.HttpResponsePromise<SarvamAI.BulkJobInitResponseV1>;
|
|
50
|
+
private __initialise;
|
|
51
|
+
/**
|
|
52
|
+
* Get the status of a speech to text bulk job V1
|
|
53
|
+
*
|
|
54
|
+
* @param {string} jobId - The unique identifier of the job
|
|
55
|
+
* @param {SpeechToTextJob.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SarvamAI.BadRequestError}
|
|
58
|
+
* @throws {@link SarvamAI.ForbiddenError}
|
|
59
|
+
* @throws {@link SarvamAI.UnprocessableEntityError}
|
|
60
|
+
* @throws {@link SarvamAI.TooManyRequestsError}
|
|
61
|
+
* @throws {@link SarvamAI.InternalServerError}
|
|
62
|
+
* @throws {@link SarvamAI.ServiceUnavailableError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.speechToTextJob.getStatus("job_id")
|
|
66
|
+
*/
|
|
67
|
+
getStatus(jobId: string, requestOptions?: SpeechToTextJob.RequestOptions): core.HttpResponsePromise<SarvamAI.JobStatusV1Response>;
|
|
68
|
+
private __getStatus;
|
|
69
|
+
/**
|
|
70
|
+
* Start a speech to text bulk job V1
|
|
71
|
+
*
|
|
72
|
+
* @param {string} jobId - The unique identifier of the job
|
|
73
|
+
* @param {SarvamAI.SpeechToTextJobStartRequest} request
|
|
74
|
+
* @param {SpeechToTextJob.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link SarvamAI.BadRequestError}
|
|
77
|
+
* @throws {@link SarvamAI.ForbiddenError}
|
|
78
|
+
* @throws {@link SarvamAI.UnprocessableEntityError}
|
|
79
|
+
* @throws {@link SarvamAI.TooManyRequestsError}
|
|
80
|
+
* @throws {@link SarvamAI.InternalServerError}
|
|
81
|
+
* @throws {@link SarvamAI.ServiceUnavailableError}
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* await client.speechToTextJob.start("job_id")
|
|
85
|
+
*/
|
|
86
|
+
start(jobId: string, request?: SarvamAI.SpeechToTextJobStartRequest, requestOptions?: SpeechToTextJob.RequestOptions): core.HttpResponsePromise<SarvamAI.JobStatusV1Response>;
|
|
87
|
+
private __start;
|
|
88
|
+
/**
|
|
89
|
+
* Start a speech to text bulk job V1
|
|
90
|
+
*
|
|
91
|
+
* @param {SarvamAI.FilesRequest} request
|
|
92
|
+
* @param {SpeechToTextJob.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link SarvamAI.BadRequestError}
|
|
95
|
+
* @throws {@link SarvamAI.ForbiddenError}
|
|
96
|
+
* @throws {@link SarvamAI.UnprocessableEntityError}
|
|
97
|
+
* @throws {@link SarvamAI.TooManyRequestsError}
|
|
98
|
+
* @throws {@link SarvamAI.InternalServerError}
|
|
99
|
+
* @throws {@link SarvamAI.ServiceUnavailableError}
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* await client.speechToTextJob.getUploadLinks({
|
|
103
|
+
* job_id: "job_id",
|
|
104
|
+
* files: ["files"]
|
|
105
|
+
* })
|
|
106
|
+
*/
|
|
107
|
+
getUploadLinks(request: SarvamAI.FilesRequest, requestOptions?: SpeechToTextJob.RequestOptions): core.HttpResponsePromise<SarvamAI.FilesUploadResponse>;
|
|
108
|
+
private __getUploadLinks;
|
|
109
|
+
/**
|
|
110
|
+
* Start a speech to text bulk job V1
|
|
111
|
+
*
|
|
112
|
+
* @param {SarvamAI.FilesRequest} request
|
|
113
|
+
* @param {SpeechToTextJob.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link SarvamAI.BadRequestError}
|
|
116
|
+
* @throws {@link SarvamAI.ForbiddenError}
|
|
117
|
+
* @throws {@link SarvamAI.UnprocessableEntityError}
|
|
118
|
+
* @throws {@link SarvamAI.TooManyRequestsError}
|
|
119
|
+
* @throws {@link SarvamAI.InternalServerError}
|
|
120
|
+
* @throws {@link SarvamAI.ServiceUnavailableError}
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* await client.speechToTextJob.getDownloadLinks({
|
|
124
|
+
* job_id: "job_id",
|
|
125
|
+
* files: ["files"]
|
|
126
|
+
* })
|
|
127
|
+
*/
|
|
128
|
+
getDownloadLinks(request: SarvamAI.FilesRequest, requestOptions?: SpeechToTextJob.RequestOptions): core.HttpResponsePromise<SarvamAI.FilesDownloadResponse>;
|
|
129
|
+
private __getDownloadLinks;
|
|
130
|
+
/**
|
|
131
|
+
* Create a new Speech-to-Text bulk job.
|
|
132
|
+
*
|
|
133
|
+
* @param model - The model to use for transcription (default: "saarika:v2.5")
|
|
134
|
+
* @param withDiarization - Whether to enable speaker diarization (default: false)
|
|
135
|
+
* @param withTimestamps - Whether to include word-level timestamps (default: false)
|
|
136
|
+
* @param languageCode - The language code of the input audio (e.g., "hi-IN", "bn-IN")
|
|
137
|
+
* @param numSpeakers - The number of distinct speakers in the audio, if known
|
|
138
|
+
* @param callback - Optional callback configuration to receive job completion events
|
|
139
|
+
* @param requestOptions - Request-specific configuration
|
|
140
|
+
* @returns A handle to the newly created Speech-to-Text job
|
|
141
|
+
*/
|
|
142
|
+
createJob(model?: SarvamAI.SpeechToTextModel, withDiarization?: boolean, withTimestamps?: boolean, languageCode?: SarvamAI.SpeechToTextLanguage, numSpeakers?: number, callback?: SarvamAI.BulkJobCallback, requestOptions?: SpeechToTextJob.RequestOptions): Promise<SpeechToTextJobInstance>;
|
|
143
|
+
/**
|
|
144
|
+
* Get an existing Speech-to-Text job handle by job ID.
|
|
145
|
+
*
|
|
146
|
+
* @param jobId - The job ID of the previously created Speech-to-Text job
|
|
147
|
+
* @returns A job handle which can be used to check status or retrieve results
|
|
148
|
+
*/
|
|
149
|
+
getJob(jobId: string): SpeechToTextJobInstance;
|
|
150
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
151
|
+
"api-subscription-key": string | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
}
|