webitel-sdk 23.7.3 → 23.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.esm.js +295 -185
- 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 +283 -190
- 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 +160 -160
- package/esm2015/api/config-service-api.js.map +1 -1
- package/esm2015/api/index.js +4 -3
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/logger-action.js +26 -0
- package/esm2015/api/logger-action.js.map +1 -0
- package/esm2015/api/logger-create-config-request.js +13 -0
- package/esm2015/api/logger-create-config-request.js.map +1 -0
- package/esm2015/api/logger-delete-config-bulk-request.js +13 -0
- package/esm2015/api/logger-delete-config-bulk-request.js.map +1 -0
- package/esm2015/api/logger-patch-config-request.js +13 -0
- package/esm2015/api/logger-patch-config-request.js.map +1 -0
- package/esm2015/api/logger-service-api.js +108 -24
- package/esm2015/api/logger-service-api.js.map +1 -1
- package/esm5/api/config-service-api.js +166 -166
- package/esm5/api/config-service-api.js.map +1 -1
- package/esm5/api/index.js +4 -3
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/logger-action.js +26 -0
- package/esm5/api/logger-action.js.map +1 -0
- package/esm5/api/logger-create-config-request.js +13 -0
- package/esm5/api/logger-create-config-request.js.map +1 -0
- package/esm5/api/logger-delete-config-bulk-request.js +13 -0
- package/esm5/api/logger-delete-config-bulk-request.js.map +1 -0
- package/esm5/api/logger-patch-config-request.js +13 -0
- package/esm5/api/logger-patch-config-request.js.map +1 -0
- package/esm5/api/logger-service-api.js +108 -24
- package/esm5/api/logger-service-api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/agent-in-queue-agents-in-queue.d.ts +6 -0
- package/types/api/agent-in-queue-agents-in-queue.d.ts.map +1 -1
- package/types/api/config-service-api.d.ts +75 -75
- package/types/api/config-service-api.d.ts.map +1 -1
- package/types/api/index.d.ts +4 -3
- package/types/api/index.d.ts.map +1 -1
- package/types/api/logger-action.d.ts +24 -0
- package/types/api/logger-action.d.ts.map +1 -0
- package/types/api/logger-config.d.ts +6 -0
- package/types/api/logger-config.d.ts.map +1 -1
- package/types/api/logger-create-config-request.d.ts +56 -0
- package/types/api/logger-create-config-request.d.ts.map +1 -0
- package/types/api/logger-delete-config-bulk-request.d.ts +25 -0
- package/types/api/logger-delete-config-bulk-request.d.ts.map +1 -0
- package/types/api/logger-log.d.ts +6 -0
- package/types/api/logger-log.d.ts.map +1 -1
- package/types/api/logger-patch-config-request.d.ts +62 -0
- package/types/api/logger-patch-config-request.d.ts.map +1 -0
- package/types/api/logger-service-api.d.ts +64 -16
- package/types/api/logger-service-api.d.ts.map +1 -1
- package/types/api/logger-update-config-request.d.ts +6 -0
- package/types/api/logger-update-config-request.d.ts.map +1 -1
|
@@ -25,27 +25,27 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @param {
|
|
28
|
+
* @param {LoggerCreateConfigRequest} body
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
createConfig: function (body, options) {
|
|
33
33
|
if (options === void 0) { options = {}; }
|
|
34
34
|
return __awaiter(_this, void 0, void 0, function () {
|
|
35
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
35
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
36
36
|
return __generator(this, function (_b) {
|
|
37
37
|
switch (_b.label) {
|
|
38
38
|
case 0:
|
|
39
|
-
// verify required parameter '
|
|
40
|
-
if (
|
|
41
|
-
throw new RequiredError('
|
|
39
|
+
// verify required parameter 'body' is not null or undefined
|
|
40
|
+
if (body === null || body === undefined) {
|
|
41
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createConfig.');
|
|
42
42
|
}
|
|
43
|
-
localVarPath = "/logger/config
|
|
43
|
+
localVarPath = "/logger/config";
|
|
44
44
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
45
45
|
if (configuration) {
|
|
46
46
|
baseOptions = configuration.baseOptions;
|
|
47
47
|
}
|
|
48
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
48
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
49
49
|
localVarHeaderParameter = {};
|
|
50
50
|
localVarQueryParameter = {};
|
|
51
51
|
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
@@ -63,11 +63,17 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
63
63
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
64
64
|
_b.label = 5;
|
|
65
65
|
case 5:
|
|
66
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
66
67
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
67
68
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
68
69
|
delete localVarUrlObj.search;
|
|
69
70
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
71
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72
|
+
needsSerialization = typeof body !== 'string' ||
|
|
73
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
74
|
+
localVarRequestOptions.data = needsSerialization
|
|
75
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
76
|
+
: body || '';
|
|
71
77
|
return [2 /*return*/, {
|
|
72
78
|
url: globalImportUrl.format(localVarUrlObj),
|
|
73
79
|
options: localVarRequestOptions,
|
|
@@ -78,22 +84,22 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
78
84
|
},
|
|
79
85
|
/**
|
|
80
86
|
*
|
|
81
|
-
* @param {
|
|
87
|
+
* @param {number} configId
|
|
82
88
|
* @param {*} [options] Override http request option.
|
|
83
89
|
* @throws {RequiredError}
|
|
84
90
|
*/
|
|
85
|
-
|
|
91
|
+
deleteConfig: function (configId, options) {
|
|
86
92
|
if (options === void 0) { options = {}; }
|
|
87
93
|
return __awaiter(_this, void 0, void 0, function () {
|
|
88
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions
|
|
94
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
89
95
|
return __generator(this, function (_b) {
|
|
90
96
|
switch (_b.label) {
|
|
91
97
|
case 0:
|
|
92
|
-
// verify required parameter '
|
|
93
|
-
if (
|
|
94
|
-
throw new RequiredError('
|
|
98
|
+
// verify required parameter 'configId' is not null or undefined
|
|
99
|
+
if (configId === null || configId === undefined) {
|
|
100
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
|
|
95
101
|
}
|
|
96
|
-
localVarPath = "/logger/config";
|
|
102
|
+
localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
|
|
97
103
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
98
104
|
if (configuration) {
|
|
99
105
|
baseOptions = configuration.baseOptions;
|
|
@@ -116,17 +122,11 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
116
122
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
117
123
|
_b.label = 5;
|
|
118
124
|
case 5:
|
|
119
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120
125
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
121
126
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
122
127
|
delete localVarUrlObj.search;
|
|
123
128
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
129
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
125
|
-
needsSerialization = typeof body !== 'string' ||
|
|
126
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
127
|
-
localVarRequestOptions.data = needsSerialization
|
|
128
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
129
|
-
: body || '';
|
|
130
130
|
return [2 /*return*/, {
|
|
131
131
|
url: globalImportUrl.format(localVarUrlObj),
|
|
132
132
|
options: localVarRequestOptions,
|
|
@@ -137,27 +137,27 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
137
137
|
},
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {number} [size]
|
|
142
|
-
* @param {string} [q]
|
|
143
|
-
* @param {string} [sort]
|
|
144
|
-
* @param {Array<string>} [fields]
|
|
140
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
145
141
|
* @param {*} [options] Override http request option.
|
|
146
142
|
* @throws {RequiredError}
|
|
147
143
|
*/
|
|
148
|
-
|
|
144
|
+
deleteConfigBulk: function (body, options) {
|
|
149
145
|
if (options === void 0) { options = {}; }
|
|
150
146
|
return __awaiter(_this, void 0, void 0, function () {
|
|
151
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
147
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
152
148
|
return __generator(this, function (_b) {
|
|
153
149
|
switch (_b.label) {
|
|
154
150
|
case 0:
|
|
151
|
+
// verify required parameter 'body' is not null or undefined
|
|
152
|
+
if (body === null || body === undefined) {
|
|
153
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigBulk.');
|
|
154
|
+
}
|
|
155
155
|
localVarPath = "/logger/config";
|
|
156
156
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
157
157
|
if (configuration) {
|
|
158
158
|
baseOptions = configuration.baseOptions;
|
|
159
159
|
}
|
|
160
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
160
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
161
161
|
localVarHeaderParameter = {};
|
|
162
162
|
localVarQueryParameter = {};
|
|
163
163
|
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
@@ -175,26 +175,17 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
175
175
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
176
176
|
_b.label = 5;
|
|
177
177
|
case 5:
|
|
178
|
-
|
|
179
|
-
localVarQueryParameter['page'] = page;
|
|
180
|
-
}
|
|
181
|
-
if (size !== undefined) {
|
|
182
|
-
localVarQueryParameter['size'] = size;
|
|
183
|
-
}
|
|
184
|
-
if (q !== undefined) {
|
|
185
|
-
localVarQueryParameter['q'] = q;
|
|
186
|
-
}
|
|
187
|
-
if (sort !== undefined) {
|
|
188
|
-
localVarQueryParameter['sort'] = sort;
|
|
189
|
-
}
|
|
190
|
-
if (fields) {
|
|
191
|
-
localVarQueryParameter['fields'] = fields;
|
|
192
|
-
}
|
|
178
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
193
179
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
194
180
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
195
181
|
delete localVarUrlObj.search;
|
|
196
182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
183
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
needsSerialization = typeof body !== 'string' ||
|
|
185
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
186
|
+
localVarRequestOptions.data = needsSerialization
|
|
187
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
188
|
+
: body || '';
|
|
198
189
|
return [2 /*return*/, {
|
|
199
190
|
url: globalImportUrl.format(localVarUrlObj),
|
|
200
191
|
options: localVarRequestOptions,
|
|
@@ -206,26 +197,31 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
206
197
|
/**
|
|
207
198
|
*
|
|
208
199
|
* @param {number} configId
|
|
200
|
+
* @param {LoggerPatchConfigRequest} body
|
|
209
201
|
* @param {*} [options] Override http request option.
|
|
210
202
|
* @throws {RequiredError}
|
|
211
203
|
*/
|
|
212
|
-
|
|
204
|
+
patchConfig: function (configId, body, options) {
|
|
213
205
|
if (options === void 0) { options = {}; }
|
|
214
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
215
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
207
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
216
208
|
return __generator(this, function (_b) {
|
|
217
209
|
switch (_b.label) {
|
|
218
210
|
case 0:
|
|
219
211
|
// verify required parameter 'configId' is not null or undefined
|
|
220
212
|
if (configId === null || configId === undefined) {
|
|
221
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
213
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchConfig.');
|
|
214
|
+
}
|
|
215
|
+
// verify required parameter 'body' is not null or undefined
|
|
216
|
+
if (body === null || body === undefined) {
|
|
217
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchConfig.');
|
|
222
218
|
}
|
|
223
219
|
localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
|
|
224
220
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
225
221
|
if (configuration) {
|
|
226
222
|
baseOptions = configuration.baseOptions;
|
|
227
223
|
}
|
|
228
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
224
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
229
225
|
localVarHeaderParameter = {};
|
|
230
226
|
localVarQueryParameter = {};
|
|
231
227
|
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
@@ -243,11 +239,17 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
243
239
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
244
240
|
_b.label = 5;
|
|
245
241
|
case 5:
|
|
242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
246
243
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
247
244
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
248
245
|
delete localVarUrlObj.search;
|
|
249
246
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
247
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
248
|
+
needsSerialization = typeof body !== 'string' ||
|
|
249
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
250
|
+
localVarRequestOptions.data = needsSerialization
|
|
251
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
252
|
+
: body || '';
|
|
251
253
|
return [2 /*return*/, {
|
|
252
254
|
url: globalImportUrl.format(localVarUrlObj),
|
|
253
255
|
options: localVarRequestOptions,
|
|
@@ -258,17 +260,22 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
258
260
|
},
|
|
259
261
|
/**
|
|
260
262
|
*
|
|
263
|
+
* @param {number} configId
|
|
261
264
|
* @param {*} [options] Override http request option.
|
|
262
265
|
* @throws {RequiredError}
|
|
263
266
|
*/
|
|
264
|
-
|
|
267
|
+
readConfig: function (configId, options) {
|
|
265
268
|
if (options === void 0) { options = {}; }
|
|
266
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
270
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
268
271
|
return __generator(this, function (_b) {
|
|
269
272
|
switch (_b.label) {
|
|
270
273
|
case 0:
|
|
271
|
-
|
|
274
|
+
// verify required parameter 'configId' is not null or undefined
|
|
275
|
+
if (configId === null || configId === undefined) {
|
|
276
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling readConfig.');
|
|
277
|
+
}
|
|
278
|
+
localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
|
|
272
279
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
273
280
|
if (configuration) {
|
|
274
281
|
baseOptions = configuration.baseOptions;
|
|
@@ -306,27 +313,22 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
306
313
|
},
|
|
307
314
|
/**
|
|
308
315
|
*
|
|
309
|
-
* @param {LoggerInsertConfigRequest} body
|
|
310
316
|
* @param {*} [options] Override http request option.
|
|
311
317
|
* @throws {RequiredError}
|
|
312
318
|
*/
|
|
313
|
-
|
|
319
|
+
readSystemObjects: function (options) {
|
|
314
320
|
if (options === void 0) { options = {}; }
|
|
315
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
316
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions
|
|
322
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
317
323
|
return __generator(this, function (_b) {
|
|
318
324
|
switch (_b.label) {
|
|
319
325
|
case 0:
|
|
320
|
-
|
|
321
|
-
if (body === null || body === undefined) {
|
|
322
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling insert.');
|
|
323
|
-
}
|
|
324
|
-
localVarPath = "/logger/config";
|
|
326
|
+
localVarPath = "/logger/available_objects";
|
|
325
327
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
326
328
|
if (configuration) {
|
|
327
329
|
baseOptions = configuration.baseOptions;
|
|
328
330
|
}
|
|
329
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
331
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
330
332
|
localVarHeaderParameter = {};
|
|
331
333
|
localVarQueryParameter = {};
|
|
332
334
|
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
@@ -344,17 +346,11 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
344
346
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
345
347
|
_b.label = 5;
|
|
346
348
|
case 5:
|
|
347
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
348
349
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
349
350
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
350
351
|
delete localVarUrlObj.search;
|
|
351
352
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
352
353
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
353
|
-
needsSerialization = typeof body !== 'string' ||
|
|
354
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
355
|
-
localVarRequestOptions.data = needsSerialization
|
|
356
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
357
|
-
: body || '';
|
|
358
354
|
return [2 /*return*/, {
|
|
359
355
|
url: globalImportUrl.format(localVarUrlObj),
|
|
360
356
|
options: localVarRequestOptions,
|
|
@@ -365,32 +361,27 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
365
361
|
},
|
|
366
362
|
/**
|
|
367
363
|
*
|
|
368
|
-
* @param {number}
|
|
369
|
-
* @param {
|
|
364
|
+
* @param {number} [page]
|
|
365
|
+
* @param {number} [size]
|
|
366
|
+
* @param {string} [q]
|
|
367
|
+
* @param {string} [sort]
|
|
368
|
+
* @param {Array<string>} [fields]
|
|
370
369
|
* @param {*} [options] Override http request option.
|
|
371
370
|
* @throws {RequiredError}
|
|
372
371
|
*/
|
|
373
|
-
|
|
372
|
+
searchConfig: function (page, size, q, sort, fields, options) {
|
|
374
373
|
if (options === void 0) { options = {}; }
|
|
375
374
|
return __awaiter(_this, void 0, void 0, function () {
|
|
376
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions
|
|
375
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
377
376
|
return __generator(this, function (_b) {
|
|
378
377
|
switch (_b.label) {
|
|
379
378
|
case 0:
|
|
380
|
-
|
|
381
|
-
if (configId === null || configId === undefined) {
|
|
382
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdate.');
|
|
383
|
-
}
|
|
384
|
-
// verify required parameter 'body' is not null or undefined
|
|
385
|
-
if (body === null || body === undefined) {
|
|
386
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdate.');
|
|
387
|
-
}
|
|
388
|
-
localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
|
|
379
|
+
localVarPath = "/logger/config";
|
|
389
380
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
390
381
|
if (configuration) {
|
|
391
382
|
baseOptions = configuration.baseOptions;
|
|
392
383
|
}
|
|
393
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
384
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
394
385
|
localVarHeaderParameter = {};
|
|
395
386
|
localVarQueryParameter = {};
|
|
396
387
|
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
@@ -408,17 +399,26 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
408
399
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
409
400
|
_b.label = 5;
|
|
410
401
|
case 5:
|
|
411
|
-
|
|
402
|
+
if (page !== undefined) {
|
|
403
|
+
localVarQueryParameter['page'] = page;
|
|
404
|
+
}
|
|
405
|
+
if (size !== undefined) {
|
|
406
|
+
localVarQueryParameter['size'] = size;
|
|
407
|
+
}
|
|
408
|
+
if (q !== undefined) {
|
|
409
|
+
localVarQueryParameter['q'] = q;
|
|
410
|
+
}
|
|
411
|
+
if (sort !== undefined) {
|
|
412
|
+
localVarQueryParameter['sort'] = sort;
|
|
413
|
+
}
|
|
414
|
+
if (fields) {
|
|
415
|
+
localVarQueryParameter['fields'] = fields;
|
|
416
|
+
}
|
|
412
417
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
413
418
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
414
419
|
delete localVarUrlObj.search;
|
|
415
420
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
421
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
417
|
-
needsSerialization = typeof body !== 'string' ||
|
|
418
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
419
|
-
localVarRequestOptions.data = needsSerialization
|
|
420
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
421
|
-
: body || '';
|
|
422
422
|
return [2 /*return*/, {
|
|
423
423
|
url: globalImportUrl.format(localVarUrlObj),
|
|
424
424
|
options: localVarRequestOptions,
|
|
@@ -434,7 +434,7 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
434
434
|
* @param {*} [options] Override http request option.
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
*/
|
|
437
|
-
|
|
437
|
+
updateConfig: function (configId, body, options) {
|
|
438
438
|
if (options === void 0) { options = {}; }
|
|
439
439
|
return __awaiter(_this, void 0, void 0, function () {
|
|
440
440
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -443,11 +443,11 @@ export var ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
443
443
|
case 0:
|
|
444
444
|
// verify required parameter 'configId' is not null or undefined
|
|
445
445
|
if (configId === null || configId === undefined) {
|
|
446
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
446
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling updateConfig.');
|
|
447
447
|
}
|
|
448
448
|
// verify required parameter 'body' is not null or undefined
|
|
449
449
|
if (body === null || body === undefined) {
|
|
450
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
450
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateConfig.');
|
|
451
451
|
}
|
|
452
452
|
localVarPath = "/logger/config/{config_id}".replace("{" + 'config_id' + "}", encodeURIComponent(String(configId)));
|
|
453
453
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -501,16 +501,16 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
501
501
|
return {
|
|
502
502
|
/**
|
|
503
503
|
*
|
|
504
|
-
* @param {
|
|
504
|
+
* @param {LoggerCreateConfigRequest} body
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
507
507
|
*/
|
|
508
|
-
|
|
508
|
+
createConfig: function (body, options) {
|
|
509
509
|
return __awaiter(this, void 0, void 0, function () {
|
|
510
510
|
var localVarAxiosArgs;
|
|
511
511
|
return __generator(this, function (_a) {
|
|
512
512
|
switch (_a.label) {
|
|
513
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
513
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).createConfig(body, options)];
|
|
514
514
|
case 1:
|
|
515
515
|
localVarAxiosArgs = _a.sent();
|
|
516
516
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -525,16 +525,16 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
525
525
|
},
|
|
526
526
|
/**
|
|
527
527
|
*
|
|
528
|
-
* @param {
|
|
528
|
+
* @param {number} configId
|
|
529
529
|
* @param {*} [options] Override http request option.
|
|
530
530
|
* @throws {RequiredError}
|
|
531
531
|
*/
|
|
532
|
-
|
|
532
|
+
deleteConfig: function (configId, options) {
|
|
533
533
|
return __awaiter(this, void 0, void 0, function () {
|
|
534
534
|
var localVarAxiosArgs;
|
|
535
535
|
return __generator(this, function (_a) {
|
|
536
536
|
switch (_a.label) {
|
|
537
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
537
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, options)];
|
|
538
538
|
case 1:
|
|
539
539
|
localVarAxiosArgs = _a.sent();
|
|
540
540
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -549,20 +549,16 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
549
549
|
},
|
|
550
550
|
/**
|
|
551
551
|
*
|
|
552
|
-
* @param {
|
|
553
|
-
* @param {number} [size]
|
|
554
|
-
* @param {string} [q]
|
|
555
|
-
* @param {string} [sort]
|
|
556
|
-
* @param {Array<string>} [fields]
|
|
552
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
557
553
|
* @param {*} [options] Override http request option.
|
|
558
554
|
* @throws {RequiredError}
|
|
559
555
|
*/
|
|
560
|
-
|
|
556
|
+
deleteConfigBulk: function (body, options) {
|
|
561
557
|
return __awaiter(this, void 0, void 0, function () {
|
|
562
558
|
var localVarAxiosArgs;
|
|
563
559
|
return __generator(this, function (_a) {
|
|
564
560
|
switch (_a.label) {
|
|
565
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
561
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).deleteConfigBulk(body, options)];
|
|
566
562
|
case 1:
|
|
567
563
|
localVarAxiosArgs = _a.sent();
|
|
568
564
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -578,15 +574,16 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
578
574
|
/**
|
|
579
575
|
*
|
|
580
576
|
* @param {number} configId
|
|
577
|
+
* @param {LoggerPatchConfigRequest} body
|
|
581
578
|
* @param {*} [options] Override http request option.
|
|
582
579
|
* @throws {RequiredError}
|
|
583
580
|
*/
|
|
584
|
-
|
|
581
|
+
patchConfig: function (configId, body, options) {
|
|
585
582
|
return __awaiter(this, void 0, void 0, function () {
|
|
586
583
|
var localVarAxiosArgs;
|
|
587
584
|
return __generator(this, function (_a) {
|
|
588
585
|
switch (_a.label) {
|
|
589
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
586
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).patchConfig(configId, body, options)];
|
|
590
587
|
case 1:
|
|
591
588
|
localVarAxiosArgs = _a.sent();
|
|
592
589
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -601,15 +598,16 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
601
598
|
},
|
|
602
599
|
/**
|
|
603
600
|
*
|
|
601
|
+
* @param {number} configId
|
|
604
602
|
* @param {*} [options] Override http request option.
|
|
605
603
|
* @throws {RequiredError}
|
|
606
604
|
*/
|
|
607
|
-
|
|
605
|
+
readConfig: function (configId, options) {
|
|
608
606
|
return __awaiter(this, void 0, void 0, function () {
|
|
609
607
|
var localVarAxiosArgs;
|
|
610
608
|
return __generator(this, function (_a) {
|
|
611
609
|
switch (_a.label) {
|
|
612
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
610
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).readConfig(configId, options)];
|
|
613
611
|
case 1:
|
|
614
612
|
localVarAxiosArgs = _a.sent();
|
|
615
613
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -624,16 +622,15 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
624
622
|
},
|
|
625
623
|
/**
|
|
626
624
|
*
|
|
627
|
-
* @param {LoggerInsertConfigRequest} body
|
|
628
625
|
* @param {*} [options] Override http request option.
|
|
629
626
|
* @throws {RequiredError}
|
|
630
627
|
*/
|
|
631
|
-
|
|
628
|
+
readSystemObjects: function (options) {
|
|
632
629
|
return __awaiter(this, void 0, void 0, function () {
|
|
633
630
|
var localVarAxiosArgs;
|
|
634
631
|
return __generator(this, function (_a) {
|
|
635
632
|
switch (_a.label) {
|
|
636
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
633
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).readSystemObjects(options)];
|
|
637
634
|
case 1:
|
|
638
635
|
localVarAxiosArgs = _a.sent();
|
|
639
636
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -648,17 +645,20 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
648
645
|
},
|
|
649
646
|
/**
|
|
650
647
|
*
|
|
651
|
-
* @param {number}
|
|
652
|
-
* @param {
|
|
648
|
+
* @param {number} [page]
|
|
649
|
+
* @param {number} [size]
|
|
650
|
+
* @param {string} [q]
|
|
651
|
+
* @param {string} [sort]
|
|
652
|
+
* @param {Array<string>} [fields]
|
|
653
653
|
* @param {*} [options] Override http request option.
|
|
654
654
|
* @throws {RequiredError}
|
|
655
655
|
*/
|
|
656
|
-
|
|
656
|
+
searchConfig: function (page, size, q, sort, fields, options) {
|
|
657
657
|
return __awaiter(this, void 0, void 0, function () {
|
|
658
658
|
var localVarAxiosArgs;
|
|
659
659
|
return __generator(this, function (_a) {
|
|
660
660
|
switch (_a.label) {
|
|
661
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
661
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options)];
|
|
662
662
|
case 1:
|
|
663
663
|
localVarAxiosArgs = _a.sent();
|
|
664
664
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -678,12 +678,12 @@ export var ConfigServiceApiFp = function (configuration) {
|
|
|
678
678
|
* @param {*} [options] Override http request option.
|
|
679
679
|
* @throws {RequiredError}
|
|
680
680
|
*/
|
|
681
|
-
|
|
681
|
+
updateConfig: function (configId, body, options) {
|
|
682
682
|
return __awaiter(this, void 0, void 0, function () {
|
|
683
683
|
var localVarAxiosArgs;
|
|
684
684
|
return __generator(this, function (_a) {
|
|
685
685
|
switch (_a.label) {
|
|
686
|
-
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).
|
|
686
|
+
case 0: return [4 /*yield*/, ConfigServiceApiAxiosParamCreator(configuration).updateConfig(configId, body, options)];
|
|
687
687
|
case 1:
|
|
688
688
|
localVarAxiosArgs = _a.sent();
|
|
689
689
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -706,83 +706,83 @@ export var ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
706
706
|
return {
|
|
707
707
|
/**
|
|
708
708
|
*
|
|
709
|
-
* @param {
|
|
709
|
+
* @param {LoggerCreateConfigRequest} body
|
|
710
710
|
* @param {*} [options] Override http request option.
|
|
711
711
|
* @throws {RequiredError}
|
|
712
712
|
*/
|
|
713
|
-
|
|
713
|
+
createConfig: function (body, options) {
|
|
714
714
|
return ConfigServiceApiFp(configuration)
|
|
715
|
-
.
|
|
715
|
+
.createConfig(body, options)
|
|
716
716
|
.then(function (request) { return request(axios, basePath); });
|
|
717
717
|
},
|
|
718
718
|
/**
|
|
719
719
|
*
|
|
720
|
-
* @param {
|
|
720
|
+
* @param {number} configId
|
|
721
721
|
* @param {*} [options] Override http request option.
|
|
722
722
|
* @throws {RequiredError}
|
|
723
723
|
*/
|
|
724
|
-
|
|
724
|
+
deleteConfig: function (configId, options) {
|
|
725
725
|
return ConfigServiceApiFp(configuration)
|
|
726
|
-
.
|
|
726
|
+
.deleteConfig(configId, options)
|
|
727
727
|
.then(function (request) { return request(axios, basePath); });
|
|
728
728
|
},
|
|
729
729
|
/**
|
|
730
730
|
*
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {number} [size]
|
|
733
|
-
* @param {string} [q]
|
|
734
|
-
* @param {string} [sort]
|
|
735
|
-
* @param {Array<string>} [fields]
|
|
731
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
736
732
|
* @param {*} [options] Override http request option.
|
|
737
733
|
* @throws {RequiredError}
|
|
738
734
|
*/
|
|
739
|
-
|
|
735
|
+
deleteConfigBulk: function (body, options) {
|
|
740
736
|
return ConfigServiceApiFp(configuration)
|
|
741
|
-
.
|
|
737
|
+
.deleteConfigBulk(body, options)
|
|
742
738
|
.then(function (request) { return request(axios, basePath); });
|
|
743
739
|
},
|
|
744
740
|
/**
|
|
745
741
|
*
|
|
746
742
|
* @param {number} configId
|
|
743
|
+
* @param {LoggerPatchConfigRequest} body
|
|
747
744
|
* @param {*} [options] Override http request option.
|
|
748
745
|
* @throws {RequiredError}
|
|
749
746
|
*/
|
|
750
|
-
|
|
747
|
+
patchConfig: function (configId, body, options) {
|
|
751
748
|
return ConfigServiceApiFp(configuration)
|
|
752
|
-
.
|
|
749
|
+
.patchConfig(configId, body, options)
|
|
753
750
|
.then(function (request) { return request(axios, basePath); });
|
|
754
751
|
},
|
|
755
752
|
/**
|
|
756
753
|
*
|
|
754
|
+
* @param {number} configId
|
|
757
755
|
* @param {*} [options] Override http request option.
|
|
758
756
|
* @throws {RequiredError}
|
|
759
757
|
*/
|
|
760
|
-
|
|
758
|
+
readConfig: function (configId, options) {
|
|
761
759
|
return ConfigServiceApiFp(configuration)
|
|
762
|
-
.
|
|
760
|
+
.readConfig(configId, options)
|
|
763
761
|
.then(function (request) { return request(axios, basePath); });
|
|
764
762
|
},
|
|
765
763
|
/**
|
|
766
764
|
*
|
|
767
|
-
* @param {LoggerInsertConfigRequest} body
|
|
768
765
|
* @param {*} [options] Override http request option.
|
|
769
766
|
* @throws {RequiredError}
|
|
770
767
|
*/
|
|
771
|
-
|
|
768
|
+
readSystemObjects: function (options) {
|
|
772
769
|
return ConfigServiceApiFp(configuration)
|
|
773
|
-
.
|
|
770
|
+
.readSystemObjects(options)
|
|
774
771
|
.then(function (request) { return request(axios, basePath); });
|
|
775
772
|
},
|
|
776
773
|
/**
|
|
777
774
|
*
|
|
778
|
-
* @param {number}
|
|
779
|
-
* @param {
|
|
775
|
+
* @param {number} [page]
|
|
776
|
+
* @param {number} [size]
|
|
777
|
+
* @param {string} [q]
|
|
778
|
+
* @param {string} [sort]
|
|
779
|
+
* @param {Array<string>} [fields]
|
|
780
780
|
* @param {*} [options] Override http request option.
|
|
781
781
|
* @throws {RequiredError}
|
|
782
782
|
*/
|
|
783
|
-
|
|
783
|
+
searchConfig: function (page, size, q, sort, fields, options) {
|
|
784
784
|
return ConfigServiceApiFp(configuration)
|
|
785
|
-
.
|
|
785
|
+
.searchConfig(page, size, q, sort, fields, options)
|
|
786
786
|
.then(function (request) { return request(axios, basePath); });
|
|
787
787
|
},
|
|
788
788
|
/**
|
|
@@ -792,9 +792,9 @@ export var ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
792
792
|
* @param {*} [options] Override http request option.
|
|
793
793
|
* @throws {RequiredError}
|
|
794
794
|
*/
|
|
795
|
-
|
|
795
|
+
updateConfig: function (configId, body, options) {
|
|
796
796
|
return ConfigServiceApiFp(configuration)
|
|
797
|
-
.
|
|
797
|
+
.updateConfig(configId, body, options)
|
|
798
798
|
.then(function (request) { return request(axios, basePath); });
|
|
799
799
|
},
|
|
800
800
|
};
|
|
@@ -812,97 +812,97 @@ var ConfigServiceApi = /** @class */ (function (_super) {
|
|
|
812
812
|
}
|
|
813
813
|
/**
|
|
814
814
|
*
|
|
815
|
-
* @param {
|
|
815
|
+
* @param {LoggerCreateConfigRequest} body
|
|
816
816
|
* @param {*} [options] Override http request option.
|
|
817
817
|
* @throws {RequiredError}
|
|
818
818
|
* @memberof ConfigServiceApi
|
|
819
819
|
*/
|
|
820
|
-
ConfigServiceApi.prototype.
|
|
820
|
+
ConfigServiceApi.prototype.createConfig = function (body, options) {
|
|
821
821
|
var _this = this;
|
|
822
822
|
return ConfigServiceApiFp(this.configuration)
|
|
823
|
-
.
|
|
823
|
+
.createConfig(body, options)
|
|
824
824
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
825
825
|
};
|
|
826
826
|
/**
|
|
827
827
|
*
|
|
828
|
-
* @param {
|
|
828
|
+
* @param {number} configId
|
|
829
829
|
* @param {*} [options] Override http request option.
|
|
830
830
|
* @throws {RequiredError}
|
|
831
831
|
* @memberof ConfigServiceApi
|
|
832
832
|
*/
|
|
833
|
-
ConfigServiceApi.prototype.
|
|
833
|
+
ConfigServiceApi.prototype.deleteConfig = function (configId, options) {
|
|
834
834
|
var _this = this;
|
|
835
835
|
return ConfigServiceApiFp(this.configuration)
|
|
836
|
-
.
|
|
836
|
+
.deleteConfig(configId, options)
|
|
837
837
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
838
838
|
};
|
|
839
839
|
/**
|
|
840
840
|
*
|
|
841
|
-
* @param {
|
|
842
|
-
* @param {number} [size]
|
|
843
|
-
* @param {string} [q]
|
|
844
|
-
* @param {string} [sort]
|
|
845
|
-
* @param {Array<string>} [fields]
|
|
841
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
846
842
|
* @param {*} [options] Override http request option.
|
|
847
843
|
* @throws {RequiredError}
|
|
848
844
|
* @memberof ConfigServiceApi
|
|
849
845
|
*/
|
|
850
|
-
ConfigServiceApi.prototype.
|
|
846
|
+
ConfigServiceApi.prototype.deleteConfigBulk = function (body, options) {
|
|
851
847
|
var _this = this;
|
|
852
848
|
return ConfigServiceApiFp(this.configuration)
|
|
853
|
-
.
|
|
849
|
+
.deleteConfigBulk(body, options)
|
|
854
850
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
855
851
|
};
|
|
856
852
|
/**
|
|
857
853
|
*
|
|
858
854
|
* @param {number} configId
|
|
855
|
+
* @param {LoggerPatchConfigRequest} body
|
|
859
856
|
* @param {*} [options] Override http request option.
|
|
860
857
|
* @throws {RequiredError}
|
|
861
858
|
* @memberof ConfigServiceApi
|
|
862
859
|
*/
|
|
863
|
-
ConfigServiceApi.prototype.
|
|
860
|
+
ConfigServiceApi.prototype.patchConfig = function (configId, body, options) {
|
|
864
861
|
var _this = this;
|
|
865
862
|
return ConfigServiceApiFp(this.configuration)
|
|
866
|
-
.
|
|
863
|
+
.patchConfig(configId, body, options)
|
|
867
864
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
868
865
|
};
|
|
869
866
|
/**
|
|
870
867
|
*
|
|
868
|
+
* @param {number} configId
|
|
871
869
|
* @param {*} [options] Override http request option.
|
|
872
870
|
* @throws {RequiredError}
|
|
873
871
|
* @memberof ConfigServiceApi
|
|
874
872
|
*/
|
|
875
|
-
ConfigServiceApi.prototype.
|
|
873
|
+
ConfigServiceApi.prototype.readConfig = function (configId, options) {
|
|
876
874
|
var _this = this;
|
|
877
875
|
return ConfigServiceApiFp(this.configuration)
|
|
878
|
-
.
|
|
876
|
+
.readConfig(configId, options)
|
|
879
877
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
880
878
|
};
|
|
881
879
|
/**
|
|
882
880
|
*
|
|
883
|
-
* @param {LoggerInsertConfigRequest} body
|
|
884
881
|
* @param {*} [options] Override http request option.
|
|
885
882
|
* @throws {RequiredError}
|
|
886
883
|
* @memberof ConfigServiceApi
|
|
887
884
|
*/
|
|
888
|
-
ConfigServiceApi.prototype.
|
|
885
|
+
ConfigServiceApi.prototype.readSystemObjects = function (options) {
|
|
889
886
|
var _this = this;
|
|
890
887
|
return ConfigServiceApiFp(this.configuration)
|
|
891
|
-
.
|
|
888
|
+
.readSystemObjects(options)
|
|
892
889
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
893
890
|
};
|
|
894
891
|
/**
|
|
895
892
|
*
|
|
896
|
-
* @param {number}
|
|
897
|
-
* @param {
|
|
893
|
+
* @param {number} [page]
|
|
894
|
+
* @param {number} [size]
|
|
895
|
+
* @param {string} [q]
|
|
896
|
+
* @param {string} [sort]
|
|
897
|
+
* @param {Array<string>} [fields]
|
|
898
898
|
* @param {*} [options] Override http request option.
|
|
899
899
|
* @throws {RequiredError}
|
|
900
900
|
* @memberof ConfigServiceApi
|
|
901
901
|
*/
|
|
902
|
-
ConfigServiceApi.prototype.
|
|
902
|
+
ConfigServiceApi.prototype.searchConfig = function (page, size, q, sort, fields, options) {
|
|
903
903
|
var _this = this;
|
|
904
904
|
return ConfigServiceApiFp(this.configuration)
|
|
905
|
-
.
|
|
905
|
+
.searchConfig(page, size, q, sort, fields, options)
|
|
906
906
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
907
907
|
};
|
|
908
908
|
/**
|
|
@@ -913,10 +913,10 @@ var ConfigServiceApi = /** @class */ (function (_super) {
|
|
|
913
913
|
* @throws {RequiredError}
|
|
914
914
|
* @memberof ConfigServiceApi
|
|
915
915
|
*/
|
|
916
|
-
ConfigServiceApi.prototype.
|
|
916
|
+
ConfigServiceApi.prototype.updateConfig = function (configId, body, options) {
|
|
917
917
|
var _this = this;
|
|
918
918
|
return ConfigServiceApiFp(this.configuration)
|
|
919
|
-
.
|
|
919
|
+
.updateConfig(configId, body, options)
|
|
920
920
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
921
921
|
};
|
|
922
922
|
return ConfigServiceApi;
|