webitel-sdk 23.7.3 → 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 (59) hide show
  1. package/bundles/index.esm.js +295 -185
  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 +283 -190
  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 +160 -160
  10. package/esm2015/api/config-service-api.js.map +1 -1
  11. package/esm2015/api/index.js +4 -3
  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/esm5/api/config-service-api.js +166 -166
  24. package/esm5/api/config-service-api.js.map +1 -1
  25. package/esm5/api/index.js +4 -3
  26. package/esm5/api/index.js.map +1 -1
  27. package/esm5/api/logger-action.js +26 -0
  28. package/esm5/api/logger-action.js.map +1 -0
  29. package/esm5/api/logger-create-config-request.js +13 -0
  30. package/esm5/api/logger-create-config-request.js.map +1 -0
  31. package/esm5/api/logger-delete-config-bulk-request.js +13 -0
  32. package/esm5/api/logger-delete-config-bulk-request.js.map +1 -0
  33. package/esm5/api/logger-patch-config-request.js +13 -0
  34. package/esm5/api/logger-patch-config-request.js.map +1 -0
  35. package/esm5/api/logger-service-api.js +108 -24
  36. package/esm5/api/logger-service-api.js.map +1 -1
  37. package/package.json +1 -1
  38. package/types/api/agent-in-queue-agents-in-queue.d.ts +6 -0
  39. package/types/api/agent-in-queue-agents-in-queue.d.ts.map +1 -1
  40. package/types/api/config-service-api.d.ts +75 -75
  41. package/types/api/config-service-api.d.ts.map +1 -1
  42. package/types/api/index.d.ts +4 -3
  43. package/types/api/index.d.ts.map +1 -1
  44. package/types/api/logger-action.d.ts +24 -0
  45. package/types/api/logger-action.d.ts.map +1 -0
  46. package/types/api/logger-config.d.ts +6 -0
  47. package/types/api/logger-config.d.ts.map +1 -1
  48. package/types/api/logger-create-config-request.d.ts +56 -0
  49. package/types/api/logger-create-config-request.d.ts.map +1 -0
  50. package/types/api/logger-delete-config-bulk-request.d.ts +25 -0
  51. package/types/api/logger-delete-config-bulk-request.d.ts.map +1 -0
  52. package/types/api/logger-log.d.ts +6 -0
  53. package/types/api/logger-log.d.ts.map +1 -1
  54. package/types/api/logger-patch-config-request.d.ts +62 -0
  55. package/types/api/logger-patch-config-request.d.ts.map +1 -0
  56. package/types/api/logger-service-api.d.ts +64 -16
  57. package/types/api/logger-service-api.d.ts.map +1 -1
  58. package/types/api/logger-update-config-request.d.ts +6 -0
  59. package/types/api/logger-update-config-request.d.ts.map +1 -1
@@ -12667,27 +12667,27 @@
12667
12667
  return {
12668
12668
  /**
12669
12669
  *
12670
- * @param {number} configId
12670
+ * @param {LoggerCreateConfigRequest} body
12671
12671
  * @param {*} [options] Override http request option.
12672
12672
  * @throws {RequiredError}
12673
12673
  */
12674
- _delete: function (configId, options) {
12674
+ createConfig: function (body, options) {
12675
12675
  if (options === void 0) { options = {}; }
12676
12676
  return tslib.__awaiter(_this, void 0, void 0, function () {
12677
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12677
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12678
12678
  return tslib.__generator(this, function (_b) {
12679
12679
  switch (_b.label) {
12680
12680
  case 0:
12681
- // verify required parameter 'configId' is not null or undefined
12682
- if (configId === null || configId === undefined) {
12683
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling _delete.');
12681
+ // verify required parameter 'body' is not null or undefined
12682
+ if (body === null || body === undefined) {
12683
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling createConfig.');
12684
12684
  }
12685
- localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12685
+ localVarPath = "/logger/config";
12686
12686
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12687
12687
  if (configuration) {
12688
12688
  baseOptions = configuration.baseOptions;
12689
12689
  }
12690
- localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'DELETE' }, baseOptions), options);
12690
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'POST' }, baseOptions), options);
12691
12691
  localVarHeaderParameter = {};
12692
12692
  localVarQueryParameter = {};
12693
12693
  if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
@@ -12705,11 +12705,17 @@
12705
12705
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12706
12706
  _b.label = 5;
12707
12707
  case 5:
12708
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12708
12709
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12709
12710
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12710
12711
  delete localVarUrlObj.search;
12711
12712
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12712
12713
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12714
+ needsSerialization = typeof body !== 'string' ||
12715
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
12716
+ localVarRequestOptions.data = needsSerialization
12717
+ ? JSON.stringify(body !== undefined ? body : {})
12718
+ : body || '';
12713
12719
  return [2 /*return*/, {
12714
12720
  url: globalImportUrl.format(localVarUrlObj),
12715
12721
  options: localVarRequestOptions,
@@ -12720,22 +12726,22 @@
12720
12726
  },
12721
12727
  /**
12722
12728
  *
12723
- * @param {LoggerDeleteConfigsRequest} body
12729
+ * @param {number} configId
12724
12730
  * @param {*} [options] Override http request option.
12725
12731
  * @throws {RequiredError}
12726
12732
  */
12727
- deleteBulk: function (body, options) {
12733
+ deleteConfig: function (configId, options) {
12728
12734
  if (options === void 0) { options = {}; }
12729
12735
  return tslib.__awaiter(_this, void 0, void 0, function () {
12730
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12736
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12731
12737
  return tslib.__generator(this, function (_b) {
12732
12738
  switch (_b.label) {
12733
12739
  case 0:
12734
- // verify required parameter 'body' is not null or undefined
12735
- if (body === null || body === undefined) {
12736
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteBulk.');
12740
+ // verify required parameter 'configId' is not null or undefined
12741
+ if (configId === null || configId === undefined) {
12742
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
12737
12743
  }
12738
- localVarPath = "/logger/config";
12744
+ localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12739
12745
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12740
12746
  if (configuration) {
12741
12747
  baseOptions = configuration.baseOptions;
@@ -12758,17 +12764,11 @@
12758
12764
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12759
12765
  _b.label = 5;
12760
12766
  case 5:
12761
- localVarHeaderParameter['Content-Type'] = 'application/json';
12762
12767
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12763
12768
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12764
12769
  delete localVarUrlObj.search;
12765
12770
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12766
12771
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12767
- needsSerialization = typeof body !== 'string' ||
12768
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
12769
- localVarRequestOptions.data = needsSerialization
12770
- ? JSON.stringify(body !== undefined ? body : {})
12771
- : body || '';
12772
12772
  return [2 /*return*/, {
12773
12773
  url: globalImportUrl.format(localVarUrlObj),
12774
12774
  options: localVarRequestOptions,
@@ -12779,27 +12779,27 @@
12779
12779
  },
12780
12780
  /**
12781
12781
  *
12782
- * @param {number} [page]
12783
- * @param {number} [size]
12784
- * @param {string} [q]
12785
- * @param {string} [sort]
12786
- * @param {Array<string>} [fields]
12782
+ * @param {LoggerDeleteConfigBulkRequest} body
12787
12783
  * @param {*} [options] Override http request option.
12788
12784
  * @throws {RequiredError}
12789
12785
  */
12790
- getAll: function (page, size, q, sort, fields, options) {
12786
+ deleteConfigBulk: function (body, options) {
12791
12787
  if (options === void 0) { options = {}; }
12792
12788
  return tslib.__awaiter(_this, void 0, void 0, function () {
12793
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12789
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12794
12790
  return tslib.__generator(this, function (_b) {
12795
12791
  switch (_b.label) {
12796
12792
  case 0:
12793
+ // verify required parameter 'body' is not null or undefined
12794
+ if (body === null || body === undefined) {
12795
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigBulk.');
12796
+ }
12797
12797
  localVarPath = "/logger/config";
12798
12798
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12799
12799
  if (configuration) {
12800
12800
  baseOptions = configuration.baseOptions;
12801
12801
  }
12802
- localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
12802
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'DELETE' }, baseOptions), options);
12803
12803
  localVarHeaderParameter = {};
12804
12804
  localVarQueryParameter = {};
12805
12805
  if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
@@ -12817,26 +12817,17 @@
12817
12817
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12818
12818
  _b.label = 5;
12819
12819
  case 5:
12820
- if (page !== undefined) {
12821
- localVarQueryParameter['page'] = page;
12822
- }
12823
- if (size !== undefined) {
12824
- localVarQueryParameter['size'] = size;
12825
- }
12826
- if (q !== undefined) {
12827
- localVarQueryParameter['q'] = q;
12828
- }
12829
- if (sort !== undefined) {
12830
- localVarQueryParameter['sort'] = sort;
12831
- }
12832
- if (fields) {
12833
- localVarQueryParameter['fields'] = fields;
12834
- }
12820
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12835
12821
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12836
12822
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12837
12823
  delete localVarUrlObj.search;
12838
12824
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12839
12825
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12826
+ needsSerialization = typeof body !== 'string' ||
12827
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
12828
+ localVarRequestOptions.data = needsSerialization
12829
+ ? JSON.stringify(body !== undefined ? body : {})
12830
+ : body || '';
12840
12831
  return [2 /*return*/, {
12841
12832
  url: globalImportUrl.format(localVarUrlObj),
12842
12833
  options: localVarRequestOptions,
@@ -12848,26 +12839,31 @@
12848
12839
  /**
12849
12840
  *
12850
12841
  * @param {number} configId
12842
+ * @param {LoggerPatchConfigRequest} body
12851
12843
  * @param {*} [options] Override http request option.
12852
12844
  * @throws {RequiredError}
12853
12845
  */
12854
- getById: function (configId, options) {
12846
+ patchConfig: function (configId, body, options) {
12855
12847
  if (options === void 0) { options = {}; }
12856
12848
  return tslib.__awaiter(_this, void 0, void 0, function () {
12857
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12849
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12858
12850
  return tslib.__generator(this, function (_b) {
12859
12851
  switch (_b.label) {
12860
12852
  case 0:
12861
12853
  // verify required parameter 'configId' is not null or undefined
12862
12854
  if (configId === null || configId === undefined) {
12863
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getById.');
12855
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchConfig.');
12856
+ }
12857
+ // verify required parameter 'body' is not null or undefined
12858
+ if (body === null || body === undefined) {
12859
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchConfig.');
12864
12860
  }
12865
12861
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12866
12862
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12867
12863
  if (configuration) {
12868
12864
  baseOptions = configuration.baseOptions;
12869
12865
  }
12870
- localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
12866
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'PATCH' }, baseOptions), options);
12871
12867
  localVarHeaderParameter = {};
12872
12868
  localVarQueryParameter = {};
12873
12869
  if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
@@ -12885,11 +12881,17 @@
12885
12881
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12886
12882
  _b.label = 5;
12887
12883
  case 5:
12884
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12888
12885
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12889
12886
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12890
12887
  delete localVarUrlObj.search;
12891
12888
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12892
12889
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12890
+ needsSerialization = typeof body !== 'string' ||
12891
+ localVarRequestOptions.headers['Content-Type'] === 'application/json';
12892
+ localVarRequestOptions.data = needsSerialization
12893
+ ? JSON.stringify(body !== undefined ? body : {})
12894
+ : body || '';
12893
12895
  return [2 /*return*/, {
12894
12896
  url: globalImportUrl.format(localVarUrlObj),
12895
12897
  options: localVarRequestOptions,
@@ -12900,17 +12902,22 @@
12900
12902
  },
12901
12903
  /**
12902
12904
  *
12905
+ * @param {number} configId
12903
12906
  * @param {*} [options] Override http request option.
12904
12907
  * @throws {RequiredError}
12905
12908
  */
12906
- getSystemObjects: function (options) {
12909
+ readConfig: function (configId, options) {
12907
12910
  if (options === void 0) { options = {}; }
12908
12911
  return tslib.__awaiter(_this, void 0, void 0, function () {
12909
12912
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12910
12913
  return tslib.__generator(this, function (_b) {
12911
12914
  switch (_b.label) {
12912
12915
  case 0:
12913
- localVarPath = "/logger/available_objects";
12916
+ // verify required parameter 'configId' is not null or undefined
12917
+ if (configId === null || configId === undefined) {
12918
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling readConfig.');
12919
+ }
12920
+ localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12914
12921
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12915
12922
  if (configuration) {
12916
12923
  baseOptions = configuration.baseOptions;
@@ -12948,27 +12955,22 @@
12948
12955
  },
12949
12956
  /**
12950
12957
  *
12951
- * @param {LoggerInsertConfigRequest} body
12952
12958
  * @param {*} [options] Override http request option.
12953
12959
  * @throws {RequiredError}
12954
12960
  */
12955
- insert: function (body, options) {
12961
+ readSystemObjects: function (options) {
12956
12962
  if (options === void 0) { options = {}; }
12957
12963
  return tslib.__awaiter(_this, void 0, void 0, function () {
12958
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12964
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12959
12965
  return tslib.__generator(this, function (_b) {
12960
12966
  switch (_b.label) {
12961
12967
  case 0:
12962
- // verify required parameter 'body' is not null or undefined
12963
- if (body === null || body === undefined) {
12964
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling insert.');
12965
- }
12966
- localVarPath = "/logger/config";
12968
+ localVarPath = "/logger/available_objects";
12967
12969
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12968
12970
  if (configuration) {
12969
12971
  baseOptions = configuration.baseOptions;
12970
12972
  }
12971
- localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'POST' }, baseOptions), options);
12973
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
12972
12974
  localVarHeaderParameter = {};
12973
12975
  localVarQueryParameter = {};
12974
12976
  if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
@@ -12986,17 +12988,11 @@
12986
12988
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12987
12989
  _b.label = 5;
12988
12990
  case 5:
12989
- localVarHeaderParameter['Content-Type'] = 'application/json';
12990
12991
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12991
12992
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12992
12993
  delete localVarUrlObj.search;
12993
12994
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12994
12995
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12995
- needsSerialization = typeof body !== 'string' ||
12996
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
12997
- localVarRequestOptions.data = needsSerialization
12998
- ? JSON.stringify(body !== undefined ? body : {})
12999
- : body || '';
13000
12996
  return [2 /*return*/, {
13001
12997
  url: globalImportUrl.format(localVarUrlObj),
13002
12998
  options: localVarRequestOptions,
@@ -13007,32 +13003,27 @@
13007
13003
  },
13008
13004
  /**
13009
13005
  *
13010
- * @param {number} configId
13011
- * @param {LoggerPatchUpdateConfigRequest} body
13006
+ * @param {number} [page]
13007
+ * @param {number} [size]
13008
+ * @param {string} [q]
13009
+ * @param {string} [sort]
13010
+ * @param {Array<string>} [fields]
13012
13011
  * @param {*} [options] Override http request option.
13013
13012
  * @throws {RequiredError}
13014
13013
  */
13015
- patchUpdate: function (configId, body, options) {
13014
+ searchConfig: function (page, size, q, sort, fields, options) {
13016
13015
  if (options === void 0) { options = {}; }
13017
13016
  return tslib.__awaiter(_this, void 0, void 0, function () {
13018
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
13017
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
13019
13018
  return tslib.__generator(this, function (_b) {
13020
13019
  switch (_b.label) {
13021
13020
  case 0:
13022
- // verify required parameter 'configId' is not null or undefined
13023
- if (configId === null || configId === undefined) {
13024
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdate.');
13025
- }
13026
- // verify required parameter 'body' is not null or undefined
13027
- if (body === null || body === undefined) {
13028
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdate.');
13029
- }
13030
- localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
13021
+ localVarPath = "/logger/config";
13031
13022
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
13032
13023
  if (configuration) {
13033
13024
  baseOptions = configuration.baseOptions;
13034
13025
  }
13035
- localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'PATCH' }, baseOptions), options);
13026
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
13036
13027
  localVarHeaderParameter = {};
13037
13028
  localVarQueryParameter = {};
13038
13029
  if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
@@ -13050,17 +13041,26 @@
13050
13041
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
13051
13042
  _b.label = 5;
13052
13043
  case 5:
13053
- localVarHeaderParameter['Content-Type'] = 'application/json';
13044
+ if (page !== undefined) {
13045
+ localVarQueryParameter['page'] = page;
13046
+ }
13047
+ if (size !== undefined) {
13048
+ localVarQueryParameter['size'] = size;
13049
+ }
13050
+ if (q !== undefined) {
13051
+ localVarQueryParameter['q'] = q;
13052
+ }
13053
+ if (sort !== undefined) {
13054
+ localVarQueryParameter['sort'] = sort;
13055
+ }
13056
+ if (fields) {
13057
+ localVarQueryParameter['fields'] = fields;
13058
+ }
13054
13059
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
13055
13060
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
13056
13061
  delete localVarUrlObj.search;
13057
13062
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13058
13063
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13059
- needsSerialization = typeof body !== 'string' ||
13060
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
13061
- localVarRequestOptions.data = needsSerialization
13062
- ? JSON.stringify(body !== undefined ? body : {})
13063
- : body || '';
13064
13064
  return [2 /*return*/, {
13065
13065
  url: globalImportUrl.format(localVarUrlObj),
13066
13066
  options: localVarRequestOptions,
@@ -13076,7 +13076,7 @@
13076
13076
  * @param {*} [options] Override http request option.
13077
13077
  * @throws {RequiredError}
13078
13078
  */
13079
- update: function (configId, body, options) {
13079
+ updateConfig: function (configId, body, options) {
13080
13080
  if (options === void 0) { options = {}; }
13081
13081
  return tslib.__awaiter(_this, void 0, void 0, function () {
13082
13082
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
@@ -13085,11 +13085,11 @@
13085
13085
  case 0:
13086
13086
  // verify required parameter 'configId' is not null or undefined
13087
13087
  if (configId === null || configId === undefined) {
13088
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling update.');
13088
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling updateConfig.');
13089
13089
  }
13090
13090
  // verify required parameter 'body' is not null or undefined
13091
13091
  if (body === null || body === undefined) {
13092
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling update.');
13092
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateConfig.');
13093
13093
  }
13094
13094
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
13095
13095
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -13143,16 +13143,16 @@
13143
13143
  return {
13144
13144
  /**
13145
13145
  *
13146
- * @param {number} configId
13146
+ * @param {LoggerCreateConfigRequest} body
13147
13147
  * @param {*} [options] Override http request option.
13148
13148
  * @throws {RequiredError}
13149
13149
  */
13150
- _delete: function (configId, options) {
13150
+ createConfig: function (body, options) {
13151
13151
  return tslib.__awaiter(this, void 0, void 0, function () {
13152
13152
  var localVarAxiosArgs;
13153
13153
  return tslib.__generator(this, function (_a) {
13154
13154
  switch (_a.label) {
13155
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration)._delete(configId, options)];
13155
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).createConfig(body, options)];
13156
13156
  case 1:
13157
13157
  localVarAxiosArgs = _a.sent();
13158
13158
  return [2 /*return*/, function (axios, basePath) {
@@ -13167,16 +13167,16 @@
13167
13167
  },
13168
13168
  /**
13169
13169
  *
13170
- * @param {LoggerDeleteConfigsRequest} body
13170
+ * @param {number} configId
13171
13171
  * @param {*} [options] Override http request option.
13172
13172
  * @throws {RequiredError}
13173
13173
  */
13174
- deleteBulk: function (body, options) {
13174
+ deleteConfig: function (configId, options) {
13175
13175
  return tslib.__awaiter(this, void 0, void 0, function () {
13176
13176
  var localVarAxiosArgs;
13177
13177
  return tslib.__generator(this, function (_a) {
13178
13178
  switch (_a.label) {
13179
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteBulk(body, options)];
13179
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, options)];
13180
13180
  case 1:
13181
13181
  localVarAxiosArgs = _a.sent();
13182
13182
  return [2 /*return*/, function (axios, basePath) {
@@ -13191,20 +13191,16 @@
13191
13191
  },
13192
13192
  /**
13193
13193
  *
13194
- * @param {number} [page]
13195
- * @param {number} [size]
13196
- * @param {string} [q]
13197
- * @param {string} [sort]
13198
- * @param {Array<string>} [fields]
13194
+ * @param {LoggerDeleteConfigBulkRequest} body
13199
13195
  * @param {*} [options] Override http request option.
13200
13196
  * @throws {RequiredError}
13201
13197
  */
13202
- getAll: function (page, size, q, sort, fields, options) {
13198
+ deleteConfigBulk: function (body, options) {
13203
13199
  return tslib.__awaiter(this, void 0, void 0, function () {
13204
13200
  var localVarAxiosArgs;
13205
13201
  return tslib.__generator(this, function (_a) {
13206
13202
  switch (_a.label) {
13207
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getAll(page, size, q, sort, fields, options)];
13203
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfigBulk(body, options)];
13208
13204
  case 1:
13209
13205
  localVarAxiosArgs = _a.sent();
13210
13206
  return [2 /*return*/, function (axios, basePath) {
@@ -13220,15 +13216,16 @@
13220
13216
  /**
13221
13217
  *
13222
13218
  * @param {number} configId
13219
+ * @param {LoggerPatchConfigRequest} body
13223
13220
  * @param {*} [options] Override http request option.
13224
13221
  * @throws {RequiredError}
13225
13222
  */
13226
- getById: function (configId, options) {
13223
+ patchConfig: function (configId, body, options) {
13227
13224
  return tslib.__awaiter(this, void 0, void 0, function () {
13228
13225
  var localVarAxiosArgs;
13229
13226
  return tslib.__generator(this, function (_a) {
13230
13227
  switch (_a.label) {
13231
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getById(configId, options)];
13228
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).patchConfig(configId, body, options)];
13232
13229
  case 1:
13233
13230
  localVarAxiosArgs = _a.sent();
13234
13231
  return [2 /*return*/, function (axios, basePath) {
@@ -13243,15 +13240,16 @@
13243
13240
  },
13244
13241
  /**
13245
13242
  *
13243
+ * @param {number} configId
13246
13244
  * @param {*} [options] Override http request option.
13247
13245
  * @throws {RequiredError}
13248
13246
  */
13249
- getSystemObjects: function (options) {
13247
+ readConfig: function (configId, options) {
13250
13248
  return tslib.__awaiter(this, void 0, void 0, function () {
13251
13249
  var localVarAxiosArgs;
13252
13250
  return tslib.__generator(this, function (_a) {
13253
13251
  switch (_a.label) {
13254
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getSystemObjects(options)];
13252
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).readConfig(configId, options)];
13255
13253
  case 1:
13256
13254
  localVarAxiosArgs = _a.sent();
13257
13255
  return [2 /*return*/, function (axios, basePath) {
@@ -13266,16 +13264,15 @@
13266
13264
  },
13267
13265
  /**
13268
13266
  *
13269
- * @param {LoggerInsertConfigRequest} body
13270
13267
  * @param {*} [options] Override http request option.
13271
13268
  * @throws {RequiredError}
13272
13269
  */
13273
- insert: function (body, options) {
13270
+ readSystemObjects: function (options) {
13274
13271
  return tslib.__awaiter(this, void 0, void 0, function () {
13275
13272
  var localVarAxiosArgs;
13276
13273
  return tslib.__generator(this, function (_a) {
13277
13274
  switch (_a.label) {
13278
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).insert(body, options)];
13275
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).readSystemObjects(options)];
13279
13276
  case 1:
13280
13277
  localVarAxiosArgs = _a.sent();
13281
13278
  return [2 /*return*/, function (axios, basePath) {
@@ -13290,17 +13287,20 @@
13290
13287
  },
13291
13288
  /**
13292
13289
  *
13293
- * @param {number} configId
13294
- * @param {LoggerPatchUpdateConfigRequest} body
13290
+ * @param {number} [page]
13291
+ * @param {number} [size]
13292
+ * @param {string} [q]
13293
+ * @param {string} [sort]
13294
+ * @param {Array<string>} [fields]
13295
13295
  * @param {*} [options] Override http request option.
13296
13296
  * @throws {RequiredError}
13297
13297
  */
13298
- patchUpdate: function (configId, body, options) {
13298
+ searchConfig: function (page, size, q, sort, fields, options) {
13299
13299
  return tslib.__awaiter(this, void 0, void 0, function () {
13300
13300
  var localVarAxiosArgs;
13301
13301
  return tslib.__generator(this, function (_a) {
13302
13302
  switch (_a.label) {
13303
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).patchUpdate(configId, body, options)];
13303
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options)];
13304
13304
  case 1:
13305
13305
  localVarAxiosArgs = _a.sent();
13306
13306
  return [2 /*return*/, function (axios, basePath) {
@@ -13320,12 +13320,12 @@
13320
13320
  * @param {*} [options] Override http request option.
13321
13321
  * @throws {RequiredError}
13322
13322
  */
13323
- update: function (configId, body, options) {
13323
+ updateConfig: function (configId, body, options) {
13324
13324
  return tslib.__awaiter(this, void 0, void 0, function () {
13325
13325
  var localVarAxiosArgs;
13326
13326
  return tslib.__generator(this, function (_a) {
13327
13327
  switch (_a.label) {
13328
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).update(configId, body, options)];
13328
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).updateConfig(configId, body, options)];
13329
13329
  case 1:
13330
13330
  localVarAxiosArgs = _a.sent();
13331
13331
  return [2 /*return*/, function (axios, basePath) {
@@ -13348,83 +13348,83 @@
13348
13348
  return {
13349
13349
  /**
13350
13350
  *
13351
- * @param {number} configId
13351
+ * @param {LoggerCreateConfigRequest} body
13352
13352
  * @param {*} [options] Override http request option.
13353
13353
  * @throws {RequiredError}
13354
13354
  */
13355
- _delete: function (configId, options) {
13355
+ createConfig: function (body, options) {
13356
13356
  return ConfigServiceApiFp(configuration)
13357
- ._delete(configId, options)
13357
+ .createConfig(body, options)
13358
13358
  .then(function (request) { return request(axios, basePath); });
13359
13359
  },
13360
13360
  /**
13361
13361
  *
13362
- * @param {LoggerDeleteConfigsRequest} body
13362
+ * @param {number} configId
13363
13363
  * @param {*} [options] Override http request option.
13364
13364
  * @throws {RequiredError}
13365
13365
  */
13366
- deleteBulk: function (body, options) {
13366
+ deleteConfig: function (configId, options) {
13367
13367
  return ConfigServiceApiFp(configuration)
13368
- .deleteBulk(body, options)
13368
+ .deleteConfig(configId, options)
13369
13369
  .then(function (request) { return request(axios, basePath); });
13370
13370
  },
13371
13371
  /**
13372
13372
  *
13373
- * @param {number} [page]
13374
- * @param {number} [size]
13375
- * @param {string} [q]
13376
- * @param {string} [sort]
13377
- * @param {Array<string>} [fields]
13373
+ * @param {LoggerDeleteConfigBulkRequest} body
13378
13374
  * @param {*} [options] Override http request option.
13379
13375
  * @throws {RequiredError}
13380
13376
  */
13381
- getAll: function (page, size, q, sort, fields, options) {
13377
+ deleteConfigBulk: function (body, options) {
13382
13378
  return ConfigServiceApiFp(configuration)
13383
- .getAll(page, size, q, sort, fields, options)
13379
+ .deleteConfigBulk(body, options)
13384
13380
  .then(function (request) { return request(axios, basePath); });
13385
13381
  },
13386
13382
  /**
13387
13383
  *
13388
13384
  * @param {number} configId
13385
+ * @param {LoggerPatchConfigRequest} body
13389
13386
  * @param {*} [options] Override http request option.
13390
13387
  * @throws {RequiredError}
13391
13388
  */
13392
- getById: function (configId, options) {
13389
+ patchConfig: function (configId, body, options) {
13393
13390
  return ConfigServiceApiFp(configuration)
13394
- .getById(configId, options)
13391
+ .patchConfig(configId, body, options)
13395
13392
  .then(function (request) { return request(axios, basePath); });
13396
13393
  },
13397
13394
  /**
13398
13395
  *
13396
+ * @param {number} configId
13399
13397
  * @param {*} [options] Override http request option.
13400
13398
  * @throws {RequiredError}
13401
13399
  */
13402
- getSystemObjects: function (options) {
13400
+ readConfig: function (configId, options) {
13403
13401
  return ConfigServiceApiFp(configuration)
13404
- .getSystemObjects(options)
13402
+ .readConfig(configId, options)
13405
13403
  .then(function (request) { return request(axios, basePath); });
13406
13404
  },
13407
13405
  /**
13408
13406
  *
13409
- * @param {LoggerInsertConfigRequest} body
13410
13407
  * @param {*} [options] Override http request option.
13411
13408
  * @throws {RequiredError}
13412
13409
  */
13413
- insert: function (body, options) {
13410
+ readSystemObjects: function (options) {
13414
13411
  return ConfigServiceApiFp(configuration)
13415
- .insert(body, options)
13412
+ .readSystemObjects(options)
13416
13413
  .then(function (request) { return request(axios, basePath); });
13417
13414
  },
13418
13415
  /**
13419
13416
  *
13420
- * @param {number} configId
13421
- * @param {LoggerPatchUpdateConfigRequest} body
13417
+ * @param {number} [page]
13418
+ * @param {number} [size]
13419
+ * @param {string} [q]
13420
+ * @param {string} [sort]
13421
+ * @param {Array<string>} [fields]
13422
13422
  * @param {*} [options] Override http request option.
13423
13423
  * @throws {RequiredError}
13424
13424
  */
13425
- patchUpdate: function (configId, body, options) {
13425
+ searchConfig: function (page, size, q, sort, fields, options) {
13426
13426
  return ConfigServiceApiFp(configuration)
13427
- .patchUpdate(configId, body, options)
13427
+ .searchConfig(page, size, q, sort, fields, options)
13428
13428
  .then(function (request) { return request(axios, basePath); });
13429
13429
  },
13430
13430
  /**
@@ -13434,9 +13434,9 @@
13434
13434
  * @param {*} [options] Override http request option.
13435
13435
  * @throws {RequiredError}
13436
13436
  */
13437
- update: function (configId, body, options) {
13437
+ updateConfig: function (configId, body, options) {
13438
13438
  return ConfigServiceApiFp(configuration)
13439
- .update(configId, body, options)
13439
+ .updateConfig(configId, body, options)
13440
13440
  .then(function (request) { return request(axios, basePath); });
13441
13441
  },
13442
13442
  };
@@ -13454,97 +13454,97 @@
13454
13454
  }
13455
13455
  /**
13456
13456
  *
13457
- * @param {number} configId
13457
+ * @param {LoggerCreateConfigRequest} body
13458
13458
  * @param {*} [options] Override http request option.
13459
13459
  * @throws {RequiredError}
13460
13460
  * @memberof ConfigServiceApi
13461
13461
  */
13462
- ConfigServiceApi.prototype._delete = function (configId, options) {
13462
+ ConfigServiceApi.prototype.createConfig = function (body, options) {
13463
13463
  var _this = this;
13464
13464
  return ConfigServiceApiFp(this.configuration)
13465
- ._delete(configId, options)
13465
+ .createConfig(body, options)
13466
13466
  .then(function (request) { return request(_this.axios, _this.basePath); });
13467
13467
  };
13468
13468
  /**
13469
13469
  *
13470
- * @param {LoggerDeleteConfigsRequest} body
13470
+ * @param {number} configId
13471
13471
  * @param {*} [options] Override http request option.
13472
13472
  * @throws {RequiredError}
13473
13473
  * @memberof ConfigServiceApi
13474
13474
  */
13475
- ConfigServiceApi.prototype.deleteBulk = function (body, options) {
13475
+ ConfigServiceApi.prototype.deleteConfig = function (configId, options) {
13476
13476
  var _this = this;
13477
13477
  return ConfigServiceApiFp(this.configuration)
13478
- .deleteBulk(body, options)
13478
+ .deleteConfig(configId, options)
13479
13479
  .then(function (request) { return request(_this.axios, _this.basePath); });
13480
13480
  };
13481
13481
  /**
13482
13482
  *
13483
- * @param {number} [page]
13484
- * @param {number} [size]
13485
- * @param {string} [q]
13486
- * @param {string} [sort]
13487
- * @param {Array<string>} [fields]
13483
+ * @param {LoggerDeleteConfigBulkRequest} body
13488
13484
  * @param {*} [options] Override http request option.
13489
13485
  * @throws {RequiredError}
13490
13486
  * @memberof ConfigServiceApi
13491
13487
  */
13492
- ConfigServiceApi.prototype.getAll = function (page, size, q, sort, fields, options) {
13488
+ ConfigServiceApi.prototype.deleteConfigBulk = function (body, options) {
13493
13489
  var _this = this;
13494
13490
  return ConfigServiceApiFp(this.configuration)
13495
- .getAll(page, size, q, sort, fields, options)
13491
+ .deleteConfigBulk(body, options)
13496
13492
  .then(function (request) { return request(_this.axios, _this.basePath); });
13497
13493
  };
13498
13494
  /**
13499
13495
  *
13500
13496
  * @param {number} configId
13497
+ * @param {LoggerPatchConfigRequest} body
13501
13498
  * @param {*} [options] Override http request option.
13502
13499
  * @throws {RequiredError}
13503
13500
  * @memberof ConfigServiceApi
13504
13501
  */
13505
- ConfigServiceApi.prototype.getById = function (configId, options) {
13502
+ ConfigServiceApi.prototype.patchConfig = function (configId, body, options) {
13506
13503
  var _this = this;
13507
13504
  return ConfigServiceApiFp(this.configuration)
13508
- .getById(configId, options)
13505
+ .patchConfig(configId, body, options)
13509
13506
  .then(function (request) { return request(_this.axios, _this.basePath); });
13510
13507
  };
13511
13508
  /**
13512
13509
  *
13510
+ * @param {number} configId
13513
13511
  * @param {*} [options] Override http request option.
13514
13512
  * @throws {RequiredError}
13515
13513
  * @memberof ConfigServiceApi
13516
13514
  */
13517
- ConfigServiceApi.prototype.getSystemObjects = function (options) {
13515
+ ConfigServiceApi.prototype.readConfig = function (configId, options) {
13518
13516
  var _this = this;
13519
13517
  return ConfigServiceApiFp(this.configuration)
13520
- .getSystemObjects(options)
13518
+ .readConfig(configId, options)
13521
13519
  .then(function (request) { return request(_this.axios, _this.basePath); });
13522
13520
  };
13523
13521
  /**
13524
13522
  *
13525
- * @param {LoggerInsertConfigRequest} body
13526
13523
  * @param {*} [options] Override http request option.
13527
13524
  * @throws {RequiredError}
13528
13525
  * @memberof ConfigServiceApi
13529
13526
  */
13530
- ConfigServiceApi.prototype.insert = function (body, options) {
13527
+ ConfigServiceApi.prototype.readSystemObjects = function (options) {
13531
13528
  var _this = this;
13532
13529
  return ConfigServiceApiFp(this.configuration)
13533
- .insert(body, options)
13530
+ .readSystemObjects(options)
13534
13531
  .then(function (request) { return request(_this.axios, _this.basePath); });
13535
13532
  };
13536
13533
  /**
13537
13534
  *
13538
- * @param {number} configId
13539
- * @param {LoggerPatchUpdateConfigRequest} body
13535
+ * @param {number} [page]
13536
+ * @param {number} [size]
13537
+ * @param {string} [q]
13538
+ * @param {string} [sort]
13539
+ * @param {Array<string>} [fields]
13540
13540
  * @param {*} [options] Override http request option.
13541
13541
  * @throws {RequiredError}
13542
13542
  * @memberof ConfigServiceApi
13543
13543
  */
13544
- ConfigServiceApi.prototype.patchUpdate = function (configId, body, options) {
13544
+ ConfigServiceApi.prototype.searchConfig = function (page, size, q, sort, fields, options) {
13545
13545
  var _this = this;
13546
13546
  return ConfigServiceApiFp(this.configuration)
13547
- .patchUpdate(configId, body, options)
13547
+ .searchConfig(page, size, q, sort, fields, options)
13548
13548
  .then(function (request) { return request(_this.axios, _this.basePath); });
13549
13549
  };
13550
13550
  /**
@@ -13555,10 +13555,10 @@
13555
13555
  * @throws {RequiredError}
13556
13556
  * @memberof ConfigServiceApi
13557
13557
  */
13558
- ConfigServiceApi.prototype.update = function (configId, body, options) {
13558
+ ConfigServiceApi.prototype.updateConfig = function (configId, body, options) {
13559
13559
  var _this = this;
13560
13560
  return ConfigServiceApiFp(this.configuration)
13561
- .update(configId, body, options)
13561
+ .updateConfig(configId, body, options)
13562
13562
  .then(function (request) { return request(_this.axios, _this.basePath); });
13563
13563
  };
13564
13564
  return ConfigServiceApi;
@@ -19484,16 +19484,22 @@
19484
19484
  return {
19485
19485
  /**
19486
19486
  *
19487
- * @param {number} configId
19487
+ * @param {number} configId REQUIRED filter
19488
19488
  * @param {number} [page]
19489
19489
  * @param {number} [size]
19490
19490
  * @param {string} [q]
19491
19491
  * @param {string} [sort]
19492
19492
  * @param {Array<string>} [fields]
19493
+ * @param {number} [userId]
19494
+ * @param {string} [userName]
19495
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19496
+ * @param {string} [userIp]
19497
+ * @param {string} [dateFrom]
19498
+ * @param {string} [dateTo]
19493
19499
  * @param {*} [options] Override http request option.
19494
19500
  * @throws {RequiredError}
19495
19501
  */
19496
- getByConfigId: function (configId, page, size, q, sort, fields, options) {
19502
+ searchLogByConfigId: function (configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
19497
19503
  if (options === void 0) { options = {}; }
19498
19504
  return tslib.__awaiter(_this, void 0, void 0, function () {
19499
19505
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -19502,7 +19508,7 @@
19502
19508
  case 0:
19503
19509
  // verify required parameter 'configId' is not null or undefined
19504
19510
  if (configId === null || configId === undefined) {
19505
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getByConfigId.');
19511
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling searchLogByConfigId.');
19506
19512
  }
19507
19513
  localVarPath = "/logger/config/{config_id}/logs".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
19508
19514
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -19542,6 +19548,24 @@
19542
19548
  if (fields) {
19543
19549
  localVarQueryParameter['fields'] = fields;
19544
19550
  }
19551
+ if (userId !== undefined) {
19552
+ localVarQueryParameter['user.id'] = userId;
19553
+ }
19554
+ if (userName !== undefined) {
19555
+ localVarQueryParameter['user.name'] = userName;
19556
+ }
19557
+ if (action !== undefined) {
19558
+ localVarQueryParameter['action'] = action;
19559
+ }
19560
+ if (userIp !== undefined) {
19561
+ localVarQueryParameter['userIp'] = userIp;
19562
+ }
19563
+ if (dateFrom !== undefined) {
19564
+ localVarQueryParameter['dateFrom'] = dateFrom;
19565
+ }
19566
+ if (dateTo !== undefined) {
19567
+ localVarQueryParameter['dateTo'] = dateTo;
19568
+ }
19545
19569
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
19546
19570
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
19547
19571
  delete localVarUrlObj.search;
@@ -19557,16 +19581,22 @@
19557
19581
  },
19558
19582
  /**
19559
19583
  *
19560
- * @param {number} userId
19584
+ * @param {number} userId REQUIRED filter
19561
19585
  * @param {number} [page]
19562
19586
  * @param {number} [size]
19563
19587
  * @param {string} [q]
19564
19588
  * @param {string} [sort]
19565
19589
  * @param {Array<string>} [fields]
19590
+ * @param {number} [objectId]
19591
+ * @param {string} [objectName]
19592
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19593
+ * @param {string} [userIp]
19594
+ * @param {string} [dateFrom]
19595
+ * @param {string} [dateTo]
19566
19596
  * @param {*} [options] Override http request option.
19567
19597
  * @throws {RequiredError}
19568
19598
  */
19569
- getByUserId: function (userId, page, size, q, sort, fields, options) {
19599
+ searchLogByUserId: function (userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
19570
19600
  if (options === void 0) { options = {}; }
19571
19601
  return tslib.__awaiter(_this, void 0, void 0, function () {
19572
19602
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -19575,7 +19605,7 @@
19575
19605
  case 0:
19576
19606
  // verify required parameter 'userId' is not null or undefined
19577
19607
  if (userId === null || userId === undefined) {
19578
- throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling getByUserId.');
19608
+ throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling searchLogByUserId.');
19579
19609
  }
19580
19610
  localVarPath = "/logger/user/{user_id}/logs".replace("{" + 'user_id' + "}", encodeURIComponent(String(userId)));
19581
19611
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -19615,6 +19645,24 @@
19615
19645
  if (fields) {
19616
19646
  localVarQueryParameter['fields'] = fields;
19617
19647
  }
19648
+ if (objectId !== undefined) {
19649
+ localVarQueryParameter['object.id'] = objectId;
19650
+ }
19651
+ if (objectName !== undefined) {
19652
+ localVarQueryParameter['object.name'] = objectName;
19653
+ }
19654
+ if (action !== undefined) {
19655
+ localVarQueryParameter['action'] = action;
19656
+ }
19657
+ if (userIp !== undefined) {
19658
+ localVarQueryParameter['userIp'] = userIp;
19659
+ }
19660
+ if (dateFrom !== undefined) {
19661
+ localVarQueryParameter['dateFrom'] = dateFrom;
19662
+ }
19663
+ if (dateTo !== undefined) {
19664
+ localVarQueryParameter['dateTo'] = dateTo;
19665
+ }
19618
19666
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
19619
19667
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
19620
19668
  delete localVarUrlObj.search;
@@ -19638,21 +19686,27 @@
19638
19686
  return {
19639
19687
  /**
19640
19688
  *
19641
- * @param {number} configId
19689
+ * @param {number} configId REQUIRED filter
19642
19690
  * @param {number} [page]
19643
19691
  * @param {number} [size]
19644
19692
  * @param {string} [q]
19645
19693
  * @param {string} [sort]
19646
19694
  * @param {Array<string>} [fields]
19695
+ * @param {number} [userId]
19696
+ * @param {string} [userName]
19697
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19698
+ * @param {string} [userIp]
19699
+ * @param {string} [dateFrom]
19700
+ * @param {string} [dateTo]
19647
19701
  * @param {*} [options] Override http request option.
19648
19702
  * @throws {RequiredError}
19649
19703
  */
19650
- getByConfigId: function (configId, page, size, q, sort, fields, options) {
19704
+ searchLogByConfigId: function (configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
19651
19705
  return tslib.__awaiter(this, void 0, void 0, function () {
19652
19706
  var localVarAxiosArgs;
19653
19707
  return tslib.__generator(this, function (_a) {
19654
19708
  switch (_a.label) {
19655
- case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getByConfigId(configId, page, size, q, sort, fields, options)];
19709
+ case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)];
19656
19710
  case 1:
19657
19711
  localVarAxiosArgs = _a.sent();
19658
19712
  return [2 /*return*/, function (axios, basePath) {
@@ -19667,21 +19721,27 @@
19667
19721
  },
19668
19722
  /**
19669
19723
  *
19670
- * @param {number} userId
19724
+ * @param {number} userId REQUIRED filter
19671
19725
  * @param {number} [page]
19672
19726
  * @param {number} [size]
19673
19727
  * @param {string} [q]
19674
19728
  * @param {string} [sort]
19675
19729
  * @param {Array<string>} [fields]
19730
+ * @param {number} [objectId]
19731
+ * @param {string} [objectName]
19732
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19733
+ * @param {string} [userIp]
19734
+ * @param {string} [dateFrom]
19735
+ * @param {string} [dateTo]
19676
19736
  * @param {*} [options] Override http request option.
19677
19737
  * @throws {RequiredError}
19678
19738
  */
19679
- getByUserId: function (userId, page, size, q, sort, fields, options) {
19739
+ searchLogByUserId: function (userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
19680
19740
  return tslib.__awaiter(this, void 0, void 0, function () {
19681
19741
  var localVarAxiosArgs;
19682
19742
  return tslib.__generator(this, function (_a) {
19683
19743
  switch (_a.label) {
19684
- case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getByUserId(userId, page, size, q, sort, fields, options)];
19744
+ case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)];
19685
19745
  case 1:
19686
19746
  localVarAxiosArgs = _a.sent();
19687
19747
  return [2 /*return*/, function (axios, basePath) {
@@ -19704,34 +19764,46 @@
19704
19764
  return {
19705
19765
  /**
19706
19766
  *
19707
- * @param {number} configId
19767
+ * @param {number} configId REQUIRED filter
19708
19768
  * @param {number} [page]
19709
19769
  * @param {number} [size]
19710
19770
  * @param {string} [q]
19711
19771
  * @param {string} [sort]
19712
19772
  * @param {Array<string>} [fields]
19773
+ * @param {number} [userId]
19774
+ * @param {string} [userName]
19775
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19776
+ * @param {string} [userIp]
19777
+ * @param {string} [dateFrom]
19778
+ * @param {string} [dateTo]
19713
19779
  * @param {*} [options] Override http request option.
19714
19780
  * @throws {RequiredError}
19715
19781
  */
19716
- getByConfigId: function (configId, page, size, q, sort, fields, options) {
19782
+ searchLogByConfigId: function (configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
19717
19783
  return LoggerServiceApiFp(configuration)
19718
- .getByConfigId(configId, page, size, q, sort, fields, options)
19784
+ .searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
19719
19785
  .then(function (request) { return request(axios, basePath); });
19720
19786
  },
19721
19787
  /**
19722
19788
  *
19723
- * @param {number} userId
19789
+ * @param {number} userId REQUIRED filter
19724
19790
  * @param {number} [page]
19725
19791
  * @param {number} [size]
19726
19792
  * @param {string} [q]
19727
19793
  * @param {string} [sort]
19728
19794
  * @param {Array<string>} [fields]
19795
+ * @param {number} [objectId]
19796
+ * @param {string} [objectName]
19797
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19798
+ * @param {string} [userIp]
19799
+ * @param {string} [dateFrom]
19800
+ * @param {string} [dateTo]
19729
19801
  * @param {*} [options] Override http request option.
19730
19802
  * @throws {RequiredError}
19731
19803
  */
19732
- getByUserId: function (userId, page, size, q, sort, fields, options) {
19804
+ searchLogByUserId: function (userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
19733
19805
  return LoggerServiceApiFp(configuration)
19734
- .getByUserId(userId, page, size, q, sort, fields, options)
19806
+ .searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
19735
19807
  .then(function (request) { return request(axios, basePath); });
19736
19808
  },
19737
19809
  };
@@ -19749,38 +19821,50 @@
19749
19821
  }
19750
19822
  /**
19751
19823
  *
19752
- * @param {number} configId
19824
+ * @param {number} configId REQUIRED filter
19753
19825
  * @param {number} [page]
19754
19826
  * @param {number} [size]
19755
19827
  * @param {string} [q]
19756
19828
  * @param {string} [sort]
19757
19829
  * @param {Array<string>} [fields]
19830
+ * @param {number} [userId]
19831
+ * @param {string} [userName]
19832
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19833
+ * @param {string} [userIp]
19834
+ * @param {string} [dateFrom]
19835
+ * @param {string} [dateTo]
19758
19836
  * @param {*} [options] Override http request option.
19759
19837
  * @throws {RequiredError}
19760
19838
  * @memberof LoggerServiceApi
19761
19839
  */
19762
- LoggerServiceApi.prototype.getByConfigId = function (configId, page, size, q, sort, fields, options) {
19840
+ LoggerServiceApi.prototype.searchLogByConfigId = function (configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
19763
19841
  var _this = this;
19764
19842
  return LoggerServiceApiFp(this.configuration)
19765
- .getByConfigId(configId, page, size, q, sort, fields, options)
19843
+ .searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
19766
19844
  .then(function (request) { return request(_this.axios, _this.basePath); });
19767
19845
  };
19768
19846
  /**
19769
19847
  *
19770
- * @param {number} userId
19848
+ * @param {number} userId REQUIRED filter
19771
19849
  * @param {number} [page]
19772
19850
  * @param {number} [size]
19773
19851
  * @param {string} [q]
19774
19852
  * @param {string} [sort]
19775
19853
  * @param {Array<string>} [fields]
19854
+ * @param {number} [objectId]
19855
+ * @param {string} [objectName]
19856
+ * @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
19857
+ * @param {string} [userIp]
19858
+ * @param {string} [dateFrom]
19859
+ * @param {string} [dateTo]
19776
19860
  * @param {*} [options] Override http request option.
19777
19861
  * @throws {RequiredError}
19778
19862
  * @memberof LoggerServiceApi
19779
19863
  */
19780
- LoggerServiceApi.prototype.getByUserId = function (userId, page, size, q, sort, fields, options) {
19864
+ LoggerServiceApi.prototype.searchLogByUserId = function (userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
19781
19865
  var _this = this;
19782
19866
  return LoggerServiceApiFp(this.configuration)
19783
- .getByUserId(userId, page, size, q, sort, fields, options)
19867
+ .searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
19784
19868
  .then(function (request) { return request(_this.axios, _this.basePath); });
19785
19869
  };
19786
19870
  return LoggerServiceApi;
@@ -40978,6 +41062,15 @@
40978
41062
  * Do not edit the class manually.
40979
41063
  */
40980
41064
 
41065
+ // tslint:disable
41066
+ (function (LoggerACTION) {
41067
+ LoggerACTION["DEFAULTNOACTION"] = "DEFAULT_NO_ACTION";
41068
+ LoggerACTION["CREATE"] = "CREATE";
41069
+ LoggerACTION["UPDATE"] = "UPDATE";
41070
+ LoggerACTION["READ"] = "READ";
41071
+ LoggerACTION["DELETE"] = "DELETE";
41072
+ })(exports.LoggerACTION || (exports.LoggerACTION = {}));
41073
+
40981
41074
  // tslint:disable
40982
41075
  /**
40983
41076
  * Webitel engine API