webitel-sdk 23.7.2 → 23.7.3

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 (40) hide show
  1. package/bundles/index.esm.js +153 -87
  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 +167 -88
  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 +137 -71
  10. package/esm2015/api/config-service-api.js.map +1 -1
  11. package/esm2015/api/index.js +1 -1
  12. package/esm2015/api/index.js.map +1 -1
  13. package/esm2015/api/logger-service-api.js +16 -16
  14. package/esm2015/api/logger-service-api.js.map +1 -1
  15. package/esm2015/api/logger-system-objects.js +13 -0
  16. package/esm2015/api/logger-system-objects.js.map +1 -0
  17. package/esm5/api/config-service-api.js +151 -72
  18. package/esm5/api/config-service-api.js.map +1 -1
  19. package/esm5/api/index.js +1 -1
  20. package/esm5/api/index.js.map +1 -1
  21. package/esm5/api/logger-service-api.js +16 -16
  22. package/esm5/api/logger-service-api.js.map +1 -1
  23. package/esm5/api/logger-system-objects.js +13 -0
  24. package/esm5/api/logger-system-objects.js.map +1 -0
  25. package/package.json +1 -1
  26. package/types/api/config-service-api.d.ts +54 -33
  27. package/types/api/config-service-api.d.ts.map +1 -1
  28. package/types/api/index.d.ts +1 -1
  29. package/types/api/index.d.ts.map +1 -1
  30. package/types/api/logger-config.d.ts +2 -2
  31. package/types/api/logger-insert-config-request.d.ts +7 -6
  32. package/types/api/logger-insert-config-request.d.ts.map +1 -1
  33. package/types/api/logger-patch-update-config-request.d.ts +5 -4
  34. package/types/api/logger-patch-update-config-request.d.ts.map +1 -1
  35. package/types/api/logger-service-api.d.ts +8 -8
  36. package/types/api/logger-service-api.d.ts.map +1 -1
  37. package/types/api/logger-system-objects.d.ts +26 -0
  38. package/types/api/logger-system-objects.d.ts.map +1 -0
  39. package/types/api/logger-update-config-request.d.ts +5 -4
  40. package/types/api/logger-update-config-request.d.ts.map +1 -1
@@ -12668,24 +12668,19 @@
12668
12668
  /**
12669
12669
  *
12670
12670
  * @param {number} configId
12671
- * @param {LoggerDeleteConfigRequest} body
12672
12671
  * @param {*} [options] Override http request option.
12673
12672
  * @throws {RequiredError}
12674
12673
  */
12675
- deleteConfig: function (configId, body, options) {
12674
+ _delete: function (configId, options) {
12676
12675
  if (options === void 0) { options = {}; }
12677
12676
  return tslib.__awaiter(_this, void 0, void 0, function () {
12678
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
12677
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12679
12678
  return tslib.__generator(this, function (_b) {
12680
12679
  switch (_b.label) {
12681
12680
  case 0:
12682
12681
  // verify required parameter 'configId' is not null or undefined
12683
12682
  if (configId === null || configId === undefined) {
12684
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
12685
- }
12686
- // verify required parameter 'body' is not null or undefined
12687
- if (body === null || body === undefined) {
12688
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfig.');
12683
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling _delete.');
12689
12684
  }
12690
12685
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12691
12686
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -12710,17 +12705,11 @@
12710
12705
  localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12711
12706
  _b.label = 5;
12712
12707
  case 5:
12713
- localVarHeaderParameter['Content-Type'] = 'application/json';
12714
12708
  localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12715
12709
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12716
12710
  delete localVarUrlObj.search;
12717
12711
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12718
12712
  localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12719
- needsSerialization = typeof body !== 'string' ||
12720
- localVarRequestOptions.headers['Content-Type'] === 'application/json';
12721
- localVarRequestOptions.data = needsSerialization
12722
- ? JSON.stringify(body !== undefined ? body : {})
12723
- : body || '';
12724
12713
  return [2 /*return*/, {
12725
12714
  url: globalImportUrl.format(localVarUrlObj),
12726
12715
  options: localVarRequestOptions,
@@ -12735,7 +12724,7 @@
12735
12724
  * @param {*} [options] Override http request option.
12736
12725
  * @throws {RequiredError}
12737
12726
  */
12738
- deleteConfigs: function (body, options) {
12727
+ deleteBulk: function (body, options) {
12739
12728
  if (options === void 0) { options = {}; }
12740
12729
  return tslib.__awaiter(_this, void 0, void 0, function () {
12741
12730
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
@@ -12744,7 +12733,7 @@
12744
12733
  case 0:
12745
12734
  // verify required parameter 'body' is not null or undefined
12746
12735
  if (body === null || body === undefined) {
12747
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigs.');
12736
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteBulk.');
12748
12737
  }
12749
12738
  localVarPath = "/logger/config";
12750
12739
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -12798,7 +12787,7 @@
12798
12787
  * @param {*} [options] Override http request option.
12799
12788
  * @throws {RequiredError}
12800
12789
  */
12801
- getAllConfigs: function (page, size, q, sort, fields, options) {
12790
+ getAll: function (page, size, q, sort, fields, options) {
12802
12791
  if (options === void 0) { options = {}; }
12803
12792
  return tslib.__awaiter(_this, void 0, void 0, function () {
12804
12793
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -12862,7 +12851,7 @@
12862
12851
  * @param {*} [options] Override http request option.
12863
12852
  * @throws {RequiredError}
12864
12853
  */
12865
- getConfigById: function (configId, options) {
12854
+ getById: function (configId, options) {
12866
12855
  if (options === void 0) { options = {}; }
12867
12856
  return tslib.__awaiter(_this, void 0, void 0, function () {
12868
12857
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -12871,7 +12860,7 @@
12871
12860
  case 0:
12872
12861
  // verify required parameter 'configId' is not null or undefined
12873
12862
  if (configId === null || configId === undefined) {
12874
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getConfigById.');
12863
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getById.');
12875
12864
  }
12876
12865
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12877
12866
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -12909,13 +12898,61 @@
12909
12898
  });
12910
12899
  });
12911
12900
  },
12901
+ /**
12902
+ *
12903
+ * @param {*} [options] Override http request option.
12904
+ * @throws {RequiredError}
12905
+ */
12906
+ getSystemObjects: function (options) {
12907
+ if (options === void 0) { options = {}; }
12908
+ return tslib.__awaiter(_this, void 0, void 0, function () {
12909
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
12910
+ return tslib.__generator(this, function (_b) {
12911
+ switch (_b.label) {
12912
+ case 0:
12913
+ localVarPath = "/logger/available_objects";
12914
+ localVarUrlObj = globalImportUrl.parse(localVarPath, true);
12915
+ if (configuration) {
12916
+ baseOptions = configuration.baseOptions;
12917
+ }
12918
+ localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
12919
+ localVarHeaderParameter = {};
12920
+ localVarQueryParameter = {};
12921
+ if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
12922
+ if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
12923
+ return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
12924
+ case 1:
12925
+ _a = _b.sent();
12926
+ return [3 /*break*/, 4];
12927
+ case 2: return [4 /*yield*/, configuration.apiKey];
12928
+ case 3:
12929
+ _a = _b.sent();
12930
+ _b.label = 4;
12931
+ case 4:
12932
+ localVarApiKeyValue = _a;
12933
+ localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
12934
+ _b.label = 5;
12935
+ case 5:
12936
+ localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
12937
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12938
+ delete localVarUrlObj.search;
12939
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12940
+ localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12941
+ return [2 /*return*/, {
12942
+ url: globalImportUrl.format(localVarUrlObj),
12943
+ options: localVarRequestOptions,
12944
+ }];
12945
+ }
12946
+ });
12947
+ });
12948
+ },
12912
12949
  /**
12913
12950
  *
12914
12951
  * @param {LoggerInsertConfigRequest} body
12915
12952
  * @param {*} [options] Override http request option.
12916
12953
  * @throws {RequiredError}
12917
12954
  */
12918
- insertConfig: function (body, options) {
12955
+ insert: function (body, options) {
12919
12956
  if (options === void 0) { options = {}; }
12920
12957
  return tslib.__awaiter(_this, void 0, void 0, function () {
12921
12958
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
@@ -12924,7 +12961,7 @@
12924
12961
  case 0:
12925
12962
  // verify required parameter 'body' is not null or undefined
12926
12963
  if (body === null || body === undefined) {
12927
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling insertConfig.');
12964
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling insert.');
12928
12965
  }
12929
12966
  localVarPath = "/logger/config";
12930
12967
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -12975,7 +13012,7 @@
12975
13012
  * @param {*} [options] Override http request option.
12976
13013
  * @throws {RequiredError}
12977
13014
  */
12978
- patchUpdateConfig: function (configId, body, options) {
13015
+ patchUpdate: function (configId, body, options) {
12979
13016
  if (options === void 0) { options = {}; }
12980
13017
  return tslib.__awaiter(_this, void 0, void 0, function () {
12981
13018
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
@@ -12984,11 +13021,11 @@
12984
13021
  case 0:
12985
13022
  // verify required parameter 'configId' is not null or undefined
12986
13023
  if (configId === null || configId === undefined) {
12987
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdateConfig.');
13024
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdate.');
12988
13025
  }
12989
13026
  // verify required parameter 'body' is not null or undefined
12990
13027
  if (body === null || body === undefined) {
12991
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdateConfig.');
13028
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdate.');
12992
13029
  }
12993
13030
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
12994
13031
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -13039,7 +13076,7 @@
13039
13076
  * @param {*} [options] Override http request option.
13040
13077
  * @throws {RequiredError}
13041
13078
  */
13042
- updateConfig: function (configId, body, options) {
13079
+ update: function (configId, body, options) {
13043
13080
  if (options === void 0) { options = {}; }
13044
13081
  return tslib.__awaiter(_this, void 0, void 0, function () {
13045
13082
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
@@ -13048,11 +13085,11 @@
13048
13085
  case 0:
13049
13086
  // verify required parameter 'configId' is not null or undefined
13050
13087
  if (configId === null || configId === undefined) {
13051
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling updateConfig.');
13088
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling update.');
13052
13089
  }
13053
13090
  // verify required parameter 'body' is not null or undefined
13054
13091
  if (body === null || body === undefined) {
13055
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateConfig.');
13092
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling update.');
13056
13093
  }
13057
13094
  localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
13058
13095
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -13107,16 +13144,15 @@
13107
13144
  /**
13108
13145
  *
13109
13146
  * @param {number} configId
13110
- * @param {LoggerDeleteConfigRequest} body
13111
13147
  * @param {*} [options] Override http request option.
13112
13148
  * @throws {RequiredError}
13113
13149
  */
13114
- deleteConfig: function (configId, body, options) {
13150
+ _delete: function (configId, options) {
13115
13151
  return tslib.__awaiter(this, void 0, void 0, function () {
13116
13152
  var localVarAxiosArgs;
13117
13153
  return tslib.__generator(this, function (_a) {
13118
13154
  switch (_a.label) {
13119
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, body, options)];
13155
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration)._delete(configId, options)];
13120
13156
  case 1:
13121
13157
  localVarAxiosArgs = _a.sent();
13122
13158
  return [2 /*return*/, function (axios, basePath) {
@@ -13135,12 +13171,12 @@
13135
13171
  * @param {*} [options] Override http request option.
13136
13172
  * @throws {RequiredError}
13137
13173
  */
13138
- deleteConfigs: function (body, options) {
13174
+ deleteBulk: function (body, options) {
13139
13175
  return tslib.__awaiter(this, void 0, void 0, function () {
13140
13176
  var localVarAxiosArgs;
13141
13177
  return tslib.__generator(this, function (_a) {
13142
13178
  switch (_a.label) {
13143
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfigs(body, options)];
13179
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteBulk(body, options)];
13144
13180
  case 1:
13145
13181
  localVarAxiosArgs = _a.sent();
13146
13182
  return [2 /*return*/, function (axios, basePath) {
@@ -13163,12 +13199,12 @@
13163
13199
  * @param {*} [options] Override http request option.
13164
13200
  * @throws {RequiredError}
13165
13201
  */
13166
- getAllConfigs: function (page, size, q, sort, fields, options) {
13202
+ getAll: function (page, size, q, sort, fields, options) {
13167
13203
  return tslib.__awaiter(this, void 0, void 0, function () {
13168
13204
  var localVarAxiosArgs;
13169
13205
  return tslib.__generator(this, function (_a) {
13170
13206
  switch (_a.label) {
13171
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getAllConfigs(page, size, q, sort, fields, options)];
13207
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getAll(page, size, q, sort, fields, options)];
13172
13208
  case 1:
13173
13209
  localVarAxiosArgs = _a.sent();
13174
13210
  return [2 /*return*/, function (axios, basePath) {
@@ -13187,12 +13223,35 @@
13187
13223
  * @param {*} [options] Override http request option.
13188
13224
  * @throws {RequiredError}
13189
13225
  */
13190
- getConfigById: function (configId, options) {
13226
+ getById: function (configId, options) {
13227
+ return tslib.__awaiter(this, void 0, void 0, function () {
13228
+ var localVarAxiosArgs;
13229
+ return tslib.__generator(this, function (_a) {
13230
+ switch (_a.label) {
13231
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getById(configId, options)];
13232
+ case 1:
13233
+ localVarAxiosArgs = _a.sent();
13234
+ return [2 /*return*/, function (axios, basePath) {
13235
+ if (axios === void 0) { axios = globalAxios; }
13236
+ if (basePath === void 0) { basePath = BASE_PATH; }
13237
+ var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
13238
+ return axios.request(axiosRequestArgs);
13239
+ }];
13240
+ }
13241
+ });
13242
+ });
13243
+ },
13244
+ /**
13245
+ *
13246
+ * @param {*} [options] Override http request option.
13247
+ * @throws {RequiredError}
13248
+ */
13249
+ getSystemObjects: function (options) {
13191
13250
  return tslib.__awaiter(this, void 0, void 0, function () {
13192
13251
  var localVarAxiosArgs;
13193
13252
  return tslib.__generator(this, function (_a) {
13194
13253
  switch (_a.label) {
13195
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getConfigById(configId, options)];
13254
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).getSystemObjects(options)];
13196
13255
  case 1:
13197
13256
  localVarAxiosArgs = _a.sent();
13198
13257
  return [2 /*return*/, function (axios, basePath) {
@@ -13211,12 +13270,12 @@
13211
13270
  * @param {*} [options] Override http request option.
13212
13271
  * @throws {RequiredError}
13213
13272
  */
13214
- insertConfig: function (body, options) {
13273
+ insert: function (body, options) {
13215
13274
  return tslib.__awaiter(this, void 0, void 0, function () {
13216
13275
  var localVarAxiosArgs;
13217
13276
  return tslib.__generator(this, function (_a) {
13218
13277
  switch (_a.label) {
13219
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).insertConfig(body, options)];
13278
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).insert(body, options)];
13220
13279
  case 1:
13221
13280
  localVarAxiosArgs = _a.sent();
13222
13281
  return [2 /*return*/, function (axios, basePath) {
@@ -13236,12 +13295,12 @@
13236
13295
  * @param {*} [options] Override http request option.
13237
13296
  * @throws {RequiredError}
13238
13297
  */
13239
- patchUpdateConfig: function (configId, body, options) {
13298
+ patchUpdate: function (configId, body, options) {
13240
13299
  return tslib.__awaiter(this, void 0, void 0, function () {
13241
13300
  var localVarAxiosArgs;
13242
13301
  return tslib.__generator(this, function (_a) {
13243
13302
  switch (_a.label) {
13244
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).patchUpdateConfig(configId, body, options)];
13303
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).patchUpdate(configId, body, options)];
13245
13304
  case 1:
13246
13305
  localVarAxiosArgs = _a.sent();
13247
13306
  return [2 /*return*/, function (axios, basePath) {
@@ -13261,12 +13320,12 @@
13261
13320
  * @param {*} [options] Override http request option.
13262
13321
  * @throws {RequiredError}
13263
13322
  */
13264
- updateConfig: function (configId, body, options) {
13323
+ update: function (configId, body, options) {
13265
13324
  return tslib.__awaiter(this, void 0, void 0, function () {
13266
13325
  var localVarAxiosArgs;
13267
13326
  return tslib.__generator(this, function (_a) {
13268
13327
  switch (_a.label) {
13269
- case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).updateConfig(configId, body, options)];
13328
+ case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).update(configId, body, options)];
13270
13329
  case 1:
13271
13330
  localVarAxiosArgs = _a.sent();
13272
13331
  return [2 /*return*/, function (axios, basePath) {
@@ -13290,13 +13349,12 @@
13290
13349
  /**
13291
13350
  *
13292
13351
  * @param {number} configId
13293
- * @param {LoggerDeleteConfigRequest} body
13294
13352
  * @param {*} [options] Override http request option.
13295
13353
  * @throws {RequiredError}
13296
13354
  */
13297
- deleteConfig: function (configId, body, options) {
13355
+ _delete: function (configId, options) {
13298
13356
  return ConfigServiceApiFp(configuration)
13299
- .deleteConfig(configId, body, options)
13357
+ ._delete(configId, options)
13300
13358
  .then(function (request) { return request(axios, basePath); });
13301
13359
  },
13302
13360
  /**
@@ -13305,9 +13363,9 @@
13305
13363
  * @param {*} [options] Override http request option.
13306
13364
  * @throws {RequiredError}
13307
13365
  */
13308
- deleteConfigs: function (body, options) {
13366
+ deleteBulk: function (body, options) {
13309
13367
  return ConfigServiceApiFp(configuration)
13310
- .deleteConfigs(body, options)
13368
+ .deleteBulk(body, options)
13311
13369
  .then(function (request) { return request(axios, basePath); });
13312
13370
  },
13313
13371
  /**
@@ -13320,9 +13378,9 @@
13320
13378
  * @param {*} [options] Override http request option.
13321
13379
  * @throws {RequiredError}
13322
13380
  */
13323
- getAllConfigs: function (page, size, q, sort, fields, options) {
13381
+ getAll: function (page, size, q, sort, fields, options) {
13324
13382
  return ConfigServiceApiFp(configuration)
13325
- .getAllConfigs(page, size, q, sort, fields, options)
13383
+ .getAll(page, size, q, sort, fields, options)
13326
13384
  .then(function (request) { return request(axios, basePath); });
13327
13385
  },
13328
13386
  /**
@@ -13331,9 +13389,19 @@
13331
13389
  * @param {*} [options] Override http request option.
13332
13390
  * @throws {RequiredError}
13333
13391
  */
13334
- getConfigById: function (configId, options) {
13392
+ getById: function (configId, options) {
13393
+ return ConfigServiceApiFp(configuration)
13394
+ .getById(configId, options)
13395
+ .then(function (request) { return request(axios, basePath); });
13396
+ },
13397
+ /**
13398
+ *
13399
+ * @param {*} [options] Override http request option.
13400
+ * @throws {RequiredError}
13401
+ */
13402
+ getSystemObjects: function (options) {
13335
13403
  return ConfigServiceApiFp(configuration)
13336
- .getConfigById(configId, options)
13404
+ .getSystemObjects(options)
13337
13405
  .then(function (request) { return request(axios, basePath); });
13338
13406
  },
13339
13407
  /**
@@ -13342,9 +13410,9 @@
13342
13410
  * @param {*} [options] Override http request option.
13343
13411
  * @throws {RequiredError}
13344
13412
  */
13345
- insertConfig: function (body, options) {
13413
+ insert: function (body, options) {
13346
13414
  return ConfigServiceApiFp(configuration)
13347
- .insertConfig(body, options)
13415
+ .insert(body, options)
13348
13416
  .then(function (request) { return request(axios, basePath); });
13349
13417
  },
13350
13418
  /**
@@ -13354,9 +13422,9 @@
13354
13422
  * @param {*} [options] Override http request option.
13355
13423
  * @throws {RequiredError}
13356
13424
  */
13357
- patchUpdateConfig: function (configId, body, options) {
13425
+ patchUpdate: function (configId, body, options) {
13358
13426
  return ConfigServiceApiFp(configuration)
13359
- .patchUpdateConfig(configId, body, options)
13427
+ .patchUpdate(configId, body, options)
13360
13428
  .then(function (request) { return request(axios, basePath); });
13361
13429
  },
13362
13430
  /**
@@ -13366,9 +13434,9 @@
13366
13434
  * @param {*} [options] Override http request option.
13367
13435
  * @throws {RequiredError}
13368
13436
  */
13369
- updateConfig: function (configId, body, options) {
13437
+ update: function (configId, body, options) {
13370
13438
  return ConfigServiceApiFp(configuration)
13371
- .updateConfig(configId, body, options)
13439
+ .update(configId, body, options)
13372
13440
  .then(function (request) { return request(axios, basePath); });
13373
13441
  },
13374
13442
  };
@@ -13387,15 +13455,14 @@
13387
13455
  /**
13388
13456
  *
13389
13457
  * @param {number} configId
13390
- * @param {LoggerDeleteConfigRequest} body
13391
13458
  * @param {*} [options] Override http request option.
13392
13459
  * @throws {RequiredError}
13393
13460
  * @memberof ConfigServiceApi
13394
13461
  */
13395
- ConfigServiceApi.prototype.deleteConfig = function (configId, body, options) {
13462
+ ConfigServiceApi.prototype._delete = function (configId, options) {
13396
13463
  var _this = this;
13397
13464
  return ConfigServiceApiFp(this.configuration)
13398
- .deleteConfig(configId, body, options)
13465
+ ._delete(configId, options)
13399
13466
  .then(function (request) { return request(_this.axios, _this.basePath); });
13400
13467
  };
13401
13468
  /**
@@ -13405,10 +13472,10 @@
13405
13472
  * @throws {RequiredError}
13406
13473
  * @memberof ConfigServiceApi
13407
13474
  */
13408
- ConfigServiceApi.prototype.deleteConfigs = function (body, options) {
13475
+ ConfigServiceApi.prototype.deleteBulk = function (body, options) {
13409
13476
  var _this = this;
13410
13477
  return ConfigServiceApiFp(this.configuration)
13411
- .deleteConfigs(body, options)
13478
+ .deleteBulk(body, options)
13412
13479
  .then(function (request) { return request(_this.axios, _this.basePath); });
13413
13480
  };
13414
13481
  /**
@@ -13422,10 +13489,10 @@
13422
13489
  * @throws {RequiredError}
13423
13490
  * @memberof ConfigServiceApi
13424
13491
  */
13425
- ConfigServiceApi.prototype.getAllConfigs = function (page, size, q, sort, fields, options) {
13492
+ ConfigServiceApi.prototype.getAll = function (page, size, q, sort, fields, options) {
13426
13493
  var _this = this;
13427
13494
  return ConfigServiceApiFp(this.configuration)
13428
- .getAllConfigs(page, size, q, sort, fields, options)
13495
+ .getAll(page, size, q, sort, fields, options)
13429
13496
  .then(function (request) { return request(_this.axios, _this.basePath); });
13430
13497
  };
13431
13498
  /**
@@ -13435,10 +13502,22 @@
13435
13502
  * @throws {RequiredError}
13436
13503
  * @memberof ConfigServiceApi
13437
13504
  */
13438
- ConfigServiceApi.prototype.getConfigById = function (configId, options) {
13505
+ ConfigServiceApi.prototype.getById = function (configId, options) {
13506
+ var _this = this;
13507
+ return ConfigServiceApiFp(this.configuration)
13508
+ .getById(configId, options)
13509
+ .then(function (request) { return request(_this.axios, _this.basePath); });
13510
+ };
13511
+ /**
13512
+ *
13513
+ * @param {*} [options] Override http request option.
13514
+ * @throws {RequiredError}
13515
+ * @memberof ConfigServiceApi
13516
+ */
13517
+ ConfigServiceApi.prototype.getSystemObjects = function (options) {
13439
13518
  var _this = this;
13440
13519
  return ConfigServiceApiFp(this.configuration)
13441
- .getConfigById(configId, options)
13520
+ .getSystemObjects(options)
13442
13521
  .then(function (request) { return request(_this.axios, _this.basePath); });
13443
13522
  };
13444
13523
  /**
@@ -13448,10 +13527,10 @@
13448
13527
  * @throws {RequiredError}
13449
13528
  * @memberof ConfigServiceApi
13450
13529
  */
13451
- ConfigServiceApi.prototype.insertConfig = function (body, options) {
13530
+ ConfigServiceApi.prototype.insert = function (body, options) {
13452
13531
  var _this = this;
13453
13532
  return ConfigServiceApiFp(this.configuration)
13454
- .insertConfig(body, options)
13533
+ .insert(body, options)
13455
13534
  .then(function (request) { return request(_this.axios, _this.basePath); });
13456
13535
  };
13457
13536
  /**
@@ -13462,10 +13541,10 @@
13462
13541
  * @throws {RequiredError}
13463
13542
  * @memberof ConfigServiceApi
13464
13543
  */
13465
- ConfigServiceApi.prototype.patchUpdateConfig = function (configId, body, options) {
13544
+ ConfigServiceApi.prototype.patchUpdate = function (configId, body, options) {
13466
13545
  var _this = this;
13467
13546
  return ConfigServiceApiFp(this.configuration)
13468
- .patchUpdateConfig(configId, body, options)
13547
+ .patchUpdate(configId, body, options)
13469
13548
  .then(function (request) { return request(_this.axios, _this.basePath); });
13470
13549
  };
13471
13550
  /**
@@ -13476,10 +13555,10 @@
13476
13555
  * @throws {RequiredError}
13477
13556
  * @memberof ConfigServiceApi
13478
13557
  */
13479
- ConfigServiceApi.prototype.updateConfig = function (configId, body, options) {
13558
+ ConfigServiceApi.prototype.update = function (configId, body, options) {
13480
13559
  var _this = this;
13481
13560
  return ConfigServiceApiFp(this.configuration)
13482
- .updateConfig(configId, body, options)
13561
+ .update(configId, body, options)
13483
13562
  .then(function (request) { return request(_this.axios, _this.basePath); });
13484
13563
  };
13485
13564
  return ConfigServiceApi;
@@ -19414,7 +19493,7 @@
19414
19493
  * @param {*} [options] Override http request option.
19415
19494
  * @throws {RequiredError}
19416
19495
  */
19417
- getLogsByConfigId: function (configId, page, size, q, sort, fields, options) {
19496
+ getByConfigId: function (configId, page, size, q, sort, fields, options) {
19418
19497
  if (options === void 0) { options = {}; }
19419
19498
  return tslib.__awaiter(_this, void 0, void 0, function () {
19420
19499
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -19423,7 +19502,7 @@
19423
19502
  case 0:
19424
19503
  // verify required parameter 'configId' is not null or undefined
19425
19504
  if (configId === null || configId === undefined) {
19426
- throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getLogsByConfigId.');
19505
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getByConfigId.');
19427
19506
  }
19428
19507
  localVarPath = "/logger/config/{config_id}/logs".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
19429
19508
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -19487,7 +19566,7 @@
19487
19566
  * @param {*} [options] Override http request option.
19488
19567
  * @throws {RequiredError}
19489
19568
  */
19490
- getLogsByUserId: function (userId, page, size, q, sort, fields, options) {
19569
+ getByUserId: function (userId, page, size, q, sort, fields, options) {
19491
19570
  if (options === void 0) { options = {}; }
19492
19571
  return tslib.__awaiter(_this, void 0, void 0, function () {
19493
19572
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
@@ -19496,7 +19575,7 @@
19496
19575
  case 0:
19497
19576
  // verify required parameter 'userId' is not null or undefined
19498
19577
  if (userId === null || userId === undefined) {
19499
- throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling getLogsByUserId.');
19578
+ throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling getByUserId.');
19500
19579
  }
19501
19580
  localVarPath = "/logger/user/{user_id}/logs".replace("{" + 'user_id' + "}", encodeURIComponent(String(userId)));
19502
19581
  localVarUrlObj = globalImportUrl.parse(localVarPath, true);
@@ -19568,12 +19647,12 @@
19568
19647
  * @param {*} [options] Override http request option.
19569
19648
  * @throws {RequiredError}
19570
19649
  */
19571
- getLogsByConfigId: function (configId, page, size, q, sort, fields, options) {
19650
+ getByConfigId: function (configId, page, size, q, sort, fields, options) {
19572
19651
  return tslib.__awaiter(this, void 0, void 0, function () {
19573
19652
  var localVarAxiosArgs;
19574
19653
  return tslib.__generator(this, function (_a) {
19575
19654
  switch (_a.label) {
19576
- case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getLogsByConfigId(configId, page, size, q, sort, fields, options)];
19655
+ case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getByConfigId(configId, page, size, q, sort, fields, options)];
19577
19656
  case 1:
19578
19657
  localVarAxiosArgs = _a.sent();
19579
19658
  return [2 /*return*/, function (axios, basePath) {
@@ -19597,12 +19676,12 @@
19597
19676
  * @param {*} [options] Override http request option.
19598
19677
  * @throws {RequiredError}
19599
19678
  */
19600
- getLogsByUserId: function (userId, page, size, q, sort, fields, options) {
19679
+ getByUserId: function (userId, page, size, q, sort, fields, options) {
19601
19680
  return tslib.__awaiter(this, void 0, void 0, function () {
19602
19681
  var localVarAxiosArgs;
19603
19682
  return tslib.__generator(this, function (_a) {
19604
19683
  switch (_a.label) {
19605
- case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getLogsByUserId(userId, page, size, q, sort, fields, options)];
19684
+ case 0: return [4 /*yield*/, LoggerServiceApiAxiosParamCreator(configuration).getByUserId(userId, page, size, q, sort, fields, options)];
19606
19685
  case 1:
19607
19686
  localVarAxiosArgs = _a.sent();
19608
19687
  return [2 /*return*/, function (axios, basePath) {
@@ -19634,9 +19713,9 @@
19634
19713
  * @param {*} [options] Override http request option.
19635
19714
  * @throws {RequiredError}
19636
19715
  */
19637
- getLogsByConfigId: function (configId, page, size, q, sort, fields, options) {
19716
+ getByConfigId: function (configId, page, size, q, sort, fields, options) {
19638
19717
  return LoggerServiceApiFp(configuration)
19639
- .getLogsByConfigId(configId, page, size, q, sort, fields, options)
19718
+ .getByConfigId(configId, page, size, q, sort, fields, options)
19640
19719
  .then(function (request) { return request(axios, basePath); });
19641
19720
  },
19642
19721
  /**
@@ -19650,9 +19729,9 @@
19650
19729
  * @param {*} [options] Override http request option.
19651
19730
  * @throws {RequiredError}
19652
19731
  */
19653
- getLogsByUserId: function (userId, page, size, q, sort, fields, options) {
19732
+ getByUserId: function (userId, page, size, q, sort, fields, options) {
19654
19733
  return LoggerServiceApiFp(configuration)
19655
- .getLogsByUserId(userId, page, size, q, sort, fields, options)
19734
+ .getByUserId(userId, page, size, q, sort, fields, options)
19656
19735
  .then(function (request) { return request(axios, basePath); });
19657
19736
  },
19658
19737
  };
@@ -19680,10 +19759,10 @@
19680
19759
  * @throws {RequiredError}
19681
19760
  * @memberof LoggerServiceApi
19682
19761
  */
19683
- LoggerServiceApi.prototype.getLogsByConfigId = function (configId, page, size, q, sort, fields, options) {
19762
+ LoggerServiceApi.prototype.getByConfigId = function (configId, page, size, q, sort, fields, options) {
19684
19763
  var _this = this;
19685
19764
  return LoggerServiceApiFp(this.configuration)
19686
- .getLogsByConfigId(configId, page, size, q, sort, fields, options)
19765
+ .getByConfigId(configId, page, size, q, sort, fields, options)
19687
19766
  .then(function (request) { return request(_this.axios, _this.basePath); });
19688
19767
  };
19689
19768
  /**
@@ -19698,10 +19777,10 @@
19698
19777
  * @throws {RequiredError}
19699
19778
  * @memberof LoggerServiceApi
19700
19779
  */
19701
- LoggerServiceApi.prototype.getLogsByUserId = function (userId, page, size, q, sort, fields, options) {
19780
+ LoggerServiceApi.prototype.getByUserId = function (userId, page, size, q, sort, fields, options) {
19702
19781
  var _this = this;
19703
19782
  return LoggerServiceApiFp(this.configuration)
19704
- .getLogsByUserId(userId, page, size, q, sort, fields, options)
19783
+ .getByUserId(userId, page, size, q, sort, fields, options)
19705
19784
  .then(function (request) { return request(_this.axios, _this.basePath); });
19706
19785
  };
19707
19786
  return LoggerServiceApi;