webitel-sdk 23.9.7 → 23.9.9
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 +131 -1
- 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 +126 -0
- 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/engine-available-system-setting.js +13 -0
- package/esm2015/api/engine-available-system-setting.js.map +1 -0
- package/esm2015/api/engine-list-available-system-setting.js +13 -0
- package/esm2015/api/engine-list-available-system-setting.js.map +1 -0
- package/esm2015/api/engine-system-setting-name.js +24 -0
- package/esm2015/api/engine-system-setting-name.js.map +1 -0
- package/esm2015/api/index.js +3 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/system-setting-service-api.js +80 -0
- package/esm2015/api/system-setting-service-api.js.map +1 -1
- package/esm5/api/engine-available-system-setting.js +13 -0
- package/esm5/api/engine-available-system-setting.js.map +1 -0
- package/esm5/api/engine-list-available-system-setting.js +13 -0
- package/esm5/api/engine-list-available-system-setting.js.map +1 -0
- package/esm5/api/engine-system-setting-name.js +24 -0
- package/esm5/api/engine-system-setting-name.js.map +1 -0
- package/esm5/api/index.js +3 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/system-setting-service-api.js +93 -0
- package/esm5/api/system-setting-service-api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/engine-attempt-callback-request.d.ts +6 -0
- package/types/api/engine-attempt-callback-request.d.ts.map +1 -1
- package/types/api/engine-attempt-result-request.d.ts +6 -0
- package/types/api/engine-attempt-result-request.d.ts.map +1 -1
- package/types/api/engine-available-system-setting.d.ts +25 -0
- package/types/api/engine-available-system-setting.d.ts.map +1 -0
- package/types/api/engine-create-system-setting-request.d.ts +3 -2
- package/types/api/engine-create-system-setting-request.d.ts.map +1 -1
- package/types/api/engine-list-available-system-setting.d.ts +32 -0
- package/types/api/engine-list-available-system-setting.d.ts.map +1 -0
- package/types/api/engine-system-setting-name.d.ts +22 -0
- package/types/api/engine-system-setting-name.d.ts.map +1 -0
- package/types/api/engine-system-setting.d.ts +3 -2
- package/types/api/engine-system-setting.d.ts.map +1 -1
- package/types/api/index.d.ts +3 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/system-setting-service-api.d.ts +26 -0
- package/types/api/system-setting-service-api.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -39084,6 +39084,54 @@
|
|
|
39084
39084
|
});
|
|
39085
39085
|
});
|
|
39086
39086
|
},
|
|
39087
|
+
/**
|
|
39088
|
+
*
|
|
39089
|
+
* @param {*} [options] Override http request option.
|
|
39090
|
+
* @throws {RequiredError}
|
|
39091
|
+
*/
|
|
39092
|
+
searchAvailableSystemSetting: function (options) {
|
|
39093
|
+
if (options === void 0) { options = {}; }
|
|
39094
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
39095
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
39096
|
+
return tslib.__generator(this, function (_b) {
|
|
39097
|
+
switch (_b.label) {
|
|
39098
|
+
case 0:
|
|
39099
|
+
localVarPath = "/settings/available";
|
|
39100
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
39101
|
+
if (configuration) {
|
|
39102
|
+
baseOptions = configuration.baseOptions;
|
|
39103
|
+
}
|
|
39104
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'GET' }, baseOptions), options);
|
|
39105
|
+
localVarHeaderParameter = {};
|
|
39106
|
+
localVarQueryParameter = {};
|
|
39107
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
39108
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
39109
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
39110
|
+
case 1:
|
|
39111
|
+
_a = _b.sent();
|
|
39112
|
+
return [3 /*break*/, 4];
|
|
39113
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
39114
|
+
case 3:
|
|
39115
|
+
_a = _b.sent();
|
|
39116
|
+
_b.label = 4;
|
|
39117
|
+
case 4:
|
|
39118
|
+
localVarApiKeyValue = _a;
|
|
39119
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
39120
|
+
_b.label = 5;
|
|
39121
|
+
case 5:
|
|
39122
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
39123
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
39124
|
+
delete localVarUrlObj.search;
|
|
39125
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39126
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39127
|
+
return [2 /*return*/, {
|
|
39128
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
39129
|
+
options: localVarRequestOptions,
|
|
39130
|
+
}];
|
|
39131
|
+
}
|
|
39132
|
+
});
|
|
39133
|
+
});
|
|
39134
|
+
},
|
|
39087
39135
|
/**
|
|
39088
39136
|
*
|
|
39089
39137
|
* @param {number} [page]
|
|
@@ -39321,6 +39369,29 @@
|
|
|
39321
39369
|
});
|
|
39322
39370
|
});
|
|
39323
39371
|
},
|
|
39372
|
+
/**
|
|
39373
|
+
*
|
|
39374
|
+
* @param {*} [options] Override http request option.
|
|
39375
|
+
* @throws {RequiredError}
|
|
39376
|
+
*/
|
|
39377
|
+
searchAvailableSystemSetting: function (options) {
|
|
39378
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
39379
|
+
var localVarAxiosArgs;
|
|
39380
|
+
return tslib.__generator(this, function (_a) {
|
|
39381
|
+
switch (_a.label) {
|
|
39382
|
+
case 0: return [4 /*yield*/, SystemSettingServiceApiAxiosParamCreator(configuration).searchAvailableSystemSetting(options)];
|
|
39383
|
+
case 1:
|
|
39384
|
+
localVarAxiosArgs = _a.sent();
|
|
39385
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
39386
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
39387
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
39388
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
39389
|
+
return axios.request(axiosRequestArgs);
|
|
39390
|
+
}];
|
|
39391
|
+
}
|
|
39392
|
+
});
|
|
39393
|
+
});
|
|
39394
|
+
},
|
|
39324
39395
|
/**
|
|
39325
39396
|
*
|
|
39326
39397
|
* @param {number} [page]
|
|
@@ -39427,6 +39498,16 @@
|
|
|
39427
39498
|
.readSystemSetting(id, options)
|
|
39428
39499
|
.then(function (request) { return request(axios, basePath); });
|
|
39429
39500
|
},
|
|
39501
|
+
/**
|
|
39502
|
+
*
|
|
39503
|
+
* @param {*} [options] Override http request option.
|
|
39504
|
+
* @throws {RequiredError}
|
|
39505
|
+
*/
|
|
39506
|
+
searchAvailableSystemSetting: function (options) {
|
|
39507
|
+
return SystemSettingServiceApiFp(configuration)
|
|
39508
|
+
.searchAvailableSystemSetting(options)
|
|
39509
|
+
.then(function (request) { return request(axios, basePath); });
|
|
39510
|
+
},
|
|
39430
39511
|
/**
|
|
39431
39512
|
*
|
|
39432
39513
|
* @param {number} [page]
|
|
@@ -39520,6 +39601,18 @@
|
|
|
39520
39601
|
.readSystemSetting(id, options)
|
|
39521
39602
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
39522
39603
|
};
|
|
39604
|
+
/**
|
|
39605
|
+
*
|
|
39606
|
+
* @param {*} [options] Override http request option.
|
|
39607
|
+
* @throws {RequiredError}
|
|
39608
|
+
* @memberof SystemSettingServiceApi
|
|
39609
|
+
*/
|
|
39610
|
+
SystemSettingServiceApi.prototype.searchAvailableSystemSetting = function (options) {
|
|
39611
|
+
var _this = this;
|
|
39612
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
39613
|
+
.searchAvailableSystemSetting(options)
|
|
39614
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
39615
|
+
};
|
|
39523
39616
|
/**
|
|
39524
39617
|
*
|
|
39525
39618
|
* @param {number} [page]
|
|
@@ -43318,6 +43411,19 @@
|
|
|
43318
43411
|
* Do not edit the class manually.
|
|
43319
43412
|
*/
|
|
43320
43413
|
|
|
43414
|
+
// tslint:disable
|
|
43415
|
+
/**
|
|
43416
|
+
* Webitel API
|
|
43417
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
43418
|
+
*
|
|
43419
|
+
* The version of the OpenAPI document: 23.09.0
|
|
43420
|
+
* Contact: support@webitel.com
|
|
43421
|
+
*
|
|
43422
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
43423
|
+
* https://openapi-generator.tech
|
|
43424
|
+
* Do not edit the class manually.
|
|
43425
|
+
*/
|
|
43426
|
+
|
|
43321
43427
|
// tslint:disable
|
|
43322
43428
|
(function (EngineBoolFilter) {
|
|
43323
43429
|
EngineBoolFilter["Undefined"] = "undefined";
|
|
@@ -45400,6 +45506,19 @@
|
|
|
45400
45506
|
* Do not edit the class manually.
|
|
45401
45507
|
*/
|
|
45402
45508
|
|
|
45509
|
+
// tslint:disable
|
|
45510
|
+
/**
|
|
45511
|
+
* Webitel API
|
|
45512
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
45513
|
+
*
|
|
45514
|
+
* The version of the OpenAPI document: 23.09.0
|
|
45515
|
+
* Contact: support@webitel.com
|
|
45516
|
+
*
|
|
45517
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
45518
|
+
* https://openapi-generator.tech
|
|
45519
|
+
* Do not edit the class manually.
|
|
45520
|
+
*/
|
|
45521
|
+
|
|
45403
45522
|
// tslint:disable
|
|
45404
45523
|
(function (EnginePresetQuerySection) {
|
|
45405
45524
|
EnginePresetQuerySection["Default"] = "section_default";
|
|
@@ -45740,6 +45859,13 @@
|
|
|
45740
45859
|
* Do not edit the class manually.
|
|
45741
45860
|
*/
|
|
45742
45861
|
|
|
45862
|
+
// tslint:disable
|
|
45863
|
+
(function (EngineSystemSettingName) {
|
|
45864
|
+
EngineSystemSettingName["EmptySystemSettingsName"] = "empty_system_settings_name";
|
|
45865
|
+
EngineSystemSettingName["EnableOmnichannel"] = "enable_omnichannel";
|
|
45866
|
+
EngineSystemSettingName["MemberChunkSize"] = "member_chunk_size";
|
|
45867
|
+
})(exports.EngineSystemSettingName || (exports.EngineSystemSettingName = {}));
|
|
45868
|
+
|
|
45743
45869
|
// tslint:disable
|
|
45744
45870
|
/**
|
|
45745
45871
|
* Webitel API
|