webitel-sdk 23.7.2 → 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 +338 -162
- 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 +336 -164
- 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 +203 -137
- package/esm2015/api/config-service-api.js.map +1 -1
- package/esm2015/api/index.js +5 -4
- 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/esm2015/api/logger-system-objects.js +13 -0
- package/esm2015/api/logger-system-objects.js.map +1 -0
- package/esm5/api/config-service-api.js +219 -140
- package/esm5/api/config-service-api.js.map +1 -1
- package/esm5/api/index.js +5 -4
- 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/esm5/api/logger-system-objects.js +13 -0
- package/esm5/api/logger-system-objects.js.map +1 -0
- 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 +89 -68
- package/types/api/config-service-api.d.ts.map +1 -1
- package/types/api/index.d.ts +5 -4
- 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 +8 -2
- 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-insert-config-request.d.ts +7 -6
- package/types/api/logger-insert-config-request.d.ts.map +1 -1
- 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-patch-update-config-request.d.ts +5 -4
- package/types/api/logger-patch-update-config-request.d.ts.map +1 -1
- 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-system-objects.d.ts +26 -0
- package/types/api/logger-system-objects.d.ts.map +1 -0
- package/types/api/logger-update-config-request.d.ts +11 -4
- package/types/api/logger-update-config-request.d.ts.map +1 -1
|
@@ -23,28 +23,23 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
23
23
|
return {
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @param {
|
|
27
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
26
|
+
* @param {LoggerCreateConfigRequest} body
|
|
28
27
|
* @param {*} [options] Override http request option.
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
|
-
|
|
32
|
-
// verify required parameter 'configId' is not null or undefined
|
|
33
|
-
if (configId === null || configId === undefined) {
|
|
34
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
|
|
35
|
-
}
|
|
30
|
+
createConfig: async (body, options = {}) => {
|
|
36
31
|
// verify required parameter 'body' is not null or undefined
|
|
37
32
|
if (body === null || body === undefined) {
|
|
38
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
33
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createConfig.');
|
|
39
34
|
}
|
|
40
|
-
const localVarPath = `/logger/config
|
|
35
|
+
const localVarPath = `/logger/config`;
|
|
41
36
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
42
37
|
let baseOptions;
|
|
43
38
|
if (configuration) {
|
|
44
39
|
baseOptions = configuration.baseOptions;
|
|
45
40
|
}
|
|
46
41
|
const localVarRequestOptions = {
|
|
47
|
-
method: '
|
|
42
|
+
method: 'POST',
|
|
48
43
|
...baseOptions,
|
|
49
44
|
...options,
|
|
50
45
|
};
|
|
@@ -83,14 +78,63 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
83
78
|
},
|
|
84
79
|
/**
|
|
85
80
|
*
|
|
86
|
-
* @param {
|
|
81
|
+
* @param {number} configId
|
|
87
82
|
* @param {*} [options] Override http request option.
|
|
88
83
|
* @throws {RequiredError}
|
|
89
84
|
*/
|
|
90
|
-
|
|
85
|
+
deleteConfig: async (configId, options = {}) => {
|
|
86
|
+
// verify required parameter 'configId' is not null or undefined
|
|
87
|
+
if (configId === null || configId === undefined) {
|
|
88
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling deleteConfig.');
|
|
89
|
+
}
|
|
90
|
+
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
91
|
+
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = {
|
|
97
|
+
method: 'DELETE',
|
|
98
|
+
...baseOptions,
|
|
99
|
+
...options,
|
|
100
|
+
};
|
|
101
|
+
const localVarHeaderParameter = {};
|
|
102
|
+
const localVarQueryParameter = {};
|
|
103
|
+
// authentication AccessToken required
|
|
104
|
+
if (configuration && configuration.apiKey) {
|
|
105
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
106
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
107
|
+
: await configuration.apiKey;
|
|
108
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
109
|
+
}
|
|
110
|
+
localVarUrlObj.query = {
|
|
111
|
+
...localVarUrlObj.query,
|
|
112
|
+
...localVarQueryParameter,
|
|
113
|
+
...options.query,
|
|
114
|
+
};
|
|
115
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
116
|
+
delete localVarUrlObj.search;
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = {
|
|
119
|
+
...localVarHeaderParameter,
|
|
120
|
+
...headersFromBaseOptions,
|
|
121
|
+
...options.headers,
|
|
122
|
+
};
|
|
123
|
+
return {
|
|
124
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
125
|
+
options: localVarRequestOptions,
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
deleteConfigBulk: async (body, options = {}) => {
|
|
91
135
|
// verify required parameter 'body' is not null or undefined
|
|
92
136
|
if (body === null || body === undefined) {
|
|
93
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
137
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfigBulk.');
|
|
94
138
|
}
|
|
95
139
|
const localVarPath = `/logger/config`;
|
|
96
140
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -138,23 +182,28 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
138
182
|
},
|
|
139
183
|
/**
|
|
140
184
|
*
|
|
141
|
-
* @param {number}
|
|
142
|
-
* @param {
|
|
143
|
-
* @param {string} [q]
|
|
144
|
-
* @param {string} [sort]
|
|
145
|
-
* @param {Array<string>} [fields]
|
|
185
|
+
* @param {number} configId
|
|
186
|
+
* @param {LoggerPatchConfigRequest} body
|
|
146
187
|
* @param {*} [options] Override http request option.
|
|
147
188
|
* @throws {RequiredError}
|
|
148
189
|
*/
|
|
149
|
-
|
|
150
|
-
|
|
190
|
+
patchConfig: async (configId, body, options = {}) => {
|
|
191
|
+
// verify required parameter 'configId' is not null or undefined
|
|
192
|
+
if (configId === null || configId === undefined) {
|
|
193
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchConfig.');
|
|
194
|
+
}
|
|
195
|
+
// verify required parameter 'body' is not null or undefined
|
|
196
|
+
if (body === null || body === undefined) {
|
|
197
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchConfig.');
|
|
198
|
+
}
|
|
199
|
+
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
151
200
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
152
201
|
let baseOptions;
|
|
153
202
|
if (configuration) {
|
|
154
203
|
baseOptions = configuration.baseOptions;
|
|
155
204
|
}
|
|
156
205
|
const localVarRequestOptions = {
|
|
157
|
-
method: '
|
|
206
|
+
method: 'PATCH',
|
|
158
207
|
...baseOptions,
|
|
159
208
|
...options,
|
|
160
209
|
};
|
|
@@ -167,21 +216,7 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
167
216
|
: await configuration.apiKey;
|
|
168
217
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
169
218
|
}
|
|
170
|
-
|
|
171
|
-
localVarQueryParameter['page'] = page;
|
|
172
|
-
}
|
|
173
|
-
if (size !== undefined) {
|
|
174
|
-
localVarQueryParameter['size'] = size;
|
|
175
|
-
}
|
|
176
|
-
if (q !== undefined) {
|
|
177
|
-
localVarQueryParameter['q'] = q;
|
|
178
|
-
}
|
|
179
|
-
if (sort !== undefined) {
|
|
180
|
-
localVarQueryParameter['sort'] = sort;
|
|
181
|
-
}
|
|
182
|
-
if (fields) {
|
|
183
|
-
localVarQueryParameter['fields'] = fields;
|
|
184
|
-
}
|
|
219
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
220
|
localVarUrlObj.query = {
|
|
186
221
|
...localVarUrlObj.query,
|
|
187
222
|
...localVarQueryParameter,
|
|
@@ -195,6 +230,11 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
195
230
|
...headersFromBaseOptions,
|
|
196
231
|
...options.headers,
|
|
197
232
|
};
|
|
233
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
234
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
235
|
+
localVarRequestOptions.data = needsSerialization
|
|
236
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
237
|
+
: body || '';
|
|
198
238
|
return {
|
|
199
239
|
url: globalImportUrl.format(localVarUrlObj),
|
|
200
240
|
options: localVarRequestOptions,
|
|
@@ -206,10 +246,10 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
206
246
|
* @param {*} [options] Override http request option.
|
|
207
247
|
* @throws {RequiredError}
|
|
208
248
|
*/
|
|
209
|
-
|
|
249
|
+
readConfig: async (configId, options = {}) => {
|
|
210
250
|
// verify required parameter 'configId' is not null or undefined
|
|
211
251
|
if (configId === null || configId === undefined) {
|
|
212
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
252
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling readConfig.');
|
|
213
253
|
}
|
|
214
254
|
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
215
255
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -251,23 +291,18 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
251
291
|
},
|
|
252
292
|
/**
|
|
253
293
|
*
|
|
254
|
-
* @param {LoggerInsertConfigRequest} body
|
|
255
294
|
* @param {*} [options] Override http request option.
|
|
256
295
|
* @throws {RequiredError}
|
|
257
296
|
*/
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if (body === null || body === undefined) {
|
|
261
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling insertConfig.');
|
|
262
|
-
}
|
|
263
|
-
const localVarPath = `/logger/config`;
|
|
297
|
+
readSystemObjects: async (options = {}) => {
|
|
298
|
+
const localVarPath = `/logger/available_objects`;
|
|
264
299
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
265
300
|
let baseOptions;
|
|
266
301
|
if (configuration) {
|
|
267
302
|
baseOptions = configuration.baseOptions;
|
|
268
303
|
}
|
|
269
304
|
const localVarRequestOptions = {
|
|
270
|
-
method: '
|
|
305
|
+
method: 'GET',
|
|
271
306
|
...baseOptions,
|
|
272
307
|
...options,
|
|
273
308
|
};
|
|
@@ -280,7 +315,6 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
280
315
|
: await configuration.apiKey;
|
|
281
316
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
282
317
|
}
|
|
283
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
284
318
|
localVarUrlObj.query = {
|
|
285
319
|
...localVarUrlObj.query,
|
|
286
320
|
...localVarQueryParameter,
|
|
@@ -294,11 +328,6 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
294
328
|
...headersFromBaseOptions,
|
|
295
329
|
...options.headers,
|
|
296
330
|
};
|
|
297
|
-
const needsSerialization = typeof body !== 'string' ||
|
|
298
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
299
|
-
localVarRequestOptions.data = needsSerialization
|
|
300
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
301
|
-
: body || '';
|
|
302
331
|
return {
|
|
303
332
|
url: globalImportUrl.format(localVarUrlObj),
|
|
304
333
|
options: localVarRequestOptions,
|
|
@@ -306,28 +335,23 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
306
335
|
},
|
|
307
336
|
/**
|
|
308
337
|
*
|
|
309
|
-
* @param {number}
|
|
310
|
-
* @param {
|
|
338
|
+
* @param {number} [page]
|
|
339
|
+
* @param {number} [size]
|
|
340
|
+
* @param {string} [q]
|
|
341
|
+
* @param {string} [sort]
|
|
342
|
+
* @param {Array<string>} [fields]
|
|
311
343
|
* @param {*} [options] Override http request option.
|
|
312
344
|
* @throws {RequiredError}
|
|
313
345
|
*/
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
if (configId === null || configId === undefined) {
|
|
317
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdateConfig.');
|
|
318
|
-
}
|
|
319
|
-
// verify required parameter 'body' is not null or undefined
|
|
320
|
-
if (body === null || body === undefined) {
|
|
321
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdateConfig.');
|
|
322
|
-
}
|
|
323
|
-
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
346
|
+
searchConfig: async (page, size, q, sort, fields, options = {}) => {
|
|
347
|
+
const localVarPath = `/logger/config`;
|
|
324
348
|
const localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
325
349
|
let baseOptions;
|
|
326
350
|
if (configuration) {
|
|
327
351
|
baseOptions = configuration.baseOptions;
|
|
328
352
|
}
|
|
329
353
|
const localVarRequestOptions = {
|
|
330
|
-
method: '
|
|
354
|
+
method: 'GET',
|
|
331
355
|
...baseOptions,
|
|
332
356
|
...options,
|
|
333
357
|
};
|
|
@@ -340,7 +364,21 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
340
364
|
: await configuration.apiKey;
|
|
341
365
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
342
366
|
}
|
|
343
|
-
|
|
367
|
+
if (page !== undefined) {
|
|
368
|
+
localVarQueryParameter['page'] = page;
|
|
369
|
+
}
|
|
370
|
+
if (size !== undefined) {
|
|
371
|
+
localVarQueryParameter['size'] = size;
|
|
372
|
+
}
|
|
373
|
+
if (q !== undefined) {
|
|
374
|
+
localVarQueryParameter['q'] = q;
|
|
375
|
+
}
|
|
376
|
+
if (sort !== undefined) {
|
|
377
|
+
localVarQueryParameter['sort'] = sort;
|
|
378
|
+
}
|
|
379
|
+
if (fields) {
|
|
380
|
+
localVarQueryParameter['fields'] = fields;
|
|
381
|
+
}
|
|
344
382
|
localVarUrlObj.query = {
|
|
345
383
|
...localVarUrlObj.query,
|
|
346
384
|
...localVarQueryParameter,
|
|
@@ -354,11 +392,6 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
354
392
|
...headersFromBaseOptions,
|
|
355
393
|
...options.headers,
|
|
356
394
|
};
|
|
357
|
-
const needsSerialization = typeof body !== 'string' ||
|
|
358
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
359
|
-
localVarRequestOptions.data = needsSerialization
|
|
360
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
361
|
-
: body || '';
|
|
362
395
|
return {
|
|
363
396
|
url: globalImportUrl.format(localVarUrlObj),
|
|
364
397
|
options: localVarRequestOptions,
|
|
@@ -432,15 +465,30 @@ export const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
432
465
|
*/
|
|
433
466
|
export const ConfigServiceApiFp = function (configuration) {
|
|
434
467
|
return {
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @param {LoggerCreateConfigRequest} body
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
async createConfig(body, options) {
|
|
475
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).createConfig(body, options);
|
|
476
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
477
|
+
const axiosRequestArgs = {
|
|
478
|
+
...localVarAxiosArgs.options,
|
|
479
|
+
url: basePath + localVarAxiosArgs.url,
|
|
480
|
+
};
|
|
481
|
+
return axios.request(axiosRequestArgs);
|
|
482
|
+
};
|
|
483
|
+
},
|
|
435
484
|
/**
|
|
436
485
|
*
|
|
437
486
|
* @param {number} configId
|
|
438
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
439
487
|
* @param {*} [options] Override http request option.
|
|
440
488
|
* @throws {RequiredError}
|
|
441
489
|
*/
|
|
442
|
-
async deleteConfig(configId,
|
|
443
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId,
|
|
490
|
+
async deleteConfig(configId, options) {
|
|
491
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfig(configId, options);
|
|
444
492
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
445
493
|
const axiosRequestArgs = {
|
|
446
494
|
...localVarAxiosArgs.options,
|
|
@@ -451,12 +499,12 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
451
499
|
},
|
|
452
500
|
/**
|
|
453
501
|
*
|
|
454
|
-
* @param {
|
|
502
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
455
503
|
* @param {*} [options] Override http request option.
|
|
456
504
|
* @throws {RequiredError}
|
|
457
505
|
*/
|
|
458
|
-
async
|
|
459
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
506
|
+
async deleteConfigBulk(body, options) {
|
|
507
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteConfigBulk(body, options);
|
|
460
508
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
461
509
|
const axiosRequestArgs = {
|
|
462
510
|
...localVarAxiosArgs.options,
|
|
@@ -467,16 +515,13 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
467
515
|
},
|
|
468
516
|
/**
|
|
469
517
|
*
|
|
470
|
-
* @param {number}
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {string} [q]
|
|
473
|
-
* @param {string} [sort]
|
|
474
|
-
* @param {Array<string>} [fields]
|
|
518
|
+
* @param {number} configId
|
|
519
|
+
* @param {LoggerPatchConfigRequest} body
|
|
475
520
|
* @param {*} [options] Override http request option.
|
|
476
521
|
* @throws {RequiredError}
|
|
477
522
|
*/
|
|
478
|
-
async
|
|
479
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
523
|
+
async patchConfig(configId, body, options) {
|
|
524
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).patchConfig(configId, body, options);
|
|
480
525
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
481
526
|
const axiosRequestArgs = {
|
|
482
527
|
...localVarAxiosArgs.options,
|
|
@@ -491,8 +536,8 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
491
536
|
* @param {*} [options] Override http request option.
|
|
492
537
|
* @throws {RequiredError}
|
|
493
538
|
*/
|
|
494
|
-
async
|
|
495
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
539
|
+
async readConfig(configId, options) {
|
|
540
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).readConfig(configId, options);
|
|
496
541
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
497
542
|
const axiosRequestArgs = {
|
|
498
543
|
...localVarAxiosArgs.options,
|
|
@@ -503,12 +548,11 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
503
548
|
},
|
|
504
549
|
/**
|
|
505
550
|
*
|
|
506
|
-
* @param {LoggerInsertConfigRequest} body
|
|
507
551
|
* @param {*} [options] Override http request option.
|
|
508
552
|
* @throws {RequiredError}
|
|
509
553
|
*/
|
|
510
|
-
async
|
|
511
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
554
|
+
async readSystemObjects(options) {
|
|
555
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).readSystemObjects(options);
|
|
512
556
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
513
557
|
const axiosRequestArgs = {
|
|
514
558
|
...localVarAxiosArgs.options,
|
|
@@ -519,13 +563,16 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
519
563
|
},
|
|
520
564
|
/**
|
|
521
565
|
*
|
|
522
|
-
* @param {number}
|
|
523
|
-
* @param {
|
|
566
|
+
* @param {number} [page]
|
|
567
|
+
* @param {number} [size]
|
|
568
|
+
* @param {string} [q]
|
|
569
|
+
* @param {string} [sort]
|
|
570
|
+
* @param {Array<string>} [fields]
|
|
524
571
|
* @param {*} [options] Override http request option.
|
|
525
572
|
* @throws {RequiredError}
|
|
526
573
|
*/
|
|
527
|
-
async
|
|
528
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
574
|
+
async searchConfig(page, size, q, sort, fields, options) {
|
|
575
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options);
|
|
529
576
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
530
577
|
const axiosRequestArgs = {
|
|
531
578
|
...localVarAxiosArgs.options,
|
|
@@ -559,42 +606,49 @@ export const ConfigServiceApiFp = function (configuration) {
|
|
|
559
606
|
*/
|
|
560
607
|
export const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
561
608
|
return {
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @param {LoggerCreateConfigRequest} body
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
*/
|
|
615
|
+
createConfig(body, options) {
|
|
616
|
+
return ConfigServiceApiFp(configuration)
|
|
617
|
+
.createConfig(body, options)
|
|
618
|
+
.then((request) => request(axios, basePath));
|
|
619
|
+
},
|
|
562
620
|
/**
|
|
563
621
|
*
|
|
564
622
|
* @param {number} configId
|
|
565
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
566
623
|
* @param {*} [options] Override http request option.
|
|
567
624
|
* @throws {RequiredError}
|
|
568
625
|
*/
|
|
569
|
-
deleteConfig(configId,
|
|
626
|
+
deleteConfig(configId, options) {
|
|
570
627
|
return ConfigServiceApiFp(configuration)
|
|
571
|
-
.deleteConfig(configId,
|
|
628
|
+
.deleteConfig(configId, options)
|
|
572
629
|
.then((request) => request(axios, basePath));
|
|
573
630
|
},
|
|
574
631
|
/**
|
|
575
632
|
*
|
|
576
|
-
* @param {
|
|
633
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
577
634
|
* @param {*} [options] Override http request option.
|
|
578
635
|
* @throws {RequiredError}
|
|
579
636
|
*/
|
|
580
|
-
|
|
637
|
+
deleteConfigBulk(body, options) {
|
|
581
638
|
return ConfigServiceApiFp(configuration)
|
|
582
|
-
.
|
|
639
|
+
.deleteConfigBulk(body, options)
|
|
583
640
|
.then((request) => request(axios, basePath));
|
|
584
641
|
},
|
|
585
642
|
/**
|
|
586
643
|
*
|
|
587
|
-
* @param {number}
|
|
588
|
-
* @param {
|
|
589
|
-
* @param {string} [q]
|
|
590
|
-
* @param {string} [sort]
|
|
591
|
-
* @param {Array<string>} [fields]
|
|
644
|
+
* @param {number} configId
|
|
645
|
+
* @param {LoggerPatchConfigRequest} body
|
|
592
646
|
* @param {*} [options] Override http request option.
|
|
593
647
|
* @throws {RequiredError}
|
|
594
648
|
*/
|
|
595
|
-
|
|
649
|
+
patchConfig(configId, body, options) {
|
|
596
650
|
return ConfigServiceApiFp(configuration)
|
|
597
|
-
.
|
|
651
|
+
.patchConfig(configId, body, options)
|
|
598
652
|
.then((request) => request(axios, basePath));
|
|
599
653
|
},
|
|
600
654
|
/**
|
|
@@ -603,32 +657,34 @@ export const ConfigServiceApiFactory = function (configuration, basePath, axios)
|
|
|
603
657
|
* @param {*} [options] Override http request option.
|
|
604
658
|
* @throws {RequiredError}
|
|
605
659
|
*/
|
|
606
|
-
|
|
660
|
+
readConfig(configId, options) {
|
|
607
661
|
return ConfigServiceApiFp(configuration)
|
|
608
|
-
.
|
|
662
|
+
.readConfig(configId, options)
|
|
609
663
|
.then((request) => request(axios, basePath));
|
|
610
664
|
},
|
|
611
665
|
/**
|
|
612
666
|
*
|
|
613
|
-
* @param {LoggerInsertConfigRequest} body
|
|
614
667
|
* @param {*} [options] Override http request option.
|
|
615
668
|
* @throws {RequiredError}
|
|
616
669
|
*/
|
|
617
|
-
|
|
670
|
+
readSystemObjects(options) {
|
|
618
671
|
return ConfigServiceApiFp(configuration)
|
|
619
|
-
.
|
|
672
|
+
.readSystemObjects(options)
|
|
620
673
|
.then((request) => request(axios, basePath));
|
|
621
674
|
},
|
|
622
675
|
/**
|
|
623
676
|
*
|
|
624
|
-
* @param {number}
|
|
625
|
-
* @param {
|
|
677
|
+
* @param {number} [page]
|
|
678
|
+
* @param {number} [size]
|
|
679
|
+
* @param {string} [q]
|
|
680
|
+
* @param {string} [sort]
|
|
681
|
+
* @param {Array<string>} [fields]
|
|
626
682
|
* @param {*} [options] Override http request option.
|
|
627
683
|
* @throws {RequiredError}
|
|
628
684
|
*/
|
|
629
|
-
|
|
685
|
+
searchConfig(page, size, q, sort, fields, options) {
|
|
630
686
|
return ConfigServiceApiFp(configuration)
|
|
631
|
-
.
|
|
687
|
+
.searchConfig(page, size, q, sort, fields, options)
|
|
632
688
|
.then((request) => request(axios, basePath));
|
|
633
689
|
},
|
|
634
690
|
/**
|
|
@@ -652,45 +708,53 @@ export const ConfigServiceApiFactory = function (configuration, basePath, axios)
|
|
|
652
708
|
* @extends {BaseAPI}
|
|
653
709
|
*/
|
|
654
710
|
export class ConfigServiceApi extends BaseAPI {
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @param {LoggerCreateConfigRequest} body
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
* @memberof ConfigServiceApi
|
|
717
|
+
*/
|
|
718
|
+
createConfig(body, options) {
|
|
719
|
+
return ConfigServiceApiFp(this.configuration)
|
|
720
|
+
.createConfig(body, options)
|
|
721
|
+
.then((request) => request(this.axios, this.basePath));
|
|
722
|
+
}
|
|
655
723
|
/**
|
|
656
724
|
*
|
|
657
725
|
* @param {number} configId
|
|
658
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
659
726
|
* @param {*} [options] Override http request option.
|
|
660
727
|
* @throws {RequiredError}
|
|
661
728
|
* @memberof ConfigServiceApi
|
|
662
729
|
*/
|
|
663
|
-
deleteConfig(configId,
|
|
730
|
+
deleteConfig(configId, options) {
|
|
664
731
|
return ConfigServiceApiFp(this.configuration)
|
|
665
|
-
.deleteConfig(configId,
|
|
732
|
+
.deleteConfig(configId, options)
|
|
666
733
|
.then((request) => request(this.axios, this.basePath));
|
|
667
734
|
}
|
|
668
735
|
/**
|
|
669
736
|
*
|
|
670
|
-
* @param {
|
|
737
|
+
* @param {LoggerDeleteConfigBulkRequest} body
|
|
671
738
|
* @param {*} [options] Override http request option.
|
|
672
739
|
* @throws {RequiredError}
|
|
673
740
|
* @memberof ConfigServiceApi
|
|
674
741
|
*/
|
|
675
|
-
|
|
742
|
+
deleteConfigBulk(body, options) {
|
|
676
743
|
return ConfigServiceApiFp(this.configuration)
|
|
677
|
-
.
|
|
744
|
+
.deleteConfigBulk(body, options)
|
|
678
745
|
.then((request) => request(this.axios, this.basePath));
|
|
679
746
|
}
|
|
680
747
|
/**
|
|
681
748
|
*
|
|
682
|
-
* @param {number}
|
|
683
|
-
* @param {
|
|
684
|
-
* @param {string} [q]
|
|
685
|
-
* @param {string} [sort]
|
|
686
|
-
* @param {Array<string>} [fields]
|
|
749
|
+
* @param {number} configId
|
|
750
|
+
* @param {LoggerPatchConfigRequest} body
|
|
687
751
|
* @param {*} [options] Override http request option.
|
|
688
752
|
* @throws {RequiredError}
|
|
689
753
|
* @memberof ConfigServiceApi
|
|
690
754
|
*/
|
|
691
|
-
|
|
755
|
+
patchConfig(configId, body, options) {
|
|
692
756
|
return ConfigServiceApiFp(this.configuration)
|
|
693
|
-
.
|
|
757
|
+
.patchConfig(configId, body, options)
|
|
694
758
|
.then((request) => request(this.axios, this.basePath));
|
|
695
759
|
}
|
|
696
760
|
/**
|
|
@@ -700,34 +764,36 @@ export class ConfigServiceApi extends BaseAPI {
|
|
|
700
764
|
* @throws {RequiredError}
|
|
701
765
|
* @memberof ConfigServiceApi
|
|
702
766
|
*/
|
|
703
|
-
|
|
767
|
+
readConfig(configId, options) {
|
|
704
768
|
return ConfigServiceApiFp(this.configuration)
|
|
705
|
-
.
|
|
769
|
+
.readConfig(configId, options)
|
|
706
770
|
.then((request) => request(this.axios, this.basePath));
|
|
707
771
|
}
|
|
708
772
|
/**
|
|
709
773
|
*
|
|
710
|
-
* @param {LoggerInsertConfigRequest} body
|
|
711
774
|
* @param {*} [options] Override http request option.
|
|
712
775
|
* @throws {RequiredError}
|
|
713
776
|
* @memberof ConfigServiceApi
|
|
714
777
|
*/
|
|
715
|
-
|
|
778
|
+
readSystemObjects(options) {
|
|
716
779
|
return ConfigServiceApiFp(this.configuration)
|
|
717
|
-
.
|
|
780
|
+
.readSystemObjects(options)
|
|
718
781
|
.then((request) => request(this.axios, this.basePath));
|
|
719
782
|
}
|
|
720
783
|
/**
|
|
721
784
|
*
|
|
722
|
-
* @param {number}
|
|
723
|
-
* @param {
|
|
785
|
+
* @param {number} [page]
|
|
786
|
+
* @param {number} [size]
|
|
787
|
+
* @param {string} [q]
|
|
788
|
+
* @param {string} [sort]
|
|
789
|
+
* @param {Array<string>} [fields]
|
|
724
790
|
* @param {*} [options] Override http request option.
|
|
725
791
|
* @throws {RequiredError}
|
|
726
792
|
* @memberof ConfigServiceApi
|
|
727
793
|
*/
|
|
728
|
-
|
|
794
|
+
searchConfig(page, size, q, sort, fields, options) {
|
|
729
795
|
return ConfigServiceApiFp(this.configuration)
|
|
730
|
-
.
|
|
796
|
+
.searchConfig(page, size, q, sort, fields, options)
|
|
731
797
|
.then((request) => request(this.axios, this.basePath));
|
|
732
798
|
}
|
|
733
799
|
/**
|