@wildix/wim-knowledge-base-client 0.0.46 → 0.0.47

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.
@@ -298,6 +298,8 @@ const se_GetSyncLogsCommand = async (input, context) => {
298
298
  [_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
299
299
  [_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
300
300
  [_s]: [, input[_s]],
301
+ [_lL]: [, input[_lL]],
302
+ [_se]: [, input[_se]],
301
303
  });
302
304
  let body;
303
305
  b.m("GET")
@@ -1223,10 +1225,12 @@ const _cI = "companyId";
1223
1225
  const _dT = "documentType";
1224
1226
  const _eSI = "externalSessionId";
1225
1227
  const _l = "limit";
1228
+ const _lL = "logLevel";
1226
1229
  const _o = "offset";
1227
1230
  const _s = "sort";
1228
1231
  const _sT = "syncType";
1229
1232
  const _sU = "searchUser";
1233
+ const _se = "search";
1230
1234
  const _wC = "withContent";
1231
1235
  const _wCi = "withChunks";
1232
1236
  const _xesi = "x-external-session-id";
@@ -279,6 +279,8 @@ export const se_GetSyncLogsCommand = async (input, context) => {
279
279
  [_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
280
280
  [_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
281
281
  [_s]: [, input[_s]],
282
+ [_lL]: [, input[_lL]],
283
+ [_se]: [, input[_se]],
282
284
  });
283
285
  let body;
284
286
  b.m("GET")
@@ -1163,10 +1165,12 @@ const _cI = "companyId";
1163
1165
  const _dT = "documentType";
1164
1166
  const _eSI = "externalSessionId";
1165
1167
  const _l = "limit";
1168
+ const _lL = "logLevel";
1166
1169
  const _o = "offset";
1167
1170
  const _s = "sort";
1168
1171
  const _sT = "syncType";
1169
1172
  const _sU = "searchUser";
1173
+ const _se = "search";
1170
1174
  const _wC = "withContent";
1171
1175
  const _wCi = "withChunks";
1172
1176
  const _xesi = "x-external-session-id";
@@ -40,6 +40,8 @@ declare const GetSyncLogsCommand_base: {
40
40
  * offset: Number("int"),
41
41
  * sort: "STRING_VALUE",
42
42
  * dataSourceId: "STRING_VALUE", // required
43
+ * logLevel: "debug" || "info" || "warn" || "error",
44
+ * search: "STRING_VALUE",
43
45
  * };
44
46
  * const command = new GetSyncLogsCommand(input);
45
47
  * const response = await client.send(command);
@@ -1218,6 +1218,20 @@ export interface GetKnowledgeBaseInput {
1218
1218
  export interface GetKnowledgeBaseOutput {
1219
1219
  knowledgeBase: KnowledgeBaseItem;
1220
1220
  }
1221
+ /**
1222
+ * @public
1223
+ * @enum
1224
+ */
1225
+ export declare const SyncLogLevel: {
1226
+ readonly DEBUG: "debug";
1227
+ readonly ERROR: "error";
1228
+ readonly INFO: "info";
1229
+ readonly WARN: "warn";
1230
+ };
1231
+ /**
1232
+ * @public
1233
+ */
1234
+ export type SyncLogLevel = typeof SyncLogLevel[keyof typeof SyncLogLevel];
1221
1235
  /**
1222
1236
  * @public
1223
1237
  */
@@ -1239,21 +1253,17 @@ export interface GetSyncLogsInput {
1239
1253
  * @public
1240
1254
  */
1241
1255
  dataSourceId: string;
1256
+ /**
1257
+ * The log level to filter the sync logs by. Possible values: 'debug', 'info', 'warn', 'error'.
1258
+ * @public
1259
+ */
1260
+ logLevel?: SyncLogLevel | undefined;
1261
+ /**
1262
+ * The search query string for filtering the history results.
1263
+ * @public
1264
+ */
1265
+ search?: string | undefined;
1242
1266
  }
1243
- /**
1244
- * @public
1245
- * @enum
1246
- */
1247
- export declare const SyncLogLevel: {
1248
- readonly DEBUG: "debug";
1249
- readonly ERROR: "error";
1250
- readonly INFO: "info";
1251
- readonly WARN: "warn";
1252
- };
1253
- /**
1254
- * @public
1255
- */
1256
- export type SyncLogLevel = typeof SyncLogLevel[keyof typeof SyncLogLevel];
1257
1267
  /**
1258
1268
  * @public
1259
1269
  */
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.46",
4
+ "version": "0.0.47",
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",