@wildix/wim-knowledge-base-client 0.0.7

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 (112) hide show
  1. package/dist-cjs/KnowledgeBase.js +57 -0
  2. package/dist-cjs/KnowledgeBaseClient.js +41 -0
  3. package/dist-cjs/commands/CreateDataSourceCommand.js +21 -0
  4. package/dist-cjs/commands/CreateDocumentCommand.js +21 -0
  5. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +21 -0
  6. package/dist-cjs/commands/DeleteDataSourceCommand.js +21 -0
  7. package/dist-cjs/commands/DeleteDocumentCommand.js +21 -0
  8. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +21 -0
  9. package/dist-cjs/commands/GetAuthorizationSessionForDataSourceCommand.js +21 -0
  10. package/dist-cjs/commands/GetDataSourceCommand.js +21 -0
  11. package/dist-cjs/commands/GetDocumentCommand.js +21 -0
  12. package/dist-cjs/commands/GetDocumentPresignedDownloadUrlCommand.js +21 -0
  13. package/dist-cjs/commands/GetDocumentPresignedUploadUrlCommand.js +21 -0
  14. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +21 -0
  15. package/dist-cjs/commands/GetSyncLogsCommand.js +21 -0
  16. package/dist-cjs/commands/GetSyncStatusCommand.js +21 -0
  17. package/dist-cjs/commands/ListDataSourcesCommand.js +21 -0
  18. package/dist-cjs/commands/ListDocumentsCommand.js +21 -0
  19. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +21 -0
  20. package/dist-cjs/commands/QueryKnowledgeBaseCommand.js +21 -0
  21. package/dist-cjs/commands/SearchKnowledgeBaseCommand.js +21 -0
  22. package/dist-cjs/commands/SyncDataSourceCommand.js +21 -0
  23. package/dist-cjs/commands/UpdateDataSourceCommand.js +21 -0
  24. package/dist-cjs/commands/UpdateDocumentCommand.js +21 -0
  25. package/dist-cjs/commands/UpdateKnowledgeBaseCommand.js +21 -0
  26. package/dist-cjs/commands/index.js +26 -0
  27. package/dist-cjs/extensionConfiguration.js +2 -0
  28. package/dist-cjs/index.js +10 -0
  29. package/dist-cjs/models/KnowledgeBaseServiceException.js +12 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +132 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +936 -0
  33. package/dist-cjs/runtimeConfig.browser.js +32 -0
  34. package/dist-cjs/runtimeConfig.js +37 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +21 -0
  37. package/dist-cjs/runtimeExtensions.js +11 -0
  38. package/dist-es/KnowledgeBase.js +53 -0
  39. package/dist-es/KnowledgeBaseClient.js +37 -0
  40. package/dist-es/commands/CreateDataSourceCommand.js +17 -0
  41. package/dist-es/commands/CreateDocumentCommand.js +17 -0
  42. package/dist-es/commands/CreateKnowledgeBaseCommand.js +17 -0
  43. package/dist-es/commands/DeleteDataSourceCommand.js +17 -0
  44. package/dist-es/commands/DeleteDocumentCommand.js +17 -0
  45. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +17 -0
  46. package/dist-es/commands/GetAuthorizationSessionForDataSourceCommand.js +17 -0
  47. package/dist-es/commands/GetDataSourceCommand.js +17 -0
  48. package/dist-es/commands/GetDocumentCommand.js +17 -0
  49. package/dist-es/commands/GetDocumentPresignedDownloadUrlCommand.js +17 -0
  50. package/dist-es/commands/GetDocumentPresignedUploadUrlCommand.js +17 -0
  51. package/dist-es/commands/GetKnowledgeBaseCommand.js +17 -0
  52. package/dist-es/commands/GetSyncLogsCommand.js +17 -0
  53. package/dist-es/commands/GetSyncStatusCommand.js +17 -0
  54. package/dist-es/commands/ListDataSourcesCommand.js +17 -0
  55. package/dist-es/commands/ListDocumentsCommand.js +17 -0
  56. package/dist-es/commands/ListKnowledgeBasesCommand.js +17 -0
  57. package/dist-es/commands/QueryKnowledgeBaseCommand.js +17 -0
  58. package/dist-es/commands/SearchKnowledgeBaseCommand.js +17 -0
  59. package/dist-es/commands/SyncDataSourceCommand.js +17 -0
  60. package/dist-es/commands/UpdateDataSourceCommand.js +17 -0
  61. package/dist-es/commands/UpdateDocumentCommand.js +17 -0
  62. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +17 -0
  63. package/dist-es/commands/index.js +23 -0
  64. package/dist-es/extensionConfiguration.js +1 -0
  65. package/dist-es/index.js +5 -0
  66. package/dist-es/models/KnowledgeBaseServiceException.js +8 -0
  67. package/dist-es/models/index.js +1 -0
  68. package/dist-es/models/models_0.js +123 -0
  69. package/dist-es/protocols/Aws_restJson1.js +887 -0
  70. package/dist-es/runtimeConfig.browser.js +27 -0
  71. package/dist-es/runtimeConfig.js +32 -0
  72. package/dist-es/runtimeConfig.native.js +11 -0
  73. package/dist-es/runtimeConfig.shared.js +17 -0
  74. package/dist-es/runtimeExtensions.js +7 -0
  75. package/dist-types/KnowledgeBase.d.ts +172 -0
  76. package/dist-types/KnowledgeBaseClient.d.ts +166 -0
  77. package/dist-types/commands/CreateDataSourceCommand.d.ts +167 -0
  78. package/dist-types/commands/CreateDocumentCommand.d.ts +107 -0
  79. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +99 -0
  80. package/dist-types/commands/DeleteDataSourceCommand.d.ts +83 -0
  81. package/dist-types/commands/DeleteDocumentCommand.d.ts +84 -0
  82. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +83 -0
  83. package/dist-types/commands/GetAuthorizationSessionForDataSourceCommand.d.ts +85 -0
  84. package/dist-types/commands/GetDataSourceCommand.d.ts +131 -0
  85. package/dist-types/commands/GetDocumentCommand.d.ts +102 -0
  86. package/dist-types/commands/GetDocumentPresignedDownloadUrlCommand.d.ts +87 -0
  87. package/dist-types/commands/GetDocumentPresignedUploadUrlCommand.d.ts +86 -0
  88. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +95 -0
  89. package/dist-types/commands/GetSyncLogsCommand.d.ts +91 -0
  90. package/dist-types/commands/GetSyncStatusCommand.d.ts +87 -0
  91. package/dist-types/commands/ListDataSourcesCommand.d.ts +132 -0
  92. package/dist-types/commands/ListDocumentsCommand.d.ts +103 -0
  93. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +96 -0
  94. package/dist-types/commands/QueryKnowledgeBaseCommand.d.ts +98 -0
  95. package/dist-types/commands/SearchKnowledgeBaseCommand.d.ts +99 -0
  96. package/dist-types/commands/SyncDataSourceCommand.d.ts +84 -0
  97. package/dist-types/commands/UpdateDataSourceCommand.d.ts +168 -0
  98. package/dist-types/commands/UpdateDocumentCommand.d.ts +108 -0
  99. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +100 -0
  100. package/dist-types/commands/index.d.ts +23 -0
  101. package/dist-types/extensionConfiguration.d.ts +7 -0
  102. package/dist-types/index.d.ts +7 -0
  103. package/dist-types/models/KnowledgeBaseServiceException.d.ts +14 -0
  104. package/dist-types/models/index.d.ts +1 -0
  105. package/dist-types/models/models_0.d.ts +981 -0
  106. package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
  107. package/dist-types/runtimeConfig.browser.d.ts +31 -0
  108. package/dist-types/runtimeConfig.d.ts +31 -0
  109. package/dist-types/runtimeConfig.native.d.ts +30 -0
  110. package/dist-types/runtimeConfig.shared.d.ts +15 -0
  111. package/dist-types/runtimeExtensions.d.ts +17 -0
  112. package/package.json +83 -0
@@ -0,0 +1,209 @@
1
+ import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
2
+ import { CreateDocumentCommandInput, CreateDocumentCommandOutput } from "../commands/CreateDocumentCommand";
3
+ import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "../commands/CreateKnowledgeBaseCommand";
4
+ import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
5
+ import { DeleteDocumentCommandInput, DeleteDocumentCommandOutput } from "../commands/DeleteDocumentCommand";
6
+ import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
7
+ import { GetAuthorizationSessionForDataSourceCommandInput, GetAuthorizationSessionForDataSourceCommandOutput } from "../commands/GetAuthorizationSessionForDataSourceCommand";
8
+ import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
9
+ import { GetDocumentCommandInput, GetDocumentCommandOutput } from "../commands/GetDocumentCommand";
10
+ import { GetDocumentPresignedDownloadUrlCommandInput, GetDocumentPresignedDownloadUrlCommandOutput } from "../commands/GetDocumentPresignedDownloadUrlCommand";
11
+ import { GetDocumentPresignedUploadUrlCommandInput, GetDocumentPresignedUploadUrlCommandOutput } from "../commands/GetDocumentPresignedUploadUrlCommand";
12
+ import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "../commands/GetKnowledgeBaseCommand";
13
+ import { GetSyncLogsCommandInput, GetSyncLogsCommandOutput } from "../commands/GetSyncLogsCommand";
14
+ import { GetSyncStatusCommandInput, GetSyncStatusCommandOutput } from "../commands/GetSyncStatusCommand";
15
+ import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
16
+ import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "../commands/ListDocumentsCommand";
17
+ import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "../commands/ListKnowledgeBasesCommand";
18
+ import { QueryKnowledgeBaseCommandInput, QueryKnowledgeBaseCommandOutput } from "../commands/QueryKnowledgeBaseCommand";
19
+ import { SearchKnowledgeBaseCommandInput, SearchKnowledgeBaseCommandOutput } from "../commands/SearchKnowledgeBaseCommand";
20
+ import { SyncDataSourceCommandInput, SyncDataSourceCommandOutput } from "../commands/SyncDataSourceCommand";
21
+ import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
22
+ import { UpdateDocumentCommandInput, UpdateDocumentCommandOutput } from "../commands/UpdateDocumentCommand";
23
+ import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "../commands/UpdateKnowledgeBaseCommand";
24
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
25
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
26
+ /**
27
+ * serializeAws_restJson1CreateDataSourceCommand
28
+ */
29
+ export declare const se_CreateDataSourceCommand: (input: CreateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ /**
31
+ * serializeAws_restJson1CreateDocumentCommand
32
+ */
33
+ export declare const se_CreateDocumentCommand: (input: CreateDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ /**
35
+ * serializeAws_restJson1CreateKnowledgeBaseCommand
36
+ */
37
+ export declare const se_CreateKnowledgeBaseCommand: (input: CreateKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ /**
39
+ * serializeAws_restJson1DeleteDataSourceCommand
40
+ */
41
+ export declare const se_DeleteDataSourceCommand: (input: DeleteDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ /**
43
+ * serializeAws_restJson1DeleteDocumentCommand
44
+ */
45
+ export declare const se_DeleteDocumentCommand: (input: DeleteDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
+ /**
47
+ * serializeAws_restJson1DeleteKnowledgeBaseCommand
48
+ */
49
+ export declare const se_DeleteKnowledgeBaseCommand: (input: DeleteKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ /**
51
+ * serializeAws_restJson1GetAuthorizationSessionForDataSourceCommand
52
+ */
53
+ export declare const se_GetAuthorizationSessionForDataSourceCommand: (input: GetAuthorizationSessionForDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ /**
55
+ * serializeAws_restJson1GetDataSourceCommand
56
+ */
57
+ export declare const se_GetDataSourceCommand: (input: GetDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
+ /**
59
+ * serializeAws_restJson1GetDocumentCommand
60
+ */
61
+ export declare const se_GetDocumentCommand: (input: GetDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
+ /**
63
+ * serializeAws_restJson1GetDocumentPresignedDownloadUrlCommand
64
+ */
65
+ export declare const se_GetDocumentPresignedDownloadUrlCommand: (input: GetDocumentPresignedDownloadUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
+ /**
67
+ * serializeAws_restJson1GetDocumentPresignedUploadUrlCommand
68
+ */
69
+ export declare const se_GetDocumentPresignedUploadUrlCommand: (input: GetDocumentPresignedUploadUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
+ /**
71
+ * serializeAws_restJson1GetKnowledgeBaseCommand
72
+ */
73
+ export declare const se_GetKnowledgeBaseCommand: (input: GetKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
+ /**
75
+ * serializeAws_restJson1GetSyncLogsCommand
76
+ */
77
+ export declare const se_GetSyncLogsCommand: (input: GetSyncLogsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
+ /**
79
+ * serializeAws_restJson1GetSyncStatusCommand
80
+ */
81
+ export declare const se_GetSyncStatusCommand: (input: GetSyncStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
+ /**
83
+ * serializeAws_restJson1ListDataSourcesCommand
84
+ */
85
+ export declare const se_ListDataSourcesCommand: (input: ListDataSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
+ /**
87
+ * serializeAws_restJson1ListDocumentsCommand
88
+ */
89
+ export declare const se_ListDocumentsCommand: (input: ListDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1ListKnowledgeBasesCommand
92
+ */
93
+ export declare const se_ListKnowledgeBasesCommand: (input: ListKnowledgeBasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
+ /**
95
+ * serializeAws_restJson1QueryKnowledgeBaseCommand
96
+ */
97
+ export declare const se_QueryKnowledgeBaseCommand: (input: QueryKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
+ /**
99
+ * serializeAws_restJson1SearchKnowledgeBaseCommand
100
+ */
101
+ export declare const se_SearchKnowledgeBaseCommand: (input: SearchKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
102
+ /**
103
+ * serializeAws_restJson1SyncDataSourceCommand
104
+ */
105
+ export declare const se_SyncDataSourceCommand: (input: SyncDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
+ /**
107
+ * serializeAws_restJson1UpdateDataSourceCommand
108
+ */
109
+ export declare const se_UpdateDataSourceCommand: (input: UpdateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
+ /**
111
+ * serializeAws_restJson1UpdateDocumentCommand
112
+ */
113
+ export declare const se_UpdateDocumentCommand: (input: UpdateDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
+ /**
115
+ * serializeAws_restJson1UpdateKnowledgeBaseCommand
116
+ */
117
+ export declare const se_UpdateKnowledgeBaseCommand: (input: UpdateKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
+ /**
119
+ * deserializeAws_restJson1CreateDataSourceCommand
120
+ */
121
+ export declare const de_CreateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDataSourceCommandOutput>;
122
+ /**
123
+ * deserializeAws_restJson1CreateDocumentCommand
124
+ */
125
+ export declare const de_CreateDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDocumentCommandOutput>;
126
+ /**
127
+ * deserializeAws_restJson1CreateKnowledgeBaseCommand
128
+ */
129
+ export declare const de_CreateKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKnowledgeBaseCommandOutput>;
130
+ /**
131
+ * deserializeAws_restJson1DeleteDataSourceCommand
132
+ */
133
+ export declare const de_DeleteDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataSourceCommandOutput>;
134
+ /**
135
+ * deserializeAws_restJson1DeleteDocumentCommand
136
+ */
137
+ export declare const de_DeleteDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDocumentCommandOutput>;
138
+ /**
139
+ * deserializeAws_restJson1DeleteKnowledgeBaseCommand
140
+ */
141
+ export declare const de_DeleteKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseCommandOutput>;
142
+ /**
143
+ * deserializeAws_restJson1GetAuthorizationSessionForDataSourceCommand
144
+ */
145
+ export declare const de_GetAuthorizationSessionForDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAuthorizationSessionForDataSourceCommandOutput>;
146
+ /**
147
+ * deserializeAws_restJson1GetDataSourceCommand
148
+ */
149
+ export declare const de_GetDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataSourceCommandOutput>;
150
+ /**
151
+ * deserializeAws_restJson1GetDocumentCommand
152
+ */
153
+ export declare const de_GetDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDocumentCommandOutput>;
154
+ /**
155
+ * deserializeAws_restJson1GetDocumentPresignedDownloadUrlCommand
156
+ */
157
+ export declare const de_GetDocumentPresignedDownloadUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDocumentPresignedDownloadUrlCommandOutput>;
158
+ /**
159
+ * deserializeAws_restJson1GetDocumentPresignedUploadUrlCommand
160
+ */
161
+ export declare const de_GetDocumentPresignedUploadUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDocumentPresignedUploadUrlCommandOutput>;
162
+ /**
163
+ * deserializeAws_restJson1GetKnowledgeBaseCommand
164
+ */
165
+ export declare const de_GetKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseCommandOutput>;
166
+ /**
167
+ * deserializeAws_restJson1GetSyncLogsCommand
168
+ */
169
+ export declare const de_GetSyncLogsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSyncLogsCommandOutput>;
170
+ /**
171
+ * deserializeAws_restJson1GetSyncStatusCommand
172
+ */
173
+ export declare const de_GetSyncStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSyncStatusCommandOutput>;
174
+ /**
175
+ * deserializeAws_restJson1ListDataSourcesCommand
176
+ */
177
+ export declare const de_ListDataSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataSourcesCommandOutput>;
178
+ /**
179
+ * deserializeAws_restJson1ListDocumentsCommand
180
+ */
181
+ export declare const de_ListDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDocumentsCommandOutput>;
182
+ /**
183
+ * deserializeAws_restJson1ListKnowledgeBasesCommand
184
+ */
185
+ export declare const de_ListKnowledgeBasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKnowledgeBasesCommandOutput>;
186
+ /**
187
+ * deserializeAws_restJson1QueryKnowledgeBaseCommand
188
+ */
189
+ export declare const de_QueryKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryKnowledgeBaseCommandOutput>;
190
+ /**
191
+ * deserializeAws_restJson1SearchKnowledgeBaseCommand
192
+ */
193
+ export declare const de_SearchKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchKnowledgeBaseCommandOutput>;
194
+ /**
195
+ * deserializeAws_restJson1SyncDataSourceCommand
196
+ */
197
+ export declare const de_SyncDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SyncDataSourceCommandOutput>;
198
+ /**
199
+ * deserializeAws_restJson1UpdateDataSourceCommand
200
+ */
201
+ export declare const de_UpdateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataSourceCommandOutput>;
202
+ /**
203
+ * deserializeAws_restJson1UpdateDocumentCommand
204
+ */
205
+ export declare const de_UpdateDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDocumentCommandOutput>;
206
+ /**
207
+ * deserializeAws_restJson1UpdateKnowledgeBaseCommand
208
+ */
209
+ export declare const de_UpdateKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateKnowledgeBaseCommandOutput>;
@@ -0,0 +1,31 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { KnowledgeBaseClientConfig } from "./KnowledgeBaseClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KnowledgeBaseClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ env?: "stage" | "stable" | "prod" | undefined;
17
+ token: import("@wildix/smithy-utils").TokenProvider;
18
+ apiVersion: string;
19
+ cacheMiddleware?: boolean | undefined;
20
+ urlParser: import("@smithy/types").UrlParser;
21
+ base64Decoder: import("@smithy/types").Decoder;
22
+ base64Encoder: (_input: string | Uint8Array) => string;
23
+ utf8Decoder: import("@smithy/types").Decoder;
24
+ utf8Encoder: (input: string | Uint8Array) => string;
25
+ disableHostPrefix: boolean;
26
+ logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
28
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
29
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ };
@@ -0,0 +1,31 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { KnowledgeBaseClientConfig } from "./KnowledgeBaseClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KnowledgeBaseClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
+ env?: "stage" | "stable" | "prod" | undefined;
18
+ token: import("@wildix/smithy-utils").TokenProvider;
19
+ apiVersion: string;
20
+ cacheMiddleware?: boolean | undefined;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ };
@@ -0,0 +1,30 @@
1
+ import { KnowledgeBaseClientConfig } from "./KnowledgeBaseClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KnowledgeBaseClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ env?: "stage" | "stable" | "prod" | undefined;
9
+ token: import("@wildix/smithy-utils").TokenProvider;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: (_input: string | Uint8Array) => string;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: (input: string | Uint8Array) => string;
20
+ disableHostPrefix: boolean;
21
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
22
+ maxAttempts: number | import("@smithy/types").Provider<number>;
23
+ retryMode: string | import("@smithy/types").Provider<string>;
24
+ logger: import("@smithy/types").Logger;
25
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
26
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
27
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
29
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
+ };
@@ -0,0 +1,15 @@
1
+ import { KnowledgeBaseClientConfig } from "./KnowledgeBaseClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KnowledgeBaseClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
11
+ logger: import("@smithy/types").Logger;
12
+ urlParser: import("@smithy/types").UrlParser;
13
+ utf8Decoder: import("@smithy/types").Decoder;
14
+ utf8Encoder: (input: string | Uint8Array) => string;
15
+ };
@@ -0,0 +1,17 @@
1
+ import { KnowledgeBaseExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: KnowledgeBaseExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@wildix/wim-knowledge-base-client",
3
+ "description": "@wildix/wim-knowledge-base-client client",
4
+ "version": "0.0.7",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "prepack": "yarn run clean && yarn run build",
13
+ "postpublish": "node ../../scripts/postpublish.js"
14
+ },
15
+ "main": "./dist-cjs/index.js",
16
+ "types": "./dist-types/index.d.ts",
17
+ "module": "./dist-es/index.js",
18
+ "sideEffects": false,
19
+ "dependencies": {
20
+ "tslib": "^2.6.2",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/middleware-host-header": "3.775.0",
25
+ "@aws-sdk/middleware-logger": "3.775.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
27
+ "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/types": "latest",
29
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
30
+ "@aws-sdk/util-user-agent-node": "3.775.0",
31
+ "@smithy/config-resolver": "^4.1.0",
32
+ "@smithy/core": "^3.2.0",
33
+ "@smithy/fetch-http-handler": "^5.0.2",
34
+ "@smithy/hash-node": "^4.0.2",
35
+ "@smithy/invalid-dependency": "^4.0.2",
36
+ "@smithy/middleware-content-length": "^4.0.2",
37
+ "@smithy/middleware-retry": "^4.1.0",
38
+ "@smithy/middleware-serde": "^4.0.3",
39
+ "@smithy/middleware-stack": "^4.0.2",
40
+ "@smithy/node-config-provider": "^4.0.2",
41
+ "@smithy/node-http-handler": "^4.0.4",
42
+ "@smithy/protocol-http": "^5.1.0",
43
+ "@smithy/smithy-client": "^4.2.0",
44
+ "@smithy/types": "^4.2.0",
45
+ "@smithy/url-parser": "^4.0.2",
46
+ "@smithy/util-base64": "^4.0.0",
47
+ "@smithy/util-body-length-browser": "^4.0.0",
48
+ "@smithy/util-body-length-node": "^4.0.0",
49
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
50
+ "@smithy/util-defaults-mode-node": "^4.0.8",
51
+ "@smithy/util-retry": "^4.0.2",
52
+ "@smithy/util-utf8": "^4.0.0",
53
+ "@wildix/smithy-utils": "^1.0.3"
54
+ },
55
+ "devDependencies": {
56
+ "@tsconfig/node18": "18.2.4",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.10.1",
59
+ "rimraf": "^3.0.0",
60
+ "typescript": "~5.2.2",
61
+ "@types/node": "^18.19.69"
62
+ },
63
+ "engines": {
64
+ "node": ">=18.0.0"
65
+ },
66
+ "typesVersions": {
67
+ "<4.0": {
68
+ "dist-types/*": [
69
+ "dist-types/ts3.4/*"
70
+ ]
71
+ }
72
+ },
73
+ "files": [
74
+ "dist-*/**"
75
+ ],
76
+ "license": "Apache-2.0",
77
+ "browser": {
78
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
79
+ },
80
+ "react-native": {
81
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
+ }
83
+ }