{"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":["//\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\nimport { Hints } from \"./Hints\";\nimport { Item } from \"./Item\";\n\n/**\n * Represents the type of the Intent.\n */\nexport enum GroupType {\n    IntentText = \"IntentText\",\n    IntentEntity = \"IntentEntity\",\n    Generic = \"Generic\",\n    People = \"People\",\n    Place = \"Place\",\n    DynamicEntity = \"DynamicEntity\"\n}\n\n/**\n * Represents the type of the substring match.\n */\nexport enum SubstringMatchType {\n    None = \"None\",\n    LeftRooted = \"LeftRooted\",\n    PartialName = \"PartialName\",\n    MiddleOfSentence = \"MiddleOfSentence\"\n}\n\n/**\n * Internal class representing a Group in the DGI v1 grammar.\n */\nexport interface Group {\n    /**\n     * The Type of the Group in the grammar.\n     */\n    type: GroupType;\n\n    /**\n     * Gets the Hints in the Grammar.\n     * Required when Type=IntentEntity\n     */\n    hints?: Hints;\n\n    /**\n     * Gets the Grammar name.\n     */\n    name?: string;\n\n    /**\n     * Gets the substring match.\n     */\n    substringMatch?: SubstringMatchType;\n\n    /**\n     * Gets the Items in the Grammar.\n     * Required when Type=IntentText, Optional when Type=IntentEntity but need to remove unused Open IntentEntity\n     */\n    items?: Item[];\n}\n"]}