@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.25 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/AgentConfig.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,qBAAa,WAAW;IACpB,OAAO,CAAC,WAAW,CAAe;IAE3B,YAAY,IAAI,MAAM;IAItB,GAAG,IAAI,YAAY;IAI1B;;;OAGG;IACI,GAAG,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;CAGxC;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAA;KACzB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;CACnB","file":"AgentConfig.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n/**\n * Represents the JSON used in the agent.config message sent to the speech service.\n */\nexport class AgentConfig {\n private iPrivConfig: IAgentConfig;\n\n public toJsonString(): string {\n return JSON.stringify(this.iPrivConfig);\n }\n\n public get(): IAgentConfig {\n return this.iPrivConfig;\n }\n\n /**\n * Setter for the agent.config object.\n * @param value a JSON serializable object.\n */\n public set(value: IAgentConfig): void {\n this.iPrivConfig = value;\n }\n}\n\nexport interface IAgentConfig {\n botInfo: {\n commType: string,\n connectionId: string,\n conversationId: string\n };\n version: number;\n}\n"]}