stentor-models 1.58.108 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,19 @@
1
1
  /*! Copyright (c) 2019, XAPPmedia */
2
+ import { SuggestionTypes } from "../Suggestion";
2
3
  import { InputUnknownStrategyGlobal, InputUnknownStrategyGoogle, InputUnknownStrategyReprompt } from "./Types";
3
4
  /**
4
5
  * Base data object for all the handlers
5
6
  */
6
7
  export interface Data {
8
+ /**
9
+ * Fields for modifying all responses
10
+ */
11
+ chat?: {
12
+ /**
13
+ * Chips to use when generating the default responses. They will be added to all responses.
14
+ */
15
+ suggestionChips?: SuggestionTypes[];
16
+ };
7
17
  /**
8
18
  * Strategy to use when the handler receives an InputUnknown request.
9
19
  *
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.58.108",
7
+ "version": "1.59.0",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -31,7 +31,7 @@
31
31
  "clean": "rm -rf ./lib/* && rm -rf ./dist/*"
32
32
  },
33
33
  "dependencies": {
34
- "@xapp/patterns": "2.0.1"
34
+ "@xapp/patterns": "2.0.2"
35
35
  },
36
- "gitHead": "e40636881924b0610294ef007b35f07682df9d5f"
36
+ "gitHead": "b79c603afb45ff7753198dd4399e6da5359f424d"
37
37
  }