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ACrB,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.\n// Licensed under the MIT license.\n/* eslint-disable max-classes-per-file */\n\nexport interface SpeakerResponse {\n scenario: string;\n status: SpeakerStatus;\n verificationResult?: VerificationResult;\n identificationResult?: IdentificationResult;\n}\n\nexport interface SpeakerStatus {\n statusCode: string;\n reason: string;\n}\n\nexport interface VerificationResult {\n recognitionResult: string;\n profileId: string;\n score: number;\n}\n\nexport interface IdentificationResult {\n identifiedProfile: ProfileScore;\n profilesRanking: ProfileScore[];\n}\n\nexport interface ProfileScore {\n profileId: string;\n score: number;\n}\n\nexport interface EnrollmentResponse {\n scenario: string;\n status: SpeakerStatus;\n enrollment: EnrollmentStatus;\n profiles: IProfile[];\n}\n\nexport interface ProfileResponse {\n scenario: string;\n operation: string;\n status: SpeakerStatus;\n profiles: IProfile[];\n profileId?: string;\n}\n\nexport interface ProfilePhraseResponse {\n status: SpeakerStatus;\n passPhraseType: string;\n locale: string;\n phrases: string[];\n}\n\nexport interface IProfile {\n profileId: string;\n profileStatus: string;\n enrollmentStatus: string;\n enrollmentCount: number;\n enrollmentLength: number;\n enrollmentSpeechLength: number;\n remainingEnrollmentCount: number;\n remainingEnrollmentLength: number;\n remainingEnrollmentSpeechLength: number;\n locale: string;\n passPhrase: string;\n}\n\nexport interface EnrollmentStatus {\n profileId: string;\n enrollmentStatus: string;\n enrollmentLength: number;\n enrollmentSpeechLength: number;\n remainingEnrollmentCount: number;\n remainingEnrollmentSpeechLength: number;\n audioLength: number;\n audioSpeechLength: number;\n}\n"]}