@wildix/wim-knowledge-base-client 0.0.59 → 0.0.60

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.
@@ -480,6 +480,7 @@ const se_ListSearchQueriesHistoryCommand = async (input, context) => {
480
480
  body = JSON.stringify((0, smithy_client_1.take)(input, {
481
481
  'filter': _ => (0, smithy_client_1._json)(_),
482
482
  'search': [],
483
+ 'withContent': [],
483
484
  }));
484
485
  b.m("POST")
485
486
  .h(headers)
@@ -1317,6 +1318,7 @@ const de_SearchHistoryRequest = (output, context) => {
1317
1318
  const de_SearchHistoryResultItem = (output, context) => {
1318
1319
  return (0, smithy_client_1.take)(output, {
1319
1320
  'chunkId': smithy_client_1.expectString,
1321
+ 'content': smithy_client_1.expectString,
1320
1322
  'dataSourceId': smithy_client_1.expectString,
1321
1323
  'dataSourceType': smithy_client_1.expectString,
1322
1324
  'documentHierarchy': smithy_client_1._json,
@@ -451,6 +451,7 @@ export const se_ListSearchQueriesHistoryCommand = async (input, context) => {
451
451
  body = JSON.stringify(take(input, {
452
452
  'filter': _ => _json(_),
453
453
  'search': [],
454
+ 'withContent': [],
454
455
  }));
455
456
  b.m("POST")
456
457
  .h(headers)
@@ -1249,6 +1250,7 @@ const de_SearchHistoryRequest = (output, context) => {
1249
1250
  const de_SearchHistoryResultItem = (output, context) => {
1250
1251
  return take(output, {
1251
1252
  'chunkId': __expectString,
1253
+ 'content': __expectString,
1252
1254
  'dataSourceId': __expectString,
1253
1255
  'dataSourceType': __expectString,
1254
1256
  'documentHierarchy': _json,
@@ -47,6 +47,7 @@ declare const ListSearchQueriesHistoryCommand_base: {
47
47
  * searchUser: "STRING_VALUE",
48
48
  * },
49
49
  * search: "STRING_VALUE",
50
+ * withContent: true || false,
50
51
  * };
51
52
  * const command = new ListSearchQueriesHistoryCommand(input);
52
53
  * const response = await client.send(command);
@@ -112,6 +113,7 @@ declare const ListSearchQueriesHistoryCommand_base: {
112
113
  * // documentHierarchy: [ // StringList
113
114
  * // "STRING_VALUE",
114
115
  * // ],
116
+ * // content: "STRING_VALUE",
115
117
  * // },
116
118
  * // ],
117
119
  * // createdAt: "STRING_VALUE", // required
@@ -1486,6 +1486,11 @@ export interface ListSearchQueriesHistoryInput {
1486
1486
  * @public
1487
1487
  */
1488
1488
  search?: string | undefined;
1489
+ /**
1490
+ * Whether to include the content of the chunks in the history results.
1491
+ * @public
1492
+ */
1493
+ withContent?: boolean | undefined;
1489
1494
  }
1490
1495
  /**
1491
1496
  * @public
@@ -1558,6 +1563,7 @@ export interface SearchHistoryResultItem {
1558
1563
  * @public
1559
1564
  */
1560
1565
  documentHierarchy?: (string)[] | undefined;
1566
+ content?: string | undefined;
1561
1567
  }
1562
1568
  /**
1563
1569
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-knowledge-base-client",
3
3
  "description": "@wildix/wim-knowledge-base-client client",
4
- "version": "0.0.59",
4
+ "version": "0.0.60",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",