/* tslint:disable */ /* eslint-disable */ /** * OpenAPI Template * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { BatchRecognitionAlternative } from './batch-recognition-alternative'; // May contain unused imports in some cases // @ts-ignore import { SpokenFormRecognitionResult } from './spoken-form-recognition-result'; // May contain unused imports in some cases // @ts-ignore import { WrittenFormRecognitionResult } from './written-form-recognition-result'; /** * An ASR job output item. The primary item types are `word` and `punctuation`. Other item types may be present, for example to provide semantic information of different forms. * @export * @interface BatchRecognitionResult */ export interface BatchRecognitionResult { /** * * @type {Array} * @memberof BatchRecognitionResult */ alternatives?: Array; /** * * @type {string} * @memberof BatchRecognitionResult */ channel?: string; /** * * @type {number} * @memberof BatchRecognitionResult */ end_time: number; /** * Whether the punctuation mark is an end of sentence character. Only applies to punctuation marks. * @type {boolean} * @memberof BatchRecognitionResult */ is_eos?: boolean; /** * * @type {SpokenFormRecognitionResult} * @memberof BatchRecognitionResult */ spoken_form?: SpokenFormRecognitionResult; /** * * @type {number} * @memberof BatchRecognitionResult */ start_time: number; /** * New types of items may appear without being requested; unrecognized item types can be ignored. * @type {string} * @memberof BatchRecognitionResult */ type: BatchRecognitionResultTypeEnum; /** * An indication of the volume of audio across the time period the word was spoken. * @type {number} * @memberof BatchRecognitionResult */ volume?: number; /** * * @type {WrittenFormRecognitionResult} * @memberof BatchRecognitionResult */ written_form?: WrittenFormRecognitionResult; } export const BatchRecognitionResultTypeEnum = { Word: 'word', Punctuation: 'punctuation', SpeakerChange: 'speaker_change', Entity: 'entity', } as const; export type BatchRecognitionResultTypeEnum = typeof BatchRecognitionResultTypeEnum[keyof typeof BatchRecognitionResultTypeEnum];