stentor-models 1.51.2 → 1.52.3

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.
package/lib/App/App.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /*! Copyright (c) 2019, XAPPmedia */
2
2
  import { ChannelData } from "../Channel";
3
3
  import { ImageSpecification } from "../Display";
4
+ import { KnowledgebaseData } from "../Knowledgebase";
4
5
  import { Locale, Localizable } from "../Locale";
5
6
  import { Location } from "../Location";
6
7
  import { NLUData } from "../NLU";
@@ -180,6 +181,8 @@ export interface App extends Localizable<LocaleSpecificApp> {
180
181
  /**
181
182
  * Channels for the app.
182
183
  *
184
+ * Channels may have their own NLU and or Knowledgebase
185
+ *
183
186
  * Upgrade from platformData as it allows to publish the same
184
187
  * assistant app multiple times to the same channel.
185
188
  *
@@ -190,6 +193,12 @@ export interface App extends Localizable<LocaleSpecificApp> {
190
193
  *
191
194
  */
192
195
  nlu?: NLUData[];
196
+ /**
197
+ * Knowledgebase available to the assistant application.
198
+ *
199
+ * @alpha This feature is currently under development
200
+ */
201
+ knowledgebase?: KnowledgebaseData[];
193
202
  /**
194
203
  * Data streams for the app.
195
204
  *
@@ -0,0 +1,11 @@
1
+ /*! Copyright (c) 2022, XAPPmedia */
2
+ export interface KnowledgebaseData {
3
+ /**
4
+ * Unique ID of the knowledgebase
5
+ */
6
+ id: string;
7
+ /**
8
+ * The type of knowledgebase
9
+ */
10
+ type: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /*! Copyright (c) 2022, XAPPmedia */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=KnowledgebaseData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KnowledgebaseData.js","sourceRoot":"","sources":["../../src/Knowledgebase/KnowledgebaseData.ts"],"names":[],"mappings":";AAAA,oCAAoC"}
@@ -0,0 +1,2 @@
1
+ /*! Copyright (c) 2022, XAPPmedia */
2
+ export * from "./KnowledgebaseData";
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ /*! Copyright (c) 2022, XAPPmedia */
14
+ __exportStar(require("./KnowledgebaseData"), exports);
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Knowledgebase/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAoC;AACpC,sDAAoC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.51.2",
7
+ "version": "1.52.3",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -20,7 +20,7 @@
20
20
  "@microsoft/api-extractor": "7.19.4",
21
21
  "@rollup/plugin-typescript": "8.3.0",
22
22
  "@xapp/config": "0.2.3",
23
- "rollup": "2.66.0",
23
+ "rollup": "2.67.0",
24
24
  "tslib": "2.3.1",
25
25
  "typescript": "4.5.5"
26
26
  },
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "1.39.67"
35
35
  },
36
- "gitHead": "80b9ce22147ec76f6cc1e5a4c82174073b3a1652"
36
+ "gitHead": "fe191024091458429583886143267f83914e988a"
37
37
  }