webitel-sdk 23.7.2 → 23.7.4

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 (69) hide show
  1. package/bundles/index.esm.js +338 -162
  2. package/bundles/index.esm.js.map +1 -1
  3. package/bundles/index.esm.min.js +1 -1
  4. package/bundles/index.esm.min.js.map +1 -1
  5. package/bundles/index.umd.js +336 -164
  6. package/bundles/index.umd.js.map +1 -1
  7. package/bundles/index.umd.min.js +1 -1
  8. package/bundles/index.umd.min.js.map +1 -1
  9. package/esm2015/api/config-service-api.js +203 -137
  10. package/esm2015/api/config-service-api.js.map +1 -1
  11. package/esm2015/api/index.js +5 -4
  12. package/esm2015/api/index.js.map +1 -1
  13. package/esm2015/api/logger-action.js +26 -0
  14. package/esm2015/api/logger-action.js.map +1 -0
  15. package/esm2015/api/logger-create-config-request.js +13 -0
  16. package/esm2015/api/logger-create-config-request.js.map +1 -0
  17. package/esm2015/api/logger-delete-config-bulk-request.js +13 -0
  18. package/esm2015/api/logger-delete-config-bulk-request.js.map +1 -0
  19. package/esm2015/api/logger-patch-config-request.js +13 -0
  20. package/esm2015/api/logger-patch-config-request.js.map +1 -0
  21. package/esm2015/api/logger-service-api.js +108 -24
  22. package/esm2015/api/logger-service-api.js.map +1 -1
  23. package/esm2015/api/logger-system-objects.js +13 -0
  24. package/esm2015/api/logger-system-objects.js.map +1 -0
  25. package/esm5/api/config-service-api.js +219 -140
  26. package/esm5/api/config-service-api.js.map +1 -1
  27. package/esm5/api/index.js +5 -4
  28. package/esm5/api/index.js.map +1 -1
  29. package/esm5/api/logger-action.js +26 -0
  30. package/esm5/api/logger-action.js.map +1 -0
  31. package/esm5/api/logger-create-config-request.js +13 -0
  32. package/esm5/api/logger-create-config-request.js.map +1 -0
  33. package/esm5/api/logger-delete-config-bulk-request.js +13 -0
  34. package/esm5/api/logger-delete-config-bulk-request.js.map +1 -0
  35. package/esm5/api/logger-patch-config-request.js +13 -0
  36. package/esm5/api/logger-patch-config-request.js.map +1 -0
  37. package/esm5/api/logger-service-api.js +108 -24
  38. package/esm5/api/logger-service-api.js.map +1 -1
  39. package/esm5/api/logger-system-objects.js +13 -0
  40. package/esm5/api/logger-system-objects.js.map +1 -0
  41. package/package.json +1 -1
  42. package/types/api/agent-in-queue-agents-in-queue.d.ts +6 -0
  43. package/types/api/agent-in-queue-agents-in-queue.d.ts.map +1 -1
  44. package/types/api/config-service-api.d.ts +89 -68
  45. package/types/api/config-service-api.d.ts.map +1 -1
  46. package/types/api/index.d.ts +5 -4
  47. package/types/api/index.d.ts.map +1 -1
  48. package/types/api/logger-action.d.ts +24 -0
  49. package/types/api/logger-action.d.ts.map +1 -0
  50. package/types/api/logger-config.d.ts +8 -2
  51. package/types/api/logger-config.d.ts.map +1 -1
  52. package/types/api/logger-create-config-request.d.ts +56 -0
  53. package/types/api/logger-create-config-request.d.ts.map +1 -0
  54. package/types/api/logger-delete-config-bulk-request.d.ts +25 -0
  55. package/types/api/logger-delete-config-bulk-request.d.ts.map +1 -0
  56. package/types/api/logger-insert-config-request.d.ts +7 -6
  57. package/types/api/logger-insert-config-request.d.ts.map +1 -1
  58. package/types/api/logger-log.d.ts +6 -0
  59. package/types/api/logger-log.d.ts.map +1 -1
  60. package/types/api/logger-patch-config-request.d.ts +62 -0
  61. package/types/api/logger-patch-config-request.d.ts.map +1 -0
  62. package/types/api/logger-patch-update-config-request.d.ts +5 -4
  63. package/types/api/logger-patch-update-config-request.d.ts.map +1 -1
  64. package/types/api/logger-service-api.d.ts +64 -16
  65. package/types/api/logger-service-api.d.ts.map +1 -1
  66. package/types/api/logger-system-objects.d.ts +26 -0
  67. package/types/api/logger-system-objects.d.ts.map +1 -0
  68. package/types/api/logger-update-config-request.d.ts +11 -4
  69. package/types/api/logger-update-config-request.d.ts.map +1 -1
@@ -11337,28 +11337,23 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11337
11337
  return {
11338
11338
  /**
11339
11339
  *
11340
- * @param {number} configId
11341
- * @param {LoggerDeleteConfigRequest} body
11340
+ * @param {LoggerCreateConfigRequest} body
11342
11341
  * @param {*} [options] Override http request option.
11343
11342
  * @throws {RequiredError}
11344
11343
  */
11345
- deleteConfig: async (configId, body, options = {}) => {
11346
- // verify required parameter 'configId' is not null or undefined
11347
- if (configId === null || configId === undefined) {
11348
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
11349
- }
11344
+ createConfig: async (body, options = {}) => {
11350
11345
  // verify required parameter 'body' is not null or undefined
11351
11346
  if (body === null || body === undefined) {
11352
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfig.');
11347
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling createConfig.');
11353
11348
  }
11354
- const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
11349
+ const localVarPath = `/logger/config`;
11355
11350
  const localVarUrlObj = parse(localVarPath, true);
11356
11351
  let baseOptions;
11357
11352
  if (configuration) {
11358
11353
  baseOptions = configuration.baseOptions;
11359
11354
  }
11360
11355
  const localVarRequestOptions = {
11361
- method: 'DELETE',
11356
+ method: 'POST',
11362
11357
  ...baseOptions,
11363
11358
  ...options,
11364
11359
  };
@@ -11397,14 +11392,63 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11397
11392
  },
11398
11393
  /**
11399
11394
  *
11400
- * @param {LoggerDeleteConfigsRequest} body
11395
+ * @param {number} configId
11401
11396
  * @param {*} [options] Override http request option.
11402
11397
  * @throws {RequiredError}
11403
11398
  */
11404
- deleteConfigs: async (body, options = {}) => {
11399
+ deleteConfig: async (configId, options = {}) => {
11400
+ // verify required parameter 'configId' is not null or undefined
11401
+ if (configId === null || configId === undefined) {
11402
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
11403
+ }
11404
+ const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
11405
+ const localVarUrlObj = parse(localVarPath, true);
11406
+ let baseOptions;
11407
+ if (configuration) {
11408
+ baseOptions = configuration.baseOptions;
11409
+ }
11410
+ const localVarRequestOptions = {
11411
+ method: 'DELETE',
11412
+ ...baseOptions,
11413
+ ...options,
11414
+ };
11415
+ const localVarHeaderParameter = {};
11416
+ const localVarQueryParameter = {};
11417
+ // authentication AccessToken required
11418
+ if (configuration && configuration.apiKey) {
11419
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
11420
+ ? await configuration.apiKey('X-Webitel-Access')
11421
+ : await configuration.apiKey;
11422
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
11423
+ }
11424
+ localVarUrlObj.query = {
11425
+ ...localVarUrlObj.query,
11426
+ ...localVarQueryParameter,
11427
+ ...options.query,
11428
+ };
11429
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
11430
+ delete localVarUrlObj.search;
11431
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11432
+ localVarRequestOptions.headers = {
11433
+ ...localVarHeaderParameter,
11434
+ ...headersFromBaseOptions,
11435
+ ...options.headers,
11436
+ };
11437
+ return {
11438
+ url: format(localVarUrlObj),
11439
+ options: localVarRequestOptions,
11440
+ };
11441
+ },
11442
+ /**
11443
+ *
11444
+ * @param {LoggerDeleteConfigBulkRequest} body
11445
+ * @param {*} [options] Override http request option.
11446
+ * @throws {RequiredError}
11447
+ */
11448
+ deleteConfigBulk: async (body, options = {}) => {
11405
11449
  // verify required parameter 'body' is not null or undefined
11406
11450
  if (body === null || body === undefined) {
11407
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigs.');
11451
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigBulk.');
11408
11452
  }
11409
11453
  const localVarPath = `/logger/config`;
11410
11454
  const localVarUrlObj = parse(localVarPath, true);
@@ -11452,23 +11496,28 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11452
11496
  },
11453
11497
  /**
11454
11498
  *
11455
- * @param {number} [page]
11456
- * @param {number} [size]
11457
- * @param {string} [q]
11458
- * @param {string} [sort]
11459
- * @param {Array<string>} [fields]
11499
+ * @param {number} configId
11500
+ * @param {LoggerPatchConfigRequest} body
11460
11501
  * @param {*} [options] Override http request option.
11461
11502
  * @throws {RequiredError}
11462
11503
  */
11463
- getAllConfigs: async (page, size, q, sort, fields, options = {}) => {
11464
- const localVarPath = `/logger/config`;
11504
+ patchConfig: async (configId, body, options = {}) => {
11505
+ // verify required parameter 'configId' is not null or undefined
11506
+ if (configId === null || configId === undefined) {
11507
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchConfig.');
11508
+ }
11509
+ // verify required parameter 'body' is not null or undefined
11510
+ if (body === null || body === undefined) {
11511
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchConfig.');
11512
+ }
11513
+ const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
11465
11514
  const localVarUrlObj = parse(localVarPath, true);
11466
11515
  let baseOptions;
11467
11516
  if (configuration) {
11468
11517
  baseOptions = configuration.baseOptions;
11469
11518
  }
11470
11519
  const localVarRequestOptions = {
11471
- method: 'GET',
11520
+ method: 'PATCH',
11472
11521
  ...baseOptions,
11473
11522
  ...options,
11474
11523
  };
@@ -11481,21 +11530,7 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11481
11530
  : await configuration.apiKey;
11482
11531
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
11483
11532
  }
11484
- if (page !== undefined) {
11485
- localVarQueryParameter['page'] = page;
11486
- }
11487
- if (size !== undefined) {
11488
- localVarQueryParameter['size'] = size;
11489
- }
11490
- if (q !== undefined) {
11491
- localVarQueryParameter['q'] = q;
11492
- }
11493
- if (sort !== undefined) {
11494
- localVarQueryParameter['sort'] = sort;
11495
- }
11496
- if (fields) {
11497
- localVarQueryParameter['fields'] = fields;
11498
- }
11533
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11499
11534
  localVarUrlObj.query = {
11500
11535
  ...localVarUrlObj.query,
11501
11536
  ...localVarQueryParameter,
@@ -11509,6 +11544,11 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11509
11544
  ...headersFromBaseOptions,
11510
11545
  ...options.headers,
11511
11546
  };
11547
+ const needsSerialization = typeof body !== 'string' ||
11548
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
11549
+ localVarRequestOptions.data = needsSerialization
11550
+ ? JSON.stringify(body !== undefined ? body : {})
11551
+ : body || '';
11512
11552
  return {
11513
11553
  url: format(localVarUrlObj),
11514
11554
  options: localVarRequestOptions,
@@ -11520,10 +11560,10 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11520
11560
  * @param {*} [options] Override http request option.
11521
11561
  * @throws {RequiredError}
11522
11562
  */
11523
- getConfigById: async (configId, options = {}) => {
11563
+ readConfig: async (configId, options = {}) => {
11524
11564
  // verify required parameter 'configId' is not null or undefined
11525
11565
  if (configId === null || configId === undefined) {
11526
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getConfigById.');
11566
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling readConfig.');
11527
11567
  }
11528
11568
  const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
11529
11569
  const localVarUrlObj = parse(localVarPath, true);
@@ -11565,23 +11605,18 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11565
11605
  },
11566
11606
  /**
11567
11607
  *
11568
- * @param {LoggerInsertConfigRequest} body
11569
11608
  * @param {*} [options] Override http request option.
11570
11609
  * @throws {RequiredError}
11571
11610
  */
11572
- insertConfig: async (body, options = {}) => {
11573
- // verify required parameter 'body' is not null or undefined
11574
- if (body === null || body === undefined) {
11575
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling insertConfig.');
11576
- }
11577
- const localVarPath = `/logger/config`;
11611
+ readSystemObjects: async (options = {}) => {
11612
+ const localVarPath = `/logger/available_objects`;
11578
11613
  const localVarUrlObj = parse(localVarPath, true);
11579
11614
  let baseOptions;
11580
11615
  if (configuration) {
11581
11616
  baseOptions = configuration.baseOptions;
11582
11617
  }
11583
11618
  const localVarRequestOptions = {
11584
- method: 'POST',
11619
+ method: 'GET',
11585
11620
  ...baseOptions,
11586
11621
  ...options,
11587
11622
  };
@@ -11594,7 +11629,6 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11594
11629
  : await configuration.apiKey;
11595
11630
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
11596
11631
  }
11597
- localVarHeaderParameter['Content-Type'] = 'application/json';
11598
11632
  localVarUrlObj.query = {
11599
11633
  ...localVarUrlObj.query,
11600
11634
  ...localVarQueryParameter,
@@ -11608,11 +11642,6 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11608
11642
  ...headersFromBaseOptions,
11609
11643
  ...options.headers,
11610
11644
  };
11611
- const needsSerialization = typeof body !== 'string' ||
11612
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
11613
- localVarRequestOptions.data = needsSerialization
11614
- ? JSON.stringify(body !== undefined ? body : {})
11615
- : body || '';
11616
11645
  return {
11617
11646
  url: format(localVarUrlObj),
11618
11647
  options: localVarRequestOptions,
@@ -11620,28 +11649,23 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11620
11649
  },
11621
11650
  /**
11622
11651
  *
11623
- * @param {number} configId
11624
- * @param {LoggerPatchUpdateConfigRequest} body
11652
+ * @param {number} [page]
11653
+ * @param {number} [size]
11654
+ * @param {string} [q]
11655
+ * @param {string} [sort]
11656
+ * @param {Array<string>} [fields]
11625
11657
  * @param {*} [options] Override http request option.
11626
11658
  * @throws {RequiredError}
11627
11659
  */
11628
- patchUpdateConfig: async (configId, body, options = {}) => {
11629
- // verify required parameter 'configId' is not null or undefined
11630
- if (configId === null || configId === undefined) {
11631
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdateConfig.');
11632
- }
11633
- // verify required parameter 'body' is not null or undefined
11634
- if (body === null || body === undefined) {
11635
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdateConfig.');
11636
- }
11637
- const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
11660
+ searchConfig: async (page, size, q, sort, fields, options = {}) => {
11661
+ const localVarPath = `/logger/config`;
11638
11662
  const localVarUrlObj = parse(localVarPath, true);
11639
11663
  let baseOptions;
11640
11664
  if (configuration) {
11641
11665
  baseOptions = configuration.baseOptions;
11642
11666
  }
11643
11667
  const localVarRequestOptions = {
11644
- method: 'PATCH',
11668
+ method: 'GET',
11645
11669
  ...baseOptions,
11646
11670
  ...options,
11647
11671
  };
@@ -11654,7 +11678,21 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11654
11678
  : await configuration.apiKey;
11655
11679
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
11656
11680
  }
11657
- localVarHeaderParameter['Content-Type'] = 'application/json';
11681
+ if (page !== undefined) {
11682
+ localVarQueryParameter['page'] = page;
11683
+ }
11684
+ if (size !== undefined) {
11685
+ localVarQueryParameter['size'] = size;
11686
+ }
11687
+ if (q !== undefined) {
11688
+ localVarQueryParameter['q'] = q;
11689
+ }
11690
+ if (sort !== undefined) {
11691
+ localVarQueryParameter['sort'] = sort;
11692
+ }
11693
+ if (fields) {
11694
+ localVarQueryParameter['fields'] = fields;
11695
+ }
11658
11696
  localVarUrlObj.query = {
11659
11697
  ...localVarUrlObj.query,
11660
11698
  ...localVarQueryParameter,
@@ -11668,11 +11706,6 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11668
11706
  ...headersFromBaseOptions,
11669
11707
  ...options.headers,
11670
11708
  };
11671
- const needsSerialization = typeof body !== 'string' ||
11672
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
11673
- localVarRequestOptions.data = needsSerialization
11674
- ? JSON.stringify(body !== undefined ? body : {})
11675
- : body || '';
11676
11709
  return {
11677
11710
  url: format(localVarUrlObj),
11678
11711
  options: localVarRequestOptions,
@@ -11746,15 +11779,30 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
11746
11779
  */
11747
11780
  const ConfigServiceApiFp = function (configuration) {
11748
11781
  return {
11782
+ /**
11783
+ *
11784
+ * @param {LoggerCreateConfigRequest} body
11785
+ * @param {*} [options] Override http request option.
11786
+ * @throws {RequiredError}
11787
+ */
11788
+ async createConfig(body, options) {
11789
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).createConfig(body, options);
11790
+ return (axios = globalAxios, basePath = BASE_PATH) => {
11791
+ const axiosRequestArgs = {
11792
+ ...localVarAxiosArgs.options,
11793
+ url: basePath + localVarAxiosArgs.url,
11794
+ };
11795
+ return axios.request(axiosRequestArgs);
11796
+ };
11797
+ },
11749
11798
  /**
11750
11799
  *
11751
11800
  * @param {number} configId
11752
- * @param {LoggerDeleteConfigRequest} body
11753
11801
  * @param {*} [options] Override http request option.
11754
11802
  * @throws {RequiredError}
11755
11803
  */
11756
- async deleteConfig(configId, body, options) {
11757
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, body, options);
11804
+ async deleteConfig(configId, options) {
11805
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, options);
11758
11806
  return (axios = globalAxios, basePath = BASE_PATH) => {
11759
11807
  const axiosRequestArgs = {
11760
11808
  ...localVarAxiosArgs.options,
@@ -11765,12 +11813,12 @@ const ConfigServiceApiFp = function (configuration) {
11765
11813
  },
11766
11814
  /**
11767
11815
  *
11768
- * @param {LoggerDeleteConfigsRequest} body
11816
+ * @param {LoggerDeleteConfigBulkRequest} body
11769
11817
  * @param {*} [options] Override http request option.
11770
11818
  * @throws {RequiredError}
11771
11819
  */
11772
- async deleteConfigs(body, options) {
11773
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfigs(body, options);
11820
+ async deleteConfigBulk(body, options) {
11821
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfigBulk(body, options);
11774
11822
  return (axios = globalAxios, basePath = BASE_PATH) => {
11775
11823
  const axiosRequestArgs = {
11776
11824
  ...localVarAxiosArgs.options,
@@ -11781,16 +11829,13 @@ const ConfigServiceApiFp = function (configuration) {
11781
11829
  },
11782
11830
  /**
11783
11831
  *
11784
- * @param {number} [page]
11785
- * @param {number} [size]
11786
- * @param {string} [q]
11787
- * @param {string} [sort]
11788
- * @param {Array<string>} [fields]
11832
+ * @param {number} configId
11833
+ * @param {LoggerPatchConfigRequest} body
11789
11834
  * @param {*} [options] Override http request option.
11790
11835
  * @throws {RequiredError}
11791
11836
  */
11792
- async getAllConfigs(page, size, q, sort, fields, options) {
11793
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).getAllConfigs(page, size, q, sort, fields, options);
11837
+ async patchConfig(configId, body, options) {
11838
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).patchConfig(configId, body, options);
11794
11839
  return (axios = globalAxios, basePath = BASE_PATH) => {
11795
11840
  const axiosRequestArgs = {
11796
11841
  ...localVarAxiosArgs.options,
@@ -11805,8 +11850,8 @@ const ConfigServiceApiFp = function (configuration) {
11805
11850
  * @param {*} [options] Override http request option.
11806
11851
  * @throws {RequiredError}
11807
11852
  */
11808
- async getConfigById(configId, options) {
11809
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).getConfigById(configId, options);
11853
+ async readConfig(configId, options) {
11854
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).readConfig(configId, options);
11810
11855
  return (axios = globalAxios, basePath = BASE_PATH) => {
11811
11856
  const axiosRequestArgs = {
11812
11857
  ...localVarAxiosArgs.options,
@@ -11817,12 +11862,11 @@ const ConfigServiceApiFp = function (configuration) {
11817
11862
  },
11818
11863
  /**
11819
11864
  *
11820
- * @param {LoggerInsertConfigRequest} body
11821
11865
  * @param {*} [options] Override http request option.
11822
11866
  * @throws {RequiredError}
11823
11867
  */
11824
- async insertConfig(body, options) {
11825
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).insertConfig(body, options);
11868
+ async readSystemObjects(options) {
11869
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).readSystemObjects(options);
11826
11870
  return (axios = globalAxios, basePath = BASE_PATH) => {
11827
11871
  const axiosRequestArgs = {
11828
11872
  ...localVarAxiosArgs.options,
@@ -11833,13 +11877,16 @@ const ConfigServiceApiFp = function (configuration) {
11833
11877
  },
11834
11878
  /**
11835
11879
  *
11836
- * @param {number} configId
11837
- * @param {LoggerPatchUpdateConfigRequest} body
11880
+ * @param {number} [page]
11881
+ * @param {number} [size]
11882
+ * @param {string} [q]
11883
+ * @param {string} [sort]
11884
+ * @param {Array<string>} [fields]
11838
11885
  * @param {*} [options] Override http request option.
11839
11886
  * @throws {RequiredError}
11840
11887
  */
11841
- async patchUpdateConfig(configId, body, options) {
11842
- const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).patchUpdateConfig(configId, body, options);
11888
+ async searchConfig(page, size, q, sort, fields, options) {
11889
+ const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options);
11843
11890
  return (axios = globalAxios, basePath = BASE_PATH) => {
11844
11891
  const axiosRequestArgs = {
11845
11892
  ...localVarAxiosArgs.options,
@@ -11873,42 +11920,49 @@ const ConfigServiceApiFp = function (configuration) {
11873
11920
  */
11874
11921
  const ConfigServiceApiFactory = function (configuration, basePath, axios) {
11875
11922
  return {
11923
+ /**
11924
+ *
11925
+ * @param {LoggerCreateConfigRequest} body
11926
+ * @param {*} [options] Override http request option.
11927
+ * @throws {RequiredError}
11928
+ */
11929
+ createConfig(body, options) {
11930
+ return ConfigServiceApiFp(configuration)
11931
+ .createConfig(body, options)
11932
+ .then((request) => request(axios, basePath));
11933
+ },
11876
11934
  /**
11877
11935
  *
11878
11936
  * @param {number} configId
11879
- * @param {LoggerDeleteConfigRequest} body
11880
11937
  * @param {*} [options] Override http request option.
11881
11938
  * @throws {RequiredError}
11882
11939
  */
11883
- deleteConfig(configId, body, options) {
11940
+ deleteConfig(configId, options) {
11884
11941
  return ConfigServiceApiFp(configuration)
11885
- .deleteConfig(configId, body, options)
11942
+ .deleteConfig(configId, options)
11886
11943
  .then((request) => request(axios, basePath));
11887
11944
  },
11888
11945
  /**
11889
11946
  *
11890
- * @param {LoggerDeleteConfigsRequest} body
11947
+ * @param {LoggerDeleteConfigBulkRequest} body
11891
11948
  * @param {*} [options] Override http request option.
11892
11949
  * @throws {RequiredError}
11893
11950
  */
11894
- deleteConfigs(body, options) {
11951
+ deleteConfigBulk(body, options) {
11895
11952
  return ConfigServiceApiFp(configuration)
11896
- .deleteConfigs(body, options)
11953
+ .deleteConfigBulk(body, options)
11897
11954
  .then((request) => request(axios, basePath));
11898
11955
  },
11899
11956
  /**
11900
11957
  *
11901
- * @param {number} [page]
11902
- * @param {number} [size]
11903
- * @param {string} [q]
11904
- * @param {string} [sort]
11905
- * @param {Array<string>} [fields]
11958
+ * @param {number} configId
11959
+ * @param {LoggerPatchConfigRequest} body
11906
11960
  * @param {*} [options] Override http request option.
11907
11961
  * @throws {RequiredError}
11908
11962
  */
11909
- getAllConfigs(page, size, q, sort, fields, options) {
11963
+ patchConfig(configId, body, options) {
11910
11964
  return ConfigServiceApiFp(configuration)
11911
- .getAllConfigs(page, size, q, sort, fields, options)
11965
+ .patchConfig(configId, body, options)
11912
11966
  .then((request) => request(axios, basePath));
11913
11967
  },
11914
11968
  /**
@@ -11917,32 +11971,34 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
11917
11971
  * @param {*} [options] Override http request option.
11918
11972
  * @throws {RequiredError}
11919
11973
  */
11920
- getConfigById(configId, options) {
11974
+ readConfig(configId, options) {
11921
11975
  return ConfigServiceApiFp(configuration)
11922
- .getConfigById(configId, options)
11976
+ .readConfig(configId, options)
11923
11977
  .then((request) => request(axios, basePath));
11924
11978
  },
11925
11979
  /**
11926
11980
  *
11927
- * @param {LoggerInsertConfigRequest} body
11928
11981
  * @param {*} [options] Override http request option.
11929
11982
  * @throws {RequiredError}
11930
11983
  */
11931
- insertConfig(body, options) {
11984
+ readSystemObjects(options) {
11932
11985
  return ConfigServiceApiFp(configuration)
11933
- .insertConfig(body, options)
11986
+ .readSystemObjects(options)
11934
11987
  .then((request) => request(axios, basePath));
11935
11988
  },
11936
11989
  /**
11937
11990
  *
11938
- * @param {number} configId
11939
- * @param {LoggerPatchUpdateConfigRequest} body
11991
+ * @param {number} [page]
11992
+ * @param {number} [size]
11993
+ * @param {string} [q]
11994
+ * @param {string} [sort]
11995
+ * @param {Array<string>} [fields]
11940
11996
  * @param {*} [options] Override http request option.
11941
11997
  * @throws {RequiredError}
11942
11998
  */
11943
- patchUpdateConfig(configId, body, options) {
11999
+ searchConfig(page, size, q, sort, fields, options) {
11944
12000
  return ConfigServiceApiFp(configuration)
11945
- .patchUpdateConfig(configId, body, options)
12001
+ .searchConfig(page, size, q, sort, fields, options)
11946
12002
  .then((request) => request(axios, basePath));
11947
12003
  },
11948
12004
  /**
@@ -11966,45 +12022,53 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
11966
12022
  * @extends {BaseAPI}
11967
12023
  */
11968
12024
  class ConfigServiceApi extends BaseAPI {
12025
+ /**
12026
+ *
12027
+ * @param {LoggerCreateConfigRequest} body
12028
+ * @param {*} [options] Override http request option.
12029
+ * @throws {RequiredError}
12030
+ * @memberof ConfigServiceApi
12031
+ */
12032
+ createConfig(body, options) {
12033
+ return ConfigServiceApiFp(this.configuration)
12034
+ .createConfig(body, options)
12035
+ .then((request) => request(this.axios, this.basePath));
12036
+ }
11969
12037
  /**
11970
12038
  *
11971
12039
  * @param {number} configId
11972
- * @param {LoggerDeleteConfigRequest} body
11973
12040
  * @param {*} [options] Override http request option.
11974
12041
  * @throws {RequiredError}
11975
12042
  * @memberof ConfigServiceApi
11976
12043
  */
11977
- deleteConfig(configId, body, options) {
12044
+ deleteConfig(configId, options) {
11978
12045
  return ConfigServiceApiFp(this.configuration)
11979
- .deleteConfig(configId, body, options)
12046
+ .deleteConfig(configId, options)
11980
12047
  .then((request) => request(this.axios, this.basePath));
11981
12048
  }
11982
12049
  /**
11983
12050
  *
11984
- * @param {LoggerDeleteConfigsRequest} body
12051
+ * @param {LoggerDeleteConfigBulkRequest} body
11985
12052
  * @param {*} [options] Override http request option.
11986
12053
  * @throws {RequiredError}
11987
12054
  * @memberof ConfigServiceApi
11988
12055
  */
11989
- deleteConfigs(body, options) {
12056
+ deleteConfigBulk(body, options) {
11990
12057
  return ConfigServiceApiFp(this.configuration)
11991
- .deleteConfigs(body, options)
12058
+ .deleteConfigBulk(body, options)
11992
12059
  .then((request) => request(this.axios, this.basePath));
11993
12060
  }
11994
12061
  /**
11995
12062
  *
11996
- * @param {number} [page]
11997
- * @param {number} [size]
11998
- * @param {string} [q]
11999
- * @param {string} [sort]
12000
- * @param {Array<string>} [fields]
12063
+ * @param {number} configId
12064
+ * @param {LoggerPatchConfigRequest} body
12001
12065
  * @param {*} [options] Override http request option.
12002
12066
  * @throws {RequiredError}
12003
12067
  * @memberof ConfigServiceApi
12004
12068
  */
12005
- getAllConfigs(page, size, q, sort, fields, options) {
12069
+ patchConfig(configId, body, options) {
12006
12070
  return ConfigServiceApiFp(this.configuration)
12007
- .getAllConfigs(page, size, q, sort, fields, options)
12071
+ .patchConfig(configId, body, options)
12008
12072
  .then((request) => request(this.axios, this.basePath));
12009
12073
  }
12010
12074
  /**
@@ -12014,34 +12078,36 @@ class ConfigServiceApi extends BaseAPI {
12014
12078
  * @throws {RequiredError}
12015
12079
  * @memberof ConfigServiceApi
12016
12080
  */
12017
- getConfigById(configId, options) {
12081
+ readConfig(configId, options) {
12018
12082
  return ConfigServiceApiFp(this.configuration)
12019
- .getConfigById(configId, options)
12083
+ .readConfig(configId, options)
12020
12084
  .then((request) => request(this.axios, this.basePath));
12021
12085
  }
12022
12086
  /**
12023
12087
  *
12024
- * @param {LoggerInsertConfigRequest} body
12025
12088
  * @param {*} [options] Override http request option.
12026
12089
  * @throws {RequiredError}
12027
12090
  * @memberof ConfigServiceApi
12028
12091
  */
12029
- insertConfig(body, options) {
12092
+ readSystemObjects(options) {
12030
12093
  return ConfigServiceApiFp(this.configuration)
12031
- .insertConfig(body, options)
12094
+ .readSystemObjects(options)
12032
12095
  .then((request) => request(this.axios, this.basePath));
12033
12096
  }
12034
12097
  /**
12035
12098
  *
12036
- * @param {number} configId
12037
- * @param {LoggerPatchUpdateConfigRequest} body
12099
+ * @param {number} [page]
12100
+ * @param {number} [size]
12101
+ * @param {string} [q]
12102
+ * @param {string} [sort]
12103
+ * @param {Array<string>} [fields]
12038
12104
  * @param {*} [options] Override http request option.
12039
12105
  * @throws {RequiredError}
12040
12106
  * @memberof ConfigServiceApi
12041
12107
  */
12042
- patchUpdateConfig(configId, body, options) {
12108
+ searchConfig(page, size, q, sort, fields, options) {
12043
12109
  return ConfigServiceApiFp(this.configuration)
12044
- .patchUpdateConfig(configId, body, options)
12110
+ .searchConfig(page, size, q, sort, fields, options)
12045
12111
  .then((request) => request(this.axios, this.basePath));
12046
12112
  }
12047
12113
  /**
@@ -17332,19 +17398,25 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
17332
17398
  return {
17333
17399
  /**
17334
17400
  *
17335
- * @param {number} configId
17401
+ * @param {number} configId REQUIRED filter
17336
17402
  * @param {number} [page]
17337
17403
  * @param {number} [size]
17338
17404
  * @param {string} [q]
17339
17405
  * @param {string} [sort]
17340
17406
  * @param {Array<string>} [fields]
17407
+ * @param {number} [userId]
17408
+ * @param {string} [userName]
17409
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17410
+ * @param {string} [userIp]
17411
+ * @param {string} [dateFrom]
17412
+ * @param {string} [dateTo]
17341
17413
  * @param {*} [options] Override http request option.
17342
17414
  * @throws {RequiredError}
17343
17415
  */
17344
- getLogsByConfigId: async (configId, page, size, q, sort, fields, options = {}) => {
17416
+ searchLogByConfigId: async (configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options = {}) => {
17345
17417
  // verify required parameter 'configId' is not null or undefined
17346
17418
  if (configId === null || configId === undefined) {
17347
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getLogsByConfigId.');
17419
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling searchLogByConfigId.');
17348
17420
  }
17349
17421
  const localVarPath = `/logger/config/{config_id}/logs`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
17350
17422
  const localVarUrlObj = parse(localVarPath, true);
@@ -17381,6 +17453,24 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
17381
17453
  if (fields) {
17382
17454
  localVarQueryParameter['fields'] = fields;
17383
17455
  }
17456
+ if (userId !== undefined) {
17457
+ localVarQueryParameter['user.id'] = userId;
17458
+ }
17459
+ if (userName !== undefined) {
17460
+ localVarQueryParameter['user.name'] = userName;
17461
+ }
17462
+ if (action !== undefined) {
17463
+ localVarQueryParameter['action'] = action;
17464
+ }
17465
+ if (userIp !== undefined) {
17466
+ localVarQueryParameter['userIp'] = userIp;
17467
+ }
17468
+ if (dateFrom !== undefined) {
17469
+ localVarQueryParameter['dateFrom'] = dateFrom;
17470
+ }
17471
+ if (dateTo !== undefined) {
17472
+ localVarQueryParameter['dateTo'] = dateTo;
17473
+ }
17384
17474
  localVarUrlObj.query = {
17385
17475
  ...localVarUrlObj.query,
17386
17476
  ...localVarQueryParameter,
@@ -17401,19 +17491,25 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
17401
17491
  },
17402
17492
  /**
17403
17493
  *
17404
- * @param {number} userId
17494
+ * @param {number} userId REQUIRED filter
17405
17495
  * @param {number} [page]
17406
17496
  * @param {number} [size]
17407
17497
  * @param {string} [q]
17408
17498
  * @param {string} [sort]
17409
17499
  * @param {Array<string>} [fields]
17500
+ * @param {number} [objectId]
17501
+ * @param {string} [objectName]
17502
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17503
+ * @param {string} [userIp]
17504
+ * @param {string} [dateFrom]
17505
+ * @param {string} [dateTo]
17410
17506
  * @param {*} [options] Override http request option.
17411
17507
  * @throws {RequiredError}
17412
17508
  */
17413
- getLogsByUserId: async (userId, page, size, q, sort, fields, options = {}) => {
17509
+ searchLogByUserId: async (userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options = {}) => {
17414
17510
  // verify required parameter 'userId' is not null or undefined
17415
17511
  if (userId === null || userId === undefined) {
17416
- throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling getLogsByUserId.');
17512
+ throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling searchLogByUserId.');
17417
17513
  }
17418
17514
  const localVarPath = `/logger/user/{user_id}/logs`.replace(`{${'user_id'}}`, encodeURIComponent(String(userId)));
17419
17515
  const localVarUrlObj = parse(localVarPath, true);
@@ -17450,6 +17546,24 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
17450
17546
  if (fields) {
17451
17547
  localVarQueryParameter['fields'] = fields;
17452
17548
  }
17549
+ if (objectId !== undefined) {
17550
+ localVarQueryParameter['object.id'] = objectId;
17551
+ }
17552
+ if (objectName !== undefined) {
17553
+ localVarQueryParameter['object.name'] = objectName;
17554
+ }
17555
+ if (action !== undefined) {
17556
+ localVarQueryParameter['action'] = action;
17557
+ }
17558
+ if (userIp !== undefined) {
17559
+ localVarQueryParameter['userIp'] = userIp;
17560
+ }
17561
+ if (dateFrom !== undefined) {
17562
+ localVarQueryParameter['dateFrom'] = dateFrom;
17563
+ }
17564
+ if (dateTo !== undefined) {
17565
+ localVarQueryParameter['dateTo'] = dateTo;
17566
+ }
17453
17567
  localVarUrlObj.query = {
17454
17568
  ...localVarUrlObj.query,
17455
17569
  ...localVarQueryParameter,
@@ -17478,17 +17592,23 @@ const LoggerServiceApiFp = function (configuration) {
17478
17592
  return {
17479
17593
  /**
17480
17594
  *
17481
- * @param {number} configId
17595
+ * @param {number} configId REQUIRED filter
17482
17596
  * @param {number} [page]
17483
17597
  * @param {number} [size]
17484
17598
  * @param {string} [q]
17485
17599
  * @param {string} [sort]
17486
17600
  * @param {Array<string>} [fields]
17601
+ * @param {number} [userId]
17602
+ * @param {string} [userName]
17603
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17604
+ * @param {string} [userIp]
17605
+ * @param {string} [dateFrom]
17606
+ * @param {string} [dateTo]
17487
17607
  * @param {*} [options] Override http request option.
17488
17608
  * @throws {RequiredError}
17489
17609
  */
17490
- async getLogsByConfigId(configId, page, size, q, sort, fields, options) {
17491
- const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).getLogsByConfigId(configId, page, size, q, sort, fields, options);
17610
+ async searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
17611
+ const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options);
17492
17612
  return (axios = globalAxios, basePath = BASE_PATH) => {
17493
17613
  const axiosRequestArgs = {
17494
17614
  ...localVarAxiosArgs.options,
@@ -17499,17 +17619,23 @@ const LoggerServiceApiFp = function (configuration) {
17499
17619
  },
17500
17620
  /**
17501
17621
  *
17502
- * @param {number} userId
17622
+ * @param {number} userId REQUIRED filter
17503
17623
  * @param {number} [page]
17504
17624
  * @param {number} [size]
17505
17625
  * @param {string} [q]
17506
17626
  * @param {string} [sort]
17507
17627
  * @param {Array<string>} [fields]
17628
+ * @param {number} [objectId]
17629
+ * @param {string} [objectName]
17630
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17631
+ * @param {string} [userIp]
17632
+ * @param {string} [dateFrom]
17633
+ * @param {string} [dateTo]
17508
17634
  * @param {*} [options] Override http request option.
17509
17635
  * @throws {RequiredError}
17510
17636
  */
17511
- async getLogsByUserId(userId, page, size, q, sort, fields, options) {
17512
- const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).getLogsByUserId(userId, page, size, q, sort, fields, options);
17637
+ async searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
17638
+ const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options);
17513
17639
  return (axios = globalAxios, basePath = BASE_PATH) => {
17514
17640
  const axiosRequestArgs = {
17515
17641
  ...localVarAxiosArgs.options,
@@ -17528,34 +17654,46 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
17528
17654
  return {
17529
17655
  /**
17530
17656
  *
17531
- * @param {number} configId
17657
+ * @param {number} configId REQUIRED filter
17532
17658
  * @param {number} [page]
17533
17659
  * @param {number} [size]
17534
17660
  * @param {string} [q]
17535
17661
  * @param {string} [sort]
17536
17662
  * @param {Array<string>} [fields]
17663
+ * @param {number} [userId]
17664
+ * @param {string} [userName]
17665
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17666
+ * @param {string} [userIp]
17667
+ * @param {string} [dateFrom]
17668
+ * @param {string} [dateTo]
17537
17669
  * @param {*} [options] Override http request option.
17538
17670
  * @throws {RequiredError}
17539
17671
  */
17540
- getLogsByConfigId(configId, page, size, q, sort, fields, options) {
17672
+ searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
17541
17673
  return LoggerServiceApiFp(configuration)
17542
- .getLogsByConfigId(configId, page, size, q, sort, fields, options)
17674
+ .searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
17543
17675
  .then((request) => request(axios, basePath));
17544
17676
  },
17545
17677
  /**
17546
17678
  *
17547
- * @param {number} userId
17679
+ * @param {number} userId REQUIRED filter
17548
17680
  * @param {number} [page]
17549
17681
  * @param {number} [size]
17550
17682
  * @param {string} [q]
17551
17683
  * @param {string} [sort]
17552
17684
  * @param {Array<string>} [fields]
17685
+ * @param {number} [objectId]
17686
+ * @param {string} [objectName]
17687
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17688
+ * @param {string} [userIp]
17689
+ * @param {string} [dateFrom]
17690
+ * @param {string} [dateTo]
17553
17691
  * @param {*} [options] Override http request option.
17554
17692
  * @throws {RequiredError}
17555
17693
  */
17556
- getLogsByUserId(userId, page, size, q, sort, fields, options) {
17694
+ searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
17557
17695
  return LoggerServiceApiFp(configuration)
17558
- .getLogsByUserId(userId, page, size, q, sort, fields, options)
17696
+ .searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
17559
17697
  .then((request) => request(axios, basePath));
17560
17698
  },
17561
17699
  };
@@ -17569,36 +17707,48 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
17569
17707
  class LoggerServiceApi extends BaseAPI {
17570
17708
  /**
17571
17709
  *
17572
- * @param {number} configId
17710
+ * @param {number} configId REQUIRED filter
17573
17711
  * @param {number} [page]
17574
17712
  * @param {number} [size]
17575
17713
  * @param {string} [q]
17576
17714
  * @param {string} [sort]
17577
17715
  * @param {Array<string>} [fields]
17716
+ * @param {number} [userId]
17717
+ * @param {string} [userName]
17718
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17719
+ * @param {string} [userIp]
17720
+ * @param {string} [dateFrom]
17721
+ * @param {string} [dateTo]
17578
17722
  * @param {*} [options] Override http request option.
17579
17723
  * @throws {RequiredError}
17580
17724
  * @memberof LoggerServiceApi
17581
17725
  */
17582
- getLogsByConfigId(configId, page, size, q, sort, fields, options) {
17726
+ searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
17583
17727
  return LoggerServiceApiFp(this.configuration)
17584
- .getLogsByConfigId(configId, page, size, q, sort, fields, options)
17728
+ .searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
17585
17729
  .then((request) => request(this.axios, this.basePath));
17586
17730
  }
17587
17731
  /**
17588
17732
  *
17589
- * @param {number} userId
17733
+ * @param {number} userId REQUIRED filter
17590
17734
  * @param {number} [page]
17591
17735
  * @param {number} [size]
17592
17736
  * @param {string} [q]
17593
17737
  * @param {string} [sort]
17594
17738
  * @param {Array<string>} [fields]
17739
+ * @param {number} [objectId]
17740
+ * @param {string} [objectName]
17741
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
17742
+ * @param {string} [userIp]
17743
+ * @param {string} [dateFrom]
17744
+ * @param {string} [dateTo]
17595
17745
  * @param {*} [options] Override http request option.
17596
17746
  * @throws {RequiredError}
17597
17747
  * @memberof LoggerServiceApi
17598
17748
  */
17599
- getLogsByUserId(userId, page, size, q, sort, fields, options) {
17749
+ searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
17600
17750
  return LoggerServiceApiFp(this.configuration)
17601
- .getLogsByUserId(userId, page, size, q, sort, fields, options)
17751
+ .searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
17602
17752
  .then((request) => request(this.axios, this.basePath));
17603
17753
  }
17604
17754
  }
@@ -37094,6 +37244,32 @@ var HistoryFileJobHistoryFileJobState;
37094
37244
  * Do not edit the class manually.
37095
37245
  */
37096
37246
 
37247
+ // tslint:disable
37248
+ /**
37249
+ * Webitel engine API
37250
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
37251
+ *
37252
+ * The version of the OpenAPI document: 23.07.0
37253
+ * Contact: support@webitel.com
37254
+ *
37255
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
37256
+ * https://openapi-generator.tech
37257
+ * Do not edit the class manually.
37258
+ */
37259
+ /**
37260
+ *
37261
+ * @export
37262
+ * @enum {string}
37263
+ */
37264
+ var LoggerACTION;
37265
+ (function (LoggerACTION) {
37266
+ LoggerACTION["DEFAULTNOACTION"] = "DEFAULT_NO_ACTION";
37267
+ LoggerACTION["CREATE"] = "CREATE";
37268
+ LoggerACTION["UPDATE"] = "UPDATE";
37269
+ LoggerACTION["READ"] = "READ";
37270
+ LoggerACTION["DELETE"] = "DELETE";
37271
+ })(LoggerACTION || (LoggerACTION = {}));
37272
+
37097
37273
  // tslint:disable
37098
37274
  /**
37099
37275
  * Webitel engine API
@@ -41498,5 +41674,5 @@ class ExternalClient extends ee_3 {
41498
41674
 
41499
41675
  // tslint:disable
41500
41676
 
41501
- export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
41677
+ export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerACTION, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
41502
41678
  //# sourceMappingURL=index.esm.js.map