@wildix/wim-knowledge-base-client 0.0.66 → 0.1.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.
@@ -521,12 +521,12 @@ const se_SearchKnowledgeBaseCommand = async (input, context) => {
521
521
  });
522
522
  let body;
523
523
  body = JSON.stringify((0, smithy_client_1.take)(input, {
524
- 'externalSessionId': [],
525
524
  'query': [],
526
525
  'searchLimit': [],
527
526
  'searchStrategy': [],
528
527
  'searchThreshold': [],
529
- 'searchUser': [],
528
+ 'sessionUri': [],
529
+ 'sessionUser': [],
530
530
  'useQueryOptimization': [],
531
531
  }));
532
532
  b.m("POST")
@@ -490,12 +490,12 @@ export const se_SearchKnowledgeBaseCommand = async (input, context) => {
490
490
  });
491
491
  let body;
492
492
  body = JSON.stringify(take(input, {
493
- 'externalSessionId': [],
494
493
  'query': [],
495
494
  'searchLimit': [],
496
495
  'searchStrategy': [],
497
496
  'searchThreshold': [],
498
- 'searchUser': [],
497
+ 'sessionUri': [],
498
+ 'sessionUser': [],
499
499
  'useQueryOptimization': [],
500
500
  }));
501
501
  b.m("POST")
@@ -42,8 +42,8 @@ declare const SearchKnowledgeBaseCommand_base: {
42
42
  * searchLimit: Number("int"),
43
43
  * searchThreshold: "low" || "medium" || "high",
44
44
  * useQueryOptimization: true || false,
45
- * searchUser: "STRING_VALUE",
46
- * externalSessionId: "STRING_VALUE",
45
+ * sessionUser: "STRING_VALUE",
46
+ * sessionUri: "STRING_VALUE",
47
47
  * };
48
48
  * const command = new SearchKnowledgeBaseCommand(input);
49
49
  * const response = await client.send(command);
@@ -1822,15 +1822,15 @@ export interface SearchKnowledgeBaseInput {
1822
1822
  */
1823
1823
  useQueryOptimization?: boolean | undefined;
1824
1824
  /**
1825
- * The user who performs the search in the knowledge base. Example: user@example.com
1825
+ * The user who performs the search in the knowledge base. Example: user@example.com or Jon Doe
1826
1826
  * @public
1827
1827
  */
1828
- searchUser?: string | undefined;
1828
+ sessionUser?: string | undefined;
1829
1829
  /**
1830
- * The external session ID. Used for tracking and analytics purposes. Example: 123e4567-e89b-12d3-a456-426614174000
1830
+ * The session URI. Used for tracking and analytics purposes. Example: chatbots://\{agentId\}/id-of-chat-session/id-of-message
1831
1831
  * @public
1832
1832
  */
1833
- externalSessionId?: string | undefined;
1833
+ sessionUri?: string | undefined;
1834
1834
  }
1835
1835
  /**
1836
1836
  * @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.66",
4
+ "version": "0.1.0",
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",