UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 1.63 kB
{"version":3,"sources":["src/common.speech/SpeechServiceInterfaces.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,WAAW,aAAa;IAC1B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD,MAAM,WAAW,UAAU;IACvB,OAAO,EAAE,iBAAiB,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAC9B,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,2BAA2B,CAAC;CAC1C","file":"SpeechServiceInterfaces.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\nimport { RecognitionCompletionStatus } from \"../../src/common.speech/Exports.js\";\r\nimport { TranslationStatus } from \"./TranslationStatus.js\";\r\n\r\nexport interface ITranslations {\r\n TranslationStatus: TranslationStatus;\r\n Translations: ITranslation[];\r\n FailureReason: string;\r\n}\r\n\r\nexport interface ITranslation {\r\n Language: string;\r\n Text?: string;\r\n DisplayText?: string;\r\n}\r\n\r\nexport interface ISpeechEndDetectedResult {\r\n Offset?: number;\r\n}\r\n\r\n// turn.start\r\nexport interface ITurnStart {\r\n context: ITurnStartContext;\r\n}\r\n\r\nexport interface ITurnStartContext {\r\n serviceTag: string;\r\n}\r\n\r\nexport interface IResultErrorDetails {\r\n errorText: string;\r\n recogSate: RecognitionCompletionStatus;\r\n}\r\n"]}