@ondewo/s2t-client-typescript 5.6.0 → 6.1.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.
@@ -1,7 +1,7 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
- import * as ondewo_s2t_speech$to$text_pb from '../../ondewo/s2t/speech-to-text_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as ondewo_s2t_speech$to$text_pb from '../../ondewo/s2t/speech-to-text_pb'; // proto import: "ondewo/s2t/speech-to-text.proto"
5
5
 
6
6
 
7
7
  export class Speech2TextClient {
@@ -4,7 +4,11 @@
4
4
  * @public
5
5
  */
6
6
 
7
- // GENERATED CODE -- DO NOT EDIT!
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v5.27.3
11
+ // source: ondewo/s2t/speech-to-text.proto
8
12
 
9
13
 
10
14
  /* eslint-disable */
@@ -17,6 +21,8 @@ grpc.web = require('grpc-web');
17
21
 
18
22
 
19
23
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
24
+
25
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
20
26
  const proto = {};
21
27
  proto.ondewo = {};
22
28
  proto.ondewo.s2t = require('./speech-to-text_pb.js');
@@ -42,7 +48,7 @@ proto.ondewo.s2t.Speech2TextClient =
42
48
  /**
43
49
  * @private @const {string} The hostname
44
50
  */
45
- this.hostname_ = hostname;
51
+ this.hostname_ = hostname.replace(/\/+$/, '');
46
52
 
47
53
  };
48
54
 
@@ -68,7 +74,7 @@ proto.ondewo.s2t.Speech2TextPromiseClient =
68
74
  /**
69
75
  * @private @const {string} The hostname
70
76
  */
71
- this.hostname_ = hostname;
77
+ this.hostname_ = hostname.replace(/\/+$/, '');
72
78
 
73
79
  };
74
80
 
@@ -1,6 +1,7 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
4
5
 
5
6
 
6
7
  export class TranscribeRequestConfig extends jspb.Message {
@@ -43,6 +44,16 @@ export class TranscribeRequestConfig extends jspb.Message {
43
44
  hasTask(): boolean;
44
45
  clearTask(): TranscribeRequestConfig;
45
46
 
47
+ getS2tServiceConfig(): google_protobuf_struct_pb.Struct | undefined;
48
+ setS2tServiceConfig(value?: google_protobuf_struct_pb.Struct): TranscribeRequestConfig;
49
+ hasS2tServiceConfig(): boolean;
50
+ clearS2tServiceConfig(): TranscribeRequestConfig;
51
+
52
+ getS2tCloudProviderConfig(): S2tCloudProviderConfig | undefined;
53
+ setS2tCloudProviderConfig(value?: S2tCloudProviderConfig): TranscribeRequestConfig;
54
+ hasS2tCloudProviderConfig(): boolean;
55
+ clearS2tCloudProviderConfig(): TranscribeRequestConfig;
56
+
46
57
  getOneofLanguageModelNameCase(): TranscribeRequestConfig.OneofLanguageModelNameCase;
47
58
 
48
59
  getOneofPostProcessingCase(): TranscribeRequestConfig.OneofPostProcessingCase;
@@ -72,6 +83,8 @@ export namespace TranscribeRequestConfig {
72
83
  returnOptions?: TranscriptionReturnOptions.AsObject,
73
84
  language?: string,
74
85
  task?: string,
86
+ s2tServiceConfig?: google_protobuf_struct_pb.Struct.AsObject,
87
+ s2tCloudProviderConfig?: S2tCloudProviderConfig.AsObject,
75
88
  }
76
89
 
77
90
  export enum OneofLanguageModelNameCase {
@@ -108,6 +121,306 @@ export namespace TranscribeRequestConfig {
108
121
  _TASK_NOT_SET = 0,
109
122
  TASK = 10,
110
123
  }
124
+
125
+ export enum S2tServiceConfigCase {
126
+ _S2T_SERVICE_CONFIG_NOT_SET = 0,
127
+ S2T_SERVICE_CONFIG = 11,
128
+ }
129
+
130
+ export enum S2tCloudProviderConfigCase {
131
+ _S2T_CLOUD_PROVIDER_CONFIG_NOT_SET = 0,
132
+ S2T_CLOUD_PROVIDER_CONFIG = 12,
133
+ }
134
+ }
135
+
136
+ export class S2tCloudProviderConfig extends jspb.Message {
137
+ getS2tCloudProviderConfigAmazon(): S2tCloudProviderConfigAmazon | undefined;
138
+ setS2tCloudProviderConfigAmazon(value?: S2tCloudProviderConfigAmazon): S2tCloudProviderConfig;
139
+ hasS2tCloudProviderConfigAmazon(): boolean;
140
+ clearS2tCloudProviderConfigAmazon(): S2tCloudProviderConfig;
141
+
142
+ getS2tCloudProviderConfigDeepgram(): S2tCloudProviderConfigDeepgram | undefined;
143
+ setS2tCloudProviderConfigDeepgram(value?: S2tCloudProviderConfigDeepgram): S2tCloudProviderConfig;
144
+ hasS2tCloudProviderConfigDeepgram(): boolean;
145
+ clearS2tCloudProviderConfigDeepgram(): S2tCloudProviderConfig;
146
+
147
+ getS2tCloudProviderConfigGoogle(): S2tCloudProviderConfigGoogle | undefined;
148
+ setS2tCloudProviderConfigGoogle(value?: S2tCloudProviderConfigGoogle): S2tCloudProviderConfig;
149
+ hasS2tCloudProviderConfigGoogle(): boolean;
150
+ clearS2tCloudProviderConfigGoogle(): S2tCloudProviderConfig;
151
+
152
+ getS2tCloudProviderConfigMicrosoft(): S2tCloudProviderConfigMicrosoft | undefined;
153
+ setS2tCloudProviderConfigMicrosoft(value?: S2tCloudProviderConfigMicrosoft): S2tCloudProviderConfig;
154
+ hasS2tCloudProviderConfigMicrosoft(): boolean;
155
+ clearS2tCloudProviderConfigMicrosoft(): S2tCloudProviderConfig;
156
+
157
+ serializeBinary(): Uint8Array;
158
+ toObject(includeInstance?: boolean): S2tCloudProviderConfig.AsObject;
159
+ static toObject(includeInstance: boolean, msg: S2tCloudProviderConfig): S2tCloudProviderConfig.AsObject;
160
+ static serializeBinaryToWriter(message: S2tCloudProviderConfig, writer: jspb.BinaryWriter): void;
161
+ static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfig;
162
+ static deserializeBinaryFromReader(message: S2tCloudProviderConfig, reader: jspb.BinaryReader): S2tCloudProviderConfig;
163
+ }
164
+
165
+ export namespace S2tCloudProviderConfig {
166
+ export type AsObject = {
167
+ s2tCloudProviderConfigAmazon?: S2tCloudProviderConfigAmazon.AsObject,
168
+ s2tCloudProviderConfigDeepgram?: S2tCloudProviderConfigDeepgram.AsObject,
169
+ s2tCloudProviderConfigGoogle?: S2tCloudProviderConfigGoogle.AsObject,
170
+ s2tCloudProviderConfigMicrosoft?: S2tCloudProviderConfigMicrosoft.AsObject,
171
+ }
172
+
173
+ export enum S2tCloudProviderConfigAmazonCase {
174
+ _S2T_CLOUD_PROVIDER_CONFIG_AMAZON_NOT_SET = 0,
175
+ S2T_CLOUD_PROVIDER_CONFIG_AMAZON = 1,
176
+ }
177
+
178
+ export enum S2tCloudProviderConfigDeepgramCase {
179
+ _S2T_CLOUD_PROVIDER_CONFIG_DEEPGRAM_NOT_SET = 0,
180
+ S2T_CLOUD_PROVIDER_CONFIG_DEEPGRAM = 2,
181
+ }
182
+
183
+ export enum S2tCloudProviderConfigGoogleCase {
184
+ _S2T_CLOUD_PROVIDER_CONFIG_GOOGLE_NOT_SET = 0,
185
+ S2T_CLOUD_PROVIDER_CONFIG_GOOGLE = 3,
186
+ }
187
+
188
+ export enum S2tCloudProviderConfigMicrosoftCase {
189
+ _S2T_CLOUD_PROVIDER_CONFIG_MICROSOFT_NOT_SET = 0,
190
+ S2T_CLOUD_PROVIDER_CONFIG_MICROSOFT = 4,
191
+ }
192
+ }
193
+
194
+ export class S2tCloudProviderConfigAmazon extends jspb.Message {
195
+ getEnablePartialResultsStabilization(): boolean;
196
+ setEnablePartialResultsStabilization(value: boolean): S2tCloudProviderConfigAmazon;
197
+ hasEnablePartialResultsStabilization(): boolean;
198
+ clearEnablePartialResultsStabilization(): S2tCloudProviderConfigAmazon;
199
+
200
+ getPartialResultsStability(): string;
201
+ setPartialResultsStability(value: string): S2tCloudProviderConfigAmazon;
202
+ hasPartialResultsStability(): boolean;
203
+ clearPartialResultsStability(): S2tCloudProviderConfigAmazon;
204
+
205
+ getLanguageModelName(): string;
206
+ setLanguageModelName(value: string): S2tCloudProviderConfigAmazon;
207
+ hasLanguageModelName(): boolean;
208
+ clearLanguageModelName(): S2tCloudProviderConfigAmazon;
209
+
210
+ getVocabularyName(): string;
211
+ setVocabularyName(value: string): S2tCloudProviderConfigAmazon;
212
+ hasVocabularyName(): boolean;
213
+ clearVocabularyName(): S2tCloudProviderConfigAmazon;
214
+
215
+ serializeBinary(): Uint8Array;
216
+ toObject(includeInstance?: boolean): S2tCloudProviderConfigAmazon.AsObject;
217
+ static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigAmazon): S2tCloudProviderConfigAmazon.AsObject;
218
+ static serializeBinaryToWriter(message: S2tCloudProviderConfigAmazon, writer: jspb.BinaryWriter): void;
219
+ static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigAmazon;
220
+ static deserializeBinaryFromReader(message: S2tCloudProviderConfigAmazon, reader: jspb.BinaryReader): S2tCloudProviderConfigAmazon;
221
+ }
222
+
223
+ export namespace S2tCloudProviderConfigAmazon {
224
+ export type AsObject = {
225
+ enablePartialResultsStabilization?: boolean,
226
+ partialResultsStability?: string,
227
+ languageModelName?: string,
228
+ vocabularyName?: string,
229
+ }
230
+
231
+ export enum EnablePartialResultsStabilizationCase {
232
+ _ENABLE_PARTIAL_RESULTS_STABILIZATION_NOT_SET = 0,
233
+ ENABLE_PARTIAL_RESULTS_STABILIZATION = 1,
234
+ }
235
+
236
+ export enum PartialResultsStabilityCase {
237
+ _PARTIAL_RESULTS_STABILITY_NOT_SET = 0,
238
+ PARTIAL_RESULTS_STABILITY = 2,
239
+ }
240
+
241
+ export enum LanguageModelNameCase {
242
+ _LANGUAGE_MODEL_NAME_NOT_SET = 0,
243
+ LANGUAGE_MODEL_NAME = 3,
244
+ }
245
+
246
+ export enum VocabularyNameCase {
247
+ _VOCABULARY_NAME_NOT_SET = 0,
248
+ VOCABULARY_NAME = 4,
249
+ }
250
+ }
251
+
252
+ export class S2tCloudProviderConfigDeepgram extends jspb.Message {
253
+ getPunctuate(): boolean;
254
+ setPunctuate(value: boolean): S2tCloudProviderConfigDeepgram;
255
+ hasPunctuate(): boolean;
256
+ clearPunctuate(): S2tCloudProviderConfigDeepgram;
257
+
258
+ getSmartFormat(): boolean;
259
+ setSmartFormat(value: boolean): S2tCloudProviderConfigDeepgram;
260
+ hasSmartFormat(): boolean;
261
+ clearSmartFormat(): S2tCloudProviderConfigDeepgram;
262
+
263
+ getNumerals(): boolean;
264
+ setNumerals(value: boolean): S2tCloudProviderConfigDeepgram;
265
+ hasNumerals(): boolean;
266
+ clearNumerals(): S2tCloudProviderConfigDeepgram;
267
+
268
+ getMeasurements(): boolean;
269
+ setMeasurements(value: boolean): S2tCloudProviderConfigDeepgram;
270
+ hasMeasurements(): boolean;
271
+ clearMeasurements(): S2tCloudProviderConfigDeepgram;
272
+
273
+ getDictation(): boolean;
274
+ setDictation(value: boolean): S2tCloudProviderConfigDeepgram;
275
+ hasDictation(): boolean;
276
+ clearDictation(): S2tCloudProviderConfigDeepgram;
277
+
278
+ serializeBinary(): Uint8Array;
279
+ toObject(includeInstance?: boolean): S2tCloudProviderConfigDeepgram.AsObject;
280
+ static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigDeepgram): S2tCloudProviderConfigDeepgram.AsObject;
281
+ static serializeBinaryToWriter(message: S2tCloudProviderConfigDeepgram, writer: jspb.BinaryWriter): void;
282
+ static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigDeepgram;
283
+ static deserializeBinaryFromReader(message: S2tCloudProviderConfigDeepgram, reader: jspb.BinaryReader): S2tCloudProviderConfigDeepgram;
284
+ }
285
+
286
+ export namespace S2tCloudProviderConfigDeepgram {
287
+ export type AsObject = {
288
+ punctuate?: boolean,
289
+ smartFormat?: boolean,
290
+ numerals?: boolean,
291
+ measurements?: boolean,
292
+ dictation?: boolean,
293
+ }
294
+
295
+ export enum PunctuateCase {
296
+ _PUNCTUATE_NOT_SET = 0,
297
+ PUNCTUATE = 1,
298
+ }
299
+
300
+ export enum SmartFormatCase {
301
+ _SMART_FORMAT_NOT_SET = 0,
302
+ SMART_FORMAT = 2,
303
+ }
304
+
305
+ export enum NumeralsCase {
306
+ _NUMERALS_NOT_SET = 0,
307
+ NUMERALS = 3,
308
+ }
309
+
310
+ export enum MeasurementsCase {
311
+ _MEASUREMENTS_NOT_SET = 0,
312
+ MEASUREMENTS = 4,
313
+ }
314
+
315
+ export enum DictationCase {
316
+ _DICTATION_NOT_SET = 0,
317
+ DICTATION = 5,
318
+ }
319
+ }
320
+
321
+ export class S2tCloudProviderConfigGoogle extends jspb.Message {
322
+ getEnableAutomaticPunctuation(): boolean;
323
+ setEnableAutomaticPunctuation(value: boolean): S2tCloudProviderConfigGoogle;
324
+ hasEnableAutomaticPunctuation(): boolean;
325
+ clearEnableAutomaticPunctuation(): S2tCloudProviderConfigGoogle;
326
+
327
+ getEnableWordTimeOffsets(): boolean;
328
+ setEnableWordTimeOffsets(value: boolean): S2tCloudProviderConfigGoogle;
329
+ hasEnableWordTimeOffsets(): boolean;
330
+ clearEnableWordTimeOffsets(): S2tCloudProviderConfigGoogle;
331
+
332
+ getEnableWordConfidence(): boolean;
333
+ setEnableWordConfidence(value: boolean): S2tCloudProviderConfigGoogle;
334
+ hasEnableWordConfidence(): boolean;
335
+ clearEnableWordConfidence(): S2tCloudProviderConfigGoogle;
336
+
337
+ getTranscriptNormalization(): boolean;
338
+ setTranscriptNormalization(value: boolean): S2tCloudProviderConfigGoogle;
339
+ hasTranscriptNormalization(): boolean;
340
+ clearTranscriptNormalization(): S2tCloudProviderConfigGoogle;
341
+
342
+ getMaxAlternatives(): number;
343
+ setMaxAlternatives(value: number): S2tCloudProviderConfigGoogle;
344
+ hasMaxAlternatives(): boolean;
345
+ clearMaxAlternatives(): S2tCloudProviderConfigGoogle;
346
+
347
+ serializeBinary(): Uint8Array;
348
+ toObject(includeInstance?: boolean): S2tCloudProviderConfigGoogle.AsObject;
349
+ static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigGoogle): S2tCloudProviderConfigGoogle.AsObject;
350
+ static serializeBinaryToWriter(message: S2tCloudProviderConfigGoogle, writer: jspb.BinaryWriter): void;
351
+ static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigGoogle;
352
+ static deserializeBinaryFromReader(message: S2tCloudProviderConfigGoogle, reader: jspb.BinaryReader): S2tCloudProviderConfigGoogle;
353
+ }
354
+
355
+ export namespace S2tCloudProviderConfigGoogle {
356
+ export type AsObject = {
357
+ enableAutomaticPunctuation?: boolean,
358
+ enableWordTimeOffsets?: boolean,
359
+ enableWordConfidence?: boolean,
360
+ transcriptNormalization?: boolean,
361
+ maxAlternatives?: number,
362
+ }
363
+
364
+ export enum EnableAutomaticPunctuationCase {
365
+ _ENABLE_AUTOMATIC_PUNCTUATION_NOT_SET = 0,
366
+ ENABLE_AUTOMATIC_PUNCTUATION = 1,
367
+ }
368
+
369
+ export enum EnableWordTimeOffsetsCase {
370
+ _ENABLE_WORD_TIME_OFFSETS_NOT_SET = 0,
371
+ ENABLE_WORD_TIME_OFFSETS = 2,
372
+ }
373
+
374
+ export enum EnableWordConfidenceCase {
375
+ _ENABLE_WORD_CONFIDENCE_NOT_SET = 0,
376
+ ENABLE_WORD_CONFIDENCE = 3,
377
+ }
378
+
379
+ export enum TranscriptNormalizationCase {
380
+ _TRANSCRIPT_NORMALIZATION_NOT_SET = 0,
381
+ TRANSCRIPT_NORMALIZATION = 4,
382
+ }
383
+
384
+ export enum MaxAlternativesCase {
385
+ _MAX_ALTERNATIVES_NOT_SET = 0,
386
+ MAX_ALTERNATIVES = 5,
387
+ }
388
+ }
389
+
390
+ export class S2tCloudProviderConfigMicrosoft extends jspb.Message {
391
+ getUseFastTranscriptionApi(): boolean;
392
+ setUseFastTranscriptionApi(value: boolean): S2tCloudProviderConfigMicrosoft;
393
+ hasUseFastTranscriptionApi(): boolean;
394
+ clearUseFastTranscriptionApi(): S2tCloudProviderConfigMicrosoft;
395
+
396
+ getUseDetailedOutputFormat(): boolean;
397
+ setUseDetailedOutputFormat(value: boolean): S2tCloudProviderConfigMicrosoft;
398
+ hasUseDetailedOutputFormat(): boolean;
399
+ clearUseDetailedOutputFormat(): S2tCloudProviderConfigMicrosoft;
400
+
401
+ serializeBinary(): Uint8Array;
402
+ toObject(includeInstance?: boolean): S2tCloudProviderConfigMicrosoft.AsObject;
403
+ static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigMicrosoft): S2tCloudProviderConfigMicrosoft.AsObject;
404
+ static serializeBinaryToWriter(message: S2tCloudProviderConfigMicrosoft, writer: jspb.BinaryWriter): void;
405
+ static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigMicrosoft;
406
+ static deserializeBinaryFromReader(message: S2tCloudProviderConfigMicrosoft, reader: jspb.BinaryReader): S2tCloudProviderConfigMicrosoft;
407
+ }
408
+
409
+ export namespace S2tCloudProviderConfigMicrosoft {
410
+ export type AsObject = {
411
+ useFastTranscriptionApi?: boolean,
412
+ useDetailedOutputFormat?: boolean,
413
+ }
414
+
415
+ export enum UseFastTranscriptionApiCase {
416
+ _USE_FAST_TRANSCRIPTION_API_NOT_SET = 0,
417
+ USE_FAST_TRANSCRIPTION_API = 1,
418
+ }
419
+
420
+ export enum UseDetailedOutputFormatCase {
421
+ _USE_DETAILED_OUTPUT_FORMAT_NOT_SET = 0,
422
+ USE_DETAILED_OUTPUT_FORMAT = 2,
423
+ }
111
424
  }
112
425
 
113
426
  export class TranscriptionReturnOptions extends jspb.Message {
@@ -806,6 +1119,26 @@ export class AcousticModels extends jspb.Message {
806
1119
  hasWhisperTriton(): boolean;
807
1120
  clearWhisperTriton(): AcousticModels;
808
1121
 
1122
+ getS2tCloudServiceAmazon(): S2tCloudServiceAmazon | undefined;
1123
+ setS2tCloudServiceAmazon(value?: S2tCloudServiceAmazon): AcousticModels;
1124
+ hasS2tCloudServiceAmazon(): boolean;
1125
+ clearS2tCloudServiceAmazon(): AcousticModels;
1126
+
1127
+ getS2tCloudServiceDeepgram(): S2tCloudServiceDeepgram | undefined;
1128
+ setS2tCloudServiceDeepgram(value?: S2tCloudServiceDeepgram): AcousticModels;
1129
+ hasS2tCloudServiceDeepgram(): boolean;
1130
+ clearS2tCloudServiceDeepgram(): AcousticModels;
1131
+
1132
+ getS2tCloudServiceGoogle(): S2tCloudServiceGoogle | undefined;
1133
+ setS2tCloudServiceGoogle(value?: S2tCloudServiceGoogle): AcousticModels;
1134
+ hasS2tCloudServiceGoogle(): boolean;
1135
+ clearS2tCloudServiceGoogle(): AcousticModels;
1136
+
1137
+ getS2tCloudServiceMicrosoft(): S2tCloudServiceMicrosoft | undefined;
1138
+ setS2tCloudServiceMicrosoft(value?: S2tCloudServiceMicrosoft): AcousticModels;
1139
+ hasS2tCloudServiceMicrosoft(): boolean;
1140
+ clearS2tCloudServiceMicrosoft(): AcousticModels;
1141
+
809
1142
  serializeBinary(): Uint8Array;
810
1143
  toObject(includeInstance?: boolean): AcousticModels.AsObject;
811
1144
  static toObject(includeInstance: boolean, msg: AcousticModels): AcousticModels.AsObject;
@@ -821,6 +1154,158 @@ export namespace AcousticModels {
821
1154
  wav2vecTriton?: Wav2VecTriton.AsObject,
822
1155
  whisper?: Whisper.AsObject,
823
1156
  whisperTriton?: WhisperTriton.AsObject,
1157
+ s2tCloudServiceAmazon?: S2tCloudServiceAmazon.AsObject,
1158
+ s2tCloudServiceDeepgram?: S2tCloudServiceDeepgram.AsObject,
1159
+ s2tCloudServiceGoogle?: S2tCloudServiceGoogle.AsObject,
1160
+ s2tCloudServiceMicrosoft?: S2tCloudServiceMicrosoft.AsObject,
1161
+ }
1162
+ }
1163
+
1164
+ export class S2tCloudServiceAmazon extends jspb.Message {
1165
+ getLanguage(): string;
1166
+ setLanguage(value: string): S2tCloudServiceAmazon;
1167
+
1168
+ getStreamingAvailable(): boolean;
1169
+ setStreamingAvailable(value: boolean): S2tCloudServiceAmazon;
1170
+
1171
+ getEnablePartialResultsStabilization(): boolean;
1172
+ setEnablePartialResultsStabilization(value: boolean): S2tCloudServiceAmazon;
1173
+
1174
+ getPartialResultsStability(): string;
1175
+ setPartialResultsStability(value: string): S2tCloudServiceAmazon;
1176
+
1177
+ getLanguageModelName(): string;
1178
+ setLanguageModelName(value: string): S2tCloudServiceAmazon;
1179
+
1180
+ getVocabularyName(): string;
1181
+ setVocabularyName(value: string): S2tCloudServiceAmazon;
1182
+
1183
+ serializeBinary(): Uint8Array;
1184
+ toObject(includeInstance?: boolean): S2tCloudServiceAmazon.AsObject;
1185
+ static toObject(includeInstance: boolean, msg: S2tCloudServiceAmazon): S2tCloudServiceAmazon.AsObject;
1186
+ static serializeBinaryToWriter(message: S2tCloudServiceAmazon, writer: jspb.BinaryWriter): void;
1187
+ static deserializeBinary(bytes: Uint8Array): S2tCloudServiceAmazon;
1188
+ static deserializeBinaryFromReader(message: S2tCloudServiceAmazon, reader: jspb.BinaryReader): S2tCloudServiceAmazon;
1189
+ }
1190
+
1191
+ export namespace S2tCloudServiceAmazon {
1192
+ export type AsObject = {
1193
+ language: string,
1194
+ streamingAvailable: boolean,
1195
+ enablePartialResultsStabilization: boolean,
1196
+ partialResultsStability: string,
1197
+ languageModelName: string,
1198
+ vocabularyName: string,
1199
+ }
1200
+ }
1201
+
1202
+ export class S2tCloudServiceDeepgram extends jspb.Message {
1203
+ getModelName(): string;
1204
+ setModelName(value: string): S2tCloudServiceDeepgram;
1205
+
1206
+ getLanguage(): string;
1207
+ setLanguage(value: string): S2tCloudServiceDeepgram;
1208
+
1209
+ getPunctuate(): boolean;
1210
+ setPunctuate(value: boolean): S2tCloudServiceDeepgram;
1211
+
1212
+ getSmartFormat(): boolean;
1213
+ setSmartFormat(value: boolean): S2tCloudServiceDeepgram;
1214
+
1215
+ getNumerals(): boolean;
1216
+ setNumerals(value: boolean): S2tCloudServiceDeepgram;
1217
+
1218
+ getMeasurements(): boolean;
1219
+ setMeasurements(value: boolean): S2tCloudServiceDeepgram;
1220
+
1221
+ getDictation(): boolean;
1222
+ setDictation(value: boolean): S2tCloudServiceDeepgram;
1223
+
1224
+ serializeBinary(): Uint8Array;
1225
+ toObject(includeInstance?: boolean): S2tCloudServiceDeepgram.AsObject;
1226
+ static toObject(includeInstance: boolean, msg: S2tCloudServiceDeepgram): S2tCloudServiceDeepgram.AsObject;
1227
+ static serializeBinaryToWriter(message: S2tCloudServiceDeepgram, writer: jspb.BinaryWriter): void;
1228
+ static deserializeBinary(bytes: Uint8Array): S2tCloudServiceDeepgram;
1229
+ static deserializeBinaryFromReader(message: S2tCloudServiceDeepgram, reader: jspb.BinaryReader): S2tCloudServiceDeepgram;
1230
+ }
1231
+
1232
+ export namespace S2tCloudServiceDeepgram {
1233
+ export type AsObject = {
1234
+ modelName: string,
1235
+ language: string,
1236
+ punctuate: boolean,
1237
+ smartFormat: boolean,
1238
+ numerals: boolean,
1239
+ measurements: boolean,
1240
+ dictation: boolean,
1241
+ }
1242
+ }
1243
+
1244
+ export class S2tCloudServiceGoogle extends jspb.Message {
1245
+ getModelName(): string;
1246
+ setModelName(value: string): S2tCloudServiceGoogle;
1247
+
1248
+ getLanguage(): string;
1249
+ setLanguage(value: string): S2tCloudServiceGoogle;
1250
+
1251
+ getEnableAutomaticPunctuation(): boolean;
1252
+ setEnableAutomaticPunctuation(value: boolean): S2tCloudServiceGoogle;
1253
+
1254
+ getEnableWordTimeOffsets(): boolean;
1255
+ setEnableWordTimeOffsets(value: boolean): S2tCloudServiceGoogle;
1256
+
1257
+ getEnableWordConfidence(): boolean;
1258
+ setEnableWordConfidence(value: boolean): S2tCloudServiceGoogle;
1259
+
1260
+ getTranscriptNormalization(): boolean;
1261
+ setTranscriptNormalization(value: boolean): S2tCloudServiceGoogle;
1262
+
1263
+ getMaxAlternatives(): number;
1264
+ setMaxAlternatives(value: number): S2tCloudServiceGoogle;
1265
+
1266
+ serializeBinary(): Uint8Array;
1267
+ toObject(includeInstance?: boolean): S2tCloudServiceGoogle.AsObject;
1268
+ static toObject(includeInstance: boolean, msg: S2tCloudServiceGoogle): S2tCloudServiceGoogle.AsObject;
1269
+ static serializeBinaryToWriter(message: S2tCloudServiceGoogle, writer: jspb.BinaryWriter): void;
1270
+ static deserializeBinary(bytes: Uint8Array): S2tCloudServiceGoogle;
1271
+ static deserializeBinaryFromReader(message: S2tCloudServiceGoogle, reader: jspb.BinaryReader): S2tCloudServiceGoogle;
1272
+ }
1273
+
1274
+ export namespace S2tCloudServiceGoogle {
1275
+ export type AsObject = {
1276
+ modelName: string,
1277
+ language: string,
1278
+ enableAutomaticPunctuation: boolean,
1279
+ enableWordTimeOffsets: boolean,
1280
+ enableWordConfidence: boolean,
1281
+ transcriptNormalization: boolean,
1282
+ maxAlternatives: number,
1283
+ }
1284
+ }
1285
+
1286
+ export class S2tCloudServiceMicrosoft extends jspb.Message {
1287
+ getLanguage(): string;
1288
+ setLanguage(value: string): S2tCloudServiceMicrosoft;
1289
+
1290
+ getUseFastTranscriptionApi(): boolean;
1291
+ setUseFastTranscriptionApi(value: boolean): S2tCloudServiceMicrosoft;
1292
+
1293
+ getUseDetailedOutputFormat(): boolean;
1294
+ setUseDetailedOutputFormat(value: boolean): S2tCloudServiceMicrosoft;
1295
+
1296
+ serializeBinary(): Uint8Array;
1297
+ toObject(includeInstance?: boolean): S2tCloudServiceMicrosoft.AsObject;
1298
+ static toObject(includeInstance: boolean, msg: S2tCloudServiceMicrosoft): S2tCloudServiceMicrosoft.AsObject;
1299
+ static serializeBinaryToWriter(message: S2tCloudServiceMicrosoft, writer: jspb.BinaryWriter): void;
1300
+ static deserializeBinary(bytes: Uint8Array): S2tCloudServiceMicrosoft;
1301
+ static deserializeBinaryFromReader(message: S2tCloudServiceMicrosoft, reader: jspb.BinaryReader): S2tCloudServiceMicrosoft;
1302
+ }
1303
+
1304
+ export namespace S2tCloudServiceMicrosoft {
1305
+ export type AsObject = {
1306
+ language: string,
1307
+ useFastTranscriptionApi: boolean,
1308
+ useDetailedOutputFormat: boolean,
824
1309
  }
825
1310
  }
826
1311
 
@@ -1248,6 +1733,11 @@ export class S2TNormalization extends jspb.Message {
1248
1733
  getLanguage(): string;
1249
1734
  setLanguage(value: string): S2TNormalization;
1250
1735
 
1736
+ getPipelineList(): Array<string>;
1737
+ setPipelineList(value: Array<string>): S2TNormalization;
1738
+ clearPipelineList(): S2TNormalization;
1739
+ addPipeline(value: string, index?: number): S2TNormalization;
1740
+
1251
1741
  serializeBinary(): Uint8Array;
1252
1742
  toObject(includeInstance?: boolean): S2TNormalization.AsObject;
1253
1743
  static toObject(includeInstance: boolean, msg: S2TNormalization): S2TNormalization.AsObject;
@@ -1259,6 +1749,7 @@ export class S2TNormalization extends jspb.Message {
1259
1749
  export namespace S2TNormalization {
1260
1750
  export type AsObject = {
1261
1751
  language: string,
1752
+ pipelineList: Array<string>,
1262
1753
  }
1263
1754
  }
1264
1755
 
@@ -1440,4 +1931,8 @@ export enum InferenceBackend {
1440
1931
  INFERENCE_BACKEND_UNKNOWN = 0,
1441
1932
  INFERENCE_BACKEND_PYTORCH = 1,
1442
1933
  INFERENCE_BACKEND_FLAX = 2,
1934
+ INFERENCE_BACKEND_CLOUD_SERVICE_AMAZON = 3,
1935
+ INFERENCE_BACKEND_CLOUD_SERVICE_DEEPGRAM = 4,
1936
+ INFERENCE_BACKEND_CLOUD_SERVICE_GOOGLE = 5,
1937
+ INFERENCE_BACKEND_CLOUD_SERVICE_MICROSOFT = 6,
1443
1938
  }