@ondewo/csi-client-typescript
Version:
ONDEWO Conversation System Integration (CSI) Client library for Typescript
1,296 lines (1,056 loc) • 73.4 kB
TypeScript
import * as jspb from 'google-protobuf'
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
export class TranscribeRequestConfig extends jspb.Message {
getS2tPipelineId(): string;
setS2tPipelineId(value: string): TranscribeRequestConfig;
getDecoding(): Decoding;
setDecoding(value: Decoding): TranscribeRequestConfig;
getLanguageModelName(): string;
setLanguageModelName(value: string): TranscribeRequestConfig;
getPostProcessing(): PostProcessingOptions | undefined;
setPostProcessing(value?: PostProcessingOptions): TranscribeRequestConfig;
hasPostProcessing(): boolean;
clearPostProcessing(): TranscribeRequestConfig;
getUtteranceDetection(): UtteranceDetectionOptions | undefined;
setUtteranceDetection(value?: UtteranceDetectionOptions): TranscribeRequestConfig;
hasUtteranceDetection(): boolean;
clearUtteranceDetection(): TranscribeRequestConfig;
getPyannote(): Pyannote | undefined;
setPyannote(value?: Pyannote): TranscribeRequestConfig;
hasPyannote(): boolean;
clearPyannote(): TranscribeRequestConfig;
getReturnOptions(): TranscriptionReturnOptions | undefined;
setReturnOptions(value?: TranscriptionReturnOptions): TranscribeRequestConfig;
hasReturnOptions(): boolean;
clearReturnOptions(): TranscribeRequestConfig;
getLanguage(): string;
setLanguage(value: string): TranscribeRequestConfig;
hasLanguage(): boolean;
clearLanguage(): TranscribeRequestConfig;
getTask(): string;
setTask(value: string): TranscribeRequestConfig;
hasTask(): boolean;
clearTask(): TranscribeRequestConfig;
getS2tServiceConfig(): google_protobuf_struct_pb.Struct | undefined;
setS2tServiceConfig(value?: google_protobuf_struct_pb.Struct): TranscribeRequestConfig;
hasS2tServiceConfig(): boolean;
clearS2tServiceConfig(): TranscribeRequestConfig;
getS2tCloudProviderConfig(): S2tCloudProviderConfig | undefined;
setS2tCloudProviderConfig(value?: S2tCloudProviderConfig): TranscribeRequestConfig;
hasS2tCloudProviderConfig(): boolean;
clearS2tCloudProviderConfig(): TranscribeRequestConfig;
getOneofLanguageModelNameCase(): TranscribeRequestConfig.OneofLanguageModelNameCase;
getOneofPostProcessingCase(): TranscribeRequestConfig.OneofPostProcessingCase;
getOneofUtteranceDetectionCase(): TranscribeRequestConfig.OneofUtteranceDetectionCase;
getVoiceActivityDetectionCase(): TranscribeRequestConfig.VoiceActivityDetectionCase;
getOneofReturnOptionsCase(): TranscribeRequestConfig.OneofReturnOptionsCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscribeRequestConfig.AsObject;
static toObject(includeInstance: boolean, msg: TranscribeRequestConfig): TranscribeRequestConfig.AsObject;
static serializeBinaryToWriter(message: TranscribeRequestConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscribeRequestConfig;
static deserializeBinaryFromReader(message: TranscribeRequestConfig, reader: jspb.BinaryReader): TranscribeRequestConfig;
}
export namespace TranscribeRequestConfig {
export type AsObject = {
s2tPipelineId: string,
decoding: Decoding,
languageModelName: string,
postProcessing?: PostProcessingOptions.AsObject,
utteranceDetection?: UtteranceDetectionOptions.AsObject,
pyannote?: Pyannote.AsObject,
returnOptions?: TranscriptionReturnOptions.AsObject,
language?: string,
task?: string,
s2tServiceConfig?: google_protobuf_struct_pb.Struct.AsObject,
s2tCloudProviderConfig?: S2tCloudProviderConfig.AsObject,
}
export enum OneofLanguageModelNameCase {
ONEOF_LANGUAGE_MODEL_NAME_NOT_SET = 0,
LANGUAGE_MODEL_NAME = 3,
}
export enum OneofPostProcessingCase {
ONEOF_POST_PROCESSING_NOT_SET = 0,
POST_PROCESSING = 4,
}
export enum OneofUtteranceDetectionCase {
ONEOF_UTTERANCE_DETECTION_NOT_SET = 0,
UTTERANCE_DETECTION = 5,
}
export enum VoiceActivityDetectionCase {
VOICE_ACTIVITY_DETECTION_NOT_SET = 0,
PYANNOTE = 6,
}
export enum OneofReturnOptionsCase {
ONEOF_RETURN_OPTIONS_NOT_SET = 0,
RETURN_OPTIONS = 8,
}
export enum LanguageCase {
_LANGUAGE_NOT_SET = 0,
LANGUAGE = 9,
}
export enum TaskCase {
_TASK_NOT_SET = 0,
TASK = 10,
}
export enum S2tServiceConfigCase {
_S2T_SERVICE_CONFIG_NOT_SET = 0,
S2T_SERVICE_CONFIG = 11,
}
export enum S2tCloudProviderConfigCase {
_S2T_CLOUD_PROVIDER_CONFIG_NOT_SET = 0,
S2T_CLOUD_PROVIDER_CONFIG = 12,
}
}
export class S2tCloudProviderConfig extends jspb.Message {
getS2tCloudProviderConfigAmazon(): S2tCloudProviderConfigAmazon | undefined;
setS2tCloudProviderConfigAmazon(value?: S2tCloudProviderConfigAmazon): S2tCloudProviderConfig;
hasS2tCloudProviderConfigAmazon(): boolean;
clearS2tCloudProviderConfigAmazon(): S2tCloudProviderConfig;
getS2tCloudProviderConfigDeepgram(): S2tCloudProviderConfigDeepgram | undefined;
setS2tCloudProviderConfigDeepgram(value?: S2tCloudProviderConfigDeepgram): S2tCloudProviderConfig;
hasS2tCloudProviderConfigDeepgram(): boolean;
clearS2tCloudProviderConfigDeepgram(): S2tCloudProviderConfig;
getS2tCloudProviderConfigGoogle(): S2tCloudProviderConfigGoogle | undefined;
setS2tCloudProviderConfigGoogle(value?: S2tCloudProviderConfigGoogle): S2tCloudProviderConfig;
hasS2tCloudProviderConfigGoogle(): boolean;
clearS2tCloudProviderConfigGoogle(): S2tCloudProviderConfig;
getS2tCloudProviderConfigMicrosoft(): S2tCloudProviderConfigMicrosoft | undefined;
setS2tCloudProviderConfigMicrosoft(value?: S2tCloudProviderConfigMicrosoft): S2tCloudProviderConfig;
hasS2tCloudProviderConfigMicrosoft(): boolean;
clearS2tCloudProviderConfigMicrosoft(): S2tCloudProviderConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudProviderConfig.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudProviderConfig): S2tCloudProviderConfig.AsObject;
static serializeBinaryToWriter(message: S2tCloudProviderConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfig;
static deserializeBinaryFromReader(message: S2tCloudProviderConfig, reader: jspb.BinaryReader): S2tCloudProviderConfig;
}
export namespace S2tCloudProviderConfig {
export type AsObject = {
s2tCloudProviderConfigAmazon?: S2tCloudProviderConfigAmazon.AsObject,
s2tCloudProviderConfigDeepgram?: S2tCloudProviderConfigDeepgram.AsObject,
s2tCloudProviderConfigGoogle?: S2tCloudProviderConfigGoogle.AsObject,
s2tCloudProviderConfigMicrosoft?: S2tCloudProviderConfigMicrosoft.AsObject,
}
export enum S2tCloudProviderConfigAmazonCase {
_S2T_CLOUD_PROVIDER_CONFIG_AMAZON_NOT_SET = 0,
S2T_CLOUD_PROVIDER_CONFIG_AMAZON = 1,
}
export enum S2tCloudProviderConfigDeepgramCase {
_S2T_CLOUD_PROVIDER_CONFIG_DEEPGRAM_NOT_SET = 0,
S2T_CLOUD_PROVIDER_CONFIG_DEEPGRAM = 2,
}
export enum S2tCloudProviderConfigGoogleCase {
_S2T_CLOUD_PROVIDER_CONFIG_GOOGLE_NOT_SET = 0,
S2T_CLOUD_PROVIDER_CONFIG_GOOGLE = 3,
}
export enum S2tCloudProviderConfigMicrosoftCase {
_S2T_CLOUD_PROVIDER_CONFIG_MICROSOFT_NOT_SET = 0,
S2T_CLOUD_PROVIDER_CONFIG_MICROSOFT = 4,
}
}
export class S2tCloudProviderConfigAmazon extends jspb.Message {
getEnablePartialResultsStabilization(): boolean;
setEnablePartialResultsStabilization(value: boolean): S2tCloudProviderConfigAmazon;
hasEnablePartialResultsStabilization(): boolean;
clearEnablePartialResultsStabilization(): S2tCloudProviderConfigAmazon;
getPartialResultsStability(): string;
setPartialResultsStability(value: string): S2tCloudProviderConfigAmazon;
hasPartialResultsStability(): boolean;
clearPartialResultsStability(): S2tCloudProviderConfigAmazon;
getLanguageModelName(): string;
setLanguageModelName(value: string): S2tCloudProviderConfigAmazon;
hasLanguageModelName(): boolean;
clearLanguageModelName(): S2tCloudProviderConfigAmazon;
getVocabularyName(): string;
setVocabularyName(value: string): S2tCloudProviderConfigAmazon;
hasVocabularyName(): boolean;
clearVocabularyName(): S2tCloudProviderConfigAmazon;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudProviderConfigAmazon.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigAmazon): S2tCloudProviderConfigAmazon.AsObject;
static serializeBinaryToWriter(message: S2tCloudProviderConfigAmazon, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigAmazon;
static deserializeBinaryFromReader(message: S2tCloudProviderConfigAmazon, reader: jspb.BinaryReader): S2tCloudProviderConfigAmazon;
}
export namespace S2tCloudProviderConfigAmazon {
export type AsObject = {
enablePartialResultsStabilization?: boolean,
partialResultsStability?: string,
languageModelName?: string,
vocabularyName?: string,
}
export enum EnablePartialResultsStabilizationCase {
_ENABLE_PARTIAL_RESULTS_STABILIZATION_NOT_SET = 0,
ENABLE_PARTIAL_RESULTS_STABILIZATION = 1,
}
export enum PartialResultsStabilityCase {
_PARTIAL_RESULTS_STABILITY_NOT_SET = 0,
PARTIAL_RESULTS_STABILITY = 2,
}
export enum LanguageModelNameCase {
_LANGUAGE_MODEL_NAME_NOT_SET = 0,
LANGUAGE_MODEL_NAME = 3,
}
export enum VocabularyNameCase {
_VOCABULARY_NAME_NOT_SET = 0,
VOCABULARY_NAME = 4,
}
}
export class S2tCloudProviderConfigDeepgram extends jspb.Message {
getPunctuate(): boolean;
setPunctuate(value: boolean): S2tCloudProviderConfigDeepgram;
hasPunctuate(): boolean;
clearPunctuate(): S2tCloudProviderConfigDeepgram;
getSmartFormat(): boolean;
setSmartFormat(value: boolean): S2tCloudProviderConfigDeepgram;
hasSmartFormat(): boolean;
clearSmartFormat(): S2tCloudProviderConfigDeepgram;
getNumerals(): boolean;
setNumerals(value: boolean): S2tCloudProviderConfigDeepgram;
hasNumerals(): boolean;
clearNumerals(): S2tCloudProviderConfigDeepgram;
getMeasurements(): boolean;
setMeasurements(value: boolean): S2tCloudProviderConfigDeepgram;
hasMeasurements(): boolean;
clearMeasurements(): S2tCloudProviderConfigDeepgram;
getDictation(): boolean;
setDictation(value: boolean): S2tCloudProviderConfigDeepgram;
hasDictation(): boolean;
clearDictation(): S2tCloudProviderConfigDeepgram;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudProviderConfigDeepgram.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigDeepgram): S2tCloudProviderConfigDeepgram.AsObject;
static serializeBinaryToWriter(message: S2tCloudProviderConfigDeepgram, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigDeepgram;
static deserializeBinaryFromReader(message: S2tCloudProviderConfigDeepgram, reader: jspb.BinaryReader): S2tCloudProviderConfigDeepgram;
}
export namespace S2tCloudProviderConfigDeepgram {
export type AsObject = {
punctuate?: boolean,
smartFormat?: boolean,
numerals?: boolean,
measurements?: boolean,
dictation?: boolean,
}
export enum PunctuateCase {
_PUNCTUATE_NOT_SET = 0,
PUNCTUATE = 1,
}
export enum SmartFormatCase {
_SMART_FORMAT_NOT_SET = 0,
SMART_FORMAT = 2,
}
export enum NumeralsCase {
_NUMERALS_NOT_SET = 0,
NUMERALS = 3,
}
export enum MeasurementsCase {
_MEASUREMENTS_NOT_SET = 0,
MEASUREMENTS = 4,
}
export enum DictationCase {
_DICTATION_NOT_SET = 0,
DICTATION = 5,
}
}
export class S2tCloudProviderConfigGoogle extends jspb.Message {
getEnableAutomaticPunctuation(): boolean;
setEnableAutomaticPunctuation(value: boolean): S2tCloudProviderConfigGoogle;
hasEnableAutomaticPunctuation(): boolean;
clearEnableAutomaticPunctuation(): S2tCloudProviderConfigGoogle;
getEnableWordTimeOffsets(): boolean;
setEnableWordTimeOffsets(value: boolean): S2tCloudProviderConfigGoogle;
hasEnableWordTimeOffsets(): boolean;
clearEnableWordTimeOffsets(): S2tCloudProviderConfigGoogle;
getEnableWordConfidence(): boolean;
setEnableWordConfidence(value: boolean): S2tCloudProviderConfigGoogle;
hasEnableWordConfidence(): boolean;
clearEnableWordConfidence(): S2tCloudProviderConfigGoogle;
getTranscriptNormalization(): boolean;
setTranscriptNormalization(value: boolean): S2tCloudProviderConfigGoogle;
hasTranscriptNormalization(): boolean;
clearTranscriptNormalization(): S2tCloudProviderConfigGoogle;
getMaxAlternatives(): number;
setMaxAlternatives(value: number): S2tCloudProviderConfigGoogle;
hasMaxAlternatives(): boolean;
clearMaxAlternatives(): S2tCloudProviderConfigGoogle;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudProviderConfigGoogle.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigGoogle): S2tCloudProviderConfigGoogle.AsObject;
static serializeBinaryToWriter(message: S2tCloudProviderConfigGoogle, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigGoogle;
static deserializeBinaryFromReader(message: S2tCloudProviderConfigGoogle, reader: jspb.BinaryReader): S2tCloudProviderConfigGoogle;
}
export namespace S2tCloudProviderConfigGoogle {
export type AsObject = {
enableAutomaticPunctuation?: boolean,
enableWordTimeOffsets?: boolean,
enableWordConfidence?: boolean,
transcriptNormalization?: boolean,
maxAlternatives?: number,
}
export enum EnableAutomaticPunctuationCase {
_ENABLE_AUTOMATIC_PUNCTUATION_NOT_SET = 0,
ENABLE_AUTOMATIC_PUNCTUATION = 1,
}
export enum EnableWordTimeOffsetsCase {
_ENABLE_WORD_TIME_OFFSETS_NOT_SET = 0,
ENABLE_WORD_TIME_OFFSETS = 2,
}
export enum EnableWordConfidenceCase {
_ENABLE_WORD_CONFIDENCE_NOT_SET = 0,
ENABLE_WORD_CONFIDENCE = 3,
}
export enum TranscriptNormalizationCase {
_TRANSCRIPT_NORMALIZATION_NOT_SET = 0,
TRANSCRIPT_NORMALIZATION = 4,
}
export enum MaxAlternativesCase {
_MAX_ALTERNATIVES_NOT_SET = 0,
MAX_ALTERNATIVES = 5,
}
}
export class S2tCloudProviderConfigMicrosoft extends jspb.Message {
getUseFastTranscriptionApi(): boolean;
setUseFastTranscriptionApi(value: boolean): S2tCloudProviderConfigMicrosoft;
hasUseFastTranscriptionApi(): boolean;
clearUseFastTranscriptionApi(): S2tCloudProviderConfigMicrosoft;
getUseDetailedOutputFormat(): boolean;
setUseDetailedOutputFormat(value: boolean): S2tCloudProviderConfigMicrosoft;
hasUseDetailedOutputFormat(): boolean;
clearUseDetailedOutputFormat(): S2tCloudProviderConfigMicrosoft;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudProviderConfigMicrosoft.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudProviderConfigMicrosoft): S2tCloudProviderConfigMicrosoft.AsObject;
static serializeBinaryToWriter(message: S2tCloudProviderConfigMicrosoft, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudProviderConfigMicrosoft;
static deserializeBinaryFromReader(message: S2tCloudProviderConfigMicrosoft, reader: jspb.BinaryReader): S2tCloudProviderConfigMicrosoft;
}
export namespace S2tCloudProviderConfigMicrosoft {
export type AsObject = {
useFastTranscriptionApi?: boolean,
useDetailedOutputFormat?: boolean,
}
export enum UseFastTranscriptionApiCase {
_USE_FAST_TRANSCRIPTION_API_NOT_SET = 0,
USE_FAST_TRANSCRIPTION_API = 1,
}
export enum UseDetailedOutputFormatCase {
_USE_DETAILED_OUTPUT_FORMAT_NOT_SET = 0,
USE_DETAILED_OUTPUT_FORMAT = 2,
}
}
export class TranscriptionReturnOptions extends jspb.Message {
getReturnStartOfSpeech(): boolean;
setReturnStartOfSpeech(value: boolean): TranscriptionReturnOptions;
getReturnAudio(): boolean;
setReturnAudio(value: boolean): TranscriptionReturnOptions;
getReturnConfidenceScore(): boolean;
setReturnConfidenceScore(value: boolean): TranscriptionReturnOptions;
getReturnAlternativeTranscriptions(): boolean;
setReturnAlternativeTranscriptions(value: boolean): TranscriptionReturnOptions;
getReturnAlternativeTranscriptionsNr(): number;
setReturnAlternativeTranscriptionsNr(value: number): TranscriptionReturnOptions;
getReturnAlternativeWords(): boolean;
setReturnAlternativeWords(value: boolean): TranscriptionReturnOptions;
getReturnAlternativeWordsNr(): number;
setReturnAlternativeWordsNr(value: number): TranscriptionReturnOptions;
getReturnWordTiming(): boolean;
setReturnWordTiming(value: boolean): TranscriptionReturnOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscriptionReturnOptions.AsObject;
static toObject(includeInstance: boolean, msg: TranscriptionReturnOptions): TranscriptionReturnOptions.AsObject;
static serializeBinaryToWriter(message: TranscriptionReturnOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscriptionReturnOptions;
static deserializeBinaryFromReader(message: TranscriptionReturnOptions, reader: jspb.BinaryReader): TranscriptionReturnOptions;
}
export namespace TranscriptionReturnOptions {
export type AsObject = {
returnStartOfSpeech: boolean,
returnAudio: boolean,
returnConfidenceScore: boolean,
returnAlternativeTranscriptions: boolean,
returnAlternativeTranscriptionsNr: number,
returnAlternativeWords: boolean,
returnAlternativeWordsNr: number,
returnWordTiming: boolean,
}
}
export class UtteranceDetectionOptions extends jspb.Message {
getTranscribeNotFinal(): boolean;
setTranscribeNotFinal(value: boolean): UtteranceDetectionOptions;
getNextChunkTimeout(): number;
setNextChunkTimeout(value: number): UtteranceDetectionOptions;
getOneofTranscribeNotFinalCase(): UtteranceDetectionOptions.OneofTranscribeNotFinalCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UtteranceDetectionOptions.AsObject;
static toObject(includeInstance: boolean, msg: UtteranceDetectionOptions): UtteranceDetectionOptions.AsObject;
static serializeBinaryToWriter(message: UtteranceDetectionOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UtteranceDetectionOptions;
static deserializeBinaryFromReader(message: UtteranceDetectionOptions, reader: jspb.BinaryReader): UtteranceDetectionOptions;
}
export namespace UtteranceDetectionOptions {
export type AsObject = {
transcribeNotFinal: boolean,
nextChunkTimeout: number,
}
export enum OneofTranscribeNotFinalCase {
ONEOF_TRANSCRIBE_NOT_FINAL_NOT_SET = 0,
TRANSCRIBE_NOT_FINAL = 1,
}
}
export class PostProcessingOptions extends jspb.Message {
getSpellingCorrection(): boolean;
setSpellingCorrection(value: boolean): PostProcessingOptions;
getNormalize(): boolean;
setNormalize(value: boolean): PostProcessingOptions;
getConfig(): PostProcessing | undefined;
setConfig(value?: PostProcessing): PostProcessingOptions;
hasConfig(): boolean;
clearConfig(): PostProcessingOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PostProcessingOptions.AsObject;
static toObject(includeInstance: boolean, msg: PostProcessingOptions): PostProcessingOptions.AsObject;
static serializeBinaryToWriter(message: PostProcessingOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PostProcessingOptions;
static deserializeBinaryFromReader(message: PostProcessingOptions, reader: jspb.BinaryReader): PostProcessingOptions;
}
export namespace PostProcessingOptions {
export type AsObject = {
spellingCorrection: boolean,
normalize: boolean,
config?: PostProcessing.AsObject,
}
}
export class Transcription extends jspb.Message {
getTranscription(): string;
setTranscription(value: string): Transcription;
getConfidenceScore(): number;
setConfidenceScore(value: number): Transcription;
getWordsList(): Array<WordDetail>;
setWordsList(value: Array<WordDetail>): Transcription;
clearWordsList(): Transcription;
addWords(value?: WordDetail, index?: number): WordDetail;
getAlternativesList(): Array<TranscriptionAlternative>;
setAlternativesList(value: Array<TranscriptionAlternative>): Transcription;
clearAlternativesList(): Transcription;
addAlternatives(value?: TranscriptionAlternative, index?: number): TranscriptionAlternative;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Transcription.AsObject;
static toObject(includeInstance: boolean, msg: Transcription): Transcription.AsObject;
static serializeBinaryToWriter(message: Transcription, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Transcription;
static deserializeBinaryFromReader(message: Transcription, reader: jspb.BinaryReader): Transcription;
}
export namespace Transcription {
export type AsObject = {
transcription: string,
confidenceScore: number,
wordsList: Array<WordDetail.AsObject>,
alternativesList: Array<TranscriptionAlternative.AsObject>,
}
}
export class TranscriptionAlternative extends jspb.Message {
getTranscript(): string;
setTranscript(value: string): TranscriptionAlternative;
getConfidence(): number;
setConfidence(value: number): TranscriptionAlternative;
getWordsList(): Array<WordDetail>;
setWordsList(value: Array<WordDetail>): TranscriptionAlternative;
clearWordsList(): TranscriptionAlternative;
addWords(value?: WordDetail, index?: number): WordDetail;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscriptionAlternative.AsObject;
static toObject(includeInstance: boolean, msg: TranscriptionAlternative): TranscriptionAlternative.AsObject;
static serializeBinaryToWriter(message: TranscriptionAlternative, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscriptionAlternative;
static deserializeBinaryFromReader(message: TranscriptionAlternative, reader: jspb.BinaryReader): TranscriptionAlternative;
}
export namespace TranscriptionAlternative {
export type AsObject = {
transcript: string,
confidence: number,
wordsList: Array<WordDetail.AsObject>,
}
}
export class WordDetail extends jspb.Message {
getStartTime(): number;
setStartTime(value: number): WordDetail;
getEndTime(): number;
setEndTime(value: number): WordDetail;
getWord(): string;
setWord(value: string): WordDetail;
getConfidence(): number;
setConfidence(value: number): WordDetail;
getWordAlternativesList(): Array<WordAlternative>;
setWordAlternativesList(value: Array<WordAlternative>): WordDetail;
clearWordAlternativesList(): WordDetail;
addWordAlternatives(value?: WordAlternative, index?: number): WordAlternative;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): WordDetail.AsObject;
static toObject(includeInstance: boolean, msg: WordDetail): WordDetail.AsObject;
static serializeBinaryToWriter(message: WordDetail, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): WordDetail;
static deserializeBinaryFromReader(message: WordDetail, reader: jspb.BinaryReader): WordDetail;
}
export namespace WordDetail {
export type AsObject = {
startTime: number,
endTime: number,
word: string,
confidence: number,
wordAlternativesList: Array<WordAlternative.AsObject>,
}
}
export class WordAlternative extends jspb.Message {
getWord(): string;
setWord(value: string): WordAlternative;
getConfidence(): number;
setConfidence(value: number): WordAlternative;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): WordAlternative.AsObject;
static toObject(includeInstance: boolean, msg: WordAlternative): WordAlternative.AsObject;
static serializeBinaryToWriter(message: WordAlternative, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): WordAlternative;
static deserializeBinaryFromReader(message: WordAlternative, reader: jspb.BinaryReader): WordAlternative;
}
export namespace WordAlternative {
export type AsObject = {
word: string,
confidence: number,
}
}
export class TranscribeStreamRequest extends jspb.Message {
getAudioChunk(): Uint8Array | string;
getAudioChunk_asU8(): Uint8Array;
getAudioChunk_asB64(): string;
setAudioChunk(value: Uint8Array | string): TranscribeStreamRequest;
getEndOfStream(): boolean;
setEndOfStream(value: boolean): TranscribeStreamRequest;
getConfig(): TranscribeRequestConfig | undefined;
setConfig(value?: TranscribeRequestConfig): TranscribeStreamRequest;
hasConfig(): boolean;
clearConfig(): TranscribeStreamRequest;
getMuteAudio(): boolean;
setMuteAudio(value: boolean): TranscribeStreamRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscribeStreamRequest.AsObject;
static toObject(includeInstance: boolean, msg: TranscribeStreamRequest): TranscribeStreamRequest.AsObject;
static serializeBinaryToWriter(message: TranscribeStreamRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscribeStreamRequest;
static deserializeBinaryFromReader(message: TranscribeStreamRequest, reader: jspb.BinaryReader): TranscribeStreamRequest;
}
export namespace TranscribeStreamRequest {
export type AsObject = {
audioChunk: Uint8Array | string,
endOfStream: boolean,
config?: TranscribeRequestConfig.AsObject,
muteAudio: boolean,
}
}
export class TranscribeStreamResponse extends jspb.Message {
getTranscriptionsList(): Array<Transcription>;
setTranscriptionsList(value: Array<Transcription>): TranscribeStreamResponse;
clearTranscriptionsList(): TranscribeStreamResponse;
addTranscriptions(value?: Transcription, index?: number): Transcription;
getTime(): number;
setTime(value: number): TranscribeStreamResponse;
getFinal(): boolean;
setFinal(value: boolean): TranscribeStreamResponse;
getReturnAudio(): boolean;
setReturnAudio(value: boolean): TranscribeStreamResponse;
getAudio(): Uint8Array | string;
getAudio_asU8(): Uint8Array;
getAudio_asB64(): string;
setAudio(value: Uint8Array | string): TranscribeStreamResponse;
getUtteranceStart(): boolean;
setUtteranceStart(value: boolean): TranscribeStreamResponse;
getAudioUuid(): string;
setAudioUuid(value: string): TranscribeStreamResponse;
getConfig(): TranscribeRequestConfig | undefined;
setConfig(value?: TranscribeRequestConfig): TranscribeStreamResponse;
hasConfig(): boolean;
clearConfig(): TranscribeStreamResponse;
getOneofConfigCase(): TranscribeStreamResponse.OneofConfigCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscribeStreamResponse.AsObject;
static toObject(includeInstance: boolean, msg: TranscribeStreamResponse): TranscribeStreamResponse.AsObject;
static serializeBinaryToWriter(message: TranscribeStreamResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscribeStreamResponse;
static deserializeBinaryFromReader(message: TranscribeStreamResponse, reader: jspb.BinaryReader): TranscribeStreamResponse;
}
export namespace TranscribeStreamResponse {
export type AsObject = {
transcriptionsList: Array<Transcription.AsObject>,
time: number,
pb_final: boolean,
returnAudio: boolean,
audio: Uint8Array | string,
utteranceStart: boolean,
audioUuid: string,
config?: TranscribeRequestConfig.AsObject,
}
export enum OneofConfigCase {
ONEOF_CONFIG_NOT_SET = 0,
CONFIG = 8,
}
}
export class TranscribeFileRequest extends jspb.Message {
getAudioFile(): Uint8Array | string;
getAudioFile_asU8(): Uint8Array;
getAudioFile_asB64(): string;
setAudioFile(value: Uint8Array | string): TranscribeFileRequest;
getConfig(): TranscribeRequestConfig | undefined;
setConfig(value?: TranscribeRequestConfig): TranscribeFileRequest;
hasConfig(): boolean;
clearConfig(): TranscribeFileRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscribeFileRequest.AsObject;
static toObject(includeInstance: boolean, msg: TranscribeFileRequest): TranscribeFileRequest.AsObject;
static serializeBinaryToWriter(message: TranscribeFileRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscribeFileRequest;
static deserializeBinaryFromReader(message: TranscribeFileRequest, reader: jspb.BinaryReader): TranscribeFileRequest;
}
export namespace TranscribeFileRequest {
export type AsObject = {
audioFile: Uint8Array | string,
config?: TranscribeRequestConfig.AsObject,
}
}
export class TranscribeFileResponse extends jspb.Message {
getTranscriptionsList(): Array<Transcription>;
setTranscriptionsList(value: Array<Transcription>): TranscribeFileResponse;
clearTranscriptionsList(): TranscribeFileResponse;
addTranscriptions(value?: Transcription, index?: number): Transcription;
getTime(): number;
setTime(value: number): TranscribeFileResponse;
getAudioUuid(): string;
setAudioUuid(value: string): TranscribeFileResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TranscribeFileResponse.AsObject;
static toObject(includeInstance: boolean, msg: TranscribeFileResponse): TranscribeFileResponse.AsObject;
static serializeBinaryToWriter(message: TranscribeFileResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TranscribeFileResponse;
static deserializeBinaryFromReader(message: TranscribeFileResponse, reader: jspb.BinaryReader): TranscribeFileResponse;
}
export namespace TranscribeFileResponse {
export type AsObject = {
transcriptionsList: Array<Transcription.AsObject>,
time: number,
audioUuid: string,
}
}
export class S2tPipelineId extends jspb.Message {
getId(): string;
setId(value: string): S2tPipelineId;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tPipelineId.AsObject;
static toObject(includeInstance: boolean, msg: S2tPipelineId): S2tPipelineId.AsObject;
static serializeBinaryToWriter(message: S2tPipelineId, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tPipelineId;
static deserializeBinaryFromReader(message: S2tPipelineId, reader: jspb.BinaryReader): S2tPipelineId;
}
export namespace S2tPipelineId {
export type AsObject = {
id: string,
}
}
export class ListS2tPipelinesRequest extends jspb.Message {
getLanguagesList(): Array<string>;
setLanguagesList(value: Array<string>): ListS2tPipelinesRequest;
clearLanguagesList(): ListS2tPipelinesRequest;
addLanguages(value: string, index?: number): ListS2tPipelinesRequest;
getPipelineOwnersList(): Array<string>;
setPipelineOwnersList(value: Array<string>): ListS2tPipelinesRequest;
clearPipelineOwnersList(): ListS2tPipelinesRequest;
addPipelineOwners(value: string, index?: number): ListS2tPipelinesRequest;
getDomainsList(): Array<string>;
setDomainsList(value: Array<string>): ListS2tPipelinesRequest;
clearDomainsList(): ListS2tPipelinesRequest;
addDomains(value: string, index?: number): ListS2tPipelinesRequest;
getRegisteredOnly(): boolean;
setRegisteredOnly(value: boolean): ListS2tPipelinesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tPipelinesRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tPipelinesRequest): ListS2tPipelinesRequest.AsObject;
static serializeBinaryToWriter(message: ListS2tPipelinesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tPipelinesRequest;
static deserializeBinaryFromReader(message: ListS2tPipelinesRequest, reader: jspb.BinaryReader): ListS2tPipelinesRequest;
}
export namespace ListS2tPipelinesRequest {
export type AsObject = {
languagesList: Array<string>,
pipelineOwnersList: Array<string>,
domainsList: Array<string>,
registeredOnly: boolean,
}
}
export class ListS2tPipelinesResponse extends jspb.Message {
getPipelineConfigsList(): Array<Speech2TextConfig>;
setPipelineConfigsList(value: Array<Speech2TextConfig>): ListS2tPipelinesResponse;
clearPipelineConfigsList(): ListS2tPipelinesResponse;
addPipelineConfigs(value?: Speech2TextConfig, index?: number): Speech2TextConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tPipelinesResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tPipelinesResponse): ListS2tPipelinesResponse.AsObject;
static serializeBinaryToWriter(message: ListS2tPipelinesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tPipelinesResponse;
static deserializeBinaryFromReader(message: ListS2tPipelinesResponse, reader: jspb.BinaryReader): ListS2tPipelinesResponse;
}
export namespace ListS2tPipelinesResponse {
export type AsObject = {
pipelineConfigsList: Array<Speech2TextConfig.AsObject>,
}
}
export class ListS2tLanguagesRequest extends jspb.Message {
getDomainsList(): Array<string>;
setDomainsList(value: Array<string>): ListS2tLanguagesRequest;
clearDomainsList(): ListS2tLanguagesRequest;
addDomains(value: string, index?: number): ListS2tLanguagesRequest;
getPipelineOwnersList(): Array<string>;
setPipelineOwnersList(value: Array<string>): ListS2tLanguagesRequest;
clearPipelineOwnersList(): ListS2tLanguagesRequest;
addPipelineOwners(value: string, index?: number): ListS2tLanguagesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tLanguagesRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tLanguagesRequest): ListS2tLanguagesRequest.AsObject;
static serializeBinaryToWriter(message: ListS2tLanguagesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tLanguagesRequest;
static deserializeBinaryFromReader(message: ListS2tLanguagesRequest, reader: jspb.BinaryReader): ListS2tLanguagesRequest;
}
export namespace ListS2tLanguagesRequest {
export type AsObject = {
domainsList: Array<string>,
pipelineOwnersList: Array<string>,
}
}
export class ListS2tLanguagesResponse extends jspb.Message {
getLanguagesList(): Array<string>;
setLanguagesList(value: Array<string>): ListS2tLanguagesResponse;
clearLanguagesList(): ListS2tLanguagesResponse;
addLanguages(value: string, index?: number): ListS2tLanguagesResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tLanguagesResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tLanguagesResponse): ListS2tLanguagesResponse.AsObject;
static serializeBinaryToWriter(message: ListS2tLanguagesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tLanguagesResponse;
static deserializeBinaryFromReader(message: ListS2tLanguagesResponse, reader: jspb.BinaryReader): ListS2tLanguagesResponse;
}
export namespace ListS2tLanguagesResponse {
export type AsObject = {
languagesList: Array<string>,
}
}
export class ListS2tDomainsRequest extends jspb.Message {
getLanguagesList(): Array<string>;
setLanguagesList(value: Array<string>): ListS2tDomainsRequest;
clearLanguagesList(): ListS2tDomainsRequest;
addLanguages(value: string, index?: number): ListS2tDomainsRequest;
getPipelineOwnersList(): Array<string>;
setPipelineOwnersList(value: Array<string>): ListS2tDomainsRequest;
clearPipelineOwnersList(): ListS2tDomainsRequest;
addPipelineOwners(value: string, index?: number): ListS2tDomainsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tDomainsRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tDomainsRequest): ListS2tDomainsRequest.AsObject;
static serializeBinaryToWriter(message: ListS2tDomainsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tDomainsRequest;
static deserializeBinaryFromReader(message: ListS2tDomainsRequest, reader: jspb.BinaryReader): ListS2tDomainsRequest;
}
export namespace ListS2tDomainsRequest {
export type AsObject = {
languagesList: Array<string>,
pipelineOwnersList: Array<string>,
}
}
export class ListS2tDomainsResponse extends jspb.Message {
getDomainsList(): Array<string>;
setDomainsList(value: Array<string>): ListS2tDomainsResponse;
clearDomainsList(): ListS2tDomainsResponse;
addDomains(value: string, index?: number): ListS2tDomainsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListS2tDomainsResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListS2tDomainsResponse): ListS2tDomainsResponse.AsObject;
static serializeBinaryToWriter(message: ListS2tDomainsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListS2tDomainsResponse;
static deserializeBinaryFromReader(message: ListS2tDomainsResponse, reader: jspb.BinaryReader): ListS2tDomainsResponse;
}
export namespace ListS2tDomainsResponse {
export type AsObject = {
domainsList: Array<string>,
}
}
export class S2TGetServiceInfoResponse extends jspb.Message {
getVersion(): string;
setVersion(value: string): S2TGetServiceInfoResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2TGetServiceInfoResponse.AsObject;
static toObject(includeInstance: boolean, msg: S2TGetServiceInfoResponse): S2TGetServiceInfoResponse.AsObject;
static serializeBinaryToWriter(message: S2TGetServiceInfoResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2TGetServiceInfoResponse;
static deserializeBinaryFromReader(message: S2TGetServiceInfoResponse, reader: jspb.BinaryReader): S2TGetServiceInfoResponse;
}
export namespace S2TGetServiceInfoResponse {
export type AsObject = {
version: string,
}
}
export class Speech2TextConfig extends jspb.Message {
getId(): string;
setId(value: string): Speech2TextConfig;
getDescription(): S2TDescription | undefined;
setDescription(value?: S2TDescription): Speech2TextConfig;
hasDescription(): boolean;
clearDescription(): Speech2TextConfig;
getActive(): boolean;
setActive(value: boolean): Speech2TextConfig;
getInference(): S2TInference | undefined;
setInference(value?: S2TInference): Speech2TextConfig;
hasInference(): boolean;
clearInference(): Speech2TextConfig;
getStreamingServer(): StreamingServer | undefined;
setStreamingServer(value?: StreamingServer): Speech2TextConfig;
hasStreamingServer(): boolean;
clearStreamingServer(): Speech2TextConfig;
getVoiceActivityDetection(): VoiceActivityDetection | undefined;
setVoiceActivityDetection(value?: VoiceActivityDetection): Speech2TextConfig;
hasVoiceActivityDetection(): boolean;
clearVoiceActivityDetection(): Speech2TextConfig;
getPostProcessing(): PostProcessing | undefined;
setPostProcessing(value?: PostProcessing): Speech2TextConfig;
hasPostProcessing(): boolean;
clearPostProcessing(): Speech2TextConfig;
getLogging(): Logging | undefined;
setLogging(value?: Logging): Speech2TextConfig;
hasLogging(): boolean;
clearLogging(): Speech2TextConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Speech2TextConfig.AsObject;
static toObject(includeInstance: boolean, msg: Speech2TextConfig): Speech2TextConfig.AsObject;
static serializeBinaryToWriter(message: Speech2TextConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Speech2TextConfig;
static deserializeBinaryFromReader(message: Speech2TextConfig, reader: jspb.BinaryReader): Speech2TextConfig;
}
export namespace Speech2TextConfig {
export type AsObject = {
id: string,
description?: S2TDescription.AsObject,
active: boolean,
inference?: S2TInference.AsObject,
streamingServer?: StreamingServer.AsObject,
voiceActivityDetection?: VoiceActivityDetection.AsObject,
postProcessing?: PostProcessing.AsObject,
logging?: Logging.AsObject,
}
}
export class S2TDescription extends jspb.Message {
getLanguage(): string;
setLanguage(value: string): S2TDescription;
getPipelineOwner(): string;
setPipelineOwner(value: string): S2TDescription;
getDomain(): string;
setDomain(value: string): S2TDescription;
getComments(): string;
setComments(value: string): S2TDescription;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2TDescription.AsObject;
static toObject(includeInstance: boolean, msg: S2TDescription): S2TDescription.AsObject;
static serializeBinaryToWriter(message: S2TDescription, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2TDescription;
static deserializeBinaryFromReader(message: S2TDescription, reader: jspb.BinaryReader): S2TDescription;
}
export namespace S2TDescription {
export type AsObject = {
language: string,
pipelineOwner: string,
domain: string,
comments: string,
}
}
export class S2TInference extends jspb.Message {
getAcousticModels(): AcousticModels | undefined;
setAcousticModels(value?: AcousticModels): S2TInference;
hasAcousticModels(): boolean;
clearAcousticModels(): S2TInference;
getLanguageModels(): LanguageModels | undefined;
setLanguageModels(value?: LanguageModels): S2TInference;
hasLanguageModels(): boolean;
clearLanguageModels(): S2TInference;
getInferenceBackend(): InferenceBackend;
setInferenceBackend(value: InferenceBackend): S2TInference;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2TInference.AsObject;
static toObject(includeInstance: boolean, msg: S2TInference): S2TInference.AsObject;
static serializeBinaryToWriter(message: S2TInference, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2TInference;
static deserializeBinaryFromReader(message: S2TInference, reader: jspb.BinaryReader): S2TInference;
}
export namespace S2TInference {
export type AsObject = {
acousticModels?: AcousticModels.AsObject,
languageModels?: LanguageModels.AsObject,
inferenceBackend: InferenceBackend,
}
}
export class AcousticModels extends jspb.Message {
getType(): string;
setType(value: string): AcousticModels;
getWav2vec(): Wav2Vec | undefined;
setWav2vec(value?: Wav2Vec): AcousticModels;
hasWav2vec(): boolean;
clearWav2vec(): AcousticModels;
getWav2vecTriton(): Wav2VecTriton | undefined;
setWav2vecTriton(value?: Wav2VecTriton): AcousticModels;
hasWav2vecTriton(): boolean;
clearWav2vecTriton(): AcousticModels;
getWhisper(): Whisper | undefined;
setWhisper(value?: Whisper): AcousticModels;
hasWhisper(): boolean;
clearWhisper(): AcousticModels;
getWhisperTriton(): WhisperTriton | undefined;
setWhisperTriton(value?: WhisperTriton): AcousticModels;
hasWhisperTriton(): boolean;
clearWhisperTriton(): AcousticModels;
getS2tCloudServiceAmazon(): S2tCloudServiceAmazon | undefined;
setS2tCloudServiceAmazon(value?: S2tCloudServiceAmazon): AcousticModels;
hasS2tCloudServiceAmazon(): boolean;
clearS2tCloudServiceAmazon(): AcousticModels;
getS2tCloudServiceDeepgram(): S2tCloudServiceDeepgram | undefined;
setS2tCloudServiceDeepgram(value?: S2tCloudServiceDeepgram): AcousticModels;
hasS2tCloudServiceDeepgram(): boolean;
clearS2tCloudServiceDeepgram(): AcousticModels;
getS2tCloudServiceGoogle(): S2tCloudServiceGoogle | undefined;
setS2tCloudServiceGoogle(value?: S2tCloudServiceGoogle): AcousticModels;
hasS2tCloudServiceGoogle(): boolean;
clearS2tCloudServiceGoogle(): AcousticModels;
getS2tCloudServiceMicrosoft(): S2tCloudServiceMicrosoft | undefined;
setS2tCloudServiceMicrosoft(value?: S2tCloudServiceMicrosoft): AcousticModels;
hasS2tCloudServiceMicrosoft(): boolean;
clearS2tCloudServiceMicrosoft(): AcousticModels;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AcousticModels.AsObject;
static toObject(includeInstance: boolean, msg: AcousticModels): AcousticModels.AsObject;
static serializeBinaryToWriter(message: AcousticModels, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AcousticModels;
static deserializeBinaryFromReader(message: AcousticModels, reader: jspb.BinaryReader): AcousticModels;
}
export namespace AcousticModels {
export type AsObject = {
type: string,
wav2vec?: Wav2Vec.AsObject,
wav2vecTriton?: Wav2VecTriton.AsObject,
whisper?: Whisper.AsObject,
whisperTriton?: WhisperTriton.AsObject,
s2tCloudServiceAmazon?: S2tCloudServiceAmazon.AsObject,
s2tCloudServiceDeepgram?: S2tCloudServiceDeepgram.AsObject,
s2tCloudServiceGoogle?: S2tCloudServiceGoogle.AsObject,
s2tCloudServiceMicrosoft?: S2tCloudServiceMicrosoft.AsObject,
}
}
export class S2tCloudServiceAmazon extends jspb.Message {
getLanguage(): string;
setLanguage(value: string): S2tCloudServiceAmazon;
getStreamingAvailable(): boolean;
setStreamingAvailable(value: boolean): S2tCloudServiceAmazon;
getEnablePartialResultsStabilization(): boolean;
setEnablePartialResultsStabilization(value: boolean): S2tCloudServiceAmazon;
getPartialResultsStability(): string;
setPartialResultsStability(value: string): S2tCloudServiceAmazon;
getLanguageModelName(): string;
setLanguageModelName(value: string): S2tCloudServiceAmazon;
getVocabularyName(): string;
setVocabularyName(value: string): S2tCloudServiceAmazon;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudServiceAmazon.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudServiceAmazon): S2tCloudServiceAmazon.AsObject;
static serializeBinaryToWriter(message: S2tCloudServiceAmazon, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudServiceAmazon;
static deserializeBinaryFromReader(message: S2tCloudServiceAmazon, reader: jspb.BinaryReader): S2tCloudServiceAmazon;
}
export namespace S2tCloudServiceAmazon {
export type AsObject = {
language: string,
streamingAvailable: boolean,
enablePartialResultsStabilization: boolean,
partialResultsStability: string,
languageModelName: string,
vocabularyName: string,
}
}
export class S2tCloudServiceDeepgram extends jspb.Message {
getModelName(): string;
setModelName(value: string): S2tCloudServiceDeepgram;
getLanguage(): string;
setLanguage(value: string): S2tCloudServiceDeepgram;
getPunctuate(): boolean;
setPunctuate(value: boolean): S2tCloudServiceDeepgram;
getSmartFormat(): boolean;
setSmartFormat(value: boolean): S2tCloudServiceDeepgram;
getNumerals(): boolean;
setNumerals(value: boolean): S2tCloudServiceDeepgram;
getMeasurements(): boolean;
setMeasurements(value: boolean): S2tCloudServiceDeepgram;
getDictation(): boolean;
setDictation(value: boolean): S2tCloudServiceDeepgram;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudServiceDeepgram.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudServiceDeepgram): S2tCloudServiceDeepgram.AsObject;
static serializeBinaryToWriter(message: S2tCloudServiceDeepgram, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudServiceDeepgram;
static deserializeBinaryFromReader(message: S2tCloudServiceDeepgram, reader: jspb.BinaryReader): S2tCloudServiceDeepgram;
}
export namespace S2tCloudServiceDeepgram {
export type AsObject = {
modelName: string,
language: string,
punctuate: boolean,
smartFormat: boolean,
numerals: boolean,
measurements: boolean,
dictation: boolean,
}
}
export class S2tCloudServiceGoogle extends jspb.Message {
getModelName(): string;
setModelName(value: string): S2tCloudServiceGoogle;
getLanguage(): string;
setLanguage(value: string): S2tCloudServiceGoogle;
getEnableAutomaticPunctuation(): boolean;
setEnableAutomaticPunctuation(value: boolean): S2tCloudServiceGoogle;
getEnableWordTimeOffsets(): boolean;
setEnableWordTimeOffsets(value: boolean): S2tCloudServiceGoogle;
getEnableWordConfidence(): boolean;
setEnableWordConfidence(value: boolean): S2tCloudServiceGoogle;
getTranscriptNormalization(): boolean;
setTranscriptNormalization(value: boolean): S2tCloudServiceGoogle;
getMaxAlternatives(): number;
setMaxAlternatives(value: number): S2tCloudServiceGoogle;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): S2tCloudServiceGoogle.AsObject;
static toObject(includeInstance: boolean, msg: S2tCloudServiceGoogle): S2tCloudServiceGoogle.AsObject;
static serializeBinaryToWriter(message: S2tCloudServiceGoogle, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): S2tCloudServiceGoogle;
static deserializeBinaryFromReader(message: S2tCloudServiceGoogle, reader: jspb.BinaryReader): S2tCloudServiceGoogle;
}
export namespace S2tCloudServiceGoogle {
export type AsObject = {
modelName: string,
language: string,
enableAutomaticPunctuation: boolean,
enableWordTimeOffsets: boolean,
enableWordConfidence: boolean,
transcriptNormalization: boolean,
maxAlternatives: number,
}
}
export class S2tCloudServiceMicrosoft extends jspb.Message {
getLanguage(): string;
setLanguage(value: string): S2tCloudServiceMicrosoft;
getUseFastTranscriptionApi(): boolean;
setUseFastTranscriptionApi(value: boolean): S2tCloudServiceMicrosoft;
getUseDetailedOutputFormat(): boolean;
setUseDetailedOutputFormat(value: boolean): S2tCloudServiceMicrosoft;
serializeBinary(): Uint8A