webitel-sdk 0.1.192 → 0.1.194
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 +266 -8
- 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 +274 -7
- 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/call-service-api.js +200 -0
- package/esm2015/api/call-service-api.js.map +1 -1
- package/esm2015/api/communication-type-service-api.js +14 -7
- package/esm2015/api/communication-type-service-api.js.map +1 -1
- package/esm2015/api/engine-communication-channels.js +25 -0
- package/esm2015/api/engine-communication-channels.js.map +1 -0
- package/esm2015/api/engine-patch-history-call-request.js +13 -0
- package/esm2015/api/engine-patch-history-call-request.js.map +1 -0
- package/esm2015/api/engine-search-history-call-request.js +13 -0
- package/esm2015/api/engine-search-history-call-request.js.map +1 -0
- package/esm2015/api/index.js +3 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm5/api/call-service-api.js +226 -0
- package/esm5/api/call-service-api.js.map +1 -1
- package/esm5/api/communication-type-service-api.js +14 -7
- package/esm5/api/communication-type-service-api.js.map +1 -1
- package/esm5/api/engine-communication-channels.js +25 -0
- package/esm5/api/engine-communication-channels.js.map +1 -0
- package/esm5/api/engine-patch-history-call-request.js +13 -0
- package/esm5/api/engine-patch-history-call-request.js.map +1 -0
- package/esm5/api/engine-search-history-call-request.js +13 -0
- package/esm5/api/engine-search-history-call-request.js.map +1 -0
- package/esm5/api/index.js +3 -0
- package/esm5/api/index.js.map +1 -1
- package/package.json +1 -1
- package/types/api/call-service-api.d.ts +69 -0
- package/types/api/call-service-api.d.ts.map +1 -1
- package/types/api/communication-type-service-api.d.ts +8 -4
- package/types/api/communication-type-service-api.d.ts.map +1 -1
- package/types/api/create-call-request-call-settings.d.ts +6 -0
- package/types/api/create-call-request-call-settings.d.ts.map +1 -1
- package/types/api/engine-agent.d.ts +2 -2
- package/types/api/engine-agent.d.ts.map +1 -1
- package/types/api/engine-communication-channels.d.ts +23 -0
- package/types/api/engine-communication-channels.d.ts.map +1 -0
- package/types/api/engine-communication-type-request.d.ts +7 -6
- package/types/api/engine-communication-type-request.d.ts.map +1 -1
- package/types/api/engine-communication-type.d.ts +7 -6
- package/types/api/engine-communication-type.d.ts.map +1 -1
- package/types/api/engine-history-call.d.ts +6 -0
- package/types/api/engine-history-call.d.ts.map +1 -1
- package/types/api/engine-patch-history-call-request.d.ts +33 -0
- package/types/api/engine-patch-history-call-request.d.ts.map +1 -0
- package/types/api/engine-search-history-call-request.d.ts +281 -0
- package/types/api/engine-search-history-call-request.d.ts.map +1 -0
- package/types/api/engine-update-communication-type-request.d.ts +7 -6
- package/types/api/engine-update-communication-type-request.d.ts.map +1 -1
- package/types/api/index.d.ts +3 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/storage-cognitive-profile.d.ts +2 -4
- package/types/api/storage-cognitive-profile.d.ts.map +1 -1
- package/types/api/storage-create-cognitive-profile-request.d.ts +2 -4
- package/types/api/storage-create-cognitive-profile-request.d.ts.map +1 -1
- package/types/api/storage-patch-cognitive-profile-request.d.ts +2 -4
- package/types/api/storage-patch-cognitive-profile-request.d.ts.map +1 -1
- package/types/api/storage-update-cognitive-profile-request.d.ts +2 -4
- package/types/api/storage-update-cognitive-profile-request.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -8202,6 +8202,66 @@ const CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
8202
8202
|
options: localVarRequestOptions,
|
|
8203
8203
|
};
|
|
8204
8204
|
},
|
|
8205
|
+
/**
|
|
8206
|
+
*
|
|
8207
|
+
* @param {string} id
|
|
8208
|
+
* @param {EnginePatchHistoryCallRequest} body
|
|
8209
|
+
* @param {*} [options] Override http request option.
|
|
8210
|
+
* @throws {RequiredError}
|
|
8211
|
+
*/
|
|
8212
|
+
patchHistoryCall: async (id, body, options = {}) => {
|
|
8213
|
+
// verify required parameter 'id' is not null or undefined
|
|
8214
|
+
if (id === null || id === undefined) {
|
|
8215
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchHistoryCall.');
|
|
8216
|
+
}
|
|
8217
|
+
// verify required parameter 'body' is not null or undefined
|
|
8218
|
+
if (body === null || body === undefined) {
|
|
8219
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchHistoryCall.');
|
|
8220
|
+
}
|
|
8221
|
+
const localVarPath = `/calls/history/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
8222
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
8223
|
+
let baseOptions;
|
|
8224
|
+
if (configuration) {
|
|
8225
|
+
baseOptions = configuration.baseOptions;
|
|
8226
|
+
}
|
|
8227
|
+
const localVarRequestOptions = {
|
|
8228
|
+
method: 'PATCH',
|
|
8229
|
+
...baseOptions,
|
|
8230
|
+
...options,
|
|
8231
|
+
};
|
|
8232
|
+
const localVarHeaderParameter = {};
|
|
8233
|
+
const localVarQueryParameter = {};
|
|
8234
|
+
// authentication AccessToken required
|
|
8235
|
+
if (configuration && configuration.apiKey) {
|
|
8236
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8237
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
8238
|
+
: await configuration.apiKey;
|
|
8239
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
8240
|
+
}
|
|
8241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8242
|
+
localVarUrlObj.query = {
|
|
8243
|
+
...localVarUrlObj.query,
|
|
8244
|
+
...localVarQueryParameter,
|
|
8245
|
+
...options.query,
|
|
8246
|
+
};
|
|
8247
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8248
|
+
delete localVarUrlObj.search;
|
|
8249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8250
|
+
localVarRequestOptions.headers = {
|
|
8251
|
+
...localVarHeaderParameter,
|
|
8252
|
+
...headersFromBaseOptions,
|
|
8253
|
+
...options.headers,
|
|
8254
|
+
};
|
|
8255
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
8256
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8257
|
+
localVarRequestOptions.data = needsSerialization
|
|
8258
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
8259
|
+
: body || '';
|
|
8260
|
+
return {
|
|
8261
|
+
url: format(localVarUrlObj),
|
|
8262
|
+
options: localVarRequestOptions,
|
|
8263
|
+
};
|
|
8264
|
+
},
|
|
8205
8265
|
/**
|
|
8206
8266
|
*
|
|
8207
8267
|
* @summary Call item
|
|
@@ -8657,6 +8717,62 @@ const CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
8657
8717
|
options: localVarRequestOptions,
|
|
8658
8718
|
};
|
|
8659
8719
|
},
|
|
8720
|
+
/**
|
|
8721
|
+
*
|
|
8722
|
+
* @summary List of call
|
|
8723
|
+
* @param {EngineSearchHistoryCallRequest} body
|
|
8724
|
+
* @param {*} [options] Override http request option.
|
|
8725
|
+
* @throws {RequiredError}
|
|
8726
|
+
*/
|
|
8727
|
+
searchHistoryCallPost: async (body, options = {}) => {
|
|
8728
|
+
// verify required parameter 'body' is not null or undefined
|
|
8729
|
+
if (body === null || body === undefined) {
|
|
8730
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling searchHistoryCallPost.');
|
|
8731
|
+
}
|
|
8732
|
+
const localVarPath = `/calls/history`;
|
|
8733
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
8734
|
+
let baseOptions;
|
|
8735
|
+
if (configuration) {
|
|
8736
|
+
baseOptions = configuration.baseOptions;
|
|
8737
|
+
}
|
|
8738
|
+
const localVarRequestOptions = {
|
|
8739
|
+
method: 'POST',
|
|
8740
|
+
...baseOptions,
|
|
8741
|
+
...options,
|
|
8742
|
+
};
|
|
8743
|
+
const localVarHeaderParameter = {};
|
|
8744
|
+
const localVarQueryParameter = {};
|
|
8745
|
+
// authentication AccessToken required
|
|
8746
|
+
if (configuration && configuration.apiKey) {
|
|
8747
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8748
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
8749
|
+
: await configuration.apiKey;
|
|
8750
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
8751
|
+
}
|
|
8752
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8753
|
+
localVarUrlObj.query = {
|
|
8754
|
+
...localVarUrlObj.query,
|
|
8755
|
+
...localVarQueryParameter,
|
|
8756
|
+
...options.query,
|
|
8757
|
+
};
|
|
8758
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8759
|
+
delete localVarUrlObj.search;
|
|
8760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8761
|
+
localVarRequestOptions.headers = {
|
|
8762
|
+
...localVarHeaderParameter,
|
|
8763
|
+
...headersFromBaseOptions,
|
|
8764
|
+
...options.headers,
|
|
8765
|
+
};
|
|
8766
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
8767
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8768
|
+
localVarRequestOptions.data = needsSerialization
|
|
8769
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
8770
|
+
: body || '';
|
|
8771
|
+
return {
|
|
8772
|
+
url: format(localVarUrlObj),
|
|
8773
|
+
options: localVarRequestOptions,
|
|
8774
|
+
};
|
|
8775
|
+
},
|
|
8660
8776
|
/**
|
|
8661
8777
|
*
|
|
8662
8778
|
* @param {string} id
|
|
@@ -9020,6 +9136,23 @@ const CallServiceApiFp = function (configuration) {
|
|
|
9020
9136
|
return axios.request(axiosRequestArgs);
|
|
9021
9137
|
};
|
|
9022
9138
|
},
|
|
9139
|
+
/**
|
|
9140
|
+
*
|
|
9141
|
+
* @param {string} id
|
|
9142
|
+
* @param {EnginePatchHistoryCallRequest} body
|
|
9143
|
+
* @param {*} [options] Override http request option.
|
|
9144
|
+
* @throws {RequiredError}
|
|
9145
|
+
*/
|
|
9146
|
+
async patchHistoryCall(id, body, options) {
|
|
9147
|
+
const localVarAxiosArgs = await CallServiceApiAxiosParamCreator(configuration).patchHistoryCall(id, body, options);
|
|
9148
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
9149
|
+
const axiosRequestArgs = {
|
|
9150
|
+
...localVarAxiosArgs.options,
|
|
9151
|
+
url: basePath + localVarAxiosArgs.url,
|
|
9152
|
+
};
|
|
9153
|
+
return axios.request(axiosRequestArgs);
|
|
9154
|
+
};
|
|
9155
|
+
},
|
|
9023
9156
|
/**
|
|
9024
9157
|
*
|
|
9025
9158
|
* @summary Call item
|
|
@@ -9147,6 +9280,23 @@ const CallServiceApiFp = function (configuration) {
|
|
|
9147
9280
|
return axios.request(axiosRequestArgs);
|
|
9148
9281
|
};
|
|
9149
9282
|
},
|
|
9283
|
+
/**
|
|
9284
|
+
*
|
|
9285
|
+
* @summary List of call
|
|
9286
|
+
* @param {EngineSearchHistoryCallRequest} body
|
|
9287
|
+
* @param {*} [options] Override http request option.
|
|
9288
|
+
* @throws {RequiredError}
|
|
9289
|
+
*/
|
|
9290
|
+
async searchHistoryCallPost(body, options) {
|
|
9291
|
+
const localVarAxiosArgs = await CallServiceApiAxiosParamCreator(configuration).searchHistoryCallPost(body, options);
|
|
9292
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
9293
|
+
const axiosRequestArgs = {
|
|
9294
|
+
...localVarAxiosArgs.options,
|
|
9295
|
+
url: basePath + localVarAxiosArgs.url,
|
|
9296
|
+
};
|
|
9297
|
+
return axios.request(axiosRequestArgs);
|
|
9298
|
+
};
|
|
9299
|
+
},
|
|
9150
9300
|
/**
|
|
9151
9301
|
*
|
|
9152
9302
|
* @param {string} id
|
|
@@ -9325,6 +9475,18 @@ const CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
9325
9475
|
.holdCall(id, body, options)
|
|
9326
9476
|
.then((request) => request(axios, basePath));
|
|
9327
9477
|
},
|
|
9478
|
+
/**
|
|
9479
|
+
*
|
|
9480
|
+
* @param {string} id
|
|
9481
|
+
* @param {EnginePatchHistoryCallRequest} body
|
|
9482
|
+
* @param {*} [options] Override http request option.
|
|
9483
|
+
* @throws {RequiredError}
|
|
9484
|
+
*/
|
|
9485
|
+
patchHistoryCall(id, body, options) {
|
|
9486
|
+
return CallServiceApiFp(configuration)
|
|
9487
|
+
.patchHistoryCall(id, body, options)
|
|
9488
|
+
.then((request) => request(axios, basePath));
|
|
9489
|
+
},
|
|
9328
9490
|
/**
|
|
9329
9491
|
*
|
|
9330
9492
|
* @summary Call item
|
|
@@ -9437,6 +9599,18 @@ const CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
9437
9599
|
.searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, granteeId, amdAiResult, talkFrom, talkTo, rated, ratedBy, scoreRequiredFrom, scoreRequiredTo, scoreOptionalFrom, scoreOptionalTo, ratedUser, options)
|
|
9438
9600
|
.then((request) => request(axios, basePath));
|
|
9439
9601
|
},
|
|
9602
|
+
/**
|
|
9603
|
+
*
|
|
9604
|
+
* @summary List of call
|
|
9605
|
+
* @param {EngineSearchHistoryCallRequest} body
|
|
9606
|
+
* @param {*} [options] Override http request option.
|
|
9607
|
+
* @throws {RequiredError}
|
|
9608
|
+
*/
|
|
9609
|
+
searchHistoryCallPost(body, options) {
|
|
9610
|
+
return CallServiceApiFp(configuration)
|
|
9611
|
+
.searchHistoryCallPost(body, options)
|
|
9612
|
+
.then((request) => request(axios, basePath));
|
|
9613
|
+
},
|
|
9440
9614
|
/**
|
|
9441
9615
|
*
|
|
9442
9616
|
* @param {string} id
|
|
@@ -9611,6 +9785,19 @@ class CallServiceApi extends BaseAPI {
|
|
|
9611
9785
|
.holdCall(id, body, options)
|
|
9612
9786
|
.then((request) => request(this.axios, this.basePath));
|
|
9613
9787
|
}
|
|
9788
|
+
/**
|
|
9789
|
+
*
|
|
9790
|
+
* @param {string} id
|
|
9791
|
+
* @param {EnginePatchHistoryCallRequest} body
|
|
9792
|
+
* @param {*} [options] Override http request option.
|
|
9793
|
+
* @throws {RequiredError}
|
|
9794
|
+
* @memberof CallServiceApi
|
|
9795
|
+
*/
|
|
9796
|
+
patchHistoryCall(id, body, options) {
|
|
9797
|
+
return CallServiceApiFp(this.configuration)
|
|
9798
|
+
.patchHistoryCall(id, body, options)
|
|
9799
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9800
|
+
}
|
|
9614
9801
|
/**
|
|
9615
9802
|
*
|
|
9616
9803
|
* @summary Call item
|
|
@@ -9726,6 +9913,19 @@ class CallServiceApi extends BaseAPI {
|
|
|
9726
9913
|
.searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, granteeId, amdAiResult, talkFrom, talkTo, rated, ratedBy, scoreRequiredFrom, scoreRequiredTo, scoreOptionalFrom, scoreOptionalTo, ratedUser, options)
|
|
9727
9914
|
.then((request) => request(this.axios, this.basePath));
|
|
9728
9915
|
}
|
|
9916
|
+
/**
|
|
9917
|
+
*
|
|
9918
|
+
* @summary List of call
|
|
9919
|
+
* @param {EngineSearchHistoryCallRequest} body
|
|
9920
|
+
* @param {*} [options] Override http request option.
|
|
9921
|
+
* @throws {RequiredError}
|
|
9922
|
+
* @memberof CallServiceApi
|
|
9923
|
+
*/
|
|
9924
|
+
searchHistoryCallPost(body, options) {
|
|
9925
|
+
return CallServiceApiFp(this.configuration)
|
|
9926
|
+
.searchHistoryCallPost(body, options)
|
|
9927
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9928
|
+
}
|
|
9729
9929
|
/**
|
|
9730
9930
|
*
|
|
9731
9931
|
* @param {string} id
|
|
@@ -10732,10 +10932,11 @@ const CommunicationTypeServiceApiAxiosParamCreator = function (configuration) {
|
|
|
10732
10932
|
* @param {string} [sort]
|
|
10733
10933
|
* @param {Array<string>} [fields]
|
|
10734
10934
|
* @param {Array<number>} [id]
|
|
10935
|
+
* @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel]
|
|
10735
10936
|
* @param {*} [options] Override http request option.
|
|
10736
10937
|
* @throws {RequiredError}
|
|
10737
10938
|
*/
|
|
10738
|
-
searchCommunicationType: async (page, size, q, sort, fields, id, options = {}) => {
|
|
10939
|
+
searchCommunicationType: async (page, size, q, sort, fields, id, channel, options = {}) => {
|
|
10739
10940
|
const localVarPath = `/call_center/communication_type`;
|
|
10740
10941
|
const localVarUrlObj = parse(localVarPath, true);
|
|
10741
10942
|
let baseOptions;
|
|
@@ -10774,6 +10975,9 @@ const CommunicationTypeServiceApiAxiosParamCreator = function (configuration) {
|
|
|
10774
10975
|
if (id) {
|
|
10775
10976
|
localVarQueryParameter['id'] = id;
|
|
10776
10977
|
}
|
|
10978
|
+
if (channel) {
|
|
10979
|
+
localVarQueryParameter['channel'] = channel;
|
|
10980
|
+
}
|
|
10777
10981
|
localVarUrlObj.query = {
|
|
10778
10982
|
...localVarUrlObj.query,
|
|
10779
10983
|
...localVarQueryParameter,
|
|
@@ -10923,11 +11127,12 @@ const CommunicationTypeServiceApiFp = function (configuration) {
|
|
|
10923
11127
|
* @param {string} [sort]
|
|
10924
11128
|
* @param {Array<string>} [fields]
|
|
10925
11129
|
* @param {Array<number>} [id]
|
|
11130
|
+
* @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel]
|
|
10926
11131
|
* @param {*} [options] Override http request option.
|
|
10927
11132
|
* @throws {RequiredError}
|
|
10928
11133
|
*/
|
|
10929
|
-
async searchCommunicationType(page, size, q, sort, fields, id, options) {
|
|
10930
|
-
const localVarAxiosArgs = await CommunicationTypeServiceApiAxiosParamCreator(configuration).searchCommunicationType(page, size, q, sort, fields, id, options);
|
|
11134
|
+
async searchCommunicationType(page, size, q, sort, fields, id, channel, options) {
|
|
11135
|
+
const localVarAxiosArgs = await CommunicationTypeServiceApiAxiosParamCreator(configuration).searchCommunicationType(page, size, q, sort, fields, id, channel, options);
|
|
10931
11136
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
10932
11137
|
const axiosRequestArgs = {
|
|
10933
11138
|
...localVarAxiosArgs.options,
|
|
@@ -11009,12 +11214,13 @@ const CommunicationTypeServiceApiFactory = function (configuration, basePath, ax
|
|
|
11009
11214
|
* @param {string} [sort]
|
|
11010
11215
|
* @param {Array<string>} [fields]
|
|
11011
11216
|
* @param {Array<number>} [id]
|
|
11217
|
+
* @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel]
|
|
11012
11218
|
* @param {*} [options] Override http request option.
|
|
11013
11219
|
* @throws {RequiredError}
|
|
11014
11220
|
*/
|
|
11015
|
-
searchCommunicationType(page, size, q, sort, fields, id, options) {
|
|
11221
|
+
searchCommunicationType(page, size, q, sort, fields, id, channel, options) {
|
|
11016
11222
|
return CommunicationTypeServiceApiFp(configuration)
|
|
11017
|
-
.searchCommunicationType(page, size, q, sort, fields, id, options)
|
|
11223
|
+
.searchCommunicationType(page, size, q, sort, fields, id, channel, options)
|
|
11018
11224
|
.then((request) => request(axios, basePath));
|
|
11019
11225
|
},
|
|
11020
11226
|
/**
|
|
@@ -11089,13 +11295,14 @@ class CommunicationTypeServiceApi extends BaseAPI {
|
|
|
11089
11295
|
* @param {string} [sort]
|
|
11090
11296
|
* @param {Array<string>} [fields]
|
|
11091
11297
|
* @param {Array<number>} [id]
|
|
11298
|
+
* @param {Array<'Undefined' | 'Phone' | 'Email' | 'Messaging'>} [channel]
|
|
11092
11299
|
* @param {*} [options] Override http request option.
|
|
11093
11300
|
* @throws {RequiredError}
|
|
11094
11301
|
* @memberof CommunicationTypeServiceApi
|
|
11095
11302
|
*/
|
|
11096
|
-
searchCommunicationType(page, size, q, sort, fields, id, options) {
|
|
11303
|
+
searchCommunicationType(page, size, q, sort, fields, id, channel, options) {
|
|
11097
11304
|
return CommunicationTypeServiceApiFp(this.configuration)
|
|
11098
|
-
.searchCommunicationType(page, size, q, sort, fields, id, options)
|
|
11305
|
+
.searchCommunicationType(page, size, q, sort, fields, id, channel, options)
|
|
11099
11306
|
.then((request) => request(this.axios, this.basePath));
|
|
11100
11307
|
}
|
|
11101
11308
|
/**
|
|
@@ -29852,6 +30059,44 @@ var EngineBoolFilter;
|
|
|
29852
30059
|
* Do not edit the class manually.
|
|
29853
30060
|
*/
|
|
29854
30061
|
|
|
30062
|
+
// tslint:disable
|
|
30063
|
+
/**
|
|
30064
|
+
* Webitel engine API
|
|
30065
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
30066
|
+
*
|
|
30067
|
+
* The version of the OpenAPI document: 23.02.0
|
|
30068
|
+
* Contact: support@webitel.com
|
|
30069
|
+
*
|
|
30070
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
30071
|
+
* https://openapi-generator.tech
|
|
30072
|
+
* Do not edit the class manually.
|
|
30073
|
+
*/
|
|
30074
|
+
|
|
30075
|
+
// tslint:disable
|
|
30076
|
+
/**
|
|
30077
|
+
* Webitel engine API
|
|
30078
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
30079
|
+
*
|
|
30080
|
+
* The version of the OpenAPI document: 23.02.0
|
|
30081
|
+
* Contact: support@webitel.com
|
|
30082
|
+
*
|
|
30083
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
30084
|
+
* https://openapi-generator.tech
|
|
30085
|
+
* Do not edit the class manually.
|
|
30086
|
+
*/
|
|
30087
|
+
/**
|
|
30088
|
+
*
|
|
30089
|
+
* @export
|
|
30090
|
+
* @enum {string}
|
|
30091
|
+
*/
|
|
30092
|
+
var EngineCommunicationChannels;
|
|
30093
|
+
(function (EngineCommunicationChannels) {
|
|
30094
|
+
EngineCommunicationChannels["Undefined"] = "Undefined";
|
|
30095
|
+
EngineCommunicationChannels["Phone"] = "Phone";
|
|
30096
|
+
EngineCommunicationChannels["Email"] = "Email";
|
|
30097
|
+
EngineCommunicationChannels["Messaging"] = "Messaging";
|
|
30098
|
+
})(EngineCommunicationChannels || (EngineCommunicationChannels = {}));
|
|
30099
|
+
|
|
29855
30100
|
// tslint:disable
|
|
29856
30101
|
/**
|
|
29857
30102
|
* Webitel engine API
|
|
@@ -32215,6 +32460,19 @@ var EngineRoutingSchemaType;
|
|
|
32215
32460
|
* Do not edit the class manually.
|
|
32216
32461
|
*/
|
|
32217
32462
|
|
|
32463
|
+
// tslint:disable
|
|
32464
|
+
/**
|
|
32465
|
+
* Webitel engine API
|
|
32466
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
32467
|
+
*
|
|
32468
|
+
* The version of the OpenAPI document: 23.02.0
|
|
32469
|
+
* Contact: support@webitel.com
|
|
32470
|
+
*
|
|
32471
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
32472
|
+
* https://openapi-generator.tech
|
|
32473
|
+
* Do not edit the class manually.
|
|
32474
|
+
*/
|
|
32475
|
+
|
|
32218
32476
|
// tslint:disable
|
|
32219
32477
|
/**
|
|
32220
32478
|
* Webitel engine API
|
|
@@ -36349,5 +36607,5 @@ class ExternalClient extends ee_3 {
|
|
|
36349
36607
|
|
|
36350
36608
|
// tslint:disable
|
|
36351
36609
|
|
|
36352
|
-
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, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, 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, Configuration, EngineAuditQuestionType, EngineBoolFilter, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
36610
|
+
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, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, 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, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
36353
36611
|
//# sourceMappingURL=index.esm.js.map
|