webitel-sdk 23.7.7 → 23.7.8
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 +1123 -129
- 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 +1413 -305
- 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/contacts-api.js +15 -15
- package/esm2015/api/contacts-api.js.map +1 -1
- package/esm2015/api/index.js +2 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/logger-action.js +8 -8
- package/esm2015/api/logger-service-api.js +8 -8
- package/esm2015/api/managers-api.js +984 -0
- package/esm2015/api/managers-api.js.map +1 -0
- package/esm2015/api/newupdate-of-the-manager-link.js +13 -0
- package/esm2015/api/newupdate-of-the-manager-link.js.map +1 -0
- package/esm2015/api/newupdate-of-the-manager-link1.js +13 -0
- package/esm2015/api/newupdate-of-the-manager-link1.js.map +1 -0
- package/esm2015/api.js +1 -0
- package/esm2015/api.js.map +1 -1
- package/esm5/api/contacts-api.js +15 -15
- package/esm5/api/contacts-api.js.map +1 -1
- package/esm5/api/index.js +2 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/logger-action.js +8 -8
- package/esm5/api/logger-service-api.js +8 -8
- package/esm5/api/managers-api.js +1096 -0
- package/esm5/api/managers-api.js.map +1 -0
- package/esm5/api/newupdate-of-the-manager-link.js +13 -0
- package/esm5/api/newupdate-of-the-manager-link.js.map +1 -0
- package/esm5/api/newupdate-of-the-manager-link1.js +13 -0
- package/esm5/api/newupdate-of-the-manager-link1.js.map +1 -0
- package/esm5/api.js +1 -0
- package/esm5/api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/contacts-api.d.ts +8 -8
- package/types/api/contacts-api.d.ts.map +1 -1
- package/types/api/engine-agent-today-statistics-response.d.ts +12 -0
- package/types/api/engine-agent-today-statistics-response.d.ts.map +1 -1
- package/types/api/index.d.ts +2 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/logger-action.d.ts +6 -6
- package/types/api/logger-service-api.d.ts +16 -16
- package/types/api/managers-api.d.ts +398 -0
- package/types/api/managers-api.d.ts.map +1 -0
- package/types/api/newupdate-of-the-manager-link.d.ts +32 -0
- package/types/api/newupdate-of-the-manager-link.d.ts.map +1 -0
- package/types/api/newupdate-of-the-manager-link1.d.ts +32 -0
- package/types/api/newupdate-of-the-manager-link1.d.ts.map +1 -0
- package/types/api.d.ts +1 -0
- package/types/api.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -12277,18 +12277,18 @@ const ContactsApiAxiosParamCreator = function (configuration) {
|
|
|
12277
12277
|
/**
|
|
12278
12278
|
*
|
|
12279
12279
|
* @summary Locate Contact source
|
|
12280
|
-
* @param {string}
|
|
12280
|
+
* @param {string} id The Contact source IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
12281
12281
|
* @param {Array<string>} [fields] Source Fields to return into result.
|
|
12282
12282
|
* @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source. - READ: Can `fetch` record. [GET] - WRITE: Can `update` record. [PUT|PATCH] - DELETE: Can `delete` record. [DELETE]
|
|
12283
12283
|
* @param {*} [options] Override http request option.
|
|
12284
12284
|
* @throws {RequiredError}
|
|
12285
12285
|
*/
|
|
12286
|
-
locateContact: async (
|
|
12287
|
-
// verify required parameter '
|
|
12288
|
-
if (
|
|
12289
|
-
throw new RequiredError('
|
|
12286
|
+
locateContact: async (id, fields, mode, options = {}) => {
|
|
12287
|
+
// verify required parameter 'id' is not null or undefined
|
|
12288
|
+
if (id === null || id === undefined) {
|
|
12289
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling locateContact.');
|
|
12290
12290
|
}
|
|
12291
|
-
const localVarPath = `/contacts/{
|
|
12291
|
+
const localVarPath = `/contacts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
12292
12292
|
const localVarUrlObj = parse(localVarPath, true);
|
|
12293
12293
|
let baseOptions;
|
|
12294
12294
|
if (configuration) {
|
|
@@ -12521,14 +12521,14 @@ const ContactsApiFp = function (configuration) {
|
|
|
12521
12521
|
/**
|
|
12522
12522
|
*
|
|
12523
12523
|
* @summary Locate Contact source
|
|
12524
|
-
* @param {string}
|
|
12524
|
+
* @param {string} id The Contact source IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
12525
12525
|
* @param {Array<string>} [fields] Source Fields to return into result.
|
|
12526
12526
|
* @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source. - READ: Can `fetch` record. [GET] - WRITE: Can `update` record. [PUT|PATCH] - DELETE: Can `delete` record. [DELETE]
|
|
12527
12527
|
* @param {*} [options] Override http request option.
|
|
12528
12528
|
* @throws {RequiredError}
|
|
12529
12529
|
*/
|
|
12530
|
-
async locateContact(
|
|
12531
|
-
const localVarAxiosArgs = await ContactsApiAxiosParamCreator(configuration).locateContact(
|
|
12530
|
+
async locateContact(id, fields, mode, options) {
|
|
12531
|
+
const localVarAxiosArgs = await ContactsApiAxiosParamCreator(configuration).locateContact(id, fields, mode, options);
|
|
12532
12532
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
12533
12533
|
const axiosRequestArgs = {
|
|
12534
12534
|
...localVarAxiosArgs.options,
|
|
@@ -12617,15 +12617,15 @@ const ContactsApiFactory = function (configuration, basePath, axios) {
|
|
|
12617
12617
|
/**
|
|
12618
12618
|
*
|
|
12619
12619
|
* @summary Locate Contact source
|
|
12620
|
-
* @param {string}
|
|
12620
|
+
* @param {string} id The Contact source IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
12621
12621
|
* @param {Array<string>} [fields] Source Fields to return into result.
|
|
12622
12622
|
* @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source. - READ: Can `fetch` record. [GET] - WRITE: Can `update` record. [PUT|PATCH] - DELETE: Can `delete` record. [DELETE]
|
|
12623
12623
|
* @param {*} [options] Override http request option.
|
|
12624
12624
|
* @throws {RequiredError}
|
|
12625
12625
|
*/
|
|
12626
|
-
locateContact(
|
|
12626
|
+
locateContact(id, fields, mode, options) {
|
|
12627
12627
|
return ContactsApiFp(configuration)
|
|
12628
|
-
.locateContact(
|
|
12628
|
+
.locateContact(id, fields, mode, options)
|
|
12629
12629
|
.then((request) => request(axios, basePath));
|
|
12630
12630
|
},
|
|
12631
12631
|
/**
|
|
@@ -12701,16 +12701,16 @@ class ContactsApi extends BaseAPI {
|
|
|
12701
12701
|
/**
|
|
12702
12702
|
*
|
|
12703
12703
|
* @summary Locate Contact source
|
|
12704
|
-
* @param {string}
|
|
12704
|
+
* @param {string} id The Contact source IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
12705
12705
|
* @param {Array<string>} [fields] Source Fields to return into result.
|
|
12706
12706
|
* @param {'READ' | 'WRITE' | 'DELETE'} [mode] The requirement of a special access mode to the Source. - READ: Can `fetch` record. [GET] - WRITE: Can `update` record. [PUT|PATCH] - DELETE: Can `delete` record. [DELETE]
|
|
12707
12707
|
* @param {*} [options] Override http request option.
|
|
12708
12708
|
* @throws {RequiredError}
|
|
12709
12709
|
* @memberof ContactsApi
|
|
12710
12710
|
*/
|
|
12711
|
-
locateContact(
|
|
12711
|
+
locateContact(id, fields, mode, options) {
|
|
12712
12712
|
return ContactsApiFp(this.configuration)
|
|
12713
|
-
.locateContact(
|
|
12713
|
+
.locateContact(id, fields, mode, options)
|
|
12714
12714
|
.then((request) => request(this.axios, this.basePath));
|
|
12715
12715
|
}
|
|
12716
12716
|
/**
|
|
@@ -17434,7 +17434,7 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17434
17434
|
* @param {Array<string>} [fields]
|
|
17435
17435
|
* @param {number} [userId]
|
|
17436
17436
|
* @param {string} [userName]
|
|
17437
|
-
* @param {'
|
|
17437
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17438
17438
|
* @param {string} [userIp]
|
|
17439
17439
|
* @param {string} [dateFrom]
|
|
17440
17440
|
* @param {string} [dateTo]
|
|
@@ -17527,7 +17527,7 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17527
17527
|
* @param {Array<string>} [fields]
|
|
17528
17528
|
* @param {number} [objectId]
|
|
17529
17529
|
* @param {string} [objectName]
|
|
17530
|
-
* @param {'
|
|
17530
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17531
17531
|
* @param {string} [userIp]
|
|
17532
17532
|
* @param {string} [dateFrom]
|
|
17533
17533
|
* @param {string} [dateTo]
|
|
@@ -17610,33 +17610,854 @@ const LoggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
17610
17610
|
options: localVarRequestOptions,
|
|
17611
17611
|
};
|
|
17612
17612
|
},
|
|
17613
|
-
};
|
|
17614
|
-
};
|
|
17615
|
-
/**
|
|
17616
|
-
* LoggerServiceApi - functional programming interface
|
|
17617
|
-
* @export
|
|
17618
|
-
*/
|
|
17619
|
-
const LoggerServiceApiFp = function (configuration) {
|
|
17620
|
-
return {
|
|
17613
|
+
};
|
|
17614
|
+
};
|
|
17615
|
+
/**
|
|
17616
|
+
* LoggerServiceApi - functional programming interface
|
|
17617
|
+
* @export
|
|
17618
|
+
*/
|
|
17619
|
+
const LoggerServiceApiFp = function (configuration) {
|
|
17620
|
+
return {
|
|
17621
|
+
/**
|
|
17622
|
+
*
|
|
17623
|
+
* @param {number} configId
|
|
17624
|
+
* @param {number} [page]
|
|
17625
|
+
* @param {number} [size]
|
|
17626
|
+
* @param {string} [q]
|
|
17627
|
+
* @param {string} [sort]
|
|
17628
|
+
* @param {Array<string>} [fields]
|
|
17629
|
+
* @param {number} [userId]
|
|
17630
|
+
* @param {string} [userName]
|
|
17631
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17632
|
+
* @param {string} [userIp]
|
|
17633
|
+
* @param {string} [dateFrom]
|
|
17634
|
+
* @param {string} [dateTo]
|
|
17635
|
+
* @param {*} [options] Override http request option.
|
|
17636
|
+
* @throws {RequiredError}
|
|
17637
|
+
*/
|
|
17638
|
+
async searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
|
|
17639
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options);
|
|
17640
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17641
|
+
const axiosRequestArgs = {
|
|
17642
|
+
...localVarAxiosArgs.options,
|
|
17643
|
+
url: basePath + localVarAxiosArgs.url,
|
|
17644
|
+
};
|
|
17645
|
+
return axios.request(axiosRequestArgs);
|
|
17646
|
+
};
|
|
17647
|
+
},
|
|
17648
|
+
/**
|
|
17649
|
+
*
|
|
17650
|
+
* @param {number} userId REQUIRED filter
|
|
17651
|
+
* @param {number} [page]
|
|
17652
|
+
* @param {number} [size]
|
|
17653
|
+
* @param {string} [q]
|
|
17654
|
+
* @param {string} [sort]
|
|
17655
|
+
* @param {Array<string>} [fields]
|
|
17656
|
+
* @param {number} [objectId]
|
|
17657
|
+
* @param {string} [objectName]
|
|
17658
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17659
|
+
* @param {string} [userIp]
|
|
17660
|
+
* @param {string} [dateFrom]
|
|
17661
|
+
* @param {string} [dateTo]
|
|
17662
|
+
* @param {*} [options] Override http request option.
|
|
17663
|
+
* @throws {RequiredError}
|
|
17664
|
+
*/
|
|
17665
|
+
async searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
|
|
17666
|
+
const localVarAxiosArgs = await LoggerServiceApiAxiosParamCreator(configuration).searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options);
|
|
17667
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17668
|
+
const axiosRequestArgs = {
|
|
17669
|
+
...localVarAxiosArgs.options,
|
|
17670
|
+
url: basePath + localVarAxiosArgs.url,
|
|
17671
|
+
};
|
|
17672
|
+
return axios.request(axiosRequestArgs);
|
|
17673
|
+
};
|
|
17674
|
+
},
|
|
17675
|
+
};
|
|
17676
|
+
};
|
|
17677
|
+
/**
|
|
17678
|
+
* LoggerServiceApi - factory interface
|
|
17679
|
+
* @export
|
|
17680
|
+
*/
|
|
17681
|
+
const LoggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
17682
|
+
return {
|
|
17683
|
+
/**
|
|
17684
|
+
*
|
|
17685
|
+
* @param {number} configId
|
|
17686
|
+
* @param {number} [page]
|
|
17687
|
+
* @param {number} [size]
|
|
17688
|
+
* @param {string} [q]
|
|
17689
|
+
* @param {string} [sort]
|
|
17690
|
+
* @param {Array<string>} [fields]
|
|
17691
|
+
* @param {number} [userId]
|
|
17692
|
+
* @param {string} [userName]
|
|
17693
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17694
|
+
* @param {string} [userIp]
|
|
17695
|
+
* @param {string} [dateFrom]
|
|
17696
|
+
* @param {string} [dateTo]
|
|
17697
|
+
* @param {*} [options] Override http request option.
|
|
17698
|
+
* @throws {RequiredError}
|
|
17699
|
+
*/
|
|
17700
|
+
searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
|
|
17701
|
+
return LoggerServiceApiFp(configuration)
|
|
17702
|
+
.searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
|
|
17703
|
+
.then((request) => request(axios, basePath));
|
|
17704
|
+
},
|
|
17705
|
+
/**
|
|
17706
|
+
*
|
|
17707
|
+
* @param {number} userId REQUIRED filter
|
|
17708
|
+
* @param {number} [page]
|
|
17709
|
+
* @param {number} [size]
|
|
17710
|
+
* @param {string} [q]
|
|
17711
|
+
* @param {string} [sort]
|
|
17712
|
+
* @param {Array<string>} [fields]
|
|
17713
|
+
* @param {number} [objectId]
|
|
17714
|
+
* @param {string} [objectName]
|
|
17715
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17716
|
+
* @param {string} [userIp]
|
|
17717
|
+
* @param {string} [dateFrom]
|
|
17718
|
+
* @param {string} [dateTo]
|
|
17719
|
+
* @param {*} [options] Override http request option.
|
|
17720
|
+
* @throws {RequiredError}
|
|
17721
|
+
*/
|
|
17722
|
+
searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
|
|
17723
|
+
return LoggerServiceApiFp(configuration)
|
|
17724
|
+
.searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
|
|
17725
|
+
.then((request) => request(axios, basePath));
|
|
17726
|
+
},
|
|
17727
|
+
};
|
|
17728
|
+
};
|
|
17729
|
+
/**
|
|
17730
|
+
* LoggerServiceApi - object-oriented interface
|
|
17731
|
+
* @export
|
|
17732
|
+
* @class LoggerServiceApi
|
|
17733
|
+
* @extends {BaseAPI}
|
|
17734
|
+
*/
|
|
17735
|
+
class LoggerServiceApi extends BaseAPI {
|
|
17736
|
+
/**
|
|
17737
|
+
*
|
|
17738
|
+
* @param {number} configId
|
|
17739
|
+
* @param {number} [page]
|
|
17740
|
+
* @param {number} [size]
|
|
17741
|
+
* @param {string} [q]
|
|
17742
|
+
* @param {string} [sort]
|
|
17743
|
+
* @param {Array<string>} [fields]
|
|
17744
|
+
* @param {number} [userId]
|
|
17745
|
+
* @param {string} [userName]
|
|
17746
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action]
|
|
17747
|
+
* @param {string} [userIp]
|
|
17748
|
+
* @param {string} [dateFrom]
|
|
17749
|
+
* @param {string} [dateTo]
|
|
17750
|
+
* @param {*} [options] Override http request option.
|
|
17751
|
+
* @throws {RequiredError}
|
|
17752
|
+
* @memberof LoggerServiceApi
|
|
17753
|
+
*/
|
|
17754
|
+
searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options) {
|
|
17755
|
+
return LoggerServiceApiFp(this.configuration)
|
|
17756
|
+
.searchLogByConfigId(configId, page, size, q, sort, fields, userId, userName, action, userIp, dateFrom, dateTo, options)
|
|
17757
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17758
|
+
}
|
|
17759
|
+
/**
|
|
17760
|
+
*
|
|
17761
|
+
* @param {number} userId REQUIRED filter
|
|
17762
|
+
* @param {number} [page]
|
|
17763
|
+
* @param {number} [size]
|
|
17764
|
+
* @param {string} [q]
|
|
17765
|
+
* @param {string} [sort]
|
|
17766
|
+
* @param {Array<string>} [fields]
|
|
17767
|
+
* @param {number} [objectId]
|
|
17768
|
+
* @param {string} [objectName]
|
|
17769
|
+
* @param {'default_no_action' | 'create' | 'update' | 'read' | 'delete'} [action] GENERAL filters.
|
|
17770
|
+
* @param {string} [userIp]
|
|
17771
|
+
* @param {string} [dateFrom]
|
|
17772
|
+
* @param {string} [dateTo]
|
|
17773
|
+
* @param {*} [options] Override http request option.
|
|
17774
|
+
* @throws {RequiredError}
|
|
17775
|
+
* @memberof LoggerServiceApi
|
|
17776
|
+
*/
|
|
17777
|
+
searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options) {
|
|
17778
|
+
return LoggerServiceApiFp(this.configuration)
|
|
17779
|
+
.searchLogByUserId(userId, page, size, q, sort, fields, objectId, objectName, action, userIp, dateFrom, dateTo, options)
|
|
17780
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17781
|
+
}
|
|
17782
|
+
}
|
|
17783
|
+
|
|
17784
|
+
// tslint:disable
|
|
17785
|
+
/**
|
|
17786
|
+
* ManagersApi - axios parameter creator
|
|
17787
|
+
* @export
|
|
17788
|
+
*/
|
|
17789
|
+
const ManagersApiAxiosParamCreator = function (configuration) {
|
|
17790
|
+
return {
|
|
17791
|
+
/**
|
|
17792
|
+
*
|
|
17793
|
+
* @summary Remove the contact\'s manager address link
|
|
17794
|
+
* @param {string} contactId Contact ID associated with.
|
|
17795
|
+
* @param {string} etag Unique ID to remove.
|
|
17796
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17797
|
+
* @param {*} [options] Override http request option.
|
|
17798
|
+
* @throws {RequiredError}
|
|
17799
|
+
*/
|
|
17800
|
+
deleteManager: async (contactId, etag, fields, options = {}) => {
|
|
17801
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
17802
|
+
if (contactId === null || contactId === undefined) {
|
|
17803
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling deleteManager.');
|
|
17804
|
+
}
|
|
17805
|
+
// verify required parameter 'etag' is not null or undefined
|
|
17806
|
+
if (etag === null || etag === undefined) {
|
|
17807
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling deleteManager.');
|
|
17808
|
+
}
|
|
17809
|
+
const localVarPath = `/contacts/{contact_id}/managers/{etag}`
|
|
17810
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
17811
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
17812
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
17813
|
+
let baseOptions;
|
|
17814
|
+
if (configuration) {
|
|
17815
|
+
baseOptions = configuration.baseOptions;
|
|
17816
|
+
}
|
|
17817
|
+
const localVarRequestOptions = {
|
|
17818
|
+
method: 'DELETE',
|
|
17819
|
+
...baseOptions,
|
|
17820
|
+
...options,
|
|
17821
|
+
};
|
|
17822
|
+
const localVarHeaderParameter = {};
|
|
17823
|
+
const localVarQueryParameter = {};
|
|
17824
|
+
// authentication AccessToken required
|
|
17825
|
+
if (configuration && configuration.apiKey) {
|
|
17826
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17827
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
17828
|
+
: await configuration.apiKey;
|
|
17829
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
17830
|
+
}
|
|
17831
|
+
if (fields) {
|
|
17832
|
+
localVarQueryParameter['fields'] = fields;
|
|
17833
|
+
}
|
|
17834
|
+
localVarUrlObj.query = {
|
|
17835
|
+
...localVarUrlObj.query,
|
|
17836
|
+
...localVarQueryParameter,
|
|
17837
|
+
...options.query,
|
|
17838
|
+
};
|
|
17839
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17840
|
+
delete localVarUrlObj.search;
|
|
17841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17842
|
+
localVarRequestOptions.headers = {
|
|
17843
|
+
...localVarHeaderParameter,
|
|
17844
|
+
...headersFromBaseOptions,
|
|
17845
|
+
...options.headers,
|
|
17846
|
+
};
|
|
17847
|
+
return {
|
|
17848
|
+
url: format(localVarUrlObj),
|
|
17849
|
+
options: localVarRequestOptions,
|
|
17850
|
+
};
|
|
17851
|
+
},
|
|
17852
|
+
/**
|
|
17853
|
+
*
|
|
17854
|
+
* @summary Remove Contact Managers associations.
|
|
17855
|
+
* @param {string} contactId Contact ID associated with.
|
|
17856
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
17857
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17858
|
+
* @param {*} [options] Override http request option.
|
|
17859
|
+
* @throws {RequiredError}
|
|
17860
|
+
*/
|
|
17861
|
+
deleteManagers: async (contactId, etag, fields, options = {}) => {
|
|
17862
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
17863
|
+
if (contactId === null || contactId === undefined) {
|
|
17864
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling deleteManagers.');
|
|
17865
|
+
}
|
|
17866
|
+
// verify required parameter 'etag' is not null or undefined
|
|
17867
|
+
if (etag === null || etag === undefined) {
|
|
17868
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling deleteManagers.');
|
|
17869
|
+
}
|
|
17870
|
+
const localVarPath = `/contacts/{contact_id}/managers`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
17871
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
17872
|
+
let baseOptions;
|
|
17873
|
+
if (configuration) {
|
|
17874
|
+
baseOptions = configuration.baseOptions;
|
|
17875
|
+
}
|
|
17876
|
+
const localVarRequestOptions = {
|
|
17877
|
+
method: 'DELETE',
|
|
17878
|
+
...baseOptions,
|
|
17879
|
+
...options,
|
|
17880
|
+
};
|
|
17881
|
+
const localVarHeaderParameter = {};
|
|
17882
|
+
const localVarQueryParameter = {};
|
|
17883
|
+
// authentication AccessToken required
|
|
17884
|
+
if (configuration && configuration.apiKey) {
|
|
17885
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17886
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
17887
|
+
: await configuration.apiKey;
|
|
17888
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
17889
|
+
}
|
|
17890
|
+
if (fields) {
|
|
17891
|
+
localVarQueryParameter['fields'] = fields;
|
|
17892
|
+
}
|
|
17893
|
+
if (etag) {
|
|
17894
|
+
localVarQueryParameter['etag'] = etag;
|
|
17895
|
+
}
|
|
17896
|
+
localVarUrlObj.query = {
|
|
17897
|
+
...localVarUrlObj.query,
|
|
17898
|
+
...localVarQueryParameter,
|
|
17899
|
+
...options.query,
|
|
17900
|
+
};
|
|
17901
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17902
|
+
delete localVarUrlObj.search;
|
|
17903
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17904
|
+
localVarRequestOptions.headers = {
|
|
17905
|
+
...localVarHeaderParameter,
|
|
17906
|
+
...headersFromBaseOptions,
|
|
17907
|
+
...options.headers,
|
|
17908
|
+
};
|
|
17909
|
+
return {
|
|
17910
|
+
url: format(localVarUrlObj),
|
|
17911
|
+
options: localVarRequestOptions,
|
|
17912
|
+
};
|
|
17913
|
+
},
|
|
17914
|
+
/**
|
|
17915
|
+
*
|
|
17916
|
+
* @summary Search the Contact\'s Managers.
|
|
17917
|
+
* @param {string} contactId Contact ID associated with.
|
|
17918
|
+
* @param {number} [page] Page number of result. offset = ((page-1)*size)
|
|
17919
|
+
* @param {number} [size] Size of result page. limit = (size++)
|
|
17920
|
+
* @param {string} [q] Search term: user name; `?` - matches any one character `*` - matches 0 or more characters
|
|
17921
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
17922
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17923
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
17924
|
+
* @param {*} [options] Override http request option.
|
|
17925
|
+
* @throws {RequiredError}
|
|
17926
|
+
*/
|
|
17927
|
+
listManagers: async (contactId, page, size, q, sort, fields, id, options = {}) => {
|
|
17928
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
17929
|
+
if (contactId === null || contactId === undefined) {
|
|
17930
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling listManagers.');
|
|
17931
|
+
}
|
|
17932
|
+
const localVarPath = `/contacts/{contact_id}/managers`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
17933
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
17934
|
+
let baseOptions;
|
|
17935
|
+
if (configuration) {
|
|
17936
|
+
baseOptions = configuration.baseOptions;
|
|
17937
|
+
}
|
|
17938
|
+
const localVarRequestOptions = {
|
|
17939
|
+
method: 'GET',
|
|
17940
|
+
...baseOptions,
|
|
17941
|
+
...options,
|
|
17942
|
+
};
|
|
17943
|
+
const localVarHeaderParameter = {};
|
|
17944
|
+
const localVarQueryParameter = {};
|
|
17945
|
+
// authentication AccessToken required
|
|
17946
|
+
if (configuration && configuration.apiKey) {
|
|
17947
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17948
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
17949
|
+
: await configuration.apiKey;
|
|
17950
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
17951
|
+
}
|
|
17952
|
+
if (page !== undefined) {
|
|
17953
|
+
localVarQueryParameter['page'] = page;
|
|
17954
|
+
}
|
|
17955
|
+
if (size !== undefined) {
|
|
17956
|
+
localVarQueryParameter['size'] = size;
|
|
17957
|
+
}
|
|
17958
|
+
if (q !== undefined) {
|
|
17959
|
+
localVarQueryParameter['q'] = q;
|
|
17960
|
+
}
|
|
17961
|
+
if (sort) {
|
|
17962
|
+
localVarQueryParameter['sort'] = sort;
|
|
17963
|
+
}
|
|
17964
|
+
if (fields) {
|
|
17965
|
+
localVarQueryParameter['fields'] = fields;
|
|
17966
|
+
}
|
|
17967
|
+
if (id) {
|
|
17968
|
+
localVarQueryParameter['id'] = id;
|
|
17969
|
+
}
|
|
17970
|
+
localVarUrlObj.query = {
|
|
17971
|
+
...localVarUrlObj.query,
|
|
17972
|
+
...localVarQueryParameter,
|
|
17973
|
+
...options.query,
|
|
17974
|
+
};
|
|
17975
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17976
|
+
delete localVarUrlObj.search;
|
|
17977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17978
|
+
localVarRequestOptions.headers = {
|
|
17979
|
+
...localVarHeaderParameter,
|
|
17980
|
+
...headersFromBaseOptions,
|
|
17981
|
+
...options.headers,
|
|
17982
|
+
};
|
|
17983
|
+
return {
|
|
17984
|
+
url: format(localVarUrlObj),
|
|
17985
|
+
options: localVarRequestOptions,
|
|
17986
|
+
};
|
|
17987
|
+
},
|
|
17988
|
+
/**
|
|
17989
|
+
*
|
|
17990
|
+
* @summary Locate the manager address link.
|
|
17991
|
+
* @param {string} contactId Contact source ID.
|
|
17992
|
+
* @param {string} etag Unique manager link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
17993
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
17994
|
+
* @param {*} [options] Override http request option.
|
|
17995
|
+
* @throws {RequiredError}
|
|
17996
|
+
*/
|
|
17997
|
+
locateManager: async (contactId, etag, fields, options = {}) => {
|
|
17998
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
17999
|
+
if (contactId === null || contactId === undefined) {
|
|
18000
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling locateManager.');
|
|
18001
|
+
}
|
|
18002
|
+
// verify required parameter 'etag' is not null or undefined
|
|
18003
|
+
if (etag === null || etag === undefined) {
|
|
18004
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling locateManager.');
|
|
18005
|
+
}
|
|
18006
|
+
const localVarPath = `/contacts/{contact_id}/managers/{etag}`
|
|
18007
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
18008
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
18009
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
18010
|
+
let baseOptions;
|
|
18011
|
+
if (configuration) {
|
|
18012
|
+
baseOptions = configuration.baseOptions;
|
|
18013
|
+
}
|
|
18014
|
+
const localVarRequestOptions = {
|
|
18015
|
+
method: 'GET',
|
|
18016
|
+
...baseOptions,
|
|
18017
|
+
...options,
|
|
18018
|
+
};
|
|
18019
|
+
const localVarHeaderParameter = {};
|
|
18020
|
+
const localVarQueryParameter = {};
|
|
18021
|
+
// authentication AccessToken required
|
|
18022
|
+
if (configuration && configuration.apiKey) {
|
|
18023
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18024
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
18025
|
+
: await configuration.apiKey;
|
|
18026
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
18027
|
+
}
|
|
18028
|
+
if (fields) {
|
|
18029
|
+
localVarQueryParameter['fields'] = fields;
|
|
18030
|
+
}
|
|
18031
|
+
localVarUrlObj.query = {
|
|
18032
|
+
...localVarUrlObj.query,
|
|
18033
|
+
...localVarQueryParameter,
|
|
18034
|
+
...options.query,
|
|
18035
|
+
};
|
|
18036
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18037
|
+
delete localVarUrlObj.search;
|
|
18038
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18039
|
+
localVarRequestOptions.headers = {
|
|
18040
|
+
...localVarHeaderParameter,
|
|
18041
|
+
...headersFromBaseOptions,
|
|
18042
|
+
...options.headers,
|
|
18043
|
+
};
|
|
18044
|
+
return {
|
|
18045
|
+
url: format(localVarUrlObj),
|
|
18046
|
+
options: localVarRequestOptions,
|
|
18047
|
+
};
|
|
18048
|
+
},
|
|
18049
|
+
/**
|
|
18050
|
+
*
|
|
18051
|
+
* @summary Associate new Managers to the Contact.
|
|
18052
|
+
* @param {string} contactId Link contact ID.
|
|
18053
|
+
* @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
18054
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18055
|
+
* @param {*} [options] Override http request option.
|
|
18056
|
+
* @throws {RequiredError}
|
|
18057
|
+
*/
|
|
18058
|
+
mergeManagers: async (contactId, input, fields, options = {}) => {
|
|
18059
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
18060
|
+
if (contactId === null || contactId === undefined) {
|
|
18061
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling mergeManagers.');
|
|
18062
|
+
}
|
|
18063
|
+
// verify required parameter 'input' is not null or undefined
|
|
18064
|
+
if (input === null || input === undefined) {
|
|
18065
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling mergeManagers.');
|
|
18066
|
+
}
|
|
18067
|
+
const localVarPath = `/contacts/{contact_id}/managers`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
18068
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
18069
|
+
let baseOptions;
|
|
18070
|
+
if (configuration) {
|
|
18071
|
+
baseOptions = configuration.baseOptions;
|
|
18072
|
+
}
|
|
18073
|
+
const localVarRequestOptions = {
|
|
18074
|
+
method: 'POST',
|
|
18075
|
+
...baseOptions,
|
|
18076
|
+
...options,
|
|
18077
|
+
};
|
|
18078
|
+
const localVarHeaderParameter = {};
|
|
18079
|
+
const localVarQueryParameter = {};
|
|
18080
|
+
// authentication AccessToken required
|
|
18081
|
+
if (configuration && configuration.apiKey) {
|
|
18082
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18083
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
18084
|
+
: await configuration.apiKey;
|
|
18085
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
18086
|
+
}
|
|
18087
|
+
if (fields) {
|
|
18088
|
+
localVarQueryParameter['fields'] = fields;
|
|
18089
|
+
}
|
|
18090
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18091
|
+
localVarUrlObj.query = {
|
|
18092
|
+
...localVarUrlObj.query,
|
|
18093
|
+
...localVarQueryParameter,
|
|
18094
|
+
...options.query,
|
|
18095
|
+
};
|
|
18096
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18097
|
+
delete localVarUrlObj.search;
|
|
18098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18099
|
+
localVarRequestOptions.headers = {
|
|
18100
|
+
...localVarHeaderParameter,
|
|
18101
|
+
...headersFromBaseOptions,
|
|
18102
|
+
...options.headers,
|
|
18103
|
+
};
|
|
18104
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
18105
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18106
|
+
localVarRequestOptions.data = needsSerialization
|
|
18107
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
18108
|
+
: input || '';
|
|
18109
|
+
return {
|
|
18110
|
+
url: format(localVarUrlObj),
|
|
18111
|
+
options: localVarRequestOptions,
|
|
18112
|
+
};
|
|
18113
|
+
},
|
|
18114
|
+
/**
|
|
18115
|
+
*
|
|
18116
|
+
* @summary Reset Managers to fit the specified final set.
|
|
18117
|
+
* @param {string} contactId Contact ID associated with.
|
|
18118
|
+
* @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become `primary` if no other specified.
|
|
18119
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18120
|
+
* @param {*} [options] Override http request option.
|
|
18121
|
+
* @throws {RequiredError}
|
|
18122
|
+
*/
|
|
18123
|
+
resetManagers: async (contactId, input, fields, options = {}) => {
|
|
18124
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
18125
|
+
if (contactId === null || contactId === undefined) {
|
|
18126
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling resetManagers.');
|
|
18127
|
+
}
|
|
18128
|
+
// verify required parameter 'input' is not null or undefined
|
|
18129
|
+
if (input === null || input === undefined) {
|
|
18130
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling resetManagers.');
|
|
18131
|
+
}
|
|
18132
|
+
const localVarPath = `/contacts/{contact_id}/managers`.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)));
|
|
18133
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
18134
|
+
let baseOptions;
|
|
18135
|
+
if (configuration) {
|
|
18136
|
+
baseOptions = configuration.baseOptions;
|
|
18137
|
+
}
|
|
18138
|
+
const localVarRequestOptions = {
|
|
18139
|
+
method: 'PUT',
|
|
18140
|
+
...baseOptions,
|
|
18141
|
+
...options,
|
|
18142
|
+
};
|
|
18143
|
+
const localVarHeaderParameter = {};
|
|
18144
|
+
const localVarQueryParameter = {};
|
|
18145
|
+
// authentication AccessToken required
|
|
18146
|
+
if (configuration && configuration.apiKey) {
|
|
18147
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18148
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
18149
|
+
: await configuration.apiKey;
|
|
18150
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
18151
|
+
}
|
|
18152
|
+
if (fields) {
|
|
18153
|
+
localVarQueryParameter['fields'] = fields;
|
|
18154
|
+
}
|
|
18155
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18156
|
+
localVarUrlObj.query = {
|
|
18157
|
+
...localVarUrlObj.query,
|
|
18158
|
+
...localVarQueryParameter,
|
|
18159
|
+
...options.query,
|
|
18160
|
+
};
|
|
18161
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18162
|
+
delete localVarUrlObj.search;
|
|
18163
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18164
|
+
localVarRequestOptions.headers = {
|
|
18165
|
+
...localVarHeaderParameter,
|
|
18166
|
+
...headersFromBaseOptions,
|
|
18167
|
+
...options.headers,
|
|
18168
|
+
};
|
|
18169
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
18170
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18171
|
+
localVarRequestOptions.data = needsSerialization
|
|
18172
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
18173
|
+
: input || '';
|
|
18174
|
+
return {
|
|
18175
|
+
url: format(localVarUrlObj),
|
|
18176
|
+
options: localVarRequestOptions,
|
|
18177
|
+
};
|
|
18178
|
+
},
|
|
18179
|
+
/**
|
|
18180
|
+
*
|
|
18181
|
+
* @summary Update the contact\'s manager address link details
|
|
18182
|
+
* @param {string} contactId Link contact ID.
|
|
18183
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18184
|
+
* @param {NEWUpdateOfTheManagerLink} input
|
|
18185
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18186
|
+
* @param {*} [options] Override http request option.
|
|
18187
|
+
* @throws {RequiredError}
|
|
18188
|
+
*/
|
|
18189
|
+
updateManager: async (contactId, etag, input, fields, options = {}) => {
|
|
18190
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
18191
|
+
if (contactId === null || contactId === undefined) {
|
|
18192
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling updateManager.');
|
|
18193
|
+
}
|
|
18194
|
+
// verify required parameter 'etag' is not null or undefined
|
|
18195
|
+
if (etag === null || etag === undefined) {
|
|
18196
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling updateManager.');
|
|
18197
|
+
}
|
|
18198
|
+
// verify required parameter 'input' is not null or undefined
|
|
18199
|
+
if (input === null || input === undefined) {
|
|
18200
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling updateManager.');
|
|
18201
|
+
}
|
|
18202
|
+
const localVarPath = `/contacts/{contact_id}/managers/{etag}`
|
|
18203
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
18204
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
18205
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
18206
|
+
let baseOptions;
|
|
18207
|
+
if (configuration) {
|
|
18208
|
+
baseOptions = configuration.baseOptions;
|
|
18209
|
+
}
|
|
18210
|
+
const localVarRequestOptions = {
|
|
18211
|
+
method: 'PUT',
|
|
18212
|
+
...baseOptions,
|
|
18213
|
+
...options,
|
|
18214
|
+
};
|
|
18215
|
+
const localVarHeaderParameter = {};
|
|
18216
|
+
const localVarQueryParameter = {};
|
|
18217
|
+
// authentication AccessToken required
|
|
18218
|
+
if (configuration && configuration.apiKey) {
|
|
18219
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18220
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
18221
|
+
: await configuration.apiKey;
|
|
18222
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
18223
|
+
}
|
|
18224
|
+
if (fields) {
|
|
18225
|
+
localVarQueryParameter['fields'] = fields;
|
|
18226
|
+
}
|
|
18227
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18228
|
+
localVarUrlObj.query = {
|
|
18229
|
+
...localVarUrlObj.query,
|
|
18230
|
+
...localVarQueryParameter,
|
|
18231
|
+
...options.query,
|
|
18232
|
+
};
|
|
18233
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18234
|
+
delete localVarUrlObj.search;
|
|
18235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18236
|
+
localVarRequestOptions.headers = {
|
|
18237
|
+
...localVarHeaderParameter,
|
|
18238
|
+
...headersFromBaseOptions,
|
|
18239
|
+
...options.headers,
|
|
18240
|
+
};
|
|
18241
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
18242
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18243
|
+
localVarRequestOptions.data = needsSerialization
|
|
18244
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
18245
|
+
: input || '';
|
|
18246
|
+
return {
|
|
18247
|
+
url: format(localVarUrlObj),
|
|
18248
|
+
options: localVarRequestOptions,
|
|
18249
|
+
};
|
|
18250
|
+
},
|
|
18251
|
+
/**
|
|
18252
|
+
*
|
|
18253
|
+
* @summary Update the contact\'s manager address link details
|
|
18254
|
+
* @param {string} contactId Link contact ID.
|
|
18255
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18256
|
+
* @param {NEWUpdateOfTheManagerLink1} input
|
|
18257
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18258
|
+
* @param {*} [options] Override http request option.
|
|
18259
|
+
* @throws {RequiredError}
|
|
18260
|
+
*/
|
|
18261
|
+
updateManager2: async (contactId, etag, input, fields, options = {}) => {
|
|
18262
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
18263
|
+
if (contactId === null || contactId === undefined) {
|
|
18264
|
+
throw new RequiredError('contactId', 'Required parameter contactId was null or undefined when calling updateManager2.');
|
|
18265
|
+
}
|
|
18266
|
+
// verify required parameter 'etag' is not null or undefined
|
|
18267
|
+
if (etag === null || etag === undefined) {
|
|
18268
|
+
throw new RequiredError('etag', 'Required parameter etag was null or undefined when calling updateManager2.');
|
|
18269
|
+
}
|
|
18270
|
+
// verify required parameter 'input' is not null or undefined
|
|
18271
|
+
if (input === null || input === undefined) {
|
|
18272
|
+
throw new RequiredError('input', 'Required parameter input was null or undefined when calling updateManager2.');
|
|
18273
|
+
}
|
|
18274
|
+
const localVarPath = `/contacts/{contact_id}/managers/{etag}`
|
|
18275
|
+
.replace(`{${'contact_id'}}`, encodeURIComponent(String(contactId)))
|
|
18276
|
+
.replace(`{${'etag'}}`, encodeURIComponent(String(etag)));
|
|
18277
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
18278
|
+
let baseOptions;
|
|
18279
|
+
if (configuration) {
|
|
18280
|
+
baseOptions = configuration.baseOptions;
|
|
18281
|
+
}
|
|
18282
|
+
const localVarRequestOptions = {
|
|
18283
|
+
method: 'PATCH',
|
|
18284
|
+
...baseOptions,
|
|
18285
|
+
...options,
|
|
18286
|
+
};
|
|
18287
|
+
const localVarHeaderParameter = {};
|
|
18288
|
+
const localVarQueryParameter = {};
|
|
18289
|
+
// authentication AccessToken required
|
|
18290
|
+
if (configuration && configuration.apiKey) {
|
|
18291
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18292
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
18293
|
+
: await configuration.apiKey;
|
|
18294
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
18295
|
+
}
|
|
18296
|
+
if (fields) {
|
|
18297
|
+
localVarQueryParameter['fields'] = fields;
|
|
18298
|
+
}
|
|
18299
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18300
|
+
localVarUrlObj.query = {
|
|
18301
|
+
...localVarUrlObj.query,
|
|
18302
|
+
...localVarQueryParameter,
|
|
18303
|
+
...options.query,
|
|
18304
|
+
};
|
|
18305
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18306
|
+
delete localVarUrlObj.search;
|
|
18307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18308
|
+
localVarRequestOptions.headers = {
|
|
18309
|
+
...localVarHeaderParameter,
|
|
18310
|
+
...headersFromBaseOptions,
|
|
18311
|
+
...options.headers,
|
|
18312
|
+
};
|
|
18313
|
+
const needsSerialization = typeof input !== 'string' ||
|
|
18314
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18315
|
+
localVarRequestOptions.data = needsSerialization
|
|
18316
|
+
? JSON.stringify(input !== undefined ? input : {})
|
|
18317
|
+
: input || '';
|
|
18318
|
+
return {
|
|
18319
|
+
url: format(localVarUrlObj),
|
|
18320
|
+
options: localVarRequestOptions,
|
|
18321
|
+
};
|
|
18322
|
+
},
|
|
18323
|
+
};
|
|
18324
|
+
};
|
|
18325
|
+
/**
|
|
18326
|
+
* ManagersApi - functional programming interface
|
|
18327
|
+
* @export
|
|
18328
|
+
*/
|
|
18329
|
+
const ManagersApiFp = function (configuration) {
|
|
18330
|
+
return {
|
|
18331
|
+
/**
|
|
18332
|
+
*
|
|
18333
|
+
* @summary Remove the contact\'s manager address link
|
|
18334
|
+
* @param {string} contactId Contact ID associated with.
|
|
18335
|
+
* @param {string} etag Unique ID to remove.
|
|
18336
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18337
|
+
* @param {*} [options] Override http request option.
|
|
18338
|
+
* @throws {RequiredError}
|
|
18339
|
+
*/
|
|
18340
|
+
async deleteManager(contactId, etag, fields, options) {
|
|
18341
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).deleteManager(contactId, etag, fields, options);
|
|
18342
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18343
|
+
const axiosRequestArgs = {
|
|
18344
|
+
...localVarAxiosArgs.options,
|
|
18345
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18346
|
+
};
|
|
18347
|
+
return axios.request(axiosRequestArgs);
|
|
18348
|
+
};
|
|
18349
|
+
},
|
|
18350
|
+
/**
|
|
18351
|
+
*
|
|
18352
|
+
* @summary Remove Contact Managers associations.
|
|
18353
|
+
* @param {string} contactId Contact ID associated with.
|
|
18354
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
18355
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18356
|
+
* @param {*} [options] Override http request option.
|
|
18357
|
+
* @throws {RequiredError}
|
|
18358
|
+
*/
|
|
18359
|
+
async deleteManagers(contactId, etag, fields, options) {
|
|
18360
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).deleteManagers(contactId, etag, fields, options);
|
|
18361
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18362
|
+
const axiosRequestArgs = {
|
|
18363
|
+
...localVarAxiosArgs.options,
|
|
18364
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18365
|
+
};
|
|
18366
|
+
return axios.request(axiosRequestArgs);
|
|
18367
|
+
};
|
|
18368
|
+
},
|
|
18369
|
+
/**
|
|
18370
|
+
*
|
|
18371
|
+
* @summary Search the Contact\'s Managers.
|
|
18372
|
+
* @param {string} contactId Contact ID associated with.
|
|
18373
|
+
* @param {number} [page] Page number of result. offset = ((page-1)*size)
|
|
18374
|
+
* @param {number} [size] Size of result page. limit = (size++)
|
|
18375
|
+
* @param {string} [q] Search term: user name; `?` - matches any one character `*` - matches 0 or more characters
|
|
18376
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
18377
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18378
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
18379
|
+
* @param {*} [options] Override http request option.
|
|
18380
|
+
* @throws {RequiredError}
|
|
18381
|
+
*/
|
|
18382
|
+
async listManagers(contactId, page, size, q, sort, fields, id, options) {
|
|
18383
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).listManagers(contactId, page, size, q, sort, fields, id, options);
|
|
18384
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18385
|
+
const axiosRequestArgs = {
|
|
18386
|
+
...localVarAxiosArgs.options,
|
|
18387
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18388
|
+
};
|
|
18389
|
+
return axios.request(axiosRequestArgs);
|
|
18390
|
+
};
|
|
18391
|
+
},
|
|
18392
|
+
/**
|
|
18393
|
+
*
|
|
18394
|
+
* @summary Locate the manager address link.
|
|
18395
|
+
* @param {string} contactId Contact source ID.
|
|
18396
|
+
* @param {string} etag Unique manager link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
18397
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
18398
|
+
* @param {*} [options] Override http request option.
|
|
18399
|
+
* @throws {RequiredError}
|
|
18400
|
+
*/
|
|
18401
|
+
async locateManager(contactId, etag, fields, options) {
|
|
18402
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).locateManager(contactId, etag, fields, options);
|
|
18403
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18404
|
+
const axiosRequestArgs = {
|
|
18405
|
+
...localVarAxiosArgs.options,
|
|
18406
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18407
|
+
};
|
|
18408
|
+
return axios.request(axiosRequestArgs);
|
|
18409
|
+
};
|
|
18410
|
+
},
|
|
18411
|
+
/**
|
|
18412
|
+
*
|
|
18413
|
+
* @summary Associate new Managers to the Contact.
|
|
18414
|
+
* @param {string} contactId Link contact ID.
|
|
18415
|
+
* @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
18416
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18417
|
+
* @param {*} [options] Override http request option.
|
|
18418
|
+
* @throws {RequiredError}
|
|
18419
|
+
*/
|
|
18420
|
+
async mergeManagers(contactId, input, fields, options) {
|
|
18421
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).mergeManagers(contactId, input, fields, options);
|
|
18422
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18423
|
+
const axiosRequestArgs = {
|
|
18424
|
+
...localVarAxiosArgs.options,
|
|
18425
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18426
|
+
};
|
|
18427
|
+
return axios.request(axiosRequestArgs);
|
|
18428
|
+
};
|
|
18429
|
+
},
|
|
18430
|
+
/**
|
|
18431
|
+
*
|
|
18432
|
+
* @summary Reset Managers to fit the specified final set.
|
|
18433
|
+
* @param {string} contactId Contact ID associated with.
|
|
18434
|
+
* @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become `primary` if no other specified.
|
|
18435
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18436
|
+
* @param {*} [options] Override http request option.
|
|
18437
|
+
* @throws {RequiredError}
|
|
18438
|
+
*/
|
|
18439
|
+
async resetManagers(contactId, input, fields, options) {
|
|
18440
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).resetManagers(contactId, input, fields, options);
|
|
18441
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
18442
|
+
const axiosRequestArgs = {
|
|
18443
|
+
...localVarAxiosArgs.options,
|
|
18444
|
+
url: basePath + localVarAxiosArgs.url,
|
|
18445
|
+
};
|
|
18446
|
+
return axios.request(axiosRequestArgs);
|
|
18447
|
+
};
|
|
18448
|
+
},
|
|
17621
18449
|
/**
|
|
17622
18450
|
*
|
|
17623
|
-
* @
|
|
17624
|
-
* @param {
|
|
17625
|
-
* @param {
|
|
17626
|
-
* @param {
|
|
17627
|
-
* @param {string} [
|
|
17628
|
-
* @param {Array<string>} [fields]
|
|
17629
|
-
* @param {number} [userId]
|
|
17630
|
-
* @param {string} [userName]
|
|
17631
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action]
|
|
17632
|
-
* @param {string} [userIp]
|
|
17633
|
-
* @param {string} [dateFrom]
|
|
17634
|
-
* @param {string} [dateTo]
|
|
18451
|
+
* @summary Update the contact\'s manager address link details
|
|
18452
|
+
* @param {string} contactId Link contact ID.
|
|
18453
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18454
|
+
* @param {NEWUpdateOfTheManagerLink} input
|
|
18455
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
17635
18456
|
* @param {*} [options] Override http request option.
|
|
17636
18457
|
* @throws {RequiredError}
|
|
17637
18458
|
*/
|
|
17638
|
-
async
|
|
17639
|
-
const localVarAxiosArgs = await
|
|
18459
|
+
async updateManager(contactId, etag, input, fields, options) {
|
|
18460
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).updateManager(contactId, etag, input, fields, options);
|
|
17640
18461
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17641
18462
|
const axiosRequestArgs = {
|
|
17642
18463
|
...localVarAxiosArgs.options,
|
|
@@ -17647,23 +18468,16 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17647
18468
|
},
|
|
17648
18469
|
/**
|
|
17649
18470
|
*
|
|
17650
|
-
* @
|
|
17651
|
-
* @param {
|
|
17652
|
-
* @param {
|
|
17653
|
-
* @param {
|
|
17654
|
-
* @param {string} [
|
|
17655
|
-
* @param {Array<string>} [fields]
|
|
17656
|
-
* @param {number} [objectId]
|
|
17657
|
-
* @param {string} [objectName]
|
|
17658
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
|
|
17659
|
-
* @param {string} [userIp]
|
|
17660
|
-
* @param {string} [dateFrom]
|
|
17661
|
-
* @param {string} [dateTo]
|
|
18471
|
+
* @summary Update the contact\'s manager address link details
|
|
18472
|
+
* @param {string} contactId Link contact ID.
|
|
18473
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18474
|
+
* @param {NEWUpdateOfTheManagerLink1} input
|
|
18475
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
17662
18476
|
* @param {*} [options] Override http request option.
|
|
17663
18477
|
* @throws {RequiredError}
|
|
17664
18478
|
*/
|
|
17665
|
-
async
|
|
17666
|
-
const localVarAxiosArgs = await
|
|
18479
|
+
async updateManager2(contactId, etag, input, fields, options) {
|
|
18480
|
+
const localVarAxiosArgs = await ManagersApiAxiosParamCreator(configuration).updateManager2(contactId, etag, input, fields, options);
|
|
17667
18481
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
17668
18482
|
const axiosRequestArgs = {
|
|
17669
18483
|
...localVarAxiosArgs.options,
|
|
@@ -17675,108 +18489,262 @@ const LoggerServiceApiFp = function (configuration) {
|
|
|
17675
18489
|
};
|
|
17676
18490
|
};
|
|
17677
18491
|
/**
|
|
17678
|
-
*
|
|
18492
|
+
* ManagersApi - factory interface
|
|
17679
18493
|
* @export
|
|
17680
18494
|
*/
|
|
17681
|
-
const
|
|
18495
|
+
const ManagersApiFactory = function (configuration, basePath, axios) {
|
|
17682
18496
|
return {
|
|
17683
18497
|
/**
|
|
17684
18498
|
*
|
|
17685
|
-
* @
|
|
17686
|
-
* @param {
|
|
17687
|
-
* @param {
|
|
17688
|
-
* @param {string} [
|
|
17689
|
-
* @param {string} [sort]
|
|
17690
|
-
* @param {Array<string>} [fields]
|
|
17691
|
-
* @param {number} [userId]
|
|
17692
|
-
* @param {string} [userName]
|
|
17693
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action]
|
|
17694
|
-
* @param {string} [userIp]
|
|
17695
|
-
* @param {string} [dateFrom]
|
|
17696
|
-
* @param {string} [dateTo]
|
|
18499
|
+
* @summary Remove the contact\'s manager address link
|
|
18500
|
+
* @param {string} contactId Contact ID associated with.
|
|
18501
|
+
* @param {string} etag Unique ID to remove.
|
|
18502
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17697
18503
|
* @param {*} [options] Override http request option.
|
|
17698
18504
|
* @throws {RequiredError}
|
|
17699
18505
|
*/
|
|
17700
|
-
|
|
17701
|
-
return
|
|
17702
|
-
.
|
|
18506
|
+
deleteManager(contactId, etag, fields, options) {
|
|
18507
|
+
return ManagersApiFp(configuration)
|
|
18508
|
+
.deleteManager(contactId, etag, fields, options)
|
|
17703
18509
|
.then((request) => request(axios, basePath));
|
|
17704
18510
|
},
|
|
17705
18511
|
/**
|
|
17706
18512
|
*
|
|
17707
|
-
* @
|
|
17708
|
-
* @param {
|
|
17709
|
-
* @param {
|
|
17710
|
-
* @param {string} [
|
|
17711
|
-
* @param {string} [sort]
|
|
17712
|
-
* @param {Array<string>} [fields]
|
|
17713
|
-
* @param {number} [objectId]
|
|
17714
|
-
* @param {string} [objectName]
|
|
17715
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
|
|
17716
|
-
* @param {string} [userIp]
|
|
17717
|
-
* @param {string} [dateFrom]
|
|
17718
|
-
* @param {string} [dateTo]
|
|
18513
|
+
* @summary Remove Contact Managers associations.
|
|
18514
|
+
* @param {string} contactId Contact ID associated with.
|
|
18515
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
18516
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17719
18517
|
* @param {*} [options] Override http request option.
|
|
17720
18518
|
* @throws {RequiredError}
|
|
17721
18519
|
*/
|
|
17722
|
-
|
|
17723
|
-
return
|
|
17724
|
-
.
|
|
18520
|
+
deleteManagers(contactId, etag, fields, options) {
|
|
18521
|
+
return ManagersApiFp(configuration)
|
|
18522
|
+
.deleteManagers(contactId, etag, fields, options)
|
|
18523
|
+
.then((request) => request(axios, basePath));
|
|
18524
|
+
},
|
|
18525
|
+
/**
|
|
18526
|
+
*
|
|
18527
|
+
* @summary Search the Contact\'s Managers.
|
|
18528
|
+
* @param {string} contactId Contact ID associated with.
|
|
18529
|
+
* @param {number} [page] Page number of result. offset = ((page-1)*size)
|
|
18530
|
+
* @param {number} [size] Size of result page. limit = (size++)
|
|
18531
|
+
* @param {string} [q] Search term: user name; `?` - matches any one character `*` - matches 0 or more characters
|
|
18532
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
18533
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18534
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
18535
|
+
* @param {*} [options] Override http request option.
|
|
18536
|
+
* @throws {RequiredError}
|
|
18537
|
+
*/
|
|
18538
|
+
listManagers(contactId, page, size, q, sort, fields, id, options) {
|
|
18539
|
+
return ManagersApiFp(configuration)
|
|
18540
|
+
.listManagers(contactId, page, size, q, sort, fields, id, options)
|
|
18541
|
+
.then((request) => request(axios, basePath));
|
|
18542
|
+
},
|
|
18543
|
+
/**
|
|
18544
|
+
*
|
|
18545
|
+
* @summary Locate the manager address link.
|
|
18546
|
+
* @param {string} contactId Contact source ID.
|
|
18547
|
+
* @param {string} etag Unique manager link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
18548
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
18549
|
+
* @param {*} [options] Override http request option.
|
|
18550
|
+
* @throws {RequiredError}
|
|
18551
|
+
*/
|
|
18552
|
+
locateManager(contactId, etag, fields, options) {
|
|
18553
|
+
return ManagersApiFp(configuration)
|
|
18554
|
+
.locateManager(contactId, etag, fields, options)
|
|
18555
|
+
.then((request) => request(axios, basePath));
|
|
18556
|
+
},
|
|
18557
|
+
/**
|
|
18558
|
+
*
|
|
18559
|
+
* @summary Associate new Managers to the Contact.
|
|
18560
|
+
* @param {string} contactId Link contact ID.
|
|
18561
|
+
* @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
18562
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18563
|
+
* @param {*} [options] Override http request option.
|
|
18564
|
+
* @throws {RequiredError}
|
|
18565
|
+
*/
|
|
18566
|
+
mergeManagers(contactId, input, fields, options) {
|
|
18567
|
+
return ManagersApiFp(configuration)
|
|
18568
|
+
.mergeManagers(contactId, input, fields, options)
|
|
18569
|
+
.then((request) => request(axios, basePath));
|
|
18570
|
+
},
|
|
18571
|
+
/**
|
|
18572
|
+
*
|
|
18573
|
+
* @summary Reset Managers to fit the specified final set.
|
|
18574
|
+
* @param {string} contactId Contact ID associated with.
|
|
18575
|
+
* @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become `primary` if no other specified.
|
|
18576
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18577
|
+
* @param {*} [options] Override http request option.
|
|
18578
|
+
* @throws {RequiredError}
|
|
18579
|
+
*/
|
|
18580
|
+
resetManagers(contactId, input, fields, options) {
|
|
18581
|
+
return ManagersApiFp(configuration)
|
|
18582
|
+
.resetManagers(contactId, input, fields, options)
|
|
18583
|
+
.then((request) => request(axios, basePath));
|
|
18584
|
+
},
|
|
18585
|
+
/**
|
|
18586
|
+
*
|
|
18587
|
+
* @summary Update the contact\'s manager address link details
|
|
18588
|
+
* @param {string} contactId Link contact ID.
|
|
18589
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18590
|
+
* @param {NEWUpdateOfTheManagerLink} input
|
|
18591
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18592
|
+
* @param {*} [options] Override http request option.
|
|
18593
|
+
* @throws {RequiredError}
|
|
18594
|
+
*/
|
|
18595
|
+
updateManager(contactId, etag, input, fields, options) {
|
|
18596
|
+
return ManagersApiFp(configuration)
|
|
18597
|
+
.updateManager(contactId, etag, input, fields, options)
|
|
18598
|
+
.then((request) => request(axios, basePath));
|
|
18599
|
+
},
|
|
18600
|
+
/**
|
|
18601
|
+
*
|
|
18602
|
+
* @summary Update the contact\'s manager address link details
|
|
18603
|
+
* @param {string} contactId Link contact ID.
|
|
18604
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18605
|
+
* @param {NEWUpdateOfTheManagerLink1} input
|
|
18606
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18607
|
+
* @param {*} [options] Override http request option.
|
|
18608
|
+
* @throws {RequiredError}
|
|
18609
|
+
*/
|
|
18610
|
+
updateManager2(contactId, etag, input, fields, options) {
|
|
18611
|
+
return ManagersApiFp(configuration)
|
|
18612
|
+
.updateManager2(contactId, etag, input, fields, options)
|
|
17725
18613
|
.then((request) => request(axios, basePath));
|
|
17726
18614
|
},
|
|
17727
18615
|
};
|
|
17728
18616
|
};
|
|
17729
18617
|
/**
|
|
17730
|
-
*
|
|
18618
|
+
* ManagersApi - object-oriented interface
|
|
17731
18619
|
* @export
|
|
17732
|
-
* @class
|
|
18620
|
+
* @class ManagersApi
|
|
17733
18621
|
* @extends {BaseAPI}
|
|
17734
18622
|
*/
|
|
17735
|
-
class
|
|
18623
|
+
class ManagersApi extends BaseAPI {
|
|
17736
18624
|
/**
|
|
17737
18625
|
*
|
|
17738
|
-
* @
|
|
17739
|
-
* @param {
|
|
17740
|
-
* @param {
|
|
17741
|
-
* @param {string} [
|
|
17742
|
-
* @param {string} [sort]
|
|
17743
|
-
* @param {Array<string>} [fields]
|
|
17744
|
-
* @param {number} [userId]
|
|
17745
|
-
* @param {string} [userName]
|
|
17746
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action]
|
|
17747
|
-
* @param {string} [userIp]
|
|
17748
|
-
* @param {string} [dateFrom]
|
|
17749
|
-
* @param {string} [dateTo]
|
|
18626
|
+
* @summary Remove the contact\'s manager address link
|
|
18627
|
+
* @param {string} contactId Contact ID associated with.
|
|
18628
|
+
* @param {string} etag Unique ID to remove.
|
|
18629
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17750
18630
|
* @param {*} [options] Override http request option.
|
|
17751
18631
|
* @throws {RequiredError}
|
|
17752
|
-
* @memberof
|
|
18632
|
+
* @memberof ManagersApi
|
|
17753
18633
|
*/
|
|
17754
|
-
|
|
17755
|
-
return
|
|
17756
|
-
.
|
|
18634
|
+
deleteManager(contactId, etag, fields, options) {
|
|
18635
|
+
return ManagersApiFp(this.configuration)
|
|
18636
|
+
.deleteManager(contactId, etag, fields, options)
|
|
17757
18637
|
.then((request) => request(this.axios, this.basePath));
|
|
17758
18638
|
}
|
|
17759
18639
|
/**
|
|
17760
18640
|
*
|
|
17761
|
-
* @
|
|
17762
|
-
* @param {
|
|
17763
|
-
* @param {
|
|
17764
|
-
* @param {string} [
|
|
17765
|
-
* @param {string} [sort]
|
|
17766
|
-
* @param {Array<string>} [fields]
|
|
17767
|
-
* @param {number} [objectId]
|
|
17768
|
-
* @param {string} [objectName]
|
|
17769
|
-
* @param {'DEFAULT_NO_ACTION' | 'CREATE' | 'UPDATE' | 'READ' | 'DELETE'} [action] GENERAL filters.
|
|
17770
|
-
* @param {string} [userIp]
|
|
17771
|
-
* @param {string} [dateFrom]
|
|
17772
|
-
* @param {string} [dateTo]
|
|
18641
|
+
* @summary Remove Contact Managers associations.
|
|
18642
|
+
* @param {string} contactId Contact ID associated with.
|
|
18643
|
+
* @param {Array<string>} etag Set of unique ID(s) to remove.
|
|
18644
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
17773
18645
|
* @param {*} [options] Override http request option.
|
|
17774
18646
|
* @throws {RequiredError}
|
|
17775
|
-
* @memberof
|
|
18647
|
+
* @memberof ManagersApi
|
|
17776
18648
|
*/
|
|
17777
|
-
|
|
17778
|
-
return
|
|
17779
|
-
.
|
|
18649
|
+
deleteManagers(contactId, etag, fields, options) {
|
|
18650
|
+
return ManagersApiFp(this.configuration)
|
|
18651
|
+
.deleteManagers(contactId, etag, fields, options)
|
|
18652
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18653
|
+
}
|
|
18654
|
+
/**
|
|
18655
|
+
*
|
|
18656
|
+
* @summary Search the Contact\'s Managers.
|
|
18657
|
+
* @param {string} contactId Contact ID associated with.
|
|
18658
|
+
* @param {number} [page] Page number of result. offset = ((page-1)*size)
|
|
18659
|
+
* @param {number} [size] Size of result page. limit = (size++)
|
|
18660
|
+
* @param {string} [q] Search term: user name; `?` - matches any one character `*` - matches 0 or more characters
|
|
18661
|
+
* @param {Array<string>} [sort] Sort the result according to fields.
|
|
18662
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18663
|
+
* @param {Array<string>} [id] Record(s) with unique ID only.
|
|
18664
|
+
* @param {*} [options] Override http request option.
|
|
18665
|
+
* @throws {RequiredError}
|
|
18666
|
+
* @memberof ManagersApi
|
|
18667
|
+
*/
|
|
18668
|
+
listManagers(contactId, page, size, q, sort, fields, id, options) {
|
|
18669
|
+
return ManagersApiFp(this.configuration)
|
|
18670
|
+
.listManagers(contactId, page, size, q, sort, fields, id, options)
|
|
18671
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18672
|
+
}
|
|
18673
|
+
/**
|
|
18674
|
+
*
|
|
18675
|
+
* @summary Locate the manager address link.
|
|
18676
|
+
* @param {string} contactId Contact source ID.
|
|
18677
|
+
* @param {string} etag Unique manager link IDentifier. Accept: `etag` (obsolete+) or `id`.
|
|
18678
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result.
|
|
18679
|
+
* @param {*} [options] Override http request option.
|
|
18680
|
+
* @throws {RequiredError}
|
|
18681
|
+
* @memberof ManagersApi
|
|
18682
|
+
*/
|
|
18683
|
+
locateManager(contactId, etag, fields, options) {
|
|
18684
|
+
return ManagersApiFp(this.configuration)
|
|
18685
|
+
.locateManager(contactId, etag, fields, options)
|
|
18686
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18687
|
+
}
|
|
18688
|
+
/**
|
|
18689
|
+
*
|
|
18690
|
+
* @summary Associate new Managers to the Contact.
|
|
18691
|
+
* @param {string} contactId Link contact ID.
|
|
18692
|
+
* @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
|
|
18693
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18694
|
+
* @param {*} [options] Override http request option.
|
|
18695
|
+
* @throws {RequiredError}
|
|
18696
|
+
* @memberof ManagersApi
|
|
18697
|
+
*/
|
|
18698
|
+
mergeManagers(contactId, input, fields, options) {
|
|
18699
|
+
return ManagersApiFp(this.configuration)
|
|
18700
|
+
.mergeManagers(contactId, input, fields, options)
|
|
18701
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18702
|
+
}
|
|
18703
|
+
/**
|
|
18704
|
+
*
|
|
18705
|
+
* @summary Reset Managers to fit the specified final set.
|
|
18706
|
+
* @param {string} contactId Contact ID associated with.
|
|
18707
|
+
* @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become `primary` if no other specified.
|
|
18708
|
+
* @param {Array<string>} [fields] Fields to be retrieved as a result.
|
|
18709
|
+
* @param {*} [options] Override http request option.
|
|
18710
|
+
* @throws {RequiredError}
|
|
18711
|
+
* @memberof ManagersApi
|
|
18712
|
+
*/
|
|
18713
|
+
resetManagers(contactId, input, fields, options) {
|
|
18714
|
+
return ManagersApiFp(this.configuration)
|
|
18715
|
+
.resetManagers(contactId, input, fields, options)
|
|
18716
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18717
|
+
}
|
|
18718
|
+
/**
|
|
18719
|
+
*
|
|
18720
|
+
* @summary Update the contact\'s manager address link details
|
|
18721
|
+
* @param {string} contactId Link contact ID.
|
|
18722
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18723
|
+
* @param {NEWUpdateOfTheManagerLink} input
|
|
18724
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18725
|
+
* @param {*} [options] Override http request option.
|
|
18726
|
+
* @throws {RequiredError}
|
|
18727
|
+
* @memberof ManagersApi
|
|
18728
|
+
*/
|
|
18729
|
+
updateManager(contactId, etag, input, fields, options) {
|
|
18730
|
+
return ManagersApiFp(this.configuration)
|
|
18731
|
+
.updateManager(contactId, etag, input, fields, options)
|
|
18732
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18733
|
+
}
|
|
18734
|
+
/**
|
|
18735
|
+
*
|
|
18736
|
+
* @summary Update the contact\'s manager address link details
|
|
18737
|
+
* @param {string} contactId Link contact ID.
|
|
18738
|
+
* @param {string} etag Unique ID of the latest version of an existing resource.
|
|
18739
|
+
* @param {NEWUpdateOfTheManagerLink1} input
|
|
18740
|
+
* @param {Array<string>} [fields] Fields to be retrieved into result of changes.
|
|
18741
|
+
* @param {*} [options] Override http request option.
|
|
18742
|
+
* @throws {RequiredError}
|
|
18743
|
+
* @memberof ManagersApi
|
|
18744
|
+
*/
|
|
18745
|
+
updateManager2(contactId, etag, input, fields, options) {
|
|
18746
|
+
return ManagersApiFp(this.configuration)
|
|
18747
|
+
.updateManager2(contactId, etag, input, fields, options)
|
|
17780
18748
|
.then((request) => request(this.axios, this.basePath));
|
|
17781
18749
|
}
|
|
17782
18750
|
}
|
|
@@ -37289,14 +38257,40 @@ var HistoryFileJobHistoryFileJobState;
|
|
|
37289
38257
|
* @export
|
|
37290
38258
|
* @enum {string}
|
|
37291
38259
|
*/
|
|
37292
|
-
var
|
|
37293
|
-
(function (
|
|
37294
|
-
|
|
37295
|
-
|
|
37296
|
-
|
|
37297
|
-
|
|
37298
|
-
|
|
37299
|
-
})(
|
|
38260
|
+
var LoggerAction;
|
|
38261
|
+
(function (LoggerAction) {
|
|
38262
|
+
LoggerAction["DefaultNoAction"] = "default_no_action";
|
|
38263
|
+
LoggerAction["Create"] = "create";
|
|
38264
|
+
LoggerAction["Update"] = "update";
|
|
38265
|
+
LoggerAction["Read"] = "read";
|
|
38266
|
+
LoggerAction["Delete"] = "delete";
|
|
38267
|
+
})(LoggerAction || (LoggerAction = {}));
|
|
38268
|
+
|
|
38269
|
+
// tslint:disable
|
|
38270
|
+
/**
|
|
38271
|
+
* Webitel engine API
|
|
38272
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
38273
|
+
*
|
|
38274
|
+
* The version of the OpenAPI document: 23.07.0
|
|
38275
|
+
* Contact: support@webitel.com
|
|
38276
|
+
*
|
|
38277
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
38278
|
+
* https://openapi-generator.tech
|
|
38279
|
+
* Do not edit the class manually.
|
|
38280
|
+
*/
|
|
38281
|
+
|
|
38282
|
+
// tslint:disable
|
|
38283
|
+
/**
|
|
38284
|
+
* Webitel engine API
|
|
38285
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
38286
|
+
*
|
|
38287
|
+
* The version of the OpenAPI document: 23.07.0
|
|
38288
|
+
* Contact: support@webitel.com
|
|
38289
|
+
*
|
|
38290
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
38291
|
+
* https://openapi-generator.tech
|
|
38292
|
+
* Do not edit the class manually.
|
|
38293
|
+
*/
|
|
37300
38294
|
|
|
37301
38295
|
// tslint:disable
|
|
37302
38296
|
/**
|
|
@@ -41787,5 +42781,5 @@ class ExternalClient extends ee_3 {
|
|
|
41787
42781
|
|
|
41788
42782
|
// tslint:disable
|
|
41789
42783
|
|
|
41790
|
-
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState,
|
|
42784
|
+
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, ManagersApiAxiosParamCreator, ManagersApiFp, ManagersApiFactory, ManagersApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerAction, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, PauseNotAllowedError, SipClient, ExternalClient, SipPhone, Log };
|
|
41791
42785
|
//# sourceMappingURL=index.esm.js.map
|