webitel-sdk 23.7.2 → 23.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.esm.js +153 -87
- 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 +167 -88
- 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 +137 -71
- package/esm2015/api/config-service-api.js.map +1 -1
- package/esm2015/api/index.js +1 -1
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/logger-service-api.js +16 -16
- 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 +151 -72
- package/esm5/api/config-service-api.js.map +1 -1
- package/esm5/api/index.js +1 -1
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/logger-service-api.js +16 -16
- 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/config-service-api.d.ts +54 -33
- package/types/api/config-service-api.d.ts.map +1 -1
- package/types/api/index.d.ts +1 -1
- package/types/api/index.d.ts.map +1 -1
- package/types/api/logger-config.d.ts +2 -2
- 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-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 +8 -8
- 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 +5 -4
- package/types/api/logger-update-config-request.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -11338,18 +11338,13 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11338
11338
|
/**
|
|
11339
11339
|
*
|
|
11340
11340
|
* @param {number} configId
|
|
11341
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
11342
11341
|
* @param {*} [options] Override http request option.
|
|
11343
11342
|
* @throws {RequiredError}
|
|
11344
11343
|
*/
|
|
11345
|
-
|
|
11344
|
+
_delete: async (configId, options = {}) => {
|
|
11346
11345
|
// verify required parameter 'configId' is not null or undefined
|
|
11347
11346
|
if (configId === null || configId === undefined) {
|
|
11348
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
11349
|
-
}
|
|
11350
|
-
// verify required parameter 'body' is not null or undefined
|
|
11351
|
-
if (body === null || body === undefined) {
|
|
11352
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteConfig.');
|
|
11347
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling _delete.');
|
|
11353
11348
|
}
|
|
11354
11349
|
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
11355
11350
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11371,7 +11366,6 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11371
11366
|
: await configuration.apiKey;
|
|
11372
11367
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
11373
11368
|
}
|
|
11374
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11375
11369
|
localVarUrlObj.query = {
|
|
11376
11370
|
...localVarUrlObj.query,
|
|
11377
11371
|
...localVarQueryParameter,
|
|
@@ -11385,11 +11379,6 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11385
11379
|
...headersFromBaseOptions,
|
|
11386
11380
|
...options.headers,
|
|
11387
11381
|
};
|
|
11388
|
-
const needsSerialization = typeof body !== 'string' ||
|
|
11389
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
11390
|
-
localVarRequestOptions.data = needsSerialization
|
|
11391
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
11392
|
-
: body || '';
|
|
11393
11382
|
return {
|
|
11394
11383
|
url: format(localVarUrlObj),
|
|
11395
11384
|
options: localVarRequestOptions,
|
|
@@ -11401,10 +11390,10 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11401
11390
|
* @param {*} [options] Override http request option.
|
|
11402
11391
|
* @throws {RequiredError}
|
|
11403
11392
|
*/
|
|
11404
|
-
|
|
11393
|
+
deleteBulk: async (body, options = {}) => {
|
|
11405
11394
|
// verify required parameter 'body' is not null or undefined
|
|
11406
11395
|
if (body === null || body === undefined) {
|
|
11407
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
11396
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling deleteBulk.');
|
|
11408
11397
|
}
|
|
11409
11398
|
const localVarPath = `/logger/config`;
|
|
11410
11399
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11460,7 +11449,7 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11460
11449
|
* @param {*} [options] Override http request option.
|
|
11461
11450
|
* @throws {RequiredError}
|
|
11462
11451
|
*/
|
|
11463
|
-
|
|
11452
|
+
getAll: async (page, size, q, sort, fields, options = {}) => {
|
|
11464
11453
|
const localVarPath = `/logger/config`;
|
|
11465
11454
|
const localVarUrlObj = parse(localVarPath, true);
|
|
11466
11455
|
let baseOptions;
|
|
@@ -11520,10 +11509,10 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11520
11509
|
* @param {*} [options] Override http request option.
|
|
11521
11510
|
* @throws {RequiredError}
|
|
11522
11511
|
*/
|
|
11523
|
-
|
|
11512
|
+
getById: async (configId, options = {}) => {
|
|
11524
11513
|
// verify required parameter 'configId' is not null or undefined
|
|
11525
11514
|
if (configId === null || configId === undefined) {
|
|
11526
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
11515
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getById.');
|
|
11527
11516
|
}
|
|
11528
11517
|
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
11529
11518
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11563,16 +11552,60 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11563
11552
|
options: localVarRequestOptions,
|
|
11564
11553
|
};
|
|
11565
11554
|
},
|
|
11555
|
+
/**
|
|
11556
|
+
*
|
|
11557
|
+
* @param {*} [options] Override http request option.
|
|
11558
|
+
* @throws {RequiredError}
|
|
11559
|
+
*/
|
|
11560
|
+
getSystemObjects: async (options = {}) => {
|
|
11561
|
+
const localVarPath = `/logger/available_objects`;
|
|
11562
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
11563
|
+
let baseOptions;
|
|
11564
|
+
if (configuration) {
|
|
11565
|
+
baseOptions = configuration.baseOptions;
|
|
11566
|
+
}
|
|
11567
|
+
const localVarRequestOptions = {
|
|
11568
|
+
method: 'GET',
|
|
11569
|
+
...baseOptions,
|
|
11570
|
+
...options,
|
|
11571
|
+
};
|
|
11572
|
+
const localVarHeaderParameter = {};
|
|
11573
|
+
const localVarQueryParameter = {};
|
|
11574
|
+
// authentication AccessToken required
|
|
11575
|
+
if (configuration && configuration.apiKey) {
|
|
11576
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
11577
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
11578
|
+
: await configuration.apiKey;
|
|
11579
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
11580
|
+
}
|
|
11581
|
+
localVarUrlObj.query = {
|
|
11582
|
+
...localVarUrlObj.query,
|
|
11583
|
+
...localVarQueryParameter,
|
|
11584
|
+
...options.query,
|
|
11585
|
+
};
|
|
11586
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
11587
|
+
delete localVarUrlObj.search;
|
|
11588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11589
|
+
localVarRequestOptions.headers = {
|
|
11590
|
+
...localVarHeaderParameter,
|
|
11591
|
+
...headersFromBaseOptions,
|
|
11592
|
+
...options.headers,
|
|
11593
|
+
};
|
|
11594
|
+
return {
|
|
11595
|
+
url: format(localVarUrlObj),
|
|
11596
|
+
options: localVarRequestOptions,
|
|
11597
|
+
};
|
|
11598
|
+
},
|
|
11566
11599
|
/**
|
|
11567
11600
|
*
|
|
11568
11601
|
* @param {LoggerInsertConfigRequest} body
|
|
11569
11602
|
* @param {*} [options] Override http request option.
|
|
11570
11603
|
* @throws {RequiredError}
|
|
11571
11604
|
*/
|
|
11572
|
-
|
|
11605
|
+
insert: async (body, options = {}) => {
|
|
11573
11606
|
// verify required parameter 'body' is not null or undefined
|
|
11574
11607
|
if (body === null || body === undefined) {
|
|
11575
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
11608
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling insert.');
|
|
11576
11609
|
}
|
|
11577
11610
|
const localVarPath = `/logger/config`;
|
|
11578
11611
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11625,14 +11658,14 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11625
11658
|
* @param {*} [options] Override http request option.
|
|
11626
11659
|
* @throws {RequiredError}
|
|
11627
11660
|
*/
|
|
11628
|
-
|
|
11661
|
+
patchUpdate: async (configId, body, options = {}) => {
|
|
11629
11662
|
// verify required parameter 'configId' is not null or undefined
|
|
11630
11663
|
if (configId === null || configId === undefined) {
|
|
11631
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
11664
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling patchUpdate.');
|
|
11632
11665
|
}
|
|
11633
11666
|
// verify required parameter 'body' is not null or undefined
|
|
11634
11667
|
if (body === null || body === undefined) {
|
|
11635
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
11668
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchUpdate.');
|
|
11636
11669
|
}
|
|
11637
11670
|
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
11638
11671
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11685,14 +11718,14 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11685
11718
|
* @param {*} [options] Override http request option.
|
|
11686
11719
|
* @throws {RequiredError}
|
|
11687
11720
|
*/
|
|
11688
|
-
|
|
11721
|
+
update: async (configId, body, options = {}) => {
|
|
11689
11722
|
// verify required parameter 'configId' is not null or undefined
|
|
11690
11723
|
if (configId === null || configId === undefined) {
|
|
11691
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
11724
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling update.');
|
|
11692
11725
|
}
|
|
11693
11726
|
// verify required parameter 'body' is not null or undefined
|
|
11694
11727
|
if (body === null || body === undefined) {
|
|
11695
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
11728
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling update.');
|
|
11696
11729
|
}
|
|
11697
11730
|
const localVarPath = `/logger/config/{config_id}`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
11698
11731
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -11749,12 +11782,11 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11749
11782
|
/**
|
|
11750
11783
|
*
|
|
11751
11784
|
* @param {number} configId
|
|
11752
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
11753
11785
|
* @param {*} [options] Override http request option.
|
|
11754
11786
|
* @throws {RequiredError}
|
|
11755
11787
|
*/
|
|
11756
|
-
async
|
|
11757
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11788
|
+
async _delete(configId, options) {
|
|
11789
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration)._delete(configId, options);
|
|
11758
11790
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11759
11791
|
const axiosRequestArgs = {
|
|
11760
11792
|
...localVarAxiosArgs.options,
|
|
@@ -11769,8 +11801,8 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11769
11801
|
* @param {*} [options] Override http request option.
|
|
11770
11802
|
* @throws {RequiredError}
|
|
11771
11803
|
*/
|
|
11772
|
-
async
|
|
11773
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11804
|
+
async deleteBulk(body, options) {
|
|
11805
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).deleteBulk(body, options);
|
|
11774
11806
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11775
11807
|
const axiosRequestArgs = {
|
|
11776
11808
|
...localVarAxiosArgs.options,
|
|
@@ -11789,8 +11821,8 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11789
11821
|
* @param {*} [options] Override http request option.
|
|
11790
11822
|
* @throws {RequiredError}
|
|
11791
11823
|
*/
|
|
11792
|
-
async
|
|
11793
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11824
|
+
async getAll(page, size, q, sort, fields, options) {
|
|
11825
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).getAll(page, size, q, sort, fields, options);
|
|
11794
11826
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11795
11827
|
const axiosRequestArgs = {
|
|
11796
11828
|
...localVarAxiosArgs.options,
|
|
@@ -11805,8 +11837,23 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11805
11837
|
* @param {*} [options] Override http request option.
|
|
11806
11838
|
* @throws {RequiredError}
|
|
11807
11839
|
*/
|
|
11808
|
-
async
|
|
11809
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11840
|
+
async getById(configId, options) {
|
|
11841
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).getById(configId, options);
|
|
11842
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11843
|
+
const axiosRequestArgs = {
|
|
11844
|
+
...localVarAxiosArgs.options,
|
|
11845
|
+
url: basePath + localVarAxiosArgs.url,
|
|
11846
|
+
};
|
|
11847
|
+
return axios.request(axiosRequestArgs);
|
|
11848
|
+
};
|
|
11849
|
+
},
|
|
11850
|
+
/**
|
|
11851
|
+
*
|
|
11852
|
+
* @param {*} [options] Override http request option.
|
|
11853
|
+
* @throws {RequiredError}
|
|
11854
|
+
*/
|
|
11855
|
+
async getSystemObjects(options) {
|
|
11856
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).getSystemObjects(options);
|
|
11810
11857
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11811
11858
|
const axiosRequestArgs = {
|
|
11812
11859
|
...localVarAxiosArgs.options,
|
|
@@ -11821,8 +11868,8 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11821
11868
|
* @param {*} [options] Override http request option.
|
|
11822
11869
|
* @throws {RequiredError}
|
|
11823
11870
|
*/
|
|
11824
|
-
async
|
|
11825
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11871
|
+
async insert(body, options) {
|
|
11872
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).insert(body, options);
|
|
11826
11873
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11827
11874
|
const axiosRequestArgs = {
|
|
11828
11875
|
...localVarAxiosArgs.options,
|
|
@@ -11838,8 +11885,8 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11838
11885
|
* @param {*} [options] Override http request option.
|
|
11839
11886
|
* @throws {RequiredError}
|
|
11840
11887
|
*/
|
|
11841
|
-
async
|
|
11842
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11888
|
+
async patchUpdate(configId, body, options) {
|
|
11889
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).patchUpdate(configId, body, options);
|
|
11843
11890
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11844
11891
|
const axiosRequestArgs = {
|
|
11845
11892
|
...localVarAxiosArgs.options,
|
|
@@ -11855,8 +11902,8 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11855
11902
|
* @param {*} [options] Override http request option.
|
|
11856
11903
|
* @throws {RequiredError}
|
|
11857
11904
|
*/
|
|
11858
|
-
async
|
|
11859
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).
|
|
11905
|
+
async update(configId, body, options) {
|
|
11906
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).update(configId, body, options);
|
|
11860
11907
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11861
11908
|
const axiosRequestArgs = {
|
|
11862
11909
|
...localVarAxiosArgs.options,
|
|
@@ -11876,13 +11923,12 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11876
11923
|
/**
|
|
11877
11924
|
*
|
|
11878
11925
|
* @param {number} configId
|
|
11879
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
11880
11926
|
* @param {*} [options] Override http request option.
|
|
11881
11927
|
* @throws {RequiredError}
|
|
11882
11928
|
*/
|
|
11883
|
-
|
|
11929
|
+
_delete(configId, options) {
|
|
11884
11930
|
return ConfigServiceApiFp(configuration)
|
|
11885
|
-
.
|
|
11931
|
+
._delete(configId, options)
|
|
11886
11932
|
.then((request) => request(axios, basePath));
|
|
11887
11933
|
},
|
|
11888
11934
|
/**
|
|
@@ -11891,9 +11937,9 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11891
11937
|
* @param {*} [options] Override http request option.
|
|
11892
11938
|
* @throws {RequiredError}
|
|
11893
11939
|
*/
|
|
11894
|
-
|
|
11940
|
+
deleteBulk(body, options) {
|
|
11895
11941
|
return ConfigServiceApiFp(configuration)
|
|
11896
|
-
.
|
|
11942
|
+
.deleteBulk(body, options)
|
|
11897
11943
|
.then((request) => request(axios, basePath));
|
|
11898
11944
|
},
|
|
11899
11945
|
/**
|
|
@@ -11906,9 +11952,9 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11906
11952
|
* @param {*} [options] Override http request option.
|
|
11907
11953
|
* @throws {RequiredError}
|
|
11908
11954
|
*/
|
|
11909
|
-
|
|
11955
|
+
getAll(page, size, q, sort, fields, options) {
|
|
11910
11956
|
return ConfigServiceApiFp(configuration)
|
|
11911
|
-
.
|
|
11957
|
+
.getAll(page, size, q, sort, fields, options)
|
|
11912
11958
|
.then((request) => request(axios, basePath));
|
|
11913
11959
|
},
|
|
11914
11960
|
/**
|
|
@@ -11917,9 +11963,19 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11917
11963
|
* @param {*} [options] Override http request option.
|
|
11918
11964
|
* @throws {RequiredError}
|
|
11919
11965
|
*/
|
|
11920
|
-
|
|
11966
|
+
getById(configId, options) {
|
|
11967
|
+
return ConfigServiceApiFp(configuration)
|
|
11968
|
+
.getById(configId, options)
|
|
11969
|
+
.then((request) => request(axios, basePath));
|
|
11970
|
+
},
|
|
11971
|
+
/**
|
|
11972
|
+
*
|
|
11973
|
+
* @param {*} [options] Override http request option.
|
|
11974
|
+
* @throws {RequiredError}
|
|
11975
|
+
*/
|
|
11976
|
+
getSystemObjects(options) {
|
|
11921
11977
|
return ConfigServiceApiFp(configuration)
|
|
11922
|
-
.
|
|
11978
|
+
.getSystemObjects(options)
|
|
11923
11979
|
.then((request) => request(axios, basePath));
|
|
11924
11980
|
},
|
|
11925
11981
|
/**
|
|
@@ -11928,9 +11984,9 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11928
11984
|
* @param {*} [options] Override http request option.
|
|
11929
11985
|
* @throws {RequiredError}
|
|
11930
11986
|
*/
|
|
11931
|
-
|
|
11987
|
+
insert(body, options) {
|
|
11932
11988
|
return ConfigServiceApiFp(configuration)
|
|
11933
|
-
.
|
|
11989
|
+
.insert(body, options)
|
|
11934
11990
|
.then((request) => request(axios, basePath));
|
|
11935
11991
|
},
|
|
11936
11992
|
/**
|
|
@@ -11940,9 +11996,9 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11940
11996
|
* @param {*} [options] Override http request option.
|
|
11941
11997
|
* @throws {RequiredError}
|
|
11942
11998
|
*/
|
|
11943
|
-
|
|
11999
|
+
patchUpdate(configId, body, options) {
|
|
11944
12000
|
return ConfigServiceApiFp(configuration)
|
|
11945
|
-
.
|
|
12001
|
+
.patchUpdate(configId, body, options)
|
|
11946
12002
|
.then((request) => request(axios, basePath));
|
|
11947
12003
|
},
|
|
11948
12004
|
/**
|
|
@@ -11952,9 +12008,9 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
11952
12008
|
* @param {*} [options] Override http request option.
|
|
11953
12009
|
* @throws {RequiredError}
|
|
11954
12010
|
*/
|
|
11955
|
-
|
|
12011
|
+
update(configId, body, options) {
|
|
11956
12012
|
return ConfigServiceApiFp(configuration)
|
|
11957
|
-
.
|
|
12013
|
+
.update(configId, body, options)
|
|
11958
12014
|
.then((request) => request(axios, basePath));
|
|
11959
12015
|
},
|
|
11960
12016
|
};
|
|
@@ -11969,14 +12025,13 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
11969
12025
|
/**
|
|
11970
12026
|
*
|
|
11971
12027
|
* @param {number} configId
|
|
11972
|
-
* @param {LoggerDeleteConfigRequest} body
|
|
11973
12028
|
* @param {*} [options] Override http request option.
|
|
11974
12029
|
* @throws {RequiredError}
|
|
11975
12030
|
* @memberof ConfigServiceApi
|
|
11976
12031
|
*/
|
|
11977
|
-
|
|
12032
|
+
_delete(configId, options) {
|
|
11978
12033
|
return ConfigServiceApiFp(this.configuration)
|
|
11979
|
-
.
|
|
12034
|
+
._delete(configId, options)
|
|
11980
12035
|
.then((request) => request(this.axios, this.basePath));
|
|
11981
12036
|
}
|
|
11982
12037
|
/**
|
|
@@ -11986,9 +12041,9 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
11986
12041
|
* @throws {RequiredError}
|
|
11987
12042
|
* @memberof ConfigServiceApi
|
|
11988
12043
|
*/
|
|
11989
|
-
|
|
12044
|
+
deleteBulk(body, options) {
|
|
11990
12045
|
return ConfigServiceApiFp(this.configuration)
|
|
11991
|
-
.
|
|
12046
|
+
.deleteBulk(body, options)
|
|
11992
12047
|
.then((request) => request(this.axios, this.basePath));
|
|
11993
12048
|
}
|
|
11994
12049
|
/**
|
|
@@ -12002,9 +12057,9 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12002
12057
|
* @throws {RequiredError}
|
|
12003
12058
|
* @memberof ConfigServiceApi
|
|
12004
12059
|
*/
|
|
12005
|
-
|
|
12060
|
+
getAll(page, size, q, sort, fields, options) {
|
|
12006
12061
|
return ConfigServiceApiFp(this.configuration)
|
|
12007
|
-
.
|
|
12062
|
+
.getAll(page, size, q, sort, fields, options)
|
|
12008
12063
|
.then((request) => request(this.axios, this.basePath));
|
|
12009
12064
|
}
|
|
12010
12065
|
/**
|
|
@@ -12014,9 +12069,20 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12014
12069
|
* @throws {RequiredError}
|
|
12015
12070
|
* @memberof ConfigServiceApi
|
|
12016
12071
|
*/
|
|
12017
|
-
|
|
12072
|
+
getById(configId, options) {
|
|
12073
|
+
return ConfigServiceApiFp(this.configuration)
|
|
12074
|
+
.getById(configId, options)
|
|
12075
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12076
|
+
}
|
|
12077
|
+
/**
|
|
12078
|
+
*
|
|
12079
|
+
* @param {*} [options] Override http request option.
|
|
12080
|
+
* @throws {RequiredError}
|
|
12081
|
+
* @memberof ConfigServiceApi
|
|
12082
|
+
*/
|
|
12083
|
+
getSystemObjects(options) {
|
|
12018
12084
|
return ConfigServiceApiFp(this.configuration)
|
|
12019
|
-
.
|
|
12085
|
+
.getSystemObjects(options)
|
|
12020
12086
|
.then((request) => request(this.axios, this.basePath));
|
|
12021
12087
|
}
|
|
12022
12088
|
/**
|
|
@@ -12026,9 +12092,9 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12026
12092
|
* @throws {RequiredError}
|
|
12027
12093
|
* @memberof ConfigServiceApi
|
|
12028
12094
|
*/
|
|
12029
|
-
|
|
12095
|
+
insert(body, options) {
|
|
12030
12096
|
return ConfigServiceApiFp(this.configuration)
|
|
12031
|
-
.
|
|
12097
|
+
.insert(body, options)
|
|
12032
12098
|
.then((request) => request(this.axios, this.basePath));
|
|
12033
12099
|
}
|
|
12034
12100
|
/**
|
|
@@ -12039,9 +12105,9 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12039
12105
|
* @throws {RequiredError}
|
|
12040
12106
|
* @memberof ConfigServiceApi
|
|
12041
12107
|
*/
|
|
12042
|
-
|
|
12108
|
+
patchUpdate(configId, body, options) {
|
|
12043
12109
|
return ConfigServiceApiFp(this.configuration)
|
|
12044
|
-
.
|
|
12110
|
+
.patchUpdate(configId, body, options)
|
|
12045
12111
|
.then((request) => request(this.axios, this.basePath));
|
|
12046
12112
|
}
|
|
12047
12113
|
/**
|
|
@@ -12052,9 +12118,9 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12052
12118
|
* @throws {RequiredError}
|
|
12053
12119
|
* @memberof ConfigServiceApi
|
|
12054
12120
|
*/
|
|
12055
|
-
|
|
12121
|
+
update(configId, body, options) {
|
|
12056
12122
|
return ConfigServiceApiFp(this.configuration)
|
|
12057
|
-
.
|
|
12123
|
+
.update(configId, body, options)
|
|
12058
12124
|
.then((request) => request(this.axios, this.basePath));
|
|
12059
12125
|
}
|
|
12060
12126
|
}
|
|
@@ -17341,10 +17407,10 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17341
17407
|
* @param {*} [options] Override http request option.
|
|
17342
17408
|
* @throws {RequiredError}
|
|
17343
17409
|
*/
|
|
17344
|
-
|
|
17410
|
+
getByConfigId: async (configId, page, size, q, sort, fields, options = {}) => {
|
|
17345
17411
|
// verify required parameter 'configId' is not null or undefined
|
|
17346
17412
|
if (configId === null || configId === undefined) {
|
|
17347
|
-
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling
|
|
17413
|
+
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling getByConfigId.');
|
|
17348
17414
|
}
|
|
17349
17415
|
const localVarPath = `/logger/config/{config_id}/logs`.replace(`{${'config_id'}}`, encodeURIComponent(String(configId)));
|
|
17350
17416
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -17410,10 +17476,10 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17410
17476
|
* @param {*} [options] Override http request option.
|
|
17411
17477
|
* @throws {RequiredError}
|
|
17412
17478
|
*/
|
|
17413
|
-
|
|
17479
|
+
getByUserId: async (userId, page, size, q, sort, fields, options = {}) => {
|
|
17414
17480
|
// verify required parameter 'userId' is not null or undefined
|
|
17415
17481
|
if (userId === null || userId === undefined) {
|
|
17416
|
-
throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling
|
|
17482
|
+
throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling getByUserId.');
|
|
17417
17483
|
}
|
|
17418
17484
|
const localVarPath = `/logger/user/{user_id}/logs`.replace(`{${'user_id'}}`, encodeURIComponent(String(userId)));
|
|
17419
17485
|
const localVarUrlObj = parse(localVarPath, true);
|
|
@@ -17487,8 +17553,8 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17487
17553
|
* @param {*} [options] Override http request option.
|
|
17488
17554
|
* @throws {RequiredError}
|
|
17489
17555
|
*/
|
|
17490
|
-
async
|
|
17491
|
-
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).
|
|
17556
|
+
async getByConfigId(configId, page, size, q, sort, fields, options) {
|
|
17557
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).getByConfigId(configId, page, size, q, sort, fields, options);
|
|
17492
17558
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17493
17559
|
const axiosRequestArgs = {
|
|
17494
17560
|
...localVarAxiosArgs.options,
|
|
@@ -17508,8 +17574,8 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17508
17574
|
* @param {*} [options] Override http request option.
|
|
17509
17575
|
* @throws {RequiredError}
|
|
17510
17576
|
*/
|
|
17511
|
-
async
|
|
17512
|
-
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).
|
|
17577
|
+
async getByUserId(userId, page, size, q, sort, fields, options) {
|
|
17578
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).getByUserId(userId, page, size, q, sort, fields, options);
|
|
17513
17579
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17514
17580
|
const axiosRequestArgs = {
|
|
17515
17581
|
...localVarAxiosArgs.options,
|
|
@@ -17537,9 +17603,9 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
17537
17603
|
* @param {*} [options] Override http request option.
|
|
17538
17604
|
* @throws {RequiredError}
|
|
17539
17605
|
*/
|
|
17540
|
-
|
|
17606
|
+
getByConfigId(configId, page, size, q, sort, fields, options) {
|
|
17541
17607
|
return LoggerServiceApiFp(configuration)
|
|
17542
|
-
.
|
|
17608
|
+
.getByConfigId(configId, page, size, q, sort, fields, options)
|
|
17543
17609
|
.then((request) => request(axios, basePath));
|
|
17544
17610
|
},
|
|
17545
17611
|
/**
|
|
@@ -17553,9 +17619,9 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
17553
17619
|
* @param {*} [options] Override http request option.
|
|
17554
17620
|
* @throws {RequiredError}
|
|
17555
17621
|
*/
|
|
17556
|
-
|
|
17622
|
+
getByUserId(userId, page, size, q, sort, fields, options) {
|
|
17557
17623
|
return LoggerServiceApiFp(configuration)
|
|
17558
|
-
.
|
|
17624
|
+
.getByUserId(userId, page, size, q, sort, fields, options)
|
|
17559
17625
|
.then((request) => request(axios, basePath));
|
|
17560
17626
|
},
|
|
17561
17627
|
};
|
|
@@ -17579,9 +17645,9 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17579
17645
|
* @throws {RequiredError}
|
|
17580
17646
|
* @memberof LoggerServiceApi
|
|
17581
17647
|
*/
|
|
17582
|
-
|
|
17648
|
+
getByConfigId(configId, page, size, q, sort, fields, options) {
|
|
17583
17649
|
return LoggerServiceApiFp(this.configuration)
|
|
17584
|
-
.
|
|
17650
|
+
.getByConfigId(configId, page, size, q, sort, fields, options)
|
|
17585
17651
|
.then((request) => request(this.axios, this.basePath));
|
|
17586
17652
|
}
|
|
17587
17653
|
/**
|
|
@@ -17596,9 +17662,9 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17596
17662
|
* @throws {RequiredError}
|
|
17597
17663
|
* @memberof LoggerServiceApi
|
|
17598
17664
|
*/
|
|
17599
|
-
|
|
17665
|
+
getByUserId(userId, page, size, q, sort, fields, options) {
|
|
17600
17666
|
return LoggerServiceApiFp(this.configuration)
|
|
17601
|
-
.
|
|
17667
|
+
.getByUserId(userId, page, size, q, sort, fields, options)
|
|
17602
17668
|
.then((request) => request(this.axios, this.basePath));
|
|
17603
17669
|
}
|
|
17604
17670
|
}
|