{"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":["//\r\n// Copyright (c) Microsoft. All rights reserved.\r\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\r\n//\r\n\r\n/**\r\n * Represents the type of the IntentEntity.\r\n */\r\nexport enum EntityType {\r\n    Unknown = \"Unknown\",\r\n    Open = \"Open\",\r\n    BuiltIn = \"BuiltIn\",\r\n    ClosedList = \"ClosedList\",\r\n    Dynamic = \"Dynamic\"\r\n}\r\n\r\n/**\r\n * Substring match for IntentText.\r\n */\r\nexport enum SubStringMatch {\r\n    None = \"None\",\r\n    LeftRooted = \"LeftRooted\"\r\n}\r\n\r\n/**\r\n * Internal class representing Hints in the DGI v1 Grammar.\r\n */\r\nexport interface Hints {\r\n    /**\r\n     * Gets the EntityType of an IntentEntity.\r\n     * Required when Type=IntentEntity.\r\n     */\r\n    entityType: EntityType;\r\n\r\n    /**\r\n     * Gets the Name of an IntentEntity.\r\n     * Required when Type=IntentEntity.\r\n     */\r\n    entityName?: string;\r\n\r\n    /**\r\n     * Gets the synonyms of the IntentEntity name as comma seperated values.\r\n     * Optional when Type=IntentEntity\r\n     */\r\n    entitySynonyms?: string;\r\n\r\n    /**\r\n     * Gets the Substring match for an IntentEntity\r\n     * Optional only when Type=IntentEntity\r\n     */\r\n    subStringMatch: SubStringMatch;\r\n\r\n    /**\r\n     * Gets the Invocation Name for an IntentText.\r\n     * Optional only when Type=IntentText\r\n     */\r\n    invocationName?: string;\r\n\r\n    /**\r\n     * Gets the ReferenceGrammar id associated with a previously registered intent payload.\r\n     * Optional only when Type=Generic\r\n     */\r\n    referenceGrammar?: string;\r\n\r\n    /**\r\n     * Gets the ReferenceGrammar class name to be linked to above Reference Grammar\r\n     */\r\n    referenceGrammarClassName?: string;\r\n}\r\n"]}