{"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,GAAG,CAAC;IACpB,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;aAIlD,cAAc,EAAI,MAAM;aAIxB,qBAAqB,EAAI,MAAM;aAI/B,cAAc,EAAI,GAAG;aAIrB,OAAO,EAAI,MAAM;CAG/B;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: any;\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);\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(): any {\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"]}