UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 3.73 kB
{"version":3,"sources":["src/common.speech/ServiceMessages/SpeakerResponse.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC/C;AAED,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACjC,iBAAiB,EAAE,YAAY,CAAC;IAChC,eAAe,EAAE,YAAY,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,YAAY;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,aAAa,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,+BAA+B,EAAE,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,+BAA+B,EAAE,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;CAC7B","file":"SpeakerResponse.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n/* eslint-disable max-classes-per-file */\r\n\r\nexport interface SpeakerResponse {\r\n scenario: string;\r\n status: SpeakerStatus;\r\n verificationResult?: VerificationResult;\r\n identificationResult?: IdentificationResult;\r\n}\r\n\r\nexport interface SpeakerStatus {\r\n statusCode: string;\r\n reason: string;\r\n}\r\n\r\nexport interface VerificationResult {\r\n recognitionResult: string;\r\n profileId: string;\r\n score: number;\r\n}\r\n\r\nexport interface IdentificationResult {\r\n identifiedProfile: ProfileScore;\r\n profilesRanking: ProfileScore[];\r\n}\r\n\r\nexport interface ProfileScore {\r\n profileId: string;\r\n score: number;\r\n}\r\n\r\nexport interface EnrollmentResponse {\r\n scenario: string;\r\n status: SpeakerStatus;\r\n enrollment: EnrollmentStatus;\r\n profiles: IProfile[];\r\n}\r\n\r\nexport interface ProfileResponse {\r\n scenario: string;\r\n operation: string;\r\n status: SpeakerStatus;\r\n profiles: IProfile[];\r\n profileId?: string;\r\n}\r\n\r\nexport interface ProfilePhraseResponse {\r\n status: SpeakerStatus;\r\n passPhraseType: string;\r\n locale: string;\r\n phrases: string[];\r\n}\r\n\r\nexport interface IProfile {\r\n profileId: string;\r\n profileStatus: string;\r\n enrollmentStatus: string;\r\n enrollmentCount: number;\r\n enrollmentLength: number;\r\n enrollmentSpeechLength: number;\r\n remainingEnrollmentCount: number;\r\n remainingEnrollmentLength: number;\r\n remainingEnrollmentSpeechLength: number;\r\n locale: string;\r\n passPhrase: string;\r\n}\r\n\r\nexport interface EnrollmentStatus {\r\n profileId: string;\r\n enrollmentStatus: string;\r\n enrollmentLength: number;\r\n enrollmentSpeechLength: number;\r\n remainingEnrollmentCount: number;\r\n remainingEnrollmentSpeechLength: number;\r\n audioLength: number;\r\n audioSpeechLength: number;\r\n}\r\n"]}