@wildix/wim-knowledge-base-client 0.0.48 → 0.0.49

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.
Files changed (54) hide show
  1. package/dist-cjs/KnowledgeBase.js +16 -8
  2. package/dist-cjs/commands/{QueryKnowledgeBaseCommand.js → GenerateSearchAnswerCommand.js} +7 -7
  3. package/dist-cjs/commands/{SearchHistoryCommand.js → GetDataSourceSyncStatusCommand.js} +7 -7
  4. package/dist-cjs/commands/{GetSyncLogsCommand.js → GetDocumentChunksCommand.js} +7 -7
  5. package/dist-cjs/commands/{GetSyncStatusCommand.js → GetDocumentMarkdownCommand.js} +7 -7
  6. package/dist-cjs/commands/GetDocumentWithContentAndChunksCommand.js +21 -0
  7. package/dist-cjs/commands/ListDataSourceStatisticsCommand.js +21 -0
  8. package/dist-cjs/commands/ListDataSourceSynchronizationLogsCommand.js +21 -0
  9. package/dist-cjs/commands/ListSearchQueriesHistoryCommand.js +21 -0
  10. package/dist-cjs/commands/index.js +8 -4
  11. package/dist-cjs/models/models_0.js +15 -27
  12. package/dist-cjs/protocols/Aws_restJson1.js +228 -140
  13. package/dist-es/KnowledgeBase.js +16 -8
  14. package/dist-es/commands/GenerateSearchAnswerCommand.js +17 -0
  15. package/dist-es/commands/GetDataSourceSyncStatusCommand.js +17 -0
  16. package/dist-es/commands/GetDocumentChunksCommand.js +17 -0
  17. package/dist-es/commands/GetDocumentMarkdownCommand.js +17 -0
  18. package/dist-es/commands/GetDocumentWithContentAndChunksCommand.js +17 -0
  19. package/dist-es/commands/ListDataSourceStatisticsCommand.js +17 -0
  20. package/dist-es/commands/ListDataSourceSynchronizationLogsCommand.js +17 -0
  21. package/dist-es/commands/ListSearchQueriesHistoryCommand.js +17 -0
  22. package/dist-es/commands/index.js +8 -4
  23. package/dist-es/models/models_0.js +14 -26
  24. package/dist-es/protocols/Aws_restJson1.js +203 -123
  25. package/dist-types/KnowledgeBase.d.ts +54 -26
  26. package/dist-types/KnowledgeBaseClient.d.ts +10 -6
  27. package/dist-types/commands/ConfigureDataSourceCommand.d.ts +1 -36
  28. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -22
  29. package/dist-types/commands/GenerateSearchAnswerCommand.d.ts +105 -0
  30. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -21
  31. package/dist-types/commands/GetDataSourceSyncStatusCommand.d.ts +88 -0
  32. package/dist-types/commands/GetDocumentChunksCommand.d.ts +94 -0
  33. package/dist-types/commands/GetDocumentCommand.d.ts +0 -2
  34. package/dist-types/commands/GetDocumentMarkdownCommand.d.ts +86 -0
  35. package/dist-types/commands/GetDocumentWithContentAndChunksCommand.d.ts +113 -0
  36. package/dist-types/commands/ListDataSourceStatisticsCommand.d.ts +86 -0
  37. package/dist-types/commands/ListDataSourceSynchronizationLogsCommand.d.ts +96 -0
  38. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -21
  39. package/dist-types/commands/ListSearchQueriesHistoryCommand.d.ts +97 -0
  40. package/dist-types/commands/SearchKnowledgeBaseCommand.d.ts +7 -9
  41. package/dist-types/commands/StartSyncDataSourceCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -21
  43. package/dist-types/commands/index.d.ts +8 -4
  44. package/dist-types/models/models_0.d.ts +253 -336
  45. package/dist-types/protocols/Aws_restJson1.d.ts +64 -28
  46. package/package.json +1 -1
  47. package/dist-es/commands/GetSyncLogsCommand.js +0 -17
  48. package/dist-es/commands/GetSyncStatusCommand.js +0 -17
  49. package/dist-es/commands/QueryKnowledgeBaseCommand.js +0 -17
  50. package/dist-es/commands/SearchHistoryCommand.js +0 -17
  51. package/dist-types/commands/GetSyncLogsCommand.d.ts +0 -96
  52. package/dist-types/commands/GetSyncStatusCommand.d.ts +0 -94
  53. package/dist-types/commands/QueryKnowledgeBaseCommand.d.ts +0 -103
  54. package/dist-types/commands/SearchHistoryCommand.d.ts +0 -98
@@ -12,18 +12,22 @@ const DeleteDataSourceCommand_1 = require("./commands/DeleteDataSourceCommand");
12
12
  const DeleteDocumentCommand_1 = require("./commands/DeleteDocumentCommand");
13
13
  const DeleteKnowledgeBaseCommand_1 = require("./commands/DeleteKnowledgeBaseCommand");
14
14
  const DescribeDataSourceCommand_1 = require("./commands/DescribeDataSourceCommand");
15
+ const GenerateSearchAnswerCommand_1 = require("./commands/GenerateSearchAnswerCommand");
15
16
  const GetDataSourceCommand_1 = require("./commands/GetDataSourceCommand");
17
+ const GetDataSourceSyncStatusCommand_1 = require("./commands/GetDataSourceSyncStatusCommand");
18
+ const GetDocumentChunksCommand_1 = require("./commands/GetDocumentChunksCommand");
16
19
  const GetDocumentCommand_1 = require("./commands/GetDocumentCommand");
17
20
  const GetDocumentDownloadUrlCommand_1 = require("./commands/GetDocumentDownloadUrlCommand");
21
+ const GetDocumentMarkdownCommand_1 = require("./commands/GetDocumentMarkdownCommand");
18
22
  const GetDocumentUploadUrlCommand_1 = require("./commands/GetDocumentUploadUrlCommand");
23
+ const GetDocumentWithContentAndChunksCommand_1 = require("./commands/GetDocumentWithContentAndChunksCommand");
19
24
  const GetKnowledgeBaseCommand_1 = require("./commands/GetKnowledgeBaseCommand");
20
- const GetSyncLogsCommand_1 = require("./commands/GetSyncLogsCommand");
21
- const GetSyncStatusCommand_1 = require("./commands/GetSyncStatusCommand");
25
+ const ListDataSourceStatisticsCommand_1 = require("./commands/ListDataSourceStatisticsCommand");
26
+ const ListDataSourceSynchronizationLogsCommand_1 = require("./commands/ListDataSourceSynchronizationLogsCommand");
22
27
  const ListDataSourcesCommand_1 = require("./commands/ListDataSourcesCommand");
23
28
  const ListDocumentsCommand_1 = require("./commands/ListDocumentsCommand");
24
29
  const ListKnowledgeBasesCommand_1 = require("./commands/ListKnowledgeBasesCommand");
25
- const QueryKnowledgeBaseCommand_1 = require("./commands/QueryKnowledgeBaseCommand");
26
- const SearchHistoryCommand_1 = require("./commands/SearchHistoryCommand");
30
+ const ListSearchQueriesHistoryCommand_1 = require("./commands/ListSearchQueriesHistoryCommand");
27
31
  const SearchKnowledgeBaseCommand_1 = require("./commands/SearchKnowledgeBaseCommand");
28
32
  const StartSyncDataSourceCommand_1 = require("./commands/StartSyncDataSourceCommand");
29
33
  const StopSyncDataSourceCommand_1 = require("./commands/StopSyncDataSourceCommand");
@@ -42,18 +46,22 @@ const commands = {
42
46
  DeleteDocumentCommand: DeleteDocumentCommand_1.DeleteDocumentCommand,
43
47
  DeleteKnowledgeBaseCommand: DeleteKnowledgeBaseCommand_1.DeleteKnowledgeBaseCommand,
44
48
  DescribeDataSourceCommand: DescribeDataSourceCommand_1.DescribeDataSourceCommand,
49
+ GenerateSearchAnswerCommand: GenerateSearchAnswerCommand_1.GenerateSearchAnswerCommand,
45
50
  GetDataSourceCommand: GetDataSourceCommand_1.GetDataSourceCommand,
51
+ GetDataSourceSyncStatusCommand: GetDataSourceSyncStatusCommand_1.GetDataSourceSyncStatusCommand,
46
52
  GetDocumentCommand: GetDocumentCommand_1.GetDocumentCommand,
53
+ GetDocumentChunksCommand: GetDocumentChunksCommand_1.GetDocumentChunksCommand,
47
54
  GetDocumentDownloadUrlCommand: GetDocumentDownloadUrlCommand_1.GetDocumentDownloadUrlCommand,
55
+ GetDocumentMarkdownCommand: GetDocumentMarkdownCommand_1.GetDocumentMarkdownCommand,
48
56
  GetDocumentUploadUrlCommand: GetDocumentUploadUrlCommand_1.GetDocumentUploadUrlCommand,
57
+ GetDocumentWithContentAndChunksCommand: GetDocumentWithContentAndChunksCommand_1.GetDocumentWithContentAndChunksCommand,
49
58
  GetKnowledgeBaseCommand: GetKnowledgeBaseCommand_1.GetKnowledgeBaseCommand,
50
- GetSyncLogsCommand: GetSyncLogsCommand_1.GetSyncLogsCommand,
51
- GetSyncStatusCommand: GetSyncStatusCommand_1.GetSyncStatusCommand,
52
59
  ListDataSourcesCommand: ListDataSourcesCommand_1.ListDataSourcesCommand,
60
+ ListDataSourceStatisticsCommand: ListDataSourceStatisticsCommand_1.ListDataSourceStatisticsCommand,
61
+ ListDataSourceSynchronizationLogsCommand: ListDataSourceSynchronizationLogsCommand_1.ListDataSourceSynchronizationLogsCommand,
53
62
  ListDocumentsCommand: ListDocumentsCommand_1.ListDocumentsCommand,
54
63
  ListKnowledgeBasesCommand: ListKnowledgeBasesCommand_1.ListKnowledgeBasesCommand,
55
- QueryKnowledgeBaseCommand: QueryKnowledgeBaseCommand_1.QueryKnowledgeBaseCommand,
56
- SearchHistoryCommand: SearchHistoryCommand_1.SearchHistoryCommand,
64
+ ListSearchQueriesHistoryCommand: ListSearchQueriesHistoryCommand_1.ListSearchQueriesHistoryCommand,
57
65
  SearchKnowledgeBaseCommand: SearchKnowledgeBaseCommand_1.SearchKnowledgeBaseCommand,
58
66
  StartSyncDataSourceCommand: StartSyncDataSourceCommand_1.StartSyncDataSourceCommand,
59
67
  StopSyncDataSourceCommand: StopSyncDataSourceCommand_1.StopSyncDataSourceCommand,
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryKnowledgeBaseCommand = exports.$Command = void 0;
3
+ exports.GenerateSearchAnswerCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class QueryKnowledgeBaseCommand extends smithy_client_1.Command.classBuilder()
8
+ class GenerateSearchAnswerCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("KnowledgeBase", "QueryKnowledgeBase", {})
15
- .n("KnowledgeBaseClient", "QueryKnowledgeBaseCommand")
14
+ .s("KnowledgeBase", "GenerateSearchAnswer", {})
15
+ .n("KnowledgeBaseClient", "GenerateSearchAnswerCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_QueryKnowledgeBaseCommand)
18
- .de(Aws_restJson1_1.de_QueryKnowledgeBaseCommand)
17
+ .ser(Aws_restJson1_1.se_GenerateSearchAnswerCommand)
18
+ .de(Aws_restJson1_1.de_GenerateSearchAnswerCommand)
19
19
  .build() {
20
20
  }
21
- exports.QueryKnowledgeBaseCommand = QueryKnowledgeBaseCommand;
21
+ exports.GenerateSearchAnswerCommand = GenerateSearchAnswerCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchHistoryCommand = exports.$Command = void 0;
3
+ exports.GetDataSourceSyncStatusCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class SearchHistoryCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetDataSourceSyncStatusCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("KnowledgeBase", "SearchHistory", {})
15
- .n("KnowledgeBaseClient", "SearchHistoryCommand")
14
+ .s("KnowledgeBase", "GetDataSourceSyncStatus", {})
15
+ .n("KnowledgeBaseClient", "GetDataSourceSyncStatusCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_SearchHistoryCommand)
18
- .de(Aws_restJson1_1.de_SearchHistoryCommand)
17
+ .ser(Aws_restJson1_1.se_GetDataSourceSyncStatusCommand)
18
+ .de(Aws_restJson1_1.de_GetDataSourceSyncStatusCommand)
19
19
  .build() {
20
20
  }
21
- exports.SearchHistoryCommand = SearchHistoryCommand;
21
+ exports.GetDataSourceSyncStatusCommand = GetDataSourceSyncStatusCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSyncLogsCommand = exports.$Command = void 0;
3
+ exports.GetDocumentChunksCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetSyncLogsCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetDocumentChunksCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("KnowledgeBase", "GetSyncLogs", {})
15
- .n("KnowledgeBaseClient", "GetSyncLogsCommand")
14
+ .s("KnowledgeBase", "GetDocumentChunks", {})
15
+ .n("KnowledgeBaseClient", "GetDocumentChunksCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetSyncLogsCommand)
18
- .de(Aws_restJson1_1.de_GetSyncLogsCommand)
17
+ .ser(Aws_restJson1_1.se_GetDocumentChunksCommand)
18
+ .de(Aws_restJson1_1.de_GetDocumentChunksCommand)
19
19
  .build() {
20
20
  }
21
- exports.GetSyncLogsCommand = GetSyncLogsCommand;
21
+ exports.GetDocumentChunksCommand = GetDocumentChunksCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSyncStatusCommand = exports.$Command = void 0;
3
+ exports.GetDocumentMarkdownCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetSyncStatusCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetDocumentMarkdownCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("KnowledgeBase", "GetSyncStatus", {})
15
- .n("KnowledgeBaseClient", "GetSyncStatusCommand")
14
+ .s("KnowledgeBase", "GetDocumentMarkdown", {})
15
+ .n("KnowledgeBaseClient", "GetDocumentMarkdownCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetSyncStatusCommand)
18
- .de(Aws_restJson1_1.de_GetSyncStatusCommand)
17
+ .ser(Aws_restJson1_1.se_GetDocumentMarkdownCommand)
18
+ .de(Aws_restJson1_1.de_GetDocumentMarkdownCommand)
19
19
  .build() {
20
20
  }
21
- exports.GetSyncStatusCommand = GetSyncStatusCommand;
21
+ exports.GetDocumentMarkdownCommand = GetDocumentMarkdownCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDocumentWithContentAndChunksCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetDocumentWithContentAndChunksCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("KnowledgeBase", "GetDocumentWithContentAndChunks", {})
15
+ .n("KnowledgeBaseClient", "GetDocumentWithContentAndChunksCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetDocumentWithContentAndChunksCommand)
18
+ .de(Aws_restJson1_1.de_GetDocumentWithContentAndChunksCommand)
19
+ .build() {
20
+ }
21
+ exports.GetDocumentWithContentAndChunksCommand = GetDocumentWithContentAndChunksCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDataSourceStatisticsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ListDataSourceStatisticsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("KnowledgeBase", "ListDataSourceStatistics", {})
15
+ .n("KnowledgeBaseClient", "ListDataSourceStatisticsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ListDataSourceStatisticsCommand)
18
+ .de(Aws_restJson1_1.de_ListDataSourceStatisticsCommand)
19
+ .build() {
20
+ }
21
+ exports.ListDataSourceStatisticsCommand = ListDataSourceStatisticsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDataSourceSynchronizationLogsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ListDataSourceSynchronizationLogsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("KnowledgeBase", "ListDataSourceSynchronizationLogs", {})
15
+ .n("KnowledgeBaseClient", "ListDataSourceSynchronizationLogsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ListDataSourceSynchronizationLogsCommand)
18
+ .de(Aws_restJson1_1.de_ListDataSourceSynchronizationLogsCommand)
19
+ .build() {
20
+ }
21
+ exports.ListDataSourceSynchronizationLogsCommand = ListDataSourceSynchronizationLogsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSearchQueriesHistoryCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ListSearchQueriesHistoryCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("KnowledgeBase", "ListSearchQueriesHistory", {})
15
+ .n("KnowledgeBaseClient", "ListSearchQueriesHistoryCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ListSearchQueriesHistoryCommand)
18
+ .de(Aws_restJson1_1.de_ListSearchQueriesHistoryCommand)
19
+ .build() {
20
+ }
21
+ exports.ListSearchQueriesHistoryCommand = ListSearchQueriesHistoryCommand;
@@ -11,18 +11,22 @@ tslib_1.__exportStar(require("./DeleteDataSourceCommand"), exports);
11
11
  tslib_1.__exportStar(require("./DeleteDocumentCommand"), exports);
12
12
  tslib_1.__exportStar(require("./DeleteKnowledgeBaseCommand"), exports);
13
13
  tslib_1.__exportStar(require("./DescribeDataSourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./GenerateSearchAnswerCommand"), exports);
14
15
  tslib_1.__exportStar(require("./GetDataSourceCommand"), exports);
16
+ tslib_1.__exportStar(require("./GetDataSourceSyncStatusCommand"), exports);
15
17
  tslib_1.__exportStar(require("./GetDocumentCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetDocumentChunksCommand"), exports);
16
19
  tslib_1.__exportStar(require("./GetDocumentDownloadUrlCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetDocumentMarkdownCommand"), exports);
17
21
  tslib_1.__exportStar(require("./GetDocumentUploadUrlCommand"), exports);
22
+ tslib_1.__exportStar(require("./GetDocumentWithContentAndChunksCommand"), exports);
18
23
  tslib_1.__exportStar(require("./GetKnowledgeBaseCommand"), exports);
19
- tslib_1.__exportStar(require("./GetSyncLogsCommand"), exports);
20
- tslib_1.__exportStar(require("./GetSyncStatusCommand"), exports);
21
24
  tslib_1.__exportStar(require("./ListDataSourcesCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListDataSourceStatisticsCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListDataSourceSynchronizationLogsCommand"), exports);
22
27
  tslib_1.__exportStar(require("./ListDocumentsCommand"), exports);
23
28
  tslib_1.__exportStar(require("./ListKnowledgeBasesCommand"), exports);
24
- tslib_1.__exportStar(require("./QueryKnowledgeBaseCommand"), exports);
25
- tslib_1.__exportStar(require("./SearchHistoryCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListSearchQueriesHistoryCommand"), exports);
26
30
  tslib_1.__exportStar(require("./SearchKnowledgeBaseCommand"), exports);
27
31
  tslib_1.__exportStar(require("./StartSyncDataSourceCommand"), exports);
28
32
  tslib_1.__exportStar(require("./StopSyncDataSourceCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchHistoryMode = exports.SearchStrategy = exports.SyncLogLevel = exports.DownloadDocumentType = exports.DocumentStatus = exports.DataSourceType = exports.SyncDataSourceStatus = exports.SyncDataSourceMode = exports.ScheduleConfiguration = exports.DataSourceConfig = exports.ProxyMethod = exports.KnowledgeBaseNotFoundException = exports.DocumentNotFoundException = exports.DataSourceNotFoundException = exports.UnauthorizedException = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.SearchThresholdValue = exports.SyncLogLevel = exports.SyncDataSourceStatus = exports.SyncDataSourceMode = exports.DownloadDocumentType = exports.DocumentStatus = exports.DataSourceType = exports.ScheduleConfiguration = exports.DataSourceConfig = exports.KnowledgeBaseNotFoundException = exports.DocumentNotFoundException = exports.DataSourceNotFoundException = exports.UnauthorizedException = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const KnowledgeBaseServiceException_1 = require("./KnowledgeBaseServiceException");
5
5
  class ValidationException extends KnowledgeBaseServiceException_1.KnowledgeBaseServiceException {
6
6
  name = "ValidationException";
@@ -80,10 +80,6 @@ class KnowledgeBaseNotFoundException extends KnowledgeBaseServiceException_1.Kno
80
80
  }
81
81
  }
82
82
  exports.KnowledgeBaseNotFoundException = KnowledgeBaseNotFoundException;
83
- exports.ProxyMethod = {
84
- GET: "GET",
85
- POST: "POST",
86
- };
87
83
  var DataSourceConfig;
88
84
  (function (DataSourceConfig) {
89
85
  DataSourceConfig.visit = (value, visitor) => {
@@ -93,8 +89,6 @@ var DataSourceConfig;
93
89
  return visitor.gdrive(value.gdrive);
94
90
  if (value.files !== undefined)
95
91
  return visitor.files(value.files);
96
- if (value.proxy !== undefined)
97
- return visitor.proxy(value.proxy);
98
92
  return visitor._(value.$unknown[0], value.$unknown[1]);
99
93
  };
100
94
  })(DataSourceConfig || (exports.DataSourceConfig = DataSourceConfig = {}));
@@ -105,22 +99,10 @@ exports.ScheduleConfiguration = {
105
99
  EVERY_TWELVE_HOURS: "EVERY_TWELVE_HOURS",
106
100
  EVERY_WEEK: "EVERY_WEEK",
107
101
  };
108
- exports.SyncDataSourceMode = {
109
- FULL: "full",
110
- INCREMENTAL: "incremental",
111
- UNKNOWN: "unknown",
112
- };
113
- exports.SyncDataSourceStatus = {
114
- FAILED: "failed",
115
- IDLE: "idle",
116
- RUNNING: "running",
117
- SUCCESS: "success",
118
- };
119
102
  exports.DataSourceType = {
120
103
  CONFLUENCE: "confluence",
121
104
  FILES: "files",
122
105
  GDRIVE: "gdrive",
123
- PROXY: "proxy",
124
106
  };
125
107
  exports.DocumentStatus = {
126
108
  COMPLETED: "completed",
@@ -133,18 +115,24 @@ exports.DownloadDocumentType = {
133
115
  MARKDOWN: "markdown",
134
116
  ORIGINAL: "original",
135
117
  };
118
+ exports.SyncDataSourceMode = {
119
+ FULL: "full",
120
+ INCREMENTAL: "incremental",
121
+ };
122
+ exports.SyncDataSourceStatus = {
123
+ FAILED: "failed",
124
+ IDLE: "idle",
125
+ RUNNING: "running",
126
+ SUCCESS: "success",
127
+ };
136
128
  exports.SyncLogLevel = {
137
129
  DEBUG: "debug",
138
130
  ERROR: "error",
139
131
  INFO: "info",
140
132
  WARN: "warn",
141
133
  };
142
- exports.SearchStrategy = {
143
- BM25: "bm25",
144
- HYBRID: "hybrid",
145
- VECTOR: "vector",
146
- };
147
- exports.SearchHistoryMode = {
148
- AI_ANSWER: "ai_answer",
149
- SEARCH: "search",
134
+ exports.SearchThresholdValue = {
135
+ HIGH: "high",
136
+ LOW: "low",
137
+ MEDIUM: "medium",
150
138
  };