@wildix/wim-knowledge-base-client 0.1.0 → 0.1.1

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.
@@ -1343,13 +1343,13 @@ const de_SearchHistoryList = (output, context) => {
1343
1343
  };
1344
1344
  const de_SearchHistoryRequest = (output, context) => {
1345
1345
  return (0, smithy_client_1.take)(output, {
1346
- 'externalSessionId': smithy_client_1.expectString,
1347
1346
  'knowledgeBaseId': smithy_client_1.expectString,
1348
1347
  'query': smithy_client_1.expectString,
1349
1348
  'searchLimit': smithy_client_1.expectInt32,
1350
1349
  'searchStrategy': smithy_client_1.expectString,
1351
1350
  'searchThreshold': smithy_client_1.limitedParseDouble,
1352
- 'user': smithy_client_1.expectString,
1351
+ 'sessionUri': smithy_client_1.expectString,
1352
+ 'sessionUser': smithy_client_1.expectString,
1353
1353
  });
1354
1354
  };
1355
1355
  const de_SearchHistoryResultItem = (output, context) => {
@@ -1273,13 +1273,13 @@ const de_SearchHistoryList = (output, context) => {
1273
1273
  };
1274
1274
  const de_SearchHistoryRequest = (output, context) => {
1275
1275
  return take(output, {
1276
- 'externalSessionId': __expectString,
1277
1276
  'knowledgeBaseId': __expectString,
1278
1277
  'query': __expectString,
1279
1278
  'searchLimit': __expectInt32,
1280
1279
  'searchStrategy': __expectString,
1281
1280
  'searchThreshold': __limitedParseDouble,
1282
- 'user': __expectString,
1281
+ 'sessionUri': __expectString,
1282
+ 'sessionUser': __expectString,
1283
1283
  });
1284
1284
  };
1285
1285
  const de_SearchHistoryResultItem = (output, context) => {
@@ -43,8 +43,8 @@ declare const ListSearchQueriesHistoryCommand_base: {
43
43
  * knowledgeBaseId: "STRING_VALUE",
44
44
  * dataSourceId: "STRING_VALUE",
45
45
  * sessionId: "STRING_VALUE",
46
- * externalSessionId: "STRING_VALUE",
47
- * searchUser: "STRING_VALUE",
46
+ * sessionUri: "STRING_VALUE",
47
+ * sessionUser: "STRING_VALUE",
48
48
  * withEmptyResults: true || false,
49
49
  * },
50
50
  * search: "STRING_VALUE",
@@ -59,8 +59,8 @@ declare const ListSearchQueriesHistoryCommand_base: {
59
59
  * // companyId: "STRING_VALUE", // required
60
60
  * // request: { // SearchHistoryRequest
61
61
  * // query: "STRING_VALUE", // required
62
- * // user: "STRING_VALUE", // required
63
- * // externalSessionId: "STRING_VALUE", // required
62
+ * // sessionUser: "STRING_VALUE", // required
63
+ * // sessionUri: "STRING_VALUE", // required
64
64
  * // knowledgeBaseId: "STRING_VALUE", // required
65
65
  * // searchStrategy: "bm25" || "vector" || "hybrid", // required
66
66
  * // searchLimit: Number("int"), // required
@@ -1573,15 +1573,15 @@ export interface SearchHistoryFilter {
1573
1573
  */
1574
1574
  sessionId?: string | undefined;
1575
1575
  /**
1576
- * Filter history by the external session ID from the client.
1576
+ * Filter history by the session URI. Used for tracking and analytics purposes. Example: chatbots://\{agentId\}/id-of-chat-session/id-of-message
1577
1577
  * @public
1578
1578
  */
1579
- externalSessionId?: string | undefined;
1579
+ sessionUri?: string | undefined;
1580
1580
  /**
1581
1581
  * Filter history by the user who performs the search in the knowledge base. Example: user@example.com
1582
1582
  * @public
1583
1583
  */
1584
- searchUser?: string | undefined;
1584
+ sessionUser?: string | undefined;
1585
1585
  /**
1586
1586
  * Whether to include the history results with empty results.
1587
1587
  * @public
@@ -1638,8 +1638,8 @@ export type SearchStrategy = typeof SearchStrategy[keyof typeof SearchStrategy];
1638
1638
  */
1639
1639
  export interface SearchHistoryRequest {
1640
1640
  query: string;
1641
- user: string;
1642
- externalSessionId: string;
1641
+ sessionUser: string;
1642
+ sessionUri: string;
1643
1643
  /**
1644
1644
  * Unique identifier of the knowledge base
1645
1645
  * @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.1.0",
4
+ "version": "0.1.1",
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",