webitel-sdk 23.7.8 → 23.7.10
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.
- package/bundles/index.esm.js +974 -256
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +796 -7
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/config-service-api.js +14 -7
- package/esm2015/api/config-service-api.js.map +1 -1
- package/esm2015/api/engine-create-system-setting-request.js +13 -0
- package/esm2015/api/engine-create-system-setting-request.js.map +1 -0
- package/esm2015/api/engine-list-system-setting.js +13 -0
- package/esm2015/api/engine-list-system-setting.js.map +1 -0
- package/esm2015/api/engine-patch-system-setting-request.js +13 -0
- package/esm2015/api/engine-patch-system-setting-request.js.map +1 -0
- package/esm2015/api/engine-system-setting.js +13 -0
- package/esm2015/api/engine-system-setting.js.map +1 -0
- package/esm2015/api/engine-update-system-setting-request.js +13 -0
- package/esm2015/api/engine-update-system-setting-request.js.map +1 -0
- package/esm2015/api/index.js +6 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/logger-available-system-objects.js +23 -0
- package/esm2015/api/logger-available-system-objects.js.map +1 -0
- package/esm2015/api/system-setting-service-api.js +639 -0
- package/esm2015/api/system-setting-service-api.js.map +1 -0
- package/esm2015/api.js +1 -0
- package/esm2015/api.js.map +1 -1
- package/esm5/api/config-service-api.js +14 -7
- package/esm5/api/config-service-api.js.map +1 -1
- package/esm5/api/engine-create-system-setting-request.js +13 -0
- package/esm5/api/engine-create-system-setting-request.js.map +1 -0
- package/esm5/api/engine-list-system-setting.js +13 -0
- package/esm5/api/engine-list-system-setting.js.map +1 -0
- package/esm5/api/engine-patch-system-setting-request.js +13 -0
- package/esm5/api/engine-patch-system-setting-request.js.map +1 -0
- package/esm5/api/engine-system-setting.js +13 -0
- package/esm5/api/engine-system-setting.js.map +1 -0
- package/esm5/api/engine-update-system-setting-request.js +13 -0
- package/esm5/api/engine-update-system-setting-request.js.map +1 -0
- package/esm5/api/index.js +6 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/logger-available-system-objects.js +23 -0
- package/esm5/api/logger-available-system-objects.js.map +1 -0
- package/esm5/api/system-setting-service-api.js +725 -0
- package/esm5/api/system-setting-service-api.js.map +1 -0
- package/esm5/api.js +1 -0
- package/esm5/api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/config-service-api.d.ts +8 -4
- package/types/api/config-service-api.d.ts.map +1 -1
- package/types/api/engine-create-system-setting-request.d.ts +31 -0
- package/types/api/engine-create-system-setting-request.d.ts.map +1 -0
- package/types/api/engine-list-system-setting.d.ts +32 -0
- package/types/api/engine-list-system-setting.d.ts.map +1 -0
- package/types/api/engine-patch-system-setting-request.d.ts +37 -0
- package/types/api/engine-patch-system-setting-request.d.ts.map +1 -0
- package/types/api/engine-system-setting.d.ts +37 -0
- package/types/api/engine-system-setting.d.ts.map +1 -0
- package/types/api/engine-update-system-setting-request.d.ts +31 -0
- package/types/api/engine-update-system-setting-request.d.ts.map +1 -0
- package/types/api/index.d.ts +6 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/logger-available-system-objects.d.ts +21 -0
- package/types/api/logger-available-system-objects.d.ts.map +1 -0
- package/types/api/system-setting-service-api.d.ts +244 -0
- package/types/api/system-setting-service-api.d.ts.map +1 -0
- package/types/api.d.ts +1 -0
- package/types/api.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -13033,10 +13033,11 @@
|
|
|
13033
13033
|
* @param {string} [q]
|
|
13034
13034
|
* @param {string} [sort]
|
|
13035
13035
|
* @param {Array<string>} [fields]
|
|
13036
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
13036
13037
|
* @param {*} [options] Override http request option.
|
|
13037
13038
|
* @throws {RequiredError}
|
|
13038
13039
|
*/
|
|
13039
|
-
searchConfig: function (page, size, q, sort, fields, options) {
|
|
13040
|
+
searchConfig: function (page, size, q, sort, fields, object, options) {
|
|
13040
13041
|
if (options === void 0) { options = {}; }
|
|
13041
13042
|
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
13042
13043
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -13081,6 +13082,9 @@
|
|
|
13081
13082
|
if (fields) {
|
|
13082
13083
|
localVarQueryParameter['fields'] = fields;
|
|
13083
13084
|
}
|
|
13085
|
+
if (object) {
|
|
13086
|
+
localVarQueryParameter['object'] = object;
|
|
13087
|
+
}
|
|
13084
13088
|
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
13085
13089
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
13086
13090
|
delete localVarUrlObj.search;
|
|
@@ -13318,15 +13322,16 @@
|
|
|
13318
13322
|
* @param {string} [q]
|
|
13319
13323
|
* @param {string} [sort]
|
|
13320
13324
|
* @param {Array<string>} [fields]
|
|
13325
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
13321
13326
|
* @param {*} [options] Override http request option.
|
|
13322
13327
|
* @throws {RequiredError}
|
|
13323
13328
|
*/
|
|
13324
|
-
searchConfig: function (page, size, q, sort, fields, options) {
|
|
13329
|
+
searchConfig: function (page, size, q, sort, fields, object, options) {
|
|
13325
13330
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
13326
13331
|
var localVarAxiosArgs;
|
|
13327
13332
|
return tslib.__generator(this, function (_a) {
|
|
13328
13333
|
switch (_a.label) {
|
|
13329
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options)];
|
|
13334
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, object, options)];
|
|
13330
13335
|
case 1:
|
|
13331
13336
|
localVarAxiosArgs = _a.sent();
|
|
13332
13337
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -13446,12 +13451,13 @@
|
|
|
13446
13451
|
* @param {string} [q]
|
|
13447
13452
|
* @param {string} [sort]
|
|
13448
13453
|
* @param {Array<string>} [fields]
|
|
13454
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
13449
13455
|
* @param {*} [options] Override http request option.
|
|
13450
13456
|
* @throws {RequiredError}
|
|
13451
13457
|
*/
|
|
13452
|
-
searchConfig: function (page, size, q, sort, fields, options) {
|
|
13458
|
+
searchConfig: function (page, size, q, sort, fields, object, options) {
|
|
13453
13459
|
return ConfigServiceApiFp(configuration)
|
|
13454
|
-
.searchConfig(page, size, q, sort, fields, options)
|
|
13460
|
+
.searchConfig(page, size, q, sort, fields, object, options)
|
|
13455
13461
|
.then(function (request) { return request(axios, basePath); });
|
|
13456
13462
|
},
|
|
13457
13463
|
/**
|
|
@@ -13565,14 +13571,15 @@
|
|
|
13565
13571
|
* @param {string} [q]
|
|
13566
13572
|
* @param {string} [sort]
|
|
13567
13573
|
* @param {Array<string>} [fields]
|
|
13574
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
13568
13575
|
* @param {*} [options] Override http request option.
|
|
13569
13576
|
* @throws {RequiredError}
|
|
13570
13577
|
* @memberof ConfigServiceApi
|
|
13571
13578
|
*/
|
|
13572
|
-
ConfigServiceApi.prototype.searchConfig = function (page, size, q, sort, fields, options) {
|
|
13579
|
+
ConfigServiceApi.prototype.searchConfig = function (page, size, q, sort, fields, object, options) {
|
|
13573
13580
|
var _this = this;
|
|
13574
13581
|
return ConfigServiceApiFp(this.configuration)
|
|
13575
|
-
.searchConfig(page, size, q, sort, fields, options)
|
|
13582
|
+
.searchConfig(page, size, q, sort, fields, object, options)
|
|
13576
13583
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13577
13584
|
};
|
|
13578
13585
|
/**
|
|
@@ -36591,6 +36598,713 @@
|
|
|
36591
36598
|
return SkillServiceApi;
|
|
36592
36599
|
}(BaseAPI));
|
|
36593
36600
|
|
|
36601
|
+
// tslint:disable
|
|
36602
|
+
/**
|
|
36603
|
+
* SystemSettingServiceApi - axios parameter creator
|
|
36604
|
+
* @export
|
|
36605
|
+
*/
|
|
36606
|
+
var SystemSettingServiceApiAxiosParamCreator = function (configuration) {
|
|
36607
|
+
var _this = this;
|
|
36608
|
+
return {
|
|
36609
|
+
/**
|
|
36610
|
+
*
|
|
36611
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
36612
|
+
* @param {*} [options] Override http request option.
|
|
36613
|
+
* @throws {RequiredError}
|
|
36614
|
+
*/
|
|
36615
|
+
createSystemSetting: function (body, options) {
|
|
36616
|
+
if (options === void 0) { options = {}; }
|
|
36617
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36618
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
36619
|
+
return tslib.__generator(this, function (_b) {
|
|
36620
|
+
switch (_b.label) {
|
|
36621
|
+
case 0:
|
|
36622
|
+
// verify required parameter 'body' is not null or undefined
|
|
36623
|
+
if (body === null || body === undefined) {
|
|
36624
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createSystemSetting.');
|
|
36625
|
+
}
|
|
36626
|
+
localVarPath = "/settings";
|
|
36627
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36628
|
+
if (configuration) {
|
|
36629
|
+
baseOptions = configuration.baseOptions;
|
|
36630
|
+
}
|
|
36631
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'POST' }, baseOptions), options);
|
|
36632
|
+
localVarHeaderParameter = {};
|
|
36633
|
+
localVarQueryParameter = {};
|
|
36634
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36635
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36636
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36637
|
+
case 1:
|
|
36638
|
+
_a = _b.sent();
|
|
36639
|
+
return [3 /*break*/, 4];
|
|
36640
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36641
|
+
case 3:
|
|
36642
|
+
_a = _b.sent();
|
|
36643
|
+
_b.label = 4;
|
|
36644
|
+
case 4:
|
|
36645
|
+
localVarApiKeyValue = _a;
|
|
36646
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36647
|
+
_b.label = 5;
|
|
36648
|
+
case 5:
|
|
36649
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36650
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36651
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36652
|
+
delete localVarUrlObj.search;
|
|
36653
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36654
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36655
|
+
needsSerialization = typeof body !== 'string' ||
|
|
36656
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
36657
|
+
localVarRequestOptions.data = needsSerialization
|
|
36658
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
36659
|
+
: body || '';
|
|
36660
|
+
return [2 /*return*/, {
|
|
36661
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36662
|
+
options: localVarRequestOptions,
|
|
36663
|
+
}];
|
|
36664
|
+
}
|
|
36665
|
+
});
|
|
36666
|
+
});
|
|
36667
|
+
},
|
|
36668
|
+
/**
|
|
36669
|
+
*
|
|
36670
|
+
* @param {number} id
|
|
36671
|
+
* @param {*} [options] Override http request option.
|
|
36672
|
+
* @throws {RequiredError}
|
|
36673
|
+
*/
|
|
36674
|
+
deleteSystemSetting: function (id, options) {
|
|
36675
|
+
if (options === void 0) { options = {}; }
|
|
36676
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36677
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
36678
|
+
return tslib.__generator(this, function (_b) {
|
|
36679
|
+
switch (_b.label) {
|
|
36680
|
+
case 0:
|
|
36681
|
+
// verify required parameter 'id' is not null or undefined
|
|
36682
|
+
if (id === null || id === undefined) {
|
|
36683
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteSystemSetting.');
|
|
36684
|
+
}
|
|
36685
|
+
localVarPath = "/settings/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
36686
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36687
|
+
if (configuration) {
|
|
36688
|
+
baseOptions = configuration.baseOptions;
|
|
36689
|
+
}
|
|
36690
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'DELETE' }, baseOptions), options);
|
|
36691
|
+
localVarHeaderParameter = {};
|
|
36692
|
+
localVarQueryParameter = {};
|
|
36693
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36694
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36695
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36696
|
+
case 1:
|
|
36697
|
+
_a = _b.sent();
|
|
36698
|
+
return [3 /*break*/, 4];
|
|
36699
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36700
|
+
case 3:
|
|
36701
|
+
_a = _b.sent();
|
|
36702
|
+
_b.label = 4;
|
|
36703
|
+
case 4:
|
|
36704
|
+
localVarApiKeyValue = _a;
|
|
36705
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36706
|
+
_b.label = 5;
|
|
36707
|
+
case 5:
|
|
36708
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36709
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36710
|
+
delete localVarUrlObj.search;
|
|
36711
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36712
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36713
|
+
return [2 /*return*/, {
|
|
36714
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36715
|
+
options: localVarRequestOptions,
|
|
36716
|
+
}];
|
|
36717
|
+
}
|
|
36718
|
+
});
|
|
36719
|
+
});
|
|
36720
|
+
},
|
|
36721
|
+
/**
|
|
36722
|
+
*
|
|
36723
|
+
* @param {number} id
|
|
36724
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
36725
|
+
* @param {*} [options] Override http request option.
|
|
36726
|
+
* @throws {RequiredError}
|
|
36727
|
+
*/
|
|
36728
|
+
patchSystemSetting: function (id, body, options) {
|
|
36729
|
+
if (options === void 0) { options = {}; }
|
|
36730
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36731
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
36732
|
+
return tslib.__generator(this, function (_b) {
|
|
36733
|
+
switch (_b.label) {
|
|
36734
|
+
case 0:
|
|
36735
|
+
// verify required parameter 'id' is not null or undefined
|
|
36736
|
+
if (id === null || id === undefined) {
|
|
36737
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchSystemSetting.');
|
|
36738
|
+
}
|
|
36739
|
+
// verify required parameter 'body' is not null or undefined
|
|
36740
|
+
if (body === null || body === undefined) {
|
|
36741
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchSystemSetting.');
|
|
36742
|
+
}
|
|
36743
|
+
localVarPath = "/settings/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
36744
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36745
|
+
if (configuration) {
|
|
36746
|
+
baseOptions = configuration.baseOptions;
|
|
36747
|
+
}
|
|
36748
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'PATCH' }, baseOptions), options);
|
|
36749
|
+
localVarHeaderParameter = {};
|
|
36750
|
+
localVarQueryParameter = {};
|
|
36751
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36752
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36753
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36754
|
+
case 1:
|
|
36755
|
+
_a = _b.sent();
|
|
36756
|
+
return [3 /*break*/, 4];
|
|
36757
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36758
|
+
case 3:
|
|
36759
|
+
_a = _b.sent();
|
|
36760
|
+
_b.label = 4;
|
|
36761
|
+
case 4:
|
|
36762
|
+
localVarApiKeyValue = _a;
|
|
36763
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36764
|
+
_b.label = 5;
|
|
36765
|
+
case 5:
|
|
36766
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36767
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36768
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36769
|
+
delete localVarUrlObj.search;
|
|
36770
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36771
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36772
|
+
needsSerialization = typeof body !== 'string' ||
|
|
36773
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
36774
|
+
localVarRequestOptions.data = needsSerialization
|
|
36775
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
36776
|
+
: body || '';
|
|
36777
|
+
return [2 /*return*/, {
|
|
36778
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36779
|
+
options: localVarRequestOptions,
|
|
36780
|
+
}];
|
|
36781
|
+
}
|
|
36782
|
+
});
|
|
36783
|
+
});
|
|
36784
|
+
},
|
|
36785
|
+
/**
|
|
36786
|
+
*
|
|
36787
|
+
* @param {number} id
|
|
36788
|
+
* @param {*} [options] Override http request option.
|
|
36789
|
+
* @throws {RequiredError}
|
|
36790
|
+
*/
|
|
36791
|
+
readSystemSetting: function (id, options) {
|
|
36792
|
+
if (options === void 0) { options = {}; }
|
|
36793
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36794
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
36795
|
+
return tslib.__generator(this, function (_b) {
|
|
36796
|
+
switch (_b.label) {
|
|
36797
|
+
case 0:
|
|
36798
|
+
// verify required parameter 'id' is not null or undefined
|
|
36799
|
+
if (id === null || id === undefined) {
|
|
36800
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling readSystemSetting.');
|
|
36801
|
+
}
|
|
36802
|
+
localVarPath = "/settings/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
36803
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36804
|
+
if (configuration) {
|
|
36805
|
+
baseOptions = configuration.baseOptions;
|
|
36806
|
+
}
|
|
36807
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
|
|
36808
|
+
localVarHeaderParameter = {};
|
|
36809
|
+
localVarQueryParameter = {};
|
|
36810
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36811
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36812
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36813
|
+
case 1:
|
|
36814
|
+
_a = _b.sent();
|
|
36815
|
+
return [3 /*break*/, 4];
|
|
36816
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36817
|
+
case 3:
|
|
36818
|
+
_a = _b.sent();
|
|
36819
|
+
_b.label = 4;
|
|
36820
|
+
case 4:
|
|
36821
|
+
localVarApiKeyValue = _a;
|
|
36822
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36823
|
+
_b.label = 5;
|
|
36824
|
+
case 5:
|
|
36825
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36826
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36827
|
+
delete localVarUrlObj.search;
|
|
36828
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36829
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36830
|
+
return [2 /*return*/, {
|
|
36831
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36832
|
+
options: localVarRequestOptions,
|
|
36833
|
+
}];
|
|
36834
|
+
}
|
|
36835
|
+
});
|
|
36836
|
+
});
|
|
36837
|
+
},
|
|
36838
|
+
/**
|
|
36839
|
+
*
|
|
36840
|
+
* @param {number} [page]
|
|
36841
|
+
* @param {number} [size]
|
|
36842
|
+
* @param {string} [q]
|
|
36843
|
+
* @param {string} [sort]
|
|
36844
|
+
* @param {Array<string>} [fields]
|
|
36845
|
+
* @param {*} [options] Override http request option.
|
|
36846
|
+
* @throws {RequiredError}
|
|
36847
|
+
*/
|
|
36848
|
+
searchSystemSetting: function (page, size, q, sort, fields, options) {
|
|
36849
|
+
if (options === void 0) { options = {}; }
|
|
36850
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36851
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
36852
|
+
return tslib.__generator(this, function (_b) {
|
|
36853
|
+
switch (_b.label) {
|
|
36854
|
+
case 0:
|
|
36855
|
+
localVarPath = "/settings";
|
|
36856
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36857
|
+
if (configuration) {
|
|
36858
|
+
baseOptions = configuration.baseOptions;
|
|
36859
|
+
}
|
|
36860
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
|
|
36861
|
+
localVarHeaderParameter = {};
|
|
36862
|
+
localVarQueryParameter = {};
|
|
36863
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36864
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36865
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36866
|
+
case 1:
|
|
36867
|
+
_a = _b.sent();
|
|
36868
|
+
return [3 /*break*/, 4];
|
|
36869
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36870
|
+
case 3:
|
|
36871
|
+
_a = _b.sent();
|
|
36872
|
+
_b.label = 4;
|
|
36873
|
+
case 4:
|
|
36874
|
+
localVarApiKeyValue = _a;
|
|
36875
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36876
|
+
_b.label = 5;
|
|
36877
|
+
case 5:
|
|
36878
|
+
if (page !== undefined) {
|
|
36879
|
+
localVarQueryParameter['page'] = page;
|
|
36880
|
+
}
|
|
36881
|
+
if (size !== undefined) {
|
|
36882
|
+
localVarQueryParameter['size'] = size;
|
|
36883
|
+
}
|
|
36884
|
+
if (q !== undefined) {
|
|
36885
|
+
localVarQueryParameter['q'] = q;
|
|
36886
|
+
}
|
|
36887
|
+
if (sort !== undefined) {
|
|
36888
|
+
localVarQueryParameter['sort'] = sort;
|
|
36889
|
+
}
|
|
36890
|
+
if (fields) {
|
|
36891
|
+
localVarQueryParameter['fields'] = fields;
|
|
36892
|
+
}
|
|
36893
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36894
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36895
|
+
delete localVarUrlObj.search;
|
|
36896
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36897
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36898
|
+
return [2 /*return*/, {
|
|
36899
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36900
|
+
options: localVarRequestOptions,
|
|
36901
|
+
}];
|
|
36902
|
+
}
|
|
36903
|
+
});
|
|
36904
|
+
});
|
|
36905
|
+
},
|
|
36906
|
+
/**
|
|
36907
|
+
*
|
|
36908
|
+
* @param {number} id
|
|
36909
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
36910
|
+
* @param {*} [options] Override http request option.
|
|
36911
|
+
* @throws {RequiredError}
|
|
36912
|
+
*/
|
|
36913
|
+
updateSystemSetting: function (id, body, options) {
|
|
36914
|
+
if (options === void 0) { options = {}; }
|
|
36915
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
36916
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
36917
|
+
return tslib.__generator(this, function (_b) {
|
|
36918
|
+
switch (_b.label) {
|
|
36919
|
+
case 0:
|
|
36920
|
+
// verify required parameter 'id' is not null or undefined
|
|
36921
|
+
if (id === null || id === undefined) {
|
|
36922
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateSystemSetting.');
|
|
36923
|
+
}
|
|
36924
|
+
// verify required parameter 'body' is not null or undefined
|
|
36925
|
+
if (body === null || body === undefined) {
|
|
36926
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateSystemSetting.');
|
|
36927
|
+
}
|
|
36928
|
+
localVarPath = "/settings/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
36929
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
36930
|
+
if (configuration) {
|
|
36931
|
+
baseOptions = configuration.baseOptions;
|
|
36932
|
+
}
|
|
36933
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'PUT' }, baseOptions), options);
|
|
36934
|
+
localVarHeaderParameter = {};
|
|
36935
|
+
localVarQueryParameter = {};
|
|
36936
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
36937
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
36938
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
36939
|
+
case 1:
|
|
36940
|
+
_a = _b.sent();
|
|
36941
|
+
return [3 /*break*/, 4];
|
|
36942
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
36943
|
+
case 3:
|
|
36944
|
+
_a = _b.sent();
|
|
36945
|
+
_b.label = 4;
|
|
36946
|
+
case 4:
|
|
36947
|
+
localVarApiKeyValue = _a;
|
|
36948
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
36949
|
+
_b.label = 5;
|
|
36950
|
+
case 5:
|
|
36951
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36952
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
36953
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36954
|
+
delete localVarUrlObj.search;
|
|
36955
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36956
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36957
|
+
needsSerialization = typeof body !== 'string' ||
|
|
36958
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
36959
|
+
localVarRequestOptions.data = needsSerialization
|
|
36960
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
36961
|
+
: body || '';
|
|
36962
|
+
return [2 /*return*/, {
|
|
36963
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
36964
|
+
options: localVarRequestOptions,
|
|
36965
|
+
}];
|
|
36966
|
+
}
|
|
36967
|
+
});
|
|
36968
|
+
});
|
|
36969
|
+
},
|
|
36970
|
+
};
|
|
36971
|
+
};
|
|
36972
|
+
/**
|
|
36973
|
+
* SystemSettingServiceApi - functional programming interface
|
|
36974
|
+
* @export
|
|
36975
|
+
*/
|
|
36976
|
+
var SystemSettingServiceApiFp = function (configuration) {
|
|
36977
|
+
return {
|
|
36978
|
+
/**
|
|
36979
|
+
*
|
|
36980
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
36981
|
+
* @param {*} [options] Override http request option.
|
|
36982
|
+
* @throws {RequiredError}
|
|
36983
|
+
*/
|
|
36984
|
+
createSystemSetting: function (body, options) {
|
|
36985
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
36986
|
+
var localVarAxiosArgs;
|
|
36987
|
+
return tslib.__generator(this, function (_a) {
|
|
36988
|
+
switch (_a.label) {
|
|
36989
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).createSystemSetting(body, options)];
|
|
36990
|
+
case 1:
|
|
36991
|
+
localVarAxiosArgs = _a.sent();
|
|
36992
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
36993
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
36994
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
36995
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
36996
|
+
return axios.request(axiosRequestArgs);
|
|
36997
|
+
}];
|
|
36998
|
+
}
|
|
36999
|
+
});
|
|
37000
|
+
});
|
|
37001
|
+
},
|
|
37002
|
+
/**
|
|
37003
|
+
*
|
|
37004
|
+
* @param {number} id
|
|
37005
|
+
* @param {*} [options] Override http request option.
|
|
37006
|
+
* @throws {RequiredError}
|
|
37007
|
+
*/
|
|
37008
|
+
deleteSystemSetting: function (id, options) {
|
|
37009
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
37010
|
+
var localVarAxiosArgs;
|
|
37011
|
+
return tslib.__generator(this, function (_a) {
|
|
37012
|
+
switch (_a.label) {
|
|
37013
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).deleteSystemSetting(id, options)];
|
|
37014
|
+
case 1:
|
|
37015
|
+
localVarAxiosArgs = _a.sent();
|
|
37016
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
37017
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
37018
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
37019
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
37020
|
+
return axios.request(axiosRequestArgs);
|
|
37021
|
+
}];
|
|
37022
|
+
}
|
|
37023
|
+
});
|
|
37024
|
+
});
|
|
37025
|
+
},
|
|
37026
|
+
/**
|
|
37027
|
+
*
|
|
37028
|
+
* @param {number} id
|
|
37029
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
37030
|
+
* @param {*} [options] Override http request option.
|
|
37031
|
+
* @throws {RequiredError}
|
|
37032
|
+
*/
|
|
37033
|
+
patchSystemSetting: function (id, body, options) {
|
|
37034
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
37035
|
+
var localVarAxiosArgs;
|
|
37036
|
+
return tslib.__generator(this, function (_a) {
|
|
37037
|
+
switch (_a.label) {
|
|
37038
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).patchSystemSetting(id, body, options)];
|
|
37039
|
+
case 1:
|
|
37040
|
+
localVarAxiosArgs = _a.sent();
|
|
37041
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
37042
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
37043
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
37044
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
37045
|
+
return axios.request(axiosRequestArgs);
|
|
37046
|
+
}];
|
|
37047
|
+
}
|
|
37048
|
+
});
|
|
37049
|
+
});
|
|
37050
|
+
},
|
|
37051
|
+
/**
|
|
37052
|
+
*
|
|
37053
|
+
* @param {number} id
|
|
37054
|
+
* @param {*} [options] Override http request option.
|
|
37055
|
+
* @throws {RequiredError}
|
|
37056
|
+
*/
|
|
37057
|
+
readSystemSetting: function (id, options) {
|
|
37058
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
37059
|
+
var localVarAxiosArgs;
|
|
37060
|
+
return tslib.__generator(this, function (_a) {
|
|
37061
|
+
switch (_a.label) {
|
|
37062
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).readSystemSetting(id, options)];
|
|
37063
|
+
case 1:
|
|
37064
|
+
localVarAxiosArgs = _a.sent();
|
|
37065
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
37066
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
37067
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
37068
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
37069
|
+
return axios.request(axiosRequestArgs);
|
|
37070
|
+
}];
|
|
37071
|
+
}
|
|
37072
|
+
});
|
|
37073
|
+
});
|
|
37074
|
+
},
|
|
37075
|
+
/**
|
|
37076
|
+
*
|
|
37077
|
+
* @param {number} [page]
|
|
37078
|
+
* @param {number} [size]
|
|
37079
|
+
* @param {string} [q]
|
|
37080
|
+
* @param {string} [sort]
|
|
37081
|
+
* @param {Array<string>} [fields]
|
|
37082
|
+
* @param {*} [options] Override http request option.
|
|
37083
|
+
* @throws {RequiredError}
|
|
37084
|
+
*/
|
|
37085
|
+
searchSystemSetting: function (page, size, q, sort, fields, options) {
|
|
37086
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
37087
|
+
var localVarAxiosArgs;
|
|
37088
|
+
return tslib.__generator(this, function (_a) {
|
|
37089
|
+
switch (_a.label) {
|
|
37090
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).searchSystemSetting(page, size, q, sort, fields, options)];
|
|
37091
|
+
case 1:
|
|
37092
|
+
localVarAxiosArgs = _a.sent();
|
|
37093
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
37094
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
37095
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
37096
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
37097
|
+
return axios.request(axiosRequestArgs);
|
|
37098
|
+
}];
|
|
37099
|
+
}
|
|
37100
|
+
});
|
|
37101
|
+
});
|
|
37102
|
+
},
|
|
37103
|
+
/**
|
|
37104
|
+
*
|
|
37105
|
+
* @param {number} id
|
|
37106
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
37107
|
+
* @param {*} [options] Override http request option.
|
|
37108
|
+
* @throws {RequiredError}
|
|
37109
|
+
*/
|
|
37110
|
+
updateSystemSetting: function (id, body, options) {
|
|
37111
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
37112
|
+
var localVarAxiosArgs;
|
|
37113
|
+
return tslib.__generator(this, function (_a) {
|
|
37114
|
+
switch (_a.label) {
|
|
37115
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).updateSystemSetting(id, body, options)];
|
|
37116
|
+
case 1:
|
|
37117
|
+
localVarAxiosArgs = _a.sent();
|
|
37118
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
37119
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
37120
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
37121
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
37122
|
+
return axios.request(axiosRequestArgs);
|
|
37123
|
+
}];
|
|
37124
|
+
}
|
|
37125
|
+
});
|
|
37126
|
+
});
|
|
37127
|
+
},
|
|
37128
|
+
};
|
|
37129
|
+
};
|
|
37130
|
+
/**
|
|
37131
|
+
* SystemSettingServiceApi - factory interface
|
|
37132
|
+
* @export
|
|
37133
|
+
*/
|
|
37134
|
+
var SystemSettingServiceApiFactory = function (configuration, basePath, axios) {
|
|
37135
|
+
return {
|
|
37136
|
+
/**
|
|
37137
|
+
*
|
|
37138
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
37139
|
+
* @param {*} [options] Override http request option.
|
|
37140
|
+
* @throws {RequiredError}
|
|
37141
|
+
*/
|
|
37142
|
+
createSystemSetting: function (body, options) {
|
|
37143
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37144
|
+
.createSystemSetting(body, options)
|
|
37145
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37146
|
+
},
|
|
37147
|
+
/**
|
|
37148
|
+
*
|
|
37149
|
+
* @param {number} id
|
|
37150
|
+
* @param {*} [options] Override http request option.
|
|
37151
|
+
* @throws {RequiredError}
|
|
37152
|
+
*/
|
|
37153
|
+
deleteSystemSetting: function (id, options) {
|
|
37154
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37155
|
+
.deleteSystemSetting(id, options)
|
|
37156
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37157
|
+
},
|
|
37158
|
+
/**
|
|
37159
|
+
*
|
|
37160
|
+
* @param {number} id
|
|
37161
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
37162
|
+
* @param {*} [options] Override http request option.
|
|
37163
|
+
* @throws {RequiredError}
|
|
37164
|
+
*/
|
|
37165
|
+
patchSystemSetting: function (id, body, options) {
|
|
37166
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37167
|
+
.patchSystemSetting(id, body, options)
|
|
37168
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37169
|
+
},
|
|
37170
|
+
/**
|
|
37171
|
+
*
|
|
37172
|
+
* @param {number} id
|
|
37173
|
+
* @param {*} [options] Override http request option.
|
|
37174
|
+
* @throws {RequiredError}
|
|
37175
|
+
*/
|
|
37176
|
+
readSystemSetting: function (id, options) {
|
|
37177
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37178
|
+
.readSystemSetting(id, options)
|
|
37179
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37180
|
+
},
|
|
37181
|
+
/**
|
|
37182
|
+
*
|
|
37183
|
+
* @param {number} [page]
|
|
37184
|
+
* @param {number} [size]
|
|
37185
|
+
* @param {string} [q]
|
|
37186
|
+
* @param {string} [sort]
|
|
37187
|
+
* @param {Array<string>} [fields]
|
|
37188
|
+
* @param {*} [options] Override http request option.
|
|
37189
|
+
* @throws {RequiredError}
|
|
37190
|
+
*/
|
|
37191
|
+
searchSystemSetting: function (page, size, q, sort, fields, options) {
|
|
37192
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37193
|
+
.searchSystemSetting(page, size, q, sort, fields, options)
|
|
37194
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37195
|
+
},
|
|
37196
|
+
/**
|
|
37197
|
+
*
|
|
37198
|
+
* @param {number} id
|
|
37199
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
37200
|
+
* @param {*} [options] Override http request option.
|
|
37201
|
+
* @throws {RequiredError}
|
|
37202
|
+
*/
|
|
37203
|
+
updateSystemSetting: function (id, body, options) {
|
|
37204
|
+
return SystemSettingServiceApiFp(configuration)
|
|
37205
|
+
.updateSystemSetting(id, body, options)
|
|
37206
|
+
.then(function (request) { return request(axios, basePath); });
|
|
37207
|
+
},
|
|
37208
|
+
};
|
|
37209
|
+
};
|
|
37210
|
+
/**
|
|
37211
|
+
* SystemSettingServiceApi - object-oriented interface
|
|
37212
|
+
* @export
|
|
37213
|
+
* @class SystemSettingServiceApi
|
|
37214
|
+
* @extends {BaseAPI}
|
|
37215
|
+
*/
|
|
37216
|
+
var SystemSettingServiceApi = /** @class */ (function (_super) {
|
|
37217
|
+
tslib.__extends(SystemSettingServiceApi, _super);
|
|
37218
|
+
function SystemSettingServiceApi() {
|
|
37219
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
37220
|
+
}
|
|
37221
|
+
/**
|
|
37222
|
+
*
|
|
37223
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
37224
|
+
* @param {*} [options] Override http request option.
|
|
37225
|
+
* @throws {RequiredError}
|
|
37226
|
+
* @memberof SystemSettingServiceApi
|
|
37227
|
+
*/
|
|
37228
|
+
SystemSettingServiceApi.prototype.createSystemSetting = function (body, options) {
|
|
37229
|
+
var _this = this;
|
|
37230
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37231
|
+
.createSystemSetting(body, options)
|
|
37232
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37233
|
+
};
|
|
37234
|
+
/**
|
|
37235
|
+
*
|
|
37236
|
+
* @param {number} id
|
|
37237
|
+
* @param {*} [options] Override http request option.
|
|
37238
|
+
* @throws {RequiredError}
|
|
37239
|
+
* @memberof SystemSettingServiceApi
|
|
37240
|
+
*/
|
|
37241
|
+
SystemSettingServiceApi.prototype.deleteSystemSetting = function (id, options) {
|
|
37242
|
+
var _this = this;
|
|
37243
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37244
|
+
.deleteSystemSetting(id, options)
|
|
37245
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37246
|
+
};
|
|
37247
|
+
/**
|
|
37248
|
+
*
|
|
37249
|
+
* @param {number} id
|
|
37250
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
37251
|
+
* @param {*} [options] Override http request option.
|
|
37252
|
+
* @throws {RequiredError}
|
|
37253
|
+
* @memberof SystemSettingServiceApi
|
|
37254
|
+
*/
|
|
37255
|
+
SystemSettingServiceApi.prototype.patchSystemSetting = function (id, body, options) {
|
|
37256
|
+
var _this = this;
|
|
37257
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37258
|
+
.patchSystemSetting(id, body, options)
|
|
37259
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37260
|
+
};
|
|
37261
|
+
/**
|
|
37262
|
+
*
|
|
37263
|
+
* @param {number} id
|
|
37264
|
+
* @param {*} [options] Override http request option.
|
|
37265
|
+
* @throws {RequiredError}
|
|
37266
|
+
* @memberof SystemSettingServiceApi
|
|
37267
|
+
*/
|
|
37268
|
+
SystemSettingServiceApi.prototype.readSystemSetting = function (id, options) {
|
|
37269
|
+
var _this = this;
|
|
37270
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37271
|
+
.readSystemSetting(id, options)
|
|
37272
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37273
|
+
};
|
|
37274
|
+
/**
|
|
37275
|
+
*
|
|
37276
|
+
* @param {number} [page]
|
|
37277
|
+
* @param {number} [size]
|
|
37278
|
+
* @param {string} [q]
|
|
37279
|
+
* @param {string} [sort]
|
|
37280
|
+
* @param {Array<string>} [fields]
|
|
37281
|
+
* @param {*} [options] Override http request option.
|
|
37282
|
+
* @throws {RequiredError}
|
|
37283
|
+
* @memberof SystemSettingServiceApi
|
|
37284
|
+
*/
|
|
37285
|
+
SystemSettingServiceApi.prototype.searchSystemSetting = function (page, size, q, sort, fields, options) {
|
|
37286
|
+
var _this = this;
|
|
37287
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37288
|
+
.searchSystemSetting(page, size, q, sort, fields, options)
|
|
37289
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37290
|
+
};
|
|
37291
|
+
/**
|
|
37292
|
+
*
|
|
37293
|
+
* @param {number} id
|
|
37294
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
37295
|
+
* @param {*} [options] Override http request option.
|
|
37296
|
+
* @throws {RequiredError}
|
|
37297
|
+
* @memberof SystemSettingServiceApi
|
|
37298
|
+
*/
|
|
37299
|
+
SystemSettingServiceApi.prototype.updateSystemSetting = function (id, body, options) {
|
|
37300
|
+
var _this = this;
|
|
37301
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
37302
|
+
.updateSystemSetting(id, body, options)
|
|
37303
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37304
|
+
};
|
|
37305
|
+
return SystemSettingServiceApi;
|
|
37306
|
+
}(BaseAPI));
|
|
37307
|
+
|
|
36594
37308
|
// tslint:disable
|
|
36595
37309
|
/**
|
|
36596
37310
|
* TriggerServiceApi - axios parameter creator
|
|
@@ -41313,6 +42027,45 @@
|
|
|
41313
42027
|
* Do not edit the class manually.
|
|
41314
42028
|
*/
|
|
41315
42029
|
|
|
42030
|
+
// tslint:disable
|
|
42031
|
+
/**
|
|
42032
|
+
* Webitel engine API
|
|
42033
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42034
|
+
*
|
|
42035
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42036
|
+
* Contact: support@webitel.com
|
|
42037
|
+
*
|
|
42038
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42039
|
+
* https://openapi-generator.tech
|
|
42040
|
+
* Do not edit the class manually.
|
|
42041
|
+
*/
|
|
42042
|
+
|
|
42043
|
+
// tslint:disable
|
|
42044
|
+
/**
|
|
42045
|
+
* Webitel engine API
|
|
42046
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42047
|
+
*
|
|
42048
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42049
|
+
* Contact: support@webitel.com
|
|
42050
|
+
*
|
|
42051
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42052
|
+
* https://openapi-generator.tech
|
|
42053
|
+
* Do not edit the class manually.
|
|
42054
|
+
*/
|
|
42055
|
+
|
|
42056
|
+
// tslint:disable
|
|
42057
|
+
/**
|
|
42058
|
+
* Webitel engine API
|
|
42059
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42060
|
+
*
|
|
42061
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42062
|
+
* Contact: support@webitel.com
|
|
42063
|
+
*
|
|
42064
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42065
|
+
* https://openapi-generator.tech
|
|
42066
|
+
* Do not edit the class manually.
|
|
42067
|
+
*/
|
|
42068
|
+
|
|
41316
42069
|
// tslint:disable
|
|
41317
42070
|
(function (EnginePresetQuerySection) {
|
|
41318
42071
|
EnginePresetQuerySection["Default"] = "section_default";
|
|
@@ -41718,6 +42471,19 @@
|
|
|
41718
42471
|
* Do not edit the class manually.
|
|
41719
42472
|
*/
|
|
41720
42473
|
|
|
42474
|
+
// tslint:disable
|
|
42475
|
+
/**
|
|
42476
|
+
* Webitel engine API
|
|
42477
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42478
|
+
*
|
|
42479
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42480
|
+
* Contact: support@webitel.com
|
|
42481
|
+
*
|
|
42482
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42483
|
+
* https://openapi-generator.tech
|
|
42484
|
+
* Do not edit the class manually.
|
|
42485
|
+
*/
|
|
42486
|
+
|
|
41721
42487
|
// tslint:disable
|
|
41722
42488
|
(function (EngineTriggerJobState) {
|
|
41723
42489
|
EngineTriggerJobState["Idle"] = "idle";
|
|
@@ -42135,6 +42901,19 @@
|
|
|
42135
42901
|
* Do not edit the class manually.
|
|
42136
42902
|
*/
|
|
42137
42903
|
|
|
42904
|
+
// tslint:disable
|
|
42905
|
+
/**
|
|
42906
|
+
* Webitel engine API
|
|
42907
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
42908
|
+
*
|
|
42909
|
+
* The version of the OpenAPI document: 23.07.0
|
|
42910
|
+
* Contact: support@webitel.com
|
|
42911
|
+
*
|
|
42912
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42913
|
+
* https://openapi-generator.tech
|
|
42914
|
+
* Do not edit the class manually.
|
|
42915
|
+
*/
|
|
42916
|
+
|
|
42138
42917
|
// tslint:disable
|
|
42139
42918
|
(function (GoogleProtobufNullValue) {
|
|
42140
42919
|
GoogleProtobufNullValue["NULLVALUE"] = "NULL_VALUE";
|
|
@@ -42177,6 +42956,12 @@
|
|
|
42177
42956
|
LoggerAction["Delete"] = "delete";
|
|
42178
42957
|
})(exports.LoggerAction || (exports.LoggerAction = {}));
|
|
42179
42958
|
|
|
42959
|
+
// tslint:disable
|
|
42960
|
+
(function (LoggerAvailableSystemObjects) {
|
|
42961
|
+
LoggerAvailableSystemObjects["CcQueue"] = "cc_queue";
|
|
42962
|
+
LoggerAvailableSystemObjects["Schema"] = "schema";
|
|
42963
|
+
})(exports.LoggerAvailableSystemObjects || (exports.LoggerAvailableSystemObjects = {}));
|
|
42964
|
+
|
|
42180
42965
|
// tslint:disable
|
|
42181
42966
|
/**
|
|
42182
42967
|
* Webitel engine API
|
|
@@ -47771,6 +48556,10 @@
|
|
|
47771
48556
|
exports.SkillServiceApiFp = SkillServiceApiFp;
|
|
47772
48557
|
exports.SkillServiceApiFactory = SkillServiceApiFactory;
|
|
47773
48558
|
exports.SkillServiceApi = SkillServiceApi;
|
|
48559
|
+
exports.SystemSettingServiceApiAxiosParamCreator = SystemSettingServiceApiAxiosParamCreator;
|
|
48560
|
+
exports.SystemSettingServiceApiFp = SystemSettingServiceApiFp;
|
|
48561
|
+
exports.SystemSettingServiceApiFactory = SystemSettingServiceApiFactory;
|
|
48562
|
+
exports.SystemSettingServiceApi = SystemSettingServiceApi;
|
|
47774
48563
|
exports.TriggerServiceApiAxiosParamCreator = TriggerServiceApiAxiosParamCreator;
|
|
47775
48564
|
exports.TriggerServiceApiFp = TriggerServiceApiFp;
|
|
47776
48565
|
exports.TriggerServiceApiFactory = TriggerServiceApiFactory;
|