@wildix/wim-knowledge-base-client 0.0.26 → 0.0.27

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.
@@ -1073,6 +1073,7 @@ const de_DataSourceItem = (output, context) => {
1073
1073
  'config': (_) => de_DataSourceConfig((0, core_1.awsExpectUnion)(_), context),
1074
1074
  'createdAt': smithy_client_1.expectString,
1075
1075
  'description': smithy_client_1.expectString,
1076
+ 'documentsCount': smithy_client_1.expectInt32,
1076
1077
  'enabled': smithy_client_1.expectBoolean,
1077
1078
  'id': smithy_client_1.expectString,
1078
1079
  'lastSyncErrorMessage': smithy_client_1.expectString,
@@ -1017,6 +1017,7 @@ const de_DataSourceItem = (output, context) => {
1017
1017
  'config': (_) => de_DataSourceConfig(__expectUnion(_), context),
1018
1018
  'createdAt': __expectString,
1019
1019
  'description': __expectString,
1020
+ 'documentsCount': __expectInt32,
1020
1021
  'enabled': __expectBoolean,
1021
1022
  'id': __expectString,
1022
1023
  'lastSyncErrorMessage': __expectString,
@@ -147,6 +147,7 @@ declare const CreateDataSourceCommand_base: {
147
147
  * // syncSchedule: "STRING_VALUE",
148
148
  * // id: "STRING_VALUE", // required
149
149
  * // companyId: "STRING_VALUE", // required
150
+ * // documentsCount: Number("int"), // required
150
151
  * // createdAt: "STRING_VALUE", // required
151
152
  * // updatedAt: "STRING_VALUE", // required
152
153
  * // syncStatus: "idle" || "running" || "success" || "failed", // required
@@ -96,6 +96,7 @@ declare const GetDataSourceCommand_base: {
96
96
  * // syncSchedule: "STRING_VALUE",
97
97
  * // id: "STRING_VALUE", // required
98
98
  * // companyId: "STRING_VALUE", // required
99
+ * // documentsCount: Number("int"), // required
99
100
  * // createdAt: "STRING_VALUE", // required
100
101
  * // updatedAt: "STRING_VALUE", // required
101
102
  * // syncStatus: "idle" || "running" || "success" || "failed", // required
@@ -96,6 +96,7 @@ declare const ListDataSourcesCommand_base: {
96
96
  * // syncSchedule: "STRING_VALUE",
97
97
  * // id: "STRING_VALUE", // required
98
98
  * // companyId: "STRING_VALUE", // required
99
+ * // documentsCount: Number("int"), // required
99
100
  * // createdAt: "STRING_VALUE", // required
100
101
  * // updatedAt: "STRING_VALUE", // required
101
102
  * // syncStatus: "idle" || "running" || "success" || "failed", // required
@@ -148,6 +148,7 @@ declare const UpdateDataSourceCommand_base: {
148
148
  * // syncSchedule: "STRING_VALUE",
149
149
  * // id: "STRING_VALUE", // required
150
150
  * // companyId: "STRING_VALUE", // required
151
+ * // documentsCount: Number("int"), // required
151
152
  * // createdAt: "STRING_VALUE", // required
152
153
  * // updatedAt: "STRING_VALUE", // required
153
154
  * // syncStatus: "idle" || "running" || "success" || "failed", // required
@@ -417,6 +417,11 @@ export interface DataSourceItem {
417
417
  */
418
418
  id: string;
419
419
  companyId: string;
420
+ /**
421
+ * The number of documents in the data source. Example: 100
422
+ * @public
423
+ */
424
+ documentsCount: number;
420
425
  createdAt: string;
421
426
  updatedAt: string;
422
427
  syncStatus: SyncDataSourceStatus;
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.26",
4
+ "version": "0.0.27",
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",