{"version":3,"sources":["src/common.speech/ServiceMessages/Dgi/Hints.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,UAAU;IAClB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,OAAO,YAAY;CACtB;AAED;;GAEG;AACH,oBAAY,cAAc;IACtB,IAAI,SAAS;IACb,UAAU,eAAe;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB;;;OAGG;IACH,UAAU,EAAE,UAAU,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,cAAc,EAAE,cAAc,CAAC;IAE/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC","file":"Hints.d.ts","sourcesContent":["//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\n\n/**\n * Represents the type of the IntentEntity.\n */\nexport enum EntityType {\n    Unknown = \"Unknown\",\n    Open = \"Open\",\n    BuiltIn = \"BuiltIn\",\n    ClosedList = \"ClosedList\",\n    Dynamic = \"Dynamic\"\n}\n\n/**\n * Substring match for IntentText.\n */\nexport enum SubStringMatch {\n    None = \"None\",\n    LeftRooted = \"LeftRooted\"\n}\n\n/**\n * Internal class representing Hints in the DGI v1 Grammar.\n */\nexport interface Hints {\n    /**\n     * Gets the EntityType of an IntentEntity.\n     * Required when Type=IntentEntity.\n     */\n    entityType: EntityType;\n\n    /**\n     * Gets the Name of an IntentEntity.\n     * Required when Type=IntentEntity.\n     */\n    entityName?: string;\n\n    /**\n     * Gets the synonyms of the IntentEntity name as comma seperated values.\n     * Optional when Type=IntentEntity\n     */\n    entitySynonyms?: string;\n\n    /**\n     * Gets the Substring match for an IntentEntity\n     * Optional only when Type=IntentEntity\n     */\n    subStringMatch: SubStringMatch;\n\n    /**\n     * Gets the Invocation Name for an IntentText.\n     * Optional only when Type=IntentText\n     */\n    invocationName?: string;\n\n    /**\n     * Gets the ReferenceGrammar id associated with a previously registered intent payload.\n     * Optional only when Type=Generic\n     */\n    referenceGrammar?: string;\n\n    /**\n     * Gets the ReferenceGrammar class name to be linked to above Reference Grammar\n     */\n    referenceGrammarClassName?: string;\n}\n"]}