@speechall/sdk 0.0.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -2,6 +2,25 @@ import type { Configuration } from './configuration';
2
2
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
3
  import type { RequestArgs } from './base';
4
4
  import { BaseAPI } from './base';
5
+ export interface BaseTranscriptionConfiguration {
6
+ 'model': TranscriptionModelIdentifier;
7
+ 'language'?: TranscriptLanguageCode;
8
+ 'output_format'?: TranscriptOutputFormat;
9
+ 'ruleset_id'?: string;
10
+ 'punctuation'?: boolean;
11
+ 'timestamp_granularity'?: BaseTranscriptionConfigurationTimestampGranularityEnum;
12
+ 'diarization'?: boolean;
13
+ 'initial_prompt'?: string;
14
+ 'temperature'?: number;
15
+ 'smart_format'?: boolean;
16
+ 'speakers_expected'?: number;
17
+ 'custom_vocabulary'?: Array<string>;
18
+ }
19
+ export declare const BaseTranscriptionConfigurationTimestampGranularityEnum: {
20
+ readonly Word: "word";
21
+ readonly Segment: "segment";
22
+ };
23
+ export type BaseTranscriptionConfigurationTimestampGranularityEnum = typeof BaseTranscriptionConfigurationTimestampGranularityEnum[keyof typeof BaseTranscriptionConfigurationTimestampGranularityEnum];
5
24
  export interface CreateReplacementRuleset201Response {
6
25
  'id': string;
7
26
  }
@@ -109,6 +128,27 @@ export declare const RegexRuleFlagsEnum: {
109
128
  readonly U: "u";
110
129
  };
111
130
  export type RegexRuleFlagsEnum = typeof RegexRuleFlagsEnum[keyof typeof RegexRuleFlagsEnum];
131
+ export interface RemoteTranscriptionConfiguration {
132
+ 'model': TranscriptionModelIdentifier;
133
+ 'language'?: TranscriptLanguageCode;
134
+ 'output_format'?: TranscriptOutputFormat;
135
+ 'ruleset_id'?: string;
136
+ 'punctuation'?: boolean;
137
+ 'timestamp_granularity'?: RemoteTranscriptionConfigurationTimestampGranularityEnum;
138
+ 'diarization'?: boolean;
139
+ 'initial_prompt'?: string;
140
+ 'temperature'?: number;
141
+ 'smart_format'?: boolean;
142
+ 'speakers_expected'?: number;
143
+ 'custom_vocabulary'?: Array<string>;
144
+ 'file_url': string;
145
+ 'replacement_ruleset'?: Array<ReplacementRule>;
146
+ }
147
+ export declare const RemoteTranscriptionConfigurationTimestampGranularityEnum: {
148
+ readonly Word: "word";
149
+ readonly Segment: "segment";
150
+ };
151
+ export type RemoteTranscriptionConfigurationTimestampGranularityEnum = typeof RemoteTranscriptionConfigurationTimestampGranularityEnum[keyof typeof RemoteTranscriptionConfigurationTimestampGranularityEnum];
112
152
  export type ReplacementRule = {
113
153
  kind: 'exact';
114
154
  } & ExactRule | {
@@ -294,8 +334,12 @@ export declare const TranscriptionModelIdentifier: {
294
334
  readonly AmazonTranscribe: "amazon.transcribe";
295
335
  readonly AssemblyaiBest: "assemblyai.best";
296
336
  readonly AssemblyaiNano: "assemblyai.nano";
337
+ readonly AssemblyaiSlam1: "assemblyai.slam-1";
338
+ readonly AssemblyaiUniversal: "assemblyai.universal";
297
339
  readonly AzureStandard: "azure.standard";
298
340
  readonly CloudflareWhisper: "cloudflare.whisper";
341
+ readonly CloudflareWhisperLargeV3Turbo: "cloudflare.whisper-large-v3-turbo";
342
+ readonly CloudflareWhisperTinyEn: "cloudflare.whisper-tiny-en";
299
343
  readonly DeepgramBase: "deepgram.base";
300
344
  readonly DeepgramBaseConversationalai: "deepgram.base-conversationalai";
301
345
  readonly DeepgramBaseFinance: "deepgram.base-finance";
@@ -310,6 +354,8 @@ export declare const TranscriptionModelIdentifier: {
310
354
  readonly DeepgramEnhancedMeeting: "deepgram.enhanced-meeting";
311
355
  readonly DeepgramEnhancedPhonecall: "deepgram.enhanced-phonecall";
312
356
  readonly DeepgramNova: "deepgram.nova";
357
+ readonly DeepgramNovaGeneral: "deepgram.nova-general";
358
+ readonly DeepgramNovaPhonecall: "deepgram.nova-phonecall";
313
359
  readonly DeepgramNova2: "deepgram.nova-2";
314
360
  readonly DeepgramNova2Atc: "deepgram.nova-2-atc";
315
361
  readonly DeepgramNova2Automotive: "deepgram.nova-2-automotive";
@@ -323,14 +369,16 @@ export declare const TranscriptionModelIdentifier: {
323
369
  readonly DeepgramNova2Video: "deepgram.nova-2-video";
324
370
  readonly DeepgramNova2Voicemail: "deepgram.nova-2-voicemail";
325
371
  readonly DeepgramNova3: "deepgram.nova-3";
326
- readonly DeepgramNovaGeneral: "deepgram.nova-general";
327
- readonly DeepgramNovaPhonecall: "deepgram.nova-phonecall";
372
+ readonly DeepgramNova3General: "deepgram.nova-3-general";
373
+ readonly DeepgramNova3Medical: "deepgram.nova-3-medical";
328
374
  readonly DeepgramWhisper: "deepgram.whisper";
329
375
  readonly DeepgramWhisperBase: "deepgram.whisper-base";
330
376
  readonly DeepgramWhisperLarge: "deepgram.whisper-large";
331
377
  readonly DeepgramWhisperMedium: "deepgram.whisper-medium";
332
378
  readonly DeepgramWhisperSmall: "deepgram.whisper-small";
333
379
  readonly DeepgramWhisperTiny: "deepgram.whisper-tiny";
380
+ readonly FalaiElevenlabsSpeechToText: "falai.elevenlabs-speech-to-text";
381
+ readonly FalaiSpeechToText: "falai.speech-to-text";
334
382
  readonly FalaiWhisper: "falai.whisper";
335
383
  readonly FalaiWizper: "falai.wizper";
336
384
  readonly FireworksaiWhisperV3: "fireworksai.whisper-v3";
@@ -338,6 +386,10 @@ export declare const TranscriptionModelIdentifier: {
338
386
  readonly GladiaStandard: "gladia.standard";
339
387
  readonly GoogleEnhanced: "google.enhanced";
340
388
  readonly GoogleStandard: "google.standard";
389
+ readonly GeminiGemini25FlashPreview0520: "gemini.gemini-2.5-flash-preview-05-20";
390
+ readonly GeminiGemini25ProPreview0605: "gemini.gemini-2.5-pro-preview-06-05";
391
+ readonly GeminiGemini20Flash: "gemini.gemini-2.0-flash";
392
+ readonly GeminiGemini20FlashLite: "gemini.gemini-2.0-flash-lite";
341
393
  readonly GroqDistilWhisperLargeV3En: "groq.distil-whisper-large-v3-en";
342
394
  readonly GroqWhisperLargeV3: "groq.whisper-large-v3";
343
395
  readonly GroqWhisperLargeV3Turbo: "groq.whisper-large-v3-turbo";
@@ -346,6 +398,7 @@ export declare const TranscriptionModelIdentifier: {
346
398
  readonly OpenaiGpt4oTranscribe: "openai.gpt-4o-transcribe";
347
399
  readonly OpenaiGpt4oMiniTranscribe: "openai.gpt-4o-mini-transcribe";
348
400
  readonly RevaiMachine: "revai.machine";
401
+ readonly RevaiFusion: "revai.fusion";
349
402
  readonly SpeechmaticsEnhanced: "speechmatics.enhanced";
350
403
  readonly SpeechmaticsStandard: "speechmatics.standard";
351
404
  };
@@ -354,26 +407,6 @@ export interface TranscriptionOnlyText {
354
407
  'id': string;
355
408
  'text': string;
356
409
  }
357
- export interface TranscriptionOptions {
358
- 'file_url': string;
359
- 'model': TranscriptionModelIdentifier;
360
- 'language'?: TranscriptLanguageCode;
361
- 'output_format'?: TranscriptOutputFormat;
362
- 'punctuation'?: boolean;
363
- 'timestamp_granularity'?: TranscriptionOptionsTimestampGranularityEnum;
364
- 'diarization'?: boolean;
365
- 'initial_prompt'?: string;
366
- 'temperature'?: number;
367
- 'smart_format'?: boolean;
368
- 'speakers_expected'?: number;
369
- 'custom_vocabulary'?: Array<string>;
370
- 'replacement_ruleset'?: Array<ReplacementRule>;
371
- }
372
- export declare const TranscriptionOptionsTimestampGranularityEnum: {
373
- readonly Word: "word";
374
- readonly Segment: "segment";
375
- };
376
- export type TranscriptionOptionsTimestampGranularityEnum = typeof TranscriptionOptionsTimestampGranularityEnum[keyof typeof TranscriptionOptionsTimestampGranularityEnum];
377
410
  export declare const TranscriptionProvider: {
378
411
  readonly Amazon: "amazon";
379
412
  readonly Assemblyai: "assemblyai";
@@ -382,6 +415,7 @@ export declare const TranscriptionProvider: {
382
415
  readonly Deepgram: "deepgram";
383
416
  readonly Falai: "falai";
384
417
  readonly Fireworksai: "fireworksai";
418
+ readonly Gemini: "gemini";
385
419
  readonly Gladia: "gladia";
386
420
  readonly Google: "google";
387
421
  readonly Groq: "groq";
@@ -442,22 +476,22 @@ export declare class ReplacementRulesApi extends BaseAPI {
442
476
  export declare const SpeechToTextApiAxiosParamCreator: (configuration?: Configuration) => {
443
477
  listSpeechToTextModels: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
444
478
  transcribe: (model: TranscriptionModelIdentifier, body: File, language?: TranscriptLanguageCode, outputFormat?: TranscriptOutputFormat, rulesetId?: string, punctuation?: boolean, timestampGranularity?: TranscribeTimestampGranularityEnum, diarization?: boolean, initialPrompt?: string, temperature?: number, smartFormat?: boolean, speakersExpected?: number, customVocabulary?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
445
- transcribeRemote: (transcriptionOptions: TranscriptionOptions, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
479
+ transcribeRemote: (remoteTranscriptionConfiguration: RemoteTranscriptionConfiguration, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
446
480
  };
447
481
  export declare const SpeechToTextApiFp: (configuration?: Configuration) => {
448
482
  listSpeechToTextModels(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SpeechToTextModel>>>;
449
483
  transcribe(model: TranscriptionModelIdentifier, body: File, language?: TranscriptLanguageCode, outputFormat?: TranscriptOutputFormat, rulesetId?: string, punctuation?: boolean, timestampGranularity?: TranscribeTimestampGranularityEnum, diarization?: boolean, initialPrompt?: string, temperature?: number, smartFormat?: boolean, speakersExpected?: number, customVocabulary?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranscriptionResponse>>;
450
- transcribeRemote(transcriptionOptions: TranscriptionOptions, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranscriptionResponse>>;
484
+ transcribeRemote(remoteTranscriptionConfiguration: RemoteTranscriptionConfiguration, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranscriptionResponse>>;
451
485
  };
452
486
  export declare const SpeechToTextApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
453
487
  listSpeechToTextModels(options?: RawAxiosRequestConfig): AxiosPromise<Array<SpeechToTextModel>>;
454
488
  transcribe(model: TranscriptionModelIdentifier, body: File, language?: TranscriptLanguageCode, outputFormat?: TranscriptOutputFormat, rulesetId?: string, punctuation?: boolean, timestampGranularity?: TranscribeTimestampGranularityEnum, diarization?: boolean, initialPrompt?: string, temperature?: number, smartFormat?: boolean, speakersExpected?: number, customVocabulary?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<TranscriptionResponse>;
455
- transcribeRemote(transcriptionOptions: TranscriptionOptions, options?: RawAxiosRequestConfig): AxiosPromise<TranscriptionResponse>;
489
+ transcribeRemote(remoteTranscriptionConfiguration: RemoteTranscriptionConfiguration, options?: RawAxiosRequestConfig): AxiosPromise<TranscriptionResponse>;
456
490
  };
457
491
  export declare class SpeechToTextApi extends BaseAPI {
458
492
  listSpeechToTextModels(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SpeechToTextModel[], any>>;
459
493
  transcribe(model: TranscriptionModelIdentifier, body: File, language?: TranscriptLanguageCode, outputFormat?: TranscriptOutputFormat, rulesetId?: string, punctuation?: boolean, timestampGranularity?: TranscribeTimestampGranularityEnum, diarization?: boolean, initialPrompt?: string, temperature?: number, smartFormat?: boolean, speakersExpected?: number, customVocabulary?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranscriptionResponse, any>>;
460
- transcribeRemote(transcriptionOptions: TranscriptionOptions, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranscriptionResponse, any>>;
494
+ transcribeRemote(remoteTranscriptionConfiguration: RemoteTranscriptionConfiguration, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranscriptionResponse, any>>;
461
495
  }
462
496
  export declare const TranscribeTimestampGranularityEnum: {
463
497
  readonly Word: "word";
package/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BAAqB;IAwBtD,UAAU,CAAC,KAAK,EAAE,4BAA4B,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,sBAAsB,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,kCAAkC,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,gBAAgB,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAYpa,gBAAgB,CAAC,gCAAgC,EAAE,gCAAgC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAG9H;AAKD,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC"}
package/dist/api.js CHANGED
@@ -3,10 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TranscribeTimestampGranularityEnum = exports.SpeechToTextApi = exports.SpeechToTextApiFactory = exports.SpeechToTextApiFp = exports.SpeechToTextApiAxiosParamCreator = exports.ReplacementRulesApi = exports.ReplacementRulesApiFactory = exports.ReplacementRulesApiFp = exports.ReplacementRulesApiAxiosParamCreator = exports.OpenaiCompatibleCreateTranscriptionTimestampGranularitiesEnum = exports.OpenAICompatibleSpeechToTextApi = exports.OpenAICompatibleSpeechToTextApiFactory = exports.OpenAICompatibleSpeechToTextApiFp = exports.OpenAICompatibleSpeechToTextApiAxiosParamCreator = exports.TranscriptionProvider = exports.TranscriptionOptionsTimestampGranularityEnum = exports.TranscriptionModelIdentifier = exports.TranscriptOutputFormat = exports.TranscriptLanguageCode = exports.SpeechToTextModelAccuracyTierEnum = exports.SpeechToTextModelModelTypeEnum = exports.RegexRuleFlagsEnum = exports.RegexRuleKindEnum = exports.RegexGroupRuleFlagsEnum = exports.RegexGroupRuleKindEnum = exports.OpenAIAudioResponseFormat = exports.ExactRuleKindEnum = void 0;
6
+ exports.TranscribeTimestampGranularityEnum = exports.SpeechToTextApi = exports.SpeechToTextApiFactory = exports.SpeechToTextApiFp = exports.SpeechToTextApiAxiosParamCreator = exports.ReplacementRulesApi = exports.ReplacementRulesApiFactory = exports.ReplacementRulesApiFp = exports.ReplacementRulesApiAxiosParamCreator = exports.OpenaiCompatibleCreateTranscriptionTimestampGranularitiesEnum = exports.OpenAICompatibleSpeechToTextApi = exports.OpenAICompatibleSpeechToTextApiFactory = exports.OpenAICompatibleSpeechToTextApiFp = exports.OpenAICompatibleSpeechToTextApiAxiosParamCreator = exports.TranscriptionProvider = exports.TranscriptionModelIdentifier = exports.TranscriptOutputFormat = exports.TranscriptLanguageCode = exports.SpeechToTextModelAccuracyTierEnum = exports.SpeechToTextModelModelTypeEnum = exports.RemoteTranscriptionConfigurationTimestampGranularityEnum = exports.RegexRuleFlagsEnum = exports.RegexRuleKindEnum = exports.RegexGroupRuleFlagsEnum = exports.RegexGroupRuleKindEnum = exports.OpenAIAudioResponseFormat = exports.ExactRuleKindEnum = exports.BaseTranscriptionConfigurationTimestampGranularityEnum = void 0;
7
7
  const axios_1 = __importDefault(require("axios"));
8
8
  const common_1 = require("./common");
9
9
  const base_1 = require("./base");
10
+ exports.BaseTranscriptionConfigurationTimestampGranularityEnum = {
11
+ Word: 'word',
12
+ Segment: 'segment'
13
+ };
10
14
  exports.ExactRuleKindEnum = {
11
15
  Exact: 'exact'
12
16
  };
@@ -37,6 +41,10 @@ exports.RegexRuleFlagsEnum = {
37
41
  X: 'x',
38
42
  U: 'u'
39
43
  };
44
+ exports.RemoteTranscriptionConfigurationTimestampGranularityEnum = {
45
+ Word: 'word',
46
+ Segment: 'segment'
47
+ };
40
48
  exports.SpeechToTextModelModelTypeEnum = {
41
49
  General: 'general',
42
50
  PhoneCall: 'phone_call',
@@ -169,8 +177,12 @@ exports.TranscriptionModelIdentifier = {
169
177
  AmazonTranscribe: 'amazon.transcribe',
170
178
  AssemblyaiBest: 'assemblyai.best',
171
179
  AssemblyaiNano: 'assemblyai.nano',
180
+ AssemblyaiSlam1: 'assemblyai.slam-1',
181
+ AssemblyaiUniversal: 'assemblyai.universal',
172
182
  AzureStandard: 'azure.standard',
173
183
  CloudflareWhisper: 'cloudflare.whisper',
184
+ CloudflareWhisperLargeV3Turbo: 'cloudflare.whisper-large-v3-turbo',
185
+ CloudflareWhisperTinyEn: 'cloudflare.whisper-tiny-en',
174
186
  DeepgramBase: 'deepgram.base',
175
187
  DeepgramBaseConversationalai: 'deepgram.base-conversationalai',
176
188
  DeepgramBaseFinance: 'deepgram.base-finance',
@@ -185,6 +197,8 @@ exports.TranscriptionModelIdentifier = {
185
197
  DeepgramEnhancedMeeting: 'deepgram.enhanced-meeting',
186
198
  DeepgramEnhancedPhonecall: 'deepgram.enhanced-phonecall',
187
199
  DeepgramNova: 'deepgram.nova',
200
+ DeepgramNovaGeneral: 'deepgram.nova-general',
201
+ DeepgramNovaPhonecall: 'deepgram.nova-phonecall',
188
202
  DeepgramNova2: 'deepgram.nova-2',
189
203
  DeepgramNova2Atc: 'deepgram.nova-2-atc',
190
204
  DeepgramNova2Automotive: 'deepgram.nova-2-automotive',
@@ -198,14 +212,16 @@ exports.TranscriptionModelIdentifier = {
198
212
  DeepgramNova2Video: 'deepgram.nova-2-video',
199
213
  DeepgramNova2Voicemail: 'deepgram.nova-2-voicemail',
200
214
  DeepgramNova3: 'deepgram.nova-3',
201
- DeepgramNovaGeneral: 'deepgram.nova-general',
202
- DeepgramNovaPhonecall: 'deepgram.nova-phonecall',
215
+ DeepgramNova3General: 'deepgram.nova-3-general',
216
+ DeepgramNova3Medical: 'deepgram.nova-3-medical',
203
217
  DeepgramWhisper: 'deepgram.whisper',
204
218
  DeepgramWhisperBase: 'deepgram.whisper-base',
205
219
  DeepgramWhisperLarge: 'deepgram.whisper-large',
206
220
  DeepgramWhisperMedium: 'deepgram.whisper-medium',
207
221
  DeepgramWhisperSmall: 'deepgram.whisper-small',
208
222
  DeepgramWhisperTiny: 'deepgram.whisper-tiny',
223
+ FalaiElevenlabsSpeechToText: 'falai.elevenlabs-speech-to-text',
224
+ FalaiSpeechToText: 'falai.speech-to-text',
209
225
  FalaiWhisper: 'falai.whisper',
210
226
  FalaiWizper: 'falai.wizper',
211
227
  FireworksaiWhisperV3: 'fireworksai.whisper-v3',
@@ -213,6 +229,10 @@ exports.TranscriptionModelIdentifier = {
213
229
  GladiaStandard: 'gladia.standard',
214
230
  GoogleEnhanced: 'google.enhanced',
215
231
  GoogleStandard: 'google.standard',
232
+ GeminiGemini25FlashPreview0520: 'gemini.gemini-2.5-flash-preview-05-20',
233
+ GeminiGemini25ProPreview0605: 'gemini.gemini-2.5-pro-preview-06-05',
234
+ GeminiGemini20Flash: 'gemini.gemini-2.0-flash',
235
+ GeminiGemini20FlashLite: 'gemini.gemini-2.0-flash-lite',
216
236
  GroqDistilWhisperLargeV3En: 'groq.distil-whisper-large-v3-en',
217
237
  GroqWhisperLargeV3: 'groq.whisper-large-v3',
218
238
  GroqWhisperLargeV3Turbo: 'groq.whisper-large-v3-turbo',
@@ -221,13 +241,10 @@ exports.TranscriptionModelIdentifier = {
221
241
  OpenaiGpt4oTranscribe: 'openai.gpt-4o-transcribe',
222
242
  OpenaiGpt4oMiniTranscribe: 'openai.gpt-4o-mini-transcribe',
223
243
  RevaiMachine: 'revai.machine',
244
+ RevaiFusion: 'revai.fusion',
224
245
  SpeechmaticsEnhanced: 'speechmatics.enhanced',
225
246
  SpeechmaticsStandard: 'speechmatics.standard'
226
247
  };
227
- exports.TranscriptionOptionsTimestampGranularityEnum = {
228
- Word: 'word',
229
- Segment: 'segment'
230
- };
231
248
  exports.TranscriptionProvider = {
232
249
  Amazon: 'amazon',
233
250
  Assemblyai: 'assemblyai',
@@ -236,6 +253,7 @@ exports.TranscriptionProvider = {
236
253
  Deepgram: 'deepgram',
237
254
  Falai: 'falai',
238
255
  Fireworksai: 'fireworksai',
256
+ Gemini: 'gemini',
239
257
  Gladia: 'gladia',
240
258
  Google: 'google',
241
259
  Groq: 'groq',
@@ -510,8 +528,8 @@ const SpeechToTextApiAxiosParamCreator = function (configuration) {
510
528
  options: localVarRequestOptions,
511
529
  };
512
530
  },
513
- transcribeRemote: async (transcriptionOptions, options = {}) => {
514
- (0, common_1.assertParamExists)('transcribeRemote', 'transcriptionOptions', transcriptionOptions);
531
+ transcribeRemote: async (remoteTranscriptionConfiguration, options = {}) => {
532
+ (0, common_1.assertParamExists)('transcribeRemote', 'remoteTranscriptionConfiguration', remoteTranscriptionConfiguration);
515
533
  const localVarPath = `/transcribe-remote`;
516
534
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
517
535
  let baseOptions;
@@ -526,7 +544,7 @@ const SpeechToTextApiAxiosParamCreator = function (configuration) {
526
544
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
527
545
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
528
546
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
529
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(transcriptionOptions, localVarRequestOptions, configuration);
547
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(remoteTranscriptionConfiguration, localVarRequestOptions, configuration);
530
548
  return {
531
549
  url: (0, common_1.toPathString)(localVarUrlObj),
532
550
  options: localVarRequestOptions,
@@ -550,8 +568,8 @@ const SpeechToTextApiFp = function (configuration) {
550
568
  const localVarOperationServerBasePath = base_1.operationServerMap['SpeechToTextApi.transcribe']?.[localVarOperationServerIndex]?.url;
551
569
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
552
570
  },
553
- async transcribeRemote(transcriptionOptions, options) {
554
- const localVarAxiosArgs = await localVarAxiosParamCreator.transcribeRemote(transcriptionOptions, options);
571
+ async transcribeRemote(remoteTranscriptionConfiguration, options) {
572
+ const localVarAxiosArgs = await localVarAxiosParamCreator.transcribeRemote(remoteTranscriptionConfiguration, options);
555
573
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
556
574
  const localVarOperationServerBasePath = base_1.operationServerMap['SpeechToTextApi.transcribeRemote']?.[localVarOperationServerIndex]?.url;
557
575
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -568,8 +586,8 @@ const SpeechToTextApiFactory = function (configuration, basePath, axios) {
568
586
  transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options) {
569
587
  return localVarFp.transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options).then((request) => request(axios, basePath));
570
588
  },
571
- transcribeRemote(transcriptionOptions, options) {
572
- return localVarFp.transcribeRemote(transcriptionOptions, options).then((request) => request(axios, basePath));
589
+ transcribeRemote(remoteTranscriptionConfiguration, options) {
590
+ return localVarFp.transcribeRemote(remoteTranscriptionConfiguration, options).then((request) => request(axios, basePath));
573
591
  },
574
592
  };
575
593
  };
@@ -581,8 +599,8 @@ class SpeechToTextApi extends base_1.BaseAPI {
581
599
  transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options) {
582
600
  return (0, exports.SpeechToTextApiFp)(this.configuration).transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options).then((request) => request(this.axios, this.basePath));
583
601
  }
584
- transcribeRemote(transcriptionOptions, options) {
585
- return (0, exports.SpeechToTextApiFp)(this.configuration).transcribeRemote(transcriptionOptions, options).then((request) => request(this.axios, this.basePath));
602
+ transcribeRemote(remoteTranscriptionConfiguration, options) {
603
+ return (0, exports.SpeechToTextApiFp)(this.configuration).transcribeRemote(remoteTranscriptionConfiguration, options).then((request) => request(this.axios, this.basePath));
586
604
  }
587
605
  }
588
606
  exports.SpeechToTextApi = SpeechToTextApi;
package/dist/esm/api.js CHANGED
@@ -1,6 +1,10 @@
1
1
  import globalAxios from 'axios';
2
2
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common.js';
3
3
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base.js';
4
+ export const BaseTranscriptionConfigurationTimestampGranularityEnum = {
5
+ Word: 'word',
6
+ Segment: 'segment'
7
+ };
4
8
  export const ExactRuleKindEnum = {
5
9
  Exact: 'exact'
6
10
  };
@@ -31,6 +35,10 @@ export const RegexRuleFlagsEnum = {
31
35
  X: 'x',
32
36
  U: 'u'
33
37
  };
38
+ export const RemoteTranscriptionConfigurationTimestampGranularityEnum = {
39
+ Word: 'word',
40
+ Segment: 'segment'
41
+ };
34
42
  export const SpeechToTextModelModelTypeEnum = {
35
43
  General: 'general',
36
44
  PhoneCall: 'phone_call',
@@ -163,8 +171,12 @@ export const TranscriptionModelIdentifier = {
163
171
  AmazonTranscribe: 'amazon.transcribe',
164
172
  AssemblyaiBest: 'assemblyai.best',
165
173
  AssemblyaiNano: 'assemblyai.nano',
174
+ AssemblyaiSlam1: 'assemblyai.slam-1',
175
+ AssemblyaiUniversal: 'assemblyai.universal',
166
176
  AzureStandard: 'azure.standard',
167
177
  CloudflareWhisper: 'cloudflare.whisper',
178
+ CloudflareWhisperLargeV3Turbo: 'cloudflare.whisper-large-v3-turbo',
179
+ CloudflareWhisperTinyEn: 'cloudflare.whisper-tiny-en',
168
180
  DeepgramBase: 'deepgram.base',
169
181
  DeepgramBaseConversationalai: 'deepgram.base-conversationalai',
170
182
  DeepgramBaseFinance: 'deepgram.base-finance',
@@ -179,6 +191,8 @@ export const TranscriptionModelIdentifier = {
179
191
  DeepgramEnhancedMeeting: 'deepgram.enhanced-meeting',
180
192
  DeepgramEnhancedPhonecall: 'deepgram.enhanced-phonecall',
181
193
  DeepgramNova: 'deepgram.nova',
194
+ DeepgramNovaGeneral: 'deepgram.nova-general',
195
+ DeepgramNovaPhonecall: 'deepgram.nova-phonecall',
182
196
  DeepgramNova2: 'deepgram.nova-2',
183
197
  DeepgramNova2Atc: 'deepgram.nova-2-atc',
184
198
  DeepgramNova2Automotive: 'deepgram.nova-2-automotive',
@@ -192,14 +206,16 @@ export const TranscriptionModelIdentifier = {
192
206
  DeepgramNova2Video: 'deepgram.nova-2-video',
193
207
  DeepgramNova2Voicemail: 'deepgram.nova-2-voicemail',
194
208
  DeepgramNova3: 'deepgram.nova-3',
195
- DeepgramNovaGeneral: 'deepgram.nova-general',
196
- DeepgramNovaPhonecall: 'deepgram.nova-phonecall',
209
+ DeepgramNova3General: 'deepgram.nova-3-general',
210
+ DeepgramNova3Medical: 'deepgram.nova-3-medical',
197
211
  DeepgramWhisper: 'deepgram.whisper',
198
212
  DeepgramWhisperBase: 'deepgram.whisper-base',
199
213
  DeepgramWhisperLarge: 'deepgram.whisper-large',
200
214
  DeepgramWhisperMedium: 'deepgram.whisper-medium',
201
215
  DeepgramWhisperSmall: 'deepgram.whisper-small',
202
216
  DeepgramWhisperTiny: 'deepgram.whisper-tiny',
217
+ FalaiElevenlabsSpeechToText: 'falai.elevenlabs-speech-to-text',
218
+ FalaiSpeechToText: 'falai.speech-to-text',
203
219
  FalaiWhisper: 'falai.whisper',
204
220
  FalaiWizper: 'falai.wizper',
205
221
  FireworksaiWhisperV3: 'fireworksai.whisper-v3',
@@ -207,6 +223,10 @@ export const TranscriptionModelIdentifier = {
207
223
  GladiaStandard: 'gladia.standard',
208
224
  GoogleEnhanced: 'google.enhanced',
209
225
  GoogleStandard: 'google.standard',
226
+ GeminiGemini25FlashPreview0520: 'gemini.gemini-2.5-flash-preview-05-20',
227
+ GeminiGemini25ProPreview0605: 'gemini.gemini-2.5-pro-preview-06-05',
228
+ GeminiGemini20Flash: 'gemini.gemini-2.0-flash',
229
+ GeminiGemini20FlashLite: 'gemini.gemini-2.0-flash-lite',
210
230
  GroqDistilWhisperLargeV3En: 'groq.distil-whisper-large-v3-en',
211
231
  GroqWhisperLargeV3: 'groq.whisper-large-v3',
212
232
  GroqWhisperLargeV3Turbo: 'groq.whisper-large-v3-turbo',
@@ -215,13 +235,10 @@ export const TranscriptionModelIdentifier = {
215
235
  OpenaiGpt4oTranscribe: 'openai.gpt-4o-transcribe',
216
236
  OpenaiGpt4oMiniTranscribe: 'openai.gpt-4o-mini-transcribe',
217
237
  RevaiMachine: 'revai.machine',
238
+ RevaiFusion: 'revai.fusion',
218
239
  SpeechmaticsEnhanced: 'speechmatics.enhanced',
219
240
  SpeechmaticsStandard: 'speechmatics.standard'
220
241
  };
221
- export const TranscriptionOptionsTimestampGranularityEnum = {
222
- Word: 'word',
223
- Segment: 'segment'
224
- };
225
242
  export const TranscriptionProvider = {
226
243
  Amazon: 'amazon',
227
244
  Assemblyai: 'assemblyai',
@@ -230,6 +247,7 @@ export const TranscriptionProvider = {
230
247
  Deepgram: 'deepgram',
231
248
  Falai: 'falai',
232
249
  Fireworksai: 'fireworksai',
250
+ Gemini: 'gemini',
233
251
  Gladia: 'gladia',
234
252
  Google: 'google',
235
253
  Groq: 'groq',
@@ -496,8 +514,8 @@ export const SpeechToTextApiAxiosParamCreator = function (configuration) {
496
514
  options: localVarRequestOptions,
497
515
  };
498
516
  },
499
- transcribeRemote: async (transcriptionOptions, options = {}) => {
500
- assertParamExists('transcribeRemote', 'transcriptionOptions', transcriptionOptions);
517
+ transcribeRemote: async (remoteTranscriptionConfiguration, options = {}) => {
518
+ assertParamExists('transcribeRemote', 'remoteTranscriptionConfiguration', remoteTranscriptionConfiguration);
501
519
  const localVarPath = `/transcribe-remote`;
502
520
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
503
521
  let baseOptions;
@@ -512,7 +530,7 @@ export const SpeechToTextApiAxiosParamCreator = function (configuration) {
512
530
  setSearchParams(localVarUrlObj, localVarQueryParameter);
513
531
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
532
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
515
- localVarRequestOptions.data = serializeDataIfNeeded(transcriptionOptions, localVarRequestOptions, configuration);
533
+ localVarRequestOptions.data = serializeDataIfNeeded(remoteTranscriptionConfiguration, localVarRequestOptions, configuration);
516
534
  return {
517
535
  url: toPathString(localVarUrlObj),
518
536
  options: localVarRequestOptions,
@@ -535,8 +553,8 @@ export const SpeechToTextApiFp = function (configuration) {
535
553
  const localVarOperationServerBasePath = operationServerMap['SpeechToTextApi.transcribe']?.[localVarOperationServerIndex]?.url;
536
554
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
537
555
  },
538
- async transcribeRemote(transcriptionOptions, options) {
539
- const localVarAxiosArgs = await localVarAxiosParamCreator.transcribeRemote(transcriptionOptions, options);
556
+ async transcribeRemote(remoteTranscriptionConfiguration, options) {
557
+ const localVarAxiosArgs = await localVarAxiosParamCreator.transcribeRemote(remoteTranscriptionConfiguration, options);
540
558
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
541
559
  const localVarOperationServerBasePath = operationServerMap['SpeechToTextApi.transcribeRemote']?.[localVarOperationServerIndex]?.url;
542
560
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -552,8 +570,8 @@ export const SpeechToTextApiFactory = function (configuration, basePath, axios)
552
570
  transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options) {
553
571
  return localVarFp.transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options).then((request) => request(axios, basePath));
554
572
  },
555
- transcribeRemote(transcriptionOptions, options) {
556
- return localVarFp.transcribeRemote(transcriptionOptions, options).then((request) => request(axios, basePath));
573
+ transcribeRemote(remoteTranscriptionConfiguration, options) {
574
+ return localVarFp.transcribeRemote(remoteTranscriptionConfiguration, options).then((request) => request(axios, basePath));
557
575
  },
558
576
  };
559
577
  };
@@ -564,8 +582,8 @@ export class SpeechToTextApi extends BaseAPI {
564
582
  transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options) {
565
583
  return SpeechToTextApiFp(this.configuration).transcribe(model, body, language, outputFormat, rulesetId, punctuation, timestampGranularity, diarization, initialPrompt, temperature, smartFormat, speakersExpected, customVocabulary, options).then((request) => request(this.axios, this.basePath));
566
584
  }
567
- transcribeRemote(transcriptionOptions, options) {
568
- return SpeechToTextApiFp(this.configuration).transcribeRemote(transcriptionOptions, options).then((request) => request(this.axios, this.basePath));
585
+ transcribeRemote(remoteTranscriptionConfiguration, options) {
586
+ return SpeechToTextApiFp(this.configuration).transcribeRemote(remoteTranscriptionConfiguration, options).then((request) => request(this.axios, this.basePath));
569
587
  }
570
588
  }
571
589
  export const TranscribeTimestampGranularityEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speechall/sdk",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "description": "TypeScript SDK for the Speechall API - A powerful and flexible speech-to-text service",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,9 @@
19
19
  "prepublishOnly": "npm run clean && npm run build",
20
20
  "test": "echo \"Error: no test specified\" && exit 1",
21
21
  "lint": "eslint . --ext .ts",
22
- "lint:fix": "eslint . --ext .ts --fix"
22
+ "lint:fix": "eslint . --ext .ts --fix",
23
+ "generate": "node scripts/generate-sdk.js",
24
+ "generate:bash": "bash scripts/generate-sdk.sh"
23
25
  },
24
26
  "keywords": [
25
27
  "speechall",