webitel-sdk 23.7.10 → 23.7.11
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 +36 -50
- 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 +36 -50
- 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/logger-service-api.js +36 -50
- package/esm2015/api/logger-service-api.js.map +1 -1
- package/esm5/api/logger-service-api.js +36 -50
- package/esm5/api/logger-service-api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/logger-service-api.d.ts +24 -32
- package/types/api/logger-service-api.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -17439,16 +17439,15 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17439
17439
|
* @param {string} [q]
|
|
17440
17440
|
* @param {string} [sort]
|
|
17441
17441
|
* @param {Array<string>} [fields]
|
|
17442
|
-
* @param {
|
|
17443
|
-
* @param {
|
|
17444
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17442
|
+
* @param {Array<string>} [userId]
|
|
17443
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action]
|
|
17445
17444
|
* @param {string} [userIp]
|
|
17446
17445
|
* @param {string} [dateFrom]
|
|
17447
17446
|
* @param {string} [dateTo]
|
|
17448
17447
|
* @param {*} [options] Override http request option.
|
|
17449
17448
|
* @throws {RequiredError}
|
|
17450
17449
|
*/
|
|
17451
|
-
searchLogByConfigId: async (configId, page, size, q, sort, fields, userId,
|
|
17450
|
+
searchLogByConfigId: async (configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options = {}) => {
|
|
17452
17451
|
// verify required parameter 'configId' is not null or undefined
|
|
17453
17452
|
if (configId === null || configId === undefined) {
|
|
17454
17453
|
throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling searchLogByConfigId.');
|
|
@@ -17488,13 +17487,10 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17488
17487
|
if (fields) {
|
|
17489
17488
|
localVarQueryParameter['fields'] = fields;
|
|
17490
17489
|
}
|
|
17491
|
-
if (userId
|
|
17492
|
-
localVarQueryParameter['
|
|
17493
|
-
}
|
|
17494
|
-
if (userName !== undefined) {
|
|
17495
|
-
localVarQueryParameter['user.name'] = userName;
|
|
17490
|
+
if (userId) {
|
|
17491
|
+
localVarQueryParameter['user_id'] = userId;
|
|
17496
17492
|
}
|
|
17497
|
-
if (action
|
|
17493
|
+
if (action) {
|
|
17498
17494
|
localVarQueryParameter['action'] = action;
|
|
17499
17495
|
}
|
|
17500
17496
|
if (userIp !== undefined) {
|
|
@@ -17532,16 +17528,15 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17532
17528
|
* @param {string} [q]
|
|
17533
17529
|
* @param {string} [sort]
|
|
17534
17530
|
* @param {Array<string>} [fields]
|
|
17535
|
-
* @param {
|
|
17536
|
-
* @param {
|
|
17537
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17531
|
+
* @param {Array<string>} [objectId] SPECIFIC filter.
|
|
17532
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action] GENERAL filters.
|
|
17538
17533
|
* @param {string} [userIp]
|
|
17539
17534
|
* @param {string} [dateFrom]
|
|
17540
17535
|
* @param {string} [dateTo]
|
|
17541
17536
|
* @param {*} [options] Override http request option.
|
|
17542
17537
|
* @throws {RequiredError}
|
|
17543
17538
|
*/
|
|
17544
|
-
searchLogByUserId: async (userId, page, size, q, sort, fields, objectId,
|
|
17539
|
+
searchLogByUserId: async (userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options = {}) => {
|
|
17545
17540
|
// verify required parameter 'userId' is not null or undefined
|
|
17546
17541
|
if (userId === null || userId === undefined) {
|
|
17547
17542
|
throw new RequiredError('userId', 'Required parameter userId was null or undefined when calling searchLogByUserId.');
|
|
@@ -17581,13 +17576,10 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17581
17576
|
if (fields) {
|
|
17582
17577
|
localVarQueryParameter['fields'] = fields;
|
|
17583
17578
|
}
|
|
17584
|
-
if (objectId
|
|
17585
|
-
localVarQueryParameter['
|
|
17579
|
+
if (objectId) {
|
|
17580
|
+
localVarQueryParameter['object_id'] = objectId;
|
|
17586
17581
|
}
|
|
17587
|
-
if (
|
|
17588
|
-
localVarQueryParameter['object.name'] = objectName;
|
|
17589
|
-
}
|
|
17590
|
-
if (action !== undefined) {
|
|
17582
|
+
if (action) {
|
|
17591
17583
|
localVarQueryParameter['action'] = action;
|
|
17592
17584
|
}
|
|
17593
17585
|
if (userIp !== undefined) {
|
|
@@ -17633,17 +17625,16 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17633
17625
|
* @param {string} [q]
|
|
17634
17626
|
* @param {string} [sort]
|
|
17635
17627
|
* @param {Array<string>} [fields]
|
|
17636
|
-
* @param {
|
|
17637
|
-
* @param {
|
|
17638
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17628
|
+
* @param {Array<string>} [userId]
|
|
17629
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action]
|
|
17639
17630
|
* @param {string} [userIp]
|
|
17640
17631
|
* @param {string} [dateFrom]
|
|
17641
17632
|
* @param {string} [dateTo]
|
|
17642
17633
|
* @param {*} [options] Override http request option.
|
|
17643
17634
|
* @throws {RequiredError}
|
|
17644
17635
|
*/
|
|
17645
|
-
async searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17646
|
-
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17636
|
+
async searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options) {
|
|
17637
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options);
|
|
17647
17638
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17648
17639
|
const axiosRequestArgs = {
|
|
17649
17640
|
...localVarAxiosArgs.options,
|
|
@@ -17660,17 +17651,16 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17660
17651
|
* @param {string} [q]
|
|
17661
17652
|
* @param {string} [sort]
|
|
17662
17653
|
* @param {Array<string>} [fields]
|
|
17663
|
-
* @param {
|
|
17664
|
-
* @param {
|
|
17665
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17654
|
+
* @param {Array<string>} [objectId] SPECIFIC filter.
|
|
17655
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action] GENERAL filters.
|
|
17666
17656
|
* @param {string} [userIp]
|
|
17667
17657
|
* @param {string} [dateFrom]
|
|
17668
17658
|
* @param {string} [dateTo]
|
|
17669
17659
|
* @param {*} [options] Override http request option.
|
|
17670
17660
|
* @throws {RequiredError}
|
|
17671
17661
|
*/
|
|
17672
|
-
async searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17673
|
-
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17662
|
+
async searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options) {
|
|
17663
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options);
|
|
17674
17664
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17675
17665
|
const axiosRequestArgs = {
|
|
17676
17666
|
...localVarAxiosArgs.options,
|
|
@@ -17695,18 +17685,17 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
17695
17685
|
* @param {string} [q]
|
|
17696
17686
|
* @param {string} [sort]
|
|
17697
17687
|
* @param {Array<string>} [fields]
|
|
17698
|
-
* @param {
|
|
17699
|
-
* @param {
|
|
17700
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17688
|
+
* @param {Array<string>} [userId]
|
|
17689
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action]
|
|
17701
17690
|
* @param {string} [userIp]
|
|
17702
17691
|
* @param {string} [dateFrom]
|
|
17703
17692
|
* @param {string} [dateTo]
|
|
17704
17693
|
* @param {*} [options] Override http request option.
|
|
17705
17694
|
* @throws {RequiredError}
|
|
17706
17695
|
*/
|
|
17707
|
-
searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17696
|
+
searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options) {
|
|
17708
17697
|
return LoggerServiceApiFp(configuration)
|
|
17709
|
-
.searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17698
|
+
.searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options)
|
|
17710
17699
|
.then((request) => request(axios, basePath));
|
|
17711
17700
|
},
|
|
17712
17701
|
/**
|
|
@@ -17717,18 +17706,17 @@ const LoggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
17717
17706
|
* @param {string} [q]
|
|
17718
17707
|
* @param {string} [sort]
|
|
17719
17708
|
* @param {Array<string>} [fields]
|
|
17720
|
-
* @param {
|
|
17721
|
-
* @param {
|
|
17722
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17709
|
+
* @param {Array<string>} [objectId] SPECIFIC filter.
|
|
17710
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action] GENERAL filters.
|
|
17723
17711
|
* @param {string} [userIp]
|
|
17724
17712
|
* @param {string} [dateFrom]
|
|
17725
17713
|
* @param {string} [dateTo]
|
|
17726
17714
|
* @param {*} [options] Override http request option.
|
|
17727
17715
|
* @throws {RequiredError}
|
|
17728
17716
|
*/
|
|
17729
|
-
searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17717
|
+
searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options) {
|
|
17730
17718
|
return LoggerServiceApiFp(configuration)
|
|
17731
|
-
.searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17719
|
+
.searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options)
|
|
17732
17720
|
.then((request) => request(axios, basePath));
|
|
17733
17721
|
},
|
|
17734
17722
|
};
|
|
@@ -17748,9 +17736,8 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17748
17736
|
* @param {string} [q]
|
|
17749
17737
|
* @param {string} [sort]
|
|
17750
17738
|
* @param {Array<string>} [fields]
|
|
17751
|
-
* @param {
|
|
17752
|
-
* @param {
|
|
17753
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17739
|
+
* @param {Array<string>} [userId]
|
|
17740
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action]
|
|
17754
17741
|
* @param {string} [userIp]
|
|
17755
17742
|
* @param {string} [dateFrom]
|
|
17756
17743
|
* @param {string} [dateTo]
|
|
@@ -17758,9 +17745,9 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17758
17745
|
* @throws {RequiredError}
|
|
17759
17746
|
* @memberof LoggerServiceApi
|
|
17760
17747
|
*/
|
|
17761
|
-
searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17748
|
+
searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options) {
|
|
17762
17749
|
return LoggerServiceApiFp(this.configuration)
|
|
17763
|
-
.searchLogByConfigId(configId, page, size, q, sort, fields, userId,
|
|
17750
|
+
.searchLogByConfigId(configId, page, size, q, sort, fields, userId, action, userIp, dateFrom, dateTo, options)
|
|
17764
17751
|
.then((request) => request(this.axios, this.basePath));
|
|
17765
17752
|
}
|
|
17766
17753
|
/**
|
|
@@ -17771,9 +17758,8 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17771
17758
|
* @param {string} [q]
|
|
17772
17759
|
* @param {string} [sort]
|
|
17773
17760
|
* @param {Array<string>} [fields]
|
|
17774
|
-
* @param {
|
|
17775
|
-
* @param {
|
|
17776
|
-
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17761
|
+
* @param {Array<string>} [objectId] SPECIFIC filter.
|
|
17762
|
+
* @param {Array<'default_no_action' | 'create' | 'update' | 'read' | 'delete'>} [action] GENERAL filters.
|
|
17777
17763
|
* @param {string} [userIp]
|
|
17778
17764
|
* @param {string} [dateFrom]
|
|
17779
17765
|
* @param {string} [dateTo]
|
|
@@ -17781,9 +17767,9 @@ class LoggerServiceApi extends BaseAPI {
|
|
|
17781
17767
|
* @throws {RequiredError}
|
|
17782
17768
|
* @memberof LoggerServiceApi
|
|
17783
17769
|
*/
|
|
17784
|
-
searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17770
|
+
searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options) {
|
|
17785
17771
|
return LoggerServiceApiFp(this.configuration)
|
|
17786
|
-
.searchLogByUserId(userId, page, size, q, sort, fields, objectId,
|
|
17772
|
+
.searchLogByUserId(userId, page, size, q, sort, fields, objectId, action, userIp, dateFrom, dateTo, options)
|
|
17787
17773
|
.then((request) => request(this.axios, this.basePath));
|
|
17788
17774
|
}
|
|
17789
17775
|
}
|