{"version":3,"sources":["src/common.speech/ServiceMessages/Dgi/Group.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;GAEG;AACH,oBAAY,SAAS;IACjB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,aAAa,kBAAkB;CAClC;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC1B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IAEpC;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB","file":"Group.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\nimport { Hints } from \"./Hints\";\r\nimport { Item } from \"./Item\";\r\n\r\n/**\r\n * Represents the type of the Intent.\r\n */\r\nexport enum GroupType {\r\n    IntentText = \"IntentText\",\r\n    IntentEntity = \"IntentEntity\",\r\n    Generic = \"Generic\",\r\n    People = \"People\",\r\n    Place = \"Place\",\r\n    DynamicEntity = \"DynamicEntity\"\r\n}\r\n\r\n/**\r\n * Represents the type of the substring match.\r\n */\r\nexport enum SubstringMatchType {\r\n    None = \"None\",\r\n    LeftRooted = \"LeftRooted\",\r\n    PartialName = \"PartialName\",\r\n    MiddleOfSentence = \"MiddleOfSentence\"\r\n}\r\n\r\n/**\r\n * Internal class representing a Group in the DGI v1 grammar.\r\n */\r\nexport interface Group {\r\n    /**\r\n     * The Type of the Group in the grammar.\r\n     */\r\n    type: GroupType;\r\n\r\n    /**\r\n     * Gets the Hints in the Grammar.\r\n     * Required when Type=IntentEntity\r\n     */\r\n    hints?: Hints;\r\n\r\n    /**\r\n     * Gets the Grammar name.\r\n     */\r\n    name?: string;\r\n\r\n    /**\r\n     * Gets the substring match.\r\n     */\r\n    substringMatch?: SubstringMatchType;\r\n\r\n    /**\r\n     * Gets the Items in the Grammar.\r\n     * Required when Type=IntentText, Optional when Type=IntentEntity but need to remove unused Open IntentEntity\r\n     */\r\n    items?: Item[];\r\n}\r\n"]}