{"version":3,"sources":["src/common.speech/ServiceMessages/ActivityResponsePayload.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,uBAAwB,YAAW,wBAAwB;IACpE,OAAO,CAAC,oBAAoB,CAA2B;IAEvD,OAAO;WAIO,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,uBAAuB;IAI7D,IAAW,cAAc,IAAI,MAAM,CAElC;IAED,IAAW,qBAAqB,IAAI,MAAM,CAEzC;IAED,IAAW,cAAc,IAAI,MAAM,GAAG,MAAM,CAE3C;IAED,IAAW,OAAO,IAAI,MAAM,CAE3B;CACJ;AAED,oBAAY,qBAAqB;IAC7B,IAAI,IAAI;IACR,iBAAiB,IAAI;CACxB","file":"ActivityResponsePayload.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n// response\n\nexport interface IActivityPayloadResponse {\n    conversationId: string;\n    messageDataStreamType: number;\n    messagePayload: string | object;\n    version: number;\n}\n\nexport class ActivityPayloadResponse implements IActivityPayloadResponse {\n    private privActivityResponse: IActivityPayloadResponse;\n\n    private constructor(json: string) {\n        this.privActivityResponse = JSON.parse(json) as IActivityPayloadResponse;\n    }\n\n    public static fromJSON(json: string): ActivityPayloadResponse {\n        return new ActivityPayloadResponse(json);\n    }\n\n    public get conversationId(): string {\n        return this.privActivityResponse.conversationId;\n    }\n\n    public get messageDataStreamType(): number {\n        return this.privActivityResponse.messageDataStreamType;\n    }\n\n    public get messagePayload(): string | object {\n        return this.privActivityResponse.messagePayload;\n    }\n\n    public get version(): number {\n        return this.privActivityResponse.version;\n    }\n}\n\nexport enum MessageDataStreamType {\n    None = 0,\n    TextToSpeechAudio = 1,\n}\n"]}