webitel-sdk 0.1.164 → 0.1.166
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 +1664 -1664
- 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 +1664 -1664
- 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/agent-pause-cause-service-api.js +49 -49
- package/esm2015/api/agent-pause-cause-service-api.js.map +1 -1
- package/esm2015/api/agent-service-api.js +151 -151
- package/esm2015/api/agent-service-api.js.map +1 -1
- package/esm2015/api/agent-skill-service-api.js +63 -63
- package/esm2015/api/agent-skill-service-api.js.map +1 -1
- package/esm2015/api/agent-team-service-api.js +40 -40
- package/esm2015/api/agent-team-service-api.js.map +1 -1
- package/esm2015/api/bucket-service-api.js +40 -40
- package/esm2015/api/bucket-service-api.js.map +1 -1
- package/esm2015/api/calendar-service-api.js +47 -47
- package/esm2015/api/calendar-service-api.js.map +1 -1
- package/esm2015/api/call-service-api.js +128 -128
- package/esm2015/api/call-service-api.js.map +1 -1
- package/esm2015/api/communication-type-service-api.js +40 -40
- package/esm2015/api/communication-type-service-api.js.map +1 -1
- package/esm2015/api/email-profile-service-api.js +57 -57
- package/esm2015/api/email-profile-service-api.js.map +1 -1
- package/esm2015/api/list-service-api.js +85 -85
- package/esm2015/api/list-service-api.js.map +1 -1
- package/esm2015/api/member-service-api.js +151 -151
- package/esm2015/api/member-service-api.js.map +1 -1
- package/esm2015/api/outbound-resource-group-service-api.js +85 -85
- package/esm2015/api/outbound-resource-group-service-api.js.map +1 -1
- package/esm2015/api/outbound-resource-service-api.js +94 -94
- package/esm2015/api/outbound-resource-service-api.js.map +1 -1
- package/esm2015/api/queue-bucket-service-api.js +55 -55
- package/esm2015/api/queue-bucket-service-api.js.map +1 -1
- package/esm2015/api/queue-hook-service-api.js +55 -55
- package/esm2015/api/queue-hook-service-api.js.map +1 -1
- package/esm2015/api/queue-resources-service-api.js +45 -45
- package/esm2015/api/queue-resources-service-api.js.map +1 -1
- package/esm2015/api/queue-service-api.js +56 -56
- package/esm2015/api/queue-service-api.js.map +1 -1
- package/esm2015/api/queue-skill-service-api.js +55 -55
- package/esm2015/api/queue-skill-service-api.js.map +1 -1
- package/esm2015/api/region-service-api.js +49 -49
- package/esm2015/api/region-service-api.js.map +1 -1
- package/esm2015/api/routing-chat-plan-service-api.js +49 -49
- package/esm2015/api/routing-chat-plan-service-api.js.map +1 -1
- package/esm2015/api/routing-outbound-call-service-api.js +59 -59
- package/esm2015/api/routing-outbound-call-service-api.js.map +1 -1
- package/esm2015/api/routing-schema-service-api.js +56 -56
- package/esm2015/api/routing-schema-service-api.js.map +1 -1
- package/esm2015/api/routing-variable-service-api.js +40 -40
- package/esm2015/api/routing-variable-service-api.js.map +1 -1
- package/esm2015/api/skill-service-api.js +40 -40
- package/esm2015/api/skill-service-api.js.map +1 -1
- package/esm2015/api/trigger-service-api.js +66 -66
- package/esm2015/api/trigger-service-api.js.map +1 -1
- package/esm2015/api/user-helper-service-api.js +8 -8
- package/esm2015/api/user-helper-service-api.js.map +1 -1
- package/esm2015/enums/cloud-providers/microsoft/microsoft-language.enum.js +77 -54
- package/esm2015/enums/cloud-providers/microsoft/microsoft-language.enum.js.map +1 -1
- package/esm5/api/agent-pause-cause-service-api.js +49 -49
- package/esm5/api/agent-pause-cause-service-api.js.map +1 -1
- package/esm5/api/agent-service-api.js +151 -151
- package/esm5/api/agent-service-api.js.map +1 -1
- package/esm5/api/agent-skill-service-api.js +63 -63
- package/esm5/api/agent-skill-service-api.js.map +1 -1
- package/esm5/api/agent-team-service-api.js +40 -40
- package/esm5/api/agent-team-service-api.js.map +1 -1
- package/esm5/api/bucket-service-api.js +40 -40
- package/esm5/api/bucket-service-api.js.map +1 -1
- package/esm5/api/calendar-service-api.js +47 -47
- package/esm5/api/calendar-service-api.js.map +1 -1
- package/esm5/api/call-service-api.js +128 -128
- package/esm5/api/call-service-api.js.map +1 -1
- package/esm5/api/communication-type-service-api.js +40 -40
- package/esm5/api/communication-type-service-api.js.map +1 -1
- package/esm5/api/email-profile-service-api.js +57 -57
- package/esm5/api/email-profile-service-api.js.map +1 -1
- package/esm5/api/list-service-api.js +85 -85
- package/esm5/api/list-service-api.js.map +1 -1
- package/esm5/api/member-service-api.js +151 -151
- package/esm5/api/member-service-api.js.map +1 -1
- package/esm5/api/outbound-resource-group-service-api.js +85 -85
- package/esm5/api/outbound-resource-group-service-api.js.map +1 -1
- package/esm5/api/outbound-resource-service-api.js +94 -94
- package/esm5/api/outbound-resource-service-api.js.map +1 -1
- package/esm5/api/queue-bucket-service-api.js +55 -55
- package/esm5/api/queue-bucket-service-api.js.map +1 -1
- package/esm5/api/queue-hook-service-api.js +55 -55
- package/esm5/api/queue-hook-service-api.js.map +1 -1
- package/esm5/api/queue-resources-service-api.js +45 -45
- package/esm5/api/queue-resources-service-api.js.map +1 -1
- package/esm5/api/queue-service-api.js +56 -56
- package/esm5/api/queue-service-api.js.map +1 -1
- package/esm5/api/queue-skill-service-api.js +55 -55
- package/esm5/api/queue-skill-service-api.js.map +1 -1
- package/esm5/api/region-service-api.js +49 -49
- package/esm5/api/region-service-api.js.map +1 -1
- package/esm5/api/routing-chat-plan-service-api.js +49 -49
- package/esm5/api/routing-chat-plan-service-api.js.map +1 -1
- package/esm5/api/routing-outbound-call-service-api.js +59 -59
- package/esm5/api/routing-outbound-call-service-api.js.map +1 -1
- package/esm5/api/routing-schema-service-api.js +56 -56
- package/esm5/api/routing-schema-service-api.js.map +1 -1
- package/esm5/api/routing-variable-service-api.js +40 -40
- package/esm5/api/routing-variable-service-api.js.map +1 -1
- package/esm5/api/skill-service-api.js +40 -40
- package/esm5/api/skill-service-api.js.map +1 -1
- package/esm5/api/trigger-service-api.js +66 -66
- package/esm5/api/trigger-service-api.js.map +1 -1
- package/esm5/api/user-helper-service-api.js +8 -8
- package/esm5/api/user-helper-service-api.js.map +1 -1
- package/esm5/enums/cloud-providers/microsoft/microsoft-language.enum.js +77 -54
- package/esm5/enums/cloud-providers/microsoft/microsoft-language.enum.js.map +1 -1
- package/package.json +4 -4
- package/types/api/agent-pause-cause-service-api.d.ts +24 -24
- package/types/api/agent-pause-cause-service-api.d.ts.map +1 -1
- package/types/api/agent-service-api.d.ts +76 -76
- package/types/api/agent-service-api.d.ts.map +1 -1
- package/types/api/agent-skill-service-api.d.ts +28 -28
- package/types/api/agent-skill-service-api.d.ts.map +1 -1
- package/types/api/agent-team-service-api.d.ts +20 -20
- package/types/api/agent-team-service-api.d.ts.map +1 -1
- package/types/api/bucket-service-api.d.ts +20 -20
- package/types/api/bucket-service-api.d.ts.map +1 -1
- package/types/api/calendar-service-api.d.ts +24 -24
- package/types/api/calendar-service-api.d.ts.map +1 -1
- package/types/api/call-service-api.d.ts +60 -60
- package/types/api/call-service-api.d.ts.map +1 -1
- package/types/api/communication-type-service-api.d.ts +20 -20
- package/types/api/communication-type-service-api.d.ts.map +1 -1
- package/types/api/email-profile-service-api.d.ts +28 -28
- package/types/api/email-profile-service-api.d.ts.map +1 -1
- package/types/api/list-service-api.d.ts +40 -40
- package/types/api/list-service-api.d.ts.map +1 -1
- package/types/api/member-service-api.d.ts +68 -68
- package/types/api/member-service-api.d.ts.map +1 -1
- package/types/api/outbound-resource-group-service-api.d.ts +40 -40
- package/types/api/outbound-resource-group-service-api.d.ts.map +1 -1
- package/types/api/outbound-resource-service-api.d.ts +44 -44
- package/types/api/outbound-resource-service-api.d.ts.map +1 -1
- package/types/api/queue-bucket-service-api.d.ts +24 -24
- package/types/api/queue-bucket-service-api.d.ts.map +1 -1
- package/types/api/queue-hook-service-api.d.ts +24 -24
- package/types/api/queue-hook-service-api.d.ts.map +1 -1
- package/types/api/queue-resources-service-api.d.ts +20 -20
- package/types/api/queue-resources-service-api.d.ts.map +1 -1
- package/types/api/queue-service-api.d.ts +28 -28
- package/types/api/queue-service-api.d.ts.map +1 -1
- package/types/api/queue-skill-service-api.d.ts +24 -24
- package/types/api/queue-skill-service-api.d.ts.map +1 -1
- package/types/api/region-service-api.d.ts +24 -24
- package/types/api/region-service-api.d.ts.map +1 -1
- package/types/api/routing-chat-plan-service-api.d.ts +24 -24
- package/types/api/routing-chat-plan-service-api.d.ts.map +1 -1
- package/types/api/routing-outbound-call-service-api.d.ts +28 -28
- package/types/api/routing-outbound-call-service-api.d.ts.map +1 -1
- package/types/api/routing-schema-service-api.d.ts +28 -28
- package/types/api/routing-schema-service-api.d.ts.map +1 -1
- package/types/api/routing-variable-service-api.d.ts +20 -20
- package/types/api/routing-variable-service-api.d.ts.map +1 -1
- package/types/api/skill-service-api.d.ts +20 -20
- package/types/api/skill-service-api.d.ts.map +1 -1
- package/types/api/trigger-service-api.d.ts +32 -32
- package/types/api/trigger-service-api.d.ts.map +1 -1
- package/types/api/user-helper-service-api.d.ts +4 -4
- package/types/api/user-helper-service-api.d.ts.map +1 -1
- package/types/enums/cloud-providers/microsoft/microsoft-language.enum.d.ts.map +1 -1
- package/esm2015/api/create-call-request-endpoint-request.js +0 -13
- package/esm2015/api/create-call-request-endpoint-request.js.map +0 -1
- package/esm2015/api/upload-file-request-metadata.js +0 -13
- package/esm2015/api/upload-file-request-metadata.js.map +0 -1
- package/esm5/api/create-call-request-endpoint-request.js +0 -13
- package/esm5/api/create-call-request-endpoint-request.js.map +0 -1
- package/esm5/api/upload-file-request-metadata.js +0 -13
- package/esm5/api/upload-file-request-metadata.js.map +0 -1
- package/types/api/create-call-request-endpoint-request.d.ts +0 -43
- package/types/api/create-call-request-endpoint-request.d.ts.map +0 -1
- package/types/api/upload-file-request-metadata.d.ts +0 -43
- package/types/api/upload-file-request-metadata.d.ts.map +0 -1
|
@@ -30,7 +30,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
agentSetState: function (agentId, body, options) {
|
|
34
34
|
if (options === void 0) { options = {}; }
|
|
35
35
|
return __awaiter(_this, void 0, void 0, function () {
|
|
36
36
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -39,11 +39,11 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
case 0:
|
|
40
40
|
// verify required parameter 'agentId' is not null or undefined
|
|
41
41
|
if (agentId === null || agentId === undefined) {
|
|
42
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
42
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling agentSetState.');
|
|
43
43
|
}
|
|
44
44
|
// verify required parameter 'body' is not null or undefined
|
|
45
45
|
if (body === null || body === undefined) {
|
|
46
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
46
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling agentSetState.');
|
|
47
47
|
}
|
|
48
48
|
localVarPath = "/call_center/agents/{agent_id}/states/waiting".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
49
49
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -99,7 +99,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
agentStateHistory: function (agentId, page, size, timeFrom, timeTo, q, domainId, options) {
|
|
103
103
|
if (options === void 0) { options = {}; }
|
|
104
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
105
105
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -108,7 +108,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
case 0:
|
|
109
109
|
// verify required parameter 'agentId' is not null or undefined
|
|
110
110
|
if (agentId === null || agentId === undefined) {
|
|
111
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
111
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling agentStateHistory.');
|
|
112
112
|
}
|
|
113
113
|
localVarPath = "/call_center/agents/{agent_id}/states/history".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
114
114
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -171,7 +171,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
|
-
|
|
174
|
+
agentTodayStatistics: function (agentId, fields, options) {
|
|
175
175
|
if (options === void 0) { options = {}; }
|
|
176
176
|
return __awaiter(_this, void 0, void 0, function () {
|
|
177
177
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -180,7 +180,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
180
180
|
case 0:
|
|
181
181
|
// verify required parameter 'agentId' is not null or undefined
|
|
182
182
|
if (agentId === null || agentId === undefined) {
|
|
183
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
183
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling agentTodayStatistics.');
|
|
184
184
|
}
|
|
185
185
|
localVarPath = "/call_center/agents/{agent_id}/statistics/today".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
186
186
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -228,7 +228,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
*/
|
|
231
|
-
|
|
231
|
+
createAgent: function (body, options) {
|
|
232
232
|
if (options === void 0) { options = {}; }
|
|
233
233
|
return __awaiter(_this, void 0, void 0, function () {
|
|
234
234
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -237,7 +237,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
237
237
|
case 0:
|
|
238
238
|
// verify required parameter 'body' is not null or undefined
|
|
239
239
|
if (body === null || body === undefined) {
|
|
240
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
240
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createAgent.');
|
|
241
241
|
}
|
|
242
242
|
localVarPath = "/call_center/agents";
|
|
243
243
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -289,7 +289,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
289
289
|
* @param {*} [options] Override http request option.
|
|
290
290
|
* @throws {RequiredError}
|
|
291
291
|
*/
|
|
292
|
-
|
|
292
|
+
deleteAgent: function (id, domainId, options) {
|
|
293
293
|
if (options === void 0) { options = {}; }
|
|
294
294
|
return __awaiter(_this, void 0, void 0, function () {
|
|
295
295
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -298,7 +298,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
298
298
|
case 0:
|
|
299
299
|
// verify required parameter 'id' is not null or undefined
|
|
300
300
|
if (id === null || id === undefined) {
|
|
301
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
301
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteAgent.');
|
|
302
302
|
}
|
|
303
303
|
localVarPath = "/call_center/agents/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
304
304
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -347,7 +347,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
347
347
|
* @param {*} [options] Override http request option.
|
|
348
348
|
* @throws {RequiredError}
|
|
349
349
|
*/
|
|
350
|
-
|
|
350
|
+
patchAgent: function (id, body, options) {
|
|
351
351
|
if (options === void 0) { options = {}; }
|
|
352
352
|
return __awaiter(_this, void 0, void 0, function () {
|
|
353
353
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -356,11 +356,11 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
356
356
|
case 0:
|
|
357
357
|
// verify required parameter 'id' is not null or undefined
|
|
358
358
|
if (id === null || id === undefined) {
|
|
359
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
359
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchAgent.');
|
|
360
360
|
}
|
|
361
361
|
// verify required parameter 'body' is not null or undefined
|
|
362
362
|
if (body === null || body === undefined) {
|
|
363
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
363
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchAgent.');
|
|
364
364
|
}
|
|
365
365
|
localVarPath = "/call_center/agents/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
366
366
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -412,7 +412,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
412
412
|
* @param {*} [options] Override http request option.
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
*/
|
|
415
|
-
|
|
415
|
+
readAgent: function (id, domainId, options) {
|
|
416
416
|
if (options === void 0) { options = {}; }
|
|
417
417
|
return __awaiter(_this, void 0, void 0, function () {
|
|
418
418
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -421,7 +421,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
421
421
|
case 0:
|
|
422
422
|
// verify required parameter 'id' is not null or undefined
|
|
423
423
|
if (id === null || id === undefined) {
|
|
424
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
424
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling readAgent.');
|
|
425
425
|
}
|
|
426
426
|
localVarPath = "/call_center/agents/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
427
427
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -486,7 +486,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
486
486
|
* @param {*} [options] Override http request option.
|
|
487
487
|
* @throws {RequiredError}
|
|
488
488
|
*/
|
|
489
|
-
|
|
489
|
+
searchAgent: function (page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options) {
|
|
490
490
|
if (options === void 0) { options = {}; }
|
|
491
491
|
return __awaiter(_this, void 0, void 0, function () {
|
|
492
492
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -597,7 +597,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
597
597
|
* @param {*} [options] Override http request option.
|
|
598
598
|
* @throws {RequiredError}
|
|
599
599
|
*/
|
|
600
|
-
|
|
600
|
+
searchAgentCallStatistics: function (page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options) {
|
|
601
601
|
if (options === void 0) { options = {}; }
|
|
602
602
|
return __awaiter(_this, void 0, void 0, function () {
|
|
603
603
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -678,7 +678,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
678
678
|
* @param {*} [options] Override http request option.
|
|
679
679
|
* @throws {RequiredError}
|
|
680
680
|
*/
|
|
681
|
-
|
|
681
|
+
searchAgentInQueue: function (id, page, size, q, sort, fields, options) {
|
|
682
682
|
if (options === void 0) { options = {}; }
|
|
683
683
|
return __awaiter(_this, void 0, void 0, function () {
|
|
684
684
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -687,7 +687,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
687
687
|
case 0:
|
|
688
688
|
// verify required parameter 'id' is not null or undefined
|
|
689
689
|
if (id === null || id === undefined) {
|
|
690
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
690
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling searchAgentInQueue.');
|
|
691
691
|
}
|
|
692
692
|
localVarPath = "/call_center/agents/{id}/queues".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
693
693
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -747,7 +747,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
747
747
|
* @param {*} [options] Override http request option.
|
|
748
748
|
* @throws {RequiredError}
|
|
749
749
|
*/
|
|
750
|
-
|
|
750
|
+
searchAgentInQueueStatistics: function (agentId, domainId, options) {
|
|
751
751
|
if (options === void 0) { options = {}; }
|
|
752
752
|
return __awaiter(_this, void 0, void 0, function () {
|
|
753
753
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -756,7 +756,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
756
756
|
case 0:
|
|
757
757
|
// verify required parameter 'agentId' is not null or undefined
|
|
758
758
|
if (agentId === null || agentId === undefined) {
|
|
759
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
759
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling searchAgentInQueueStatistics.');
|
|
760
760
|
}
|
|
761
761
|
localVarPath = "/call_center/agents/{agent_id}/statistics/queues".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
762
762
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -808,7 +808,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
808
808
|
* @param {*} [options] Override http request option.
|
|
809
809
|
* @throws {RequiredError}
|
|
810
810
|
*/
|
|
811
|
-
|
|
811
|
+
searchAgentInTeam: function (id, page, size, q, domainId, options) {
|
|
812
812
|
if (options === void 0) { options = {}; }
|
|
813
813
|
return __awaiter(_this, void 0, void 0, function () {
|
|
814
814
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -817,7 +817,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
817
817
|
case 0:
|
|
818
818
|
// verify required parameter 'id' is not null or undefined
|
|
819
819
|
if (id === null || id === undefined) {
|
|
820
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
820
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling searchAgentInTeam.');
|
|
821
821
|
}
|
|
822
822
|
localVarPath = "/call_center/agents/{id}/teams".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
823
823
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -880,7 +880,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
880
880
|
* @param {*} [options] Override http request option.
|
|
881
881
|
* @throws {RequiredError}
|
|
882
882
|
*/
|
|
883
|
-
|
|
883
|
+
searchAgentStateHistory: function (page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options) {
|
|
884
884
|
if (options === void 0) { options = {}; }
|
|
885
885
|
return __awaiter(_this, void 0, void 0, function () {
|
|
886
886
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -970,7 +970,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
970
970
|
* @param {*} [options] Override http request option.
|
|
971
971
|
* @throws {RequiredError}
|
|
972
972
|
*/
|
|
973
|
-
|
|
973
|
+
searchAgentStatusStatistic: function (page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options) {
|
|
974
974
|
if (options === void 0) { options = {}; }
|
|
975
975
|
return __awaiter(_this, void 0, void 0, function () {
|
|
976
976
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -1075,7 +1075,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1075
1075
|
* @param {*} [options] Override http request option.
|
|
1076
1076
|
* @throws {RequiredError}
|
|
1077
1077
|
*/
|
|
1078
|
-
|
|
1078
|
+
searchAgentStatusStatisticItem: function (agentId, timeFrom, timeTo, options) {
|
|
1079
1079
|
if (options === void 0) { options = {}; }
|
|
1080
1080
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1081
1081
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -1084,7 +1084,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1084
1084
|
case 0:
|
|
1085
1085
|
// verify required parameter 'agentId' is not null or undefined
|
|
1086
1086
|
if (agentId === null || agentId === undefined) {
|
|
1087
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
1087
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling searchAgentStatusStatisticItem.');
|
|
1088
1088
|
}
|
|
1089
1089
|
localVarPath = "/call_center/agents/reports/status/{agent_id}".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
1090
1090
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -1138,7 +1138,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1138
1138
|
* @param {*} [options] Override http request option.
|
|
1139
1139
|
* @throws {RequiredError}
|
|
1140
1140
|
*/
|
|
1141
|
-
|
|
1141
|
+
searchLookupUsersAgentNotExists: function (page, size, q, domainId, options) {
|
|
1142
1142
|
if (options === void 0) { options = {}; }
|
|
1143
1143
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1144
1144
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -1200,7 +1200,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1200
1200
|
* @param {*} [options] Override http request option.
|
|
1201
1201
|
* @throws {RequiredError}
|
|
1202
1202
|
*/
|
|
1203
|
-
|
|
1203
|
+
searchPauseCauseForAgent: function (agentId, allowChange, options) {
|
|
1204
1204
|
if (options === void 0) { options = {}; }
|
|
1205
1205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1206
1206
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -1209,7 +1209,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1209
1209
|
case 0:
|
|
1210
1210
|
// verify required parameter 'agentId' is not null or undefined
|
|
1211
1211
|
if (agentId === null || agentId === undefined) {
|
|
1212
|
-
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling
|
|
1212
|
+
throw new RequiredError('agentId', 'Required parameter agentId was null or undefined when calling searchPauseCauseForAgent.');
|
|
1213
1213
|
}
|
|
1214
1214
|
localVarPath = "/call_center/agents/{agent_id}/pause_causes".replace("{" + 'agent_id' + "}", encodeURIComponent(String(agentId)));
|
|
1215
1215
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -1258,7 +1258,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1258
1258
|
* @param {*} [options] Override http request option.
|
|
1259
1259
|
* @throws {RequiredError}
|
|
1260
1260
|
*/
|
|
1261
|
-
|
|
1261
|
+
updateAgent: function (id, body, options) {
|
|
1262
1262
|
if (options === void 0) { options = {}; }
|
|
1263
1263
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1264
1264
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -1267,11 +1267,11 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1267
1267
|
case 0:
|
|
1268
1268
|
// verify required parameter 'id' is not null or undefined
|
|
1269
1269
|
if (id === null || id === undefined) {
|
|
1270
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1270
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateAgent.');
|
|
1271
1271
|
}
|
|
1272
1272
|
// verify required parameter 'body' is not null or undefined
|
|
1273
1273
|
if (body === null || body === undefined) {
|
|
1274
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
1274
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAgent.');
|
|
1275
1275
|
}
|
|
1276
1276
|
localVarPath = "/call_center/agents/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
1277
1277
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -1323,7 +1323,7 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1323
1323
|
* @param {*} [options] Override http request option.
|
|
1324
1324
|
* @throws {RequiredError}
|
|
1325
1325
|
*/
|
|
1326
|
-
|
|
1326
|
+
updateAgentStatus: function (id, body, options) {
|
|
1327
1327
|
if (options === void 0) { options = {}; }
|
|
1328
1328
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1329
1329
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -1332,11 +1332,11 @@ export var AgentServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1332
1332
|
case 0:
|
|
1333
1333
|
// verify required parameter 'id' is not null or undefined
|
|
1334
1334
|
if (id === null || id === undefined) {
|
|
1335
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1335
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateAgentStatus.');
|
|
1336
1336
|
}
|
|
1337
1337
|
// verify required parameter 'body' is not null or undefined
|
|
1338
1338
|
if (body === null || body === undefined) {
|
|
1339
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
1339
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAgentStatus.');
|
|
1340
1340
|
}
|
|
1341
1341
|
localVarPath = "/call_center/agents/{id}/status".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
1342
1342
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -1395,12 +1395,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1395
1395
|
* @param {*} [options] Override http request option.
|
|
1396
1396
|
* @throws {RequiredError}
|
|
1397
1397
|
*/
|
|
1398
|
-
|
|
1398
|
+
agentSetState: function (agentId, body, options) {
|
|
1399
1399
|
return __awaiter(this, void 0, void 0, function () {
|
|
1400
1400
|
var localVarAxiosArgs;
|
|
1401
1401
|
return __generator(this, function (_a) {
|
|
1402
1402
|
switch (_a.label) {
|
|
1403
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1403
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).agentSetState(agentId, body, options)];
|
|
1404
1404
|
case 1:
|
|
1405
1405
|
localVarAxiosArgs = _a.sent();
|
|
1406
1406
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1425,12 +1425,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1425
1425
|
* @param {*} [options] Override http request option.
|
|
1426
1426
|
* @throws {RequiredError}
|
|
1427
1427
|
*/
|
|
1428
|
-
|
|
1428
|
+
agentStateHistory: function (agentId, page, size, timeFrom, timeTo, q, domainId, options) {
|
|
1429
1429
|
return __awaiter(this, void 0, void 0, function () {
|
|
1430
1430
|
var localVarAxiosArgs;
|
|
1431
1431
|
return __generator(this, function (_a) {
|
|
1432
1432
|
switch (_a.label) {
|
|
1433
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1433
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).agentStateHistory(agentId, page, size, timeFrom, timeTo, q, domainId, options)];
|
|
1434
1434
|
case 1:
|
|
1435
1435
|
localVarAxiosArgs = _a.sent();
|
|
1436
1436
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1450,12 +1450,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1450
1450
|
* @param {*} [options] Override http request option.
|
|
1451
1451
|
* @throws {RequiredError}
|
|
1452
1452
|
*/
|
|
1453
|
-
|
|
1453
|
+
agentTodayStatistics: function (agentId, fields, options) {
|
|
1454
1454
|
return __awaiter(this, void 0, void 0, function () {
|
|
1455
1455
|
var localVarAxiosArgs;
|
|
1456
1456
|
return __generator(this, function (_a) {
|
|
1457
1457
|
switch (_a.label) {
|
|
1458
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1458
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).agentTodayStatistics(agentId, fields, options)];
|
|
1459
1459
|
case 1:
|
|
1460
1460
|
localVarAxiosArgs = _a.sent();
|
|
1461
1461
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1475,12 +1475,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1475
1475
|
* @param {*} [options] Override http request option.
|
|
1476
1476
|
* @throws {RequiredError}
|
|
1477
1477
|
*/
|
|
1478
|
-
|
|
1478
|
+
createAgent: function (body, options) {
|
|
1479
1479
|
return __awaiter(this, void 0, void 0, function () {
|
|
1480
1480
|
var localVarAxiosArgs;
|
|
1481
1481
|
return __generator(this, function (_a) {
|
|
1482
1482
|
switch (_a.label) {
|
|
1483
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1483
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).createAgent(body, options)];
|
|
1484
1484
|
case 1:
|
|
1485
1485
|
localVarAxiosArgs = _a.sent();
|
|
1486
1486
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1501,12 +1501,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1501
1501
|
* @param {*} [options] Override http request option.
|
|
1502
1502
|
* @throws {RequiredError}
|
|
1503
1503
|
*/
|
|
1504
|
-
|
|
1504
|
+
deleteAgent: function (id, domainId, options) {
|
|
1505
1505
|
return __awaiter(this, void 0, void 0, function () {
|
|
1506
1506
|
var localVarAxiosArgs;
|
|
1507
1507
|
return __generator(this, function (_a) {
|
|
1508
1508
|
switch (_a.label) {
|
|
1509
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1509
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).deleteAgent(id, domainId, options)];
|
|
1510
1510
|
case 1:
|
|
1511
1511
|
localVarAxiosArgs = _a.sent();
|
|
1512
1512
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1527,12 +1527,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1527
1527
|
* @param {*} [options] Override http request option.
|
|
1528
1528
|
* @throws {RequiredError}
|
|
1529
1529
|
*/
|
|
1530
|
-
|
|
1530
|
+
patchAgent: function (id, body, options) {
|
|
1531
1531
|
return __awaiter(this, void 0, void 0, function () {
|
|
1532
1532
|
var localVarAxiosArgs;
|
|
1533
1533
|
return __generator(this, function (_a) {
|
|
1534
1534
|
switch (_a.label) {
|
|
1535
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1535
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).patchAgent(id, body, options)];
|
|
1536
1536
|
case 1:
|
|
1537
1537
|
localVarAxiosArgs = _a.sent();
|
|
1538
1538
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1553,12 +1553,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1553
1553
|
* @param {*} [options] Override http request option.
|
|
1554
1554
|
* @throws {RequiredError}
|
|
1555
1555
|
*/
|
|
1556
|
-
|
|
1556
|
+
readAgent: function (id, domainId, options) {
|
|
1557
1557
|
return __awaiter(this, void 0, void 0, function () {
|
|
1558
1558
|
var localVarAxiosArgs;
|
|
1559
1559
|
return __generator(this, function (_a) {
|
|
1560
1560
|
switch (_a.label) {
|
|
1561
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1561
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).readAgent(id, domainId, options)];
|
|
1562
1562
|
case 1:
|
|
1563
1563
|
localVarAxiosArgs = _a.sent();
|
|
1564
1564
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1595,12 +1595,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1595
1595
|
* @param {*} [options] Override http request option.
|
|
1596
1596
|
* @throws {RequiredError}
|
|
1597
1597
|
*/
|
|
1598
|
-
|
|
1598
|
+
searchAgent: function (page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options) {
|
|
1599
1599
|
return __awaiter(this, void 0, void 0, function () {
|
|
1600
1600
|
var localVarAxiosArgs;
|
|
1601
1601
|
return __generator(this, function (_a) {
|
|
1602
1602
|
switch (_a.label) {
|
|
1603
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1603
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgent(page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options)];
|
|
1604
1604
|
case 1:
|
|
1605
1605
|
localVarAxiosArgs = _a.sent();
|
|
1606
1606
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1627,12 +1627,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1627
1627
|
* @param {*} [options] Override http request option.
|
|
1628
1628
|
* @throws {RequiredError}
|
|
1629
1629
|
*/
|
|
1630
|
-
|
|
1630
|
+
searchAgentCallStatistics: function (page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options) {
|
|
1631
1631
|
return __awaiter(this, void 0, void 0, function () {
|
|
1632
1632
|
var localVarAxiosArgs;
|
|
1633
1633
|
return __generator(this, function (_a) {
|
|
1634
1634
|
switch (_a.label) {
|
|
1635
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1635
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentCallStatistics(page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options)];
|
|
1636
1636
|
case 1:
|
|
1637
1637
|
localVarAxiosArgs = _a.sent();
|
|
1638
1638
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1656,12 +1656,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1656
1656
|
* @param {*} [options] Override http request option.
|
|
1657
1657
|
* @throws {RequiredError}
|
|
1658
1658
|
*/
|
|
1659
|
-
|
|
1659
|
+
searchAgentInQueue: function (id, page, size, q, sort, fields, options) {
|
|
1660
1660
|
return __awaiter(this, void 0, void 0, function () {
|
|
1661
1661
|
var localVarAxiosArgs;
|
|
1662
1662
|
return __generator(this, function (_a) {
|
|
1663
1663
|
switch (_a.label) {
|
|
1664
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1664
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentInQueue(id, page, size, q, sort, fields, options)];
|
|
1665
1665
|
case 1:
|
|
1666
1666
|
localVarAxiosArgs = _a.sent();
|
|
1667
1667
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1681,12 +1681,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1681
1681
|
* @param {*} [options] Override http request option.
|
|
1682
1682
|
* @throws {RequiredError}
|
|
1683
1683
|
*/
|
|
1684
|
-
|
|
1684
|
+
searchAgentInQueueStatistics: function (agentId, domainId, options) {
|
|
1685
1685
|
return __awaiter(this, void 0, void 0, function () {
|
|
1686
1686
|
var localVarAxiosArgs;
|
|
1687
1687
|
return __generator(this, function (_a) {
|
|
1688
1688
|
switch (_a.label) {
|
|
1689
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1689
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentInQueueStatistics(agentId, domainId, options)];
|
|
1690
1690
|
case 1:
|
|
1691
1691
|
localVarAxiosArgs = _a.sent();
|
|
1692
1692
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1710,12 +1710,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1710
1710
|
* @param {*} [options] Override http request option.
|
|
1711
1711
|
* @throws {RequiredError}
|
|
1712
1712
|
*/
|
|
1713
|
-
|
|
1713
|
+
searchAgentInTeam: function (id, page, size, q, domainId, options) {
|
|
1714
1714
|
return __awaiter(this, void 0, void 0, function () {
|
|
1715
1715
|
var localVarAxiosArgs;
|
|
1716
1716
|
return __generator(this, function (_a) {
|
|
1717
1717
|
switch (_a.label) {
|
|
1718
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1718
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentInTeam(id, page, size, q, domainId, options)];
|
|
1719
1719
|
case 1:
|
|
1720
1720
|
localVarAxiosArgs = _a.sent();
|
|
1721
1721
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1741,12 +1741,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1741
1741
|
* @param {*} [options] Override http request option.
|
|
1742
1742
|
* @throws {RequiredError}
|
|
1743
1743
|
*/
|
|
1744
|
-
|
|
1744
|
+
searchAgentStateHistory: function (page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options) {
|
|
1745
1745
|
return __awaiter(this, void 0, void 0, function () {
|
|
1746
1746
|
var localVarAxiosArgs;
|
|
1747
1747
|
return __generator(this, function (_a) {
|
|
1748
1748
|
switch (_a.label) {
|
|
1749
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1749
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentStateHistory(page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options)];
|
|
1750
1750
|
case 1:
|
|
1751
1751
|
localVarAxiosArgs = _a.sent();
|
|
1752
1752
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1782,12 +1782,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1782
1782
|
* @param {*} [options] Override http request option.
|
|
1783
1783
|
* @throws {RequiredError}
|
|
1784
1784
|
*/
|
|
1785
|
-
|
|
1785
|
+
searchAgentStatusStatistic: function (page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options) {
|
|
1786
1786
|
return __awaiter(this, void 0, void 0, function () {
|
|
1787
1787
|
var localVarAxiosArgs;
|
|
1788
1788
|
return __generator(this, function (_a) {
|
|
1789
1789
|
switch (_a.label) {
|
|
1790
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1790
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentStatusStatistic(page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options)];
|
|
1791
1791
|
case 1:
|
|
1792
1792
|
localVarAxiosArgs = _a.sent();
|
|
1793
1793
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1808,12 +1808,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1808
1808
|
* @param {*} [options] Override http request option.
|
|
1809
1809
|
* @throws {RequiredError}
|
|
1810
1810
|
*/
|
|
1811
|
-
|
|
1811
|
+
searchAgentStatusStatisticItem: function (agentId, timeFrom, timeTo, options) {
|
|
1812
1812
|
return __awaiter(this, void 0, void 0, function () {
|
|
1813
1813
|
var localVarAxiosArgs;
|
|
1814
1814
|
return __generator(this, function (_a) {
|
|
1815
1815
|
switch (_a.label) {
|
|
1816
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1816
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchAgentStatusStatisticItem(agentId, timeFrom, timeTo, options)];
|
|
1817
1817
|
case 1:
|
|
1818
1818
|
localVarAxiosArgs = _a.sent();
|
|
1819
1819
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1836,12 +1836,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1836
1836
|
* @param {*} [options] Override http request option.
|
|
1837
1837
|
* @throws {RequiredError}
|
|
1838
1838
|
*/
|
|
1839
|
-
|
|
1839
|
+
searchLookupUsersAgentNotExists: function (page, size, q, domainId, options) {
|
|
1840
1840
|
return __awaiter(this, void 0, void 0, function () {
|
|
1841
1841
|
var localVarAxiosArgs;
|
|
1842
1842
|
return __generator(this, function (_a) {
|
|
1843
1843
|
switch (_a.label) {
|
|
1844
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1844
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchLookupUsersAgentNotExists(page, size, q, domainId, options)];
|
|
1845
1845
|
case 1:
|
|
1846
1846
|
localVarAxiosArgs = _a.sent();
|
|
1847
1847
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1861,12 +1861,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1861
1861
|
* @param {*} [options] Override http request option.
|
|
1862
1862
|
* @throws {RequiredError}
|
|
1863
1863
|
*/
|
|
1864
|
-
|
|
1864
|
+
searchPauseCauseForAgent: function (agentId, allowChange, options) {
|
|
1865
1865
|
return __awaiter(this, void 0, void 0, function () {
|
|
1866
1866
|
var localVarAxiosArgs;
|
|
1867
1867
|
return __generator(this, function (_a) {
|
|
1868
1868
|
switch (_a.label) {
|
|
1869
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1869
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).searchPauseCauseForAgent(agentId, allowChange, options)];
|
|
1870
1870
|
case 1:
|
|
1871
1871
|
localVarAxiosArgs = _a.sent();
|
|
1872
1872
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1887,12 +1887,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1887
1887
|
* @param {*} [options] Override http request option.
|
|
1888
1888
|
* @throws {RequiredError}
|
|
1889
1889
|
*/
|
|
1890
|
-
|
|
1890
|
+
updateAgent: function (id, body, options) {
|
|
1891
1891
|
return __awaiter(this, void 0, void 0, function () {
|
|
1892
1892
|
var localVarAxiosArgs;
|
|
1893
1893
|
return __generator(this, function (_a) {
|
|
1894
1894
|
switch (_a.label) {
|
|
1895
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1895
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).updateAgent(id, body, options)];
|
|
1896
1896
|
case 1:
|
|
1897
1897
|
localVarAxiosArgs = _a.sent();
|
|
1898
1898
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1913,12 +1913,12 @@ export var AgentServiceApiFp = function (configuration) {
|
|
|
1913
1913
|
* @param {*} [options] Override http request option.
|
|
1914
1914
|
* @throws {RequiredError}
|
|
1915
1915
|
*/
|
|
1916
|
-
|
|
1916
|
+
updateAgentStatus: function (id, body, options) {
|
|
1917
1917
|
return __awaiter(this, void 0, void 0, function () {
|
|
1918
1918
|
var localVarAxiosArgs;
|
|
1919
1919
|
return __generator(this, function (_a) {
|
|
1920
1920
|
switch (_a.label) {
|
|
1921
|
-
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).
|
|
1921
|
+
case 0: return [4 /*yield*/, AgentServiceApiAxiosParamCreator(configuration).updateAgentStatus(id, body, options)];
|
|
1922
1922
|
case 1:
|
|
1923
1923
|
localVarAxiosArgs = _a.sent();
|
|
1924
1924
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1946,9 +1946,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1946
1946
|
* @param {*} [options] Override http request option.
|
|
1947
1947
|
* @throws {RequiredError}
|
|
1948
1948
|
*/
|
|
1949
|
-
|
|
1949
|
+
agentSetState: function (agentId, body, options) {
|
|
1950
1950
|
return AgentServiceApiFp(configuration)
|
|
1951
|
-
.
|
|
1951
|
+
.agentSetState(agentId, body, options)
|
|
1952
1952
|
.then(function (request) { return request(axios, basePath); });
|
|
1953
1953
|
},
|
|
1954
1954
|
/**
|
|
@@ -1963,9 +1963,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1963
1963
|
* @param {*} [options] Override http request option.
|
|
1964
1964
|
* @throws {RequiredError}
|
|
1965
1965
|
*/
|
|
1966
|
-
|
|
1966
|
+
agentStateHistory: function (agentId, page, size, timeFrom, timeTo, q, domainId, options) {
|
|
1967
1967
|
return AgentServiceApiFp(configuration)
|
|
1968
|
-
.
|
|
1968
|
+
.agentStateHistory(agentId, page, size, timeFrom, timeTo, q, domainId, options)
|
|
1969
1969
|
.then(function (request) { return request(axios, basePath); });
|
|
1970
1970
|
},
|
|
1971
1971
|
/**
|
|
@@ -1975,9 +1975,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1975
1975
|
* @param {*} [options] Override http request option.
|
|
1976
1976
|
* @throws {RequiredError}
|
|
1977
1977
|
*/
|
|
1978
|
-
|
|
1978
|
+
agentTodayStatistics: function (agentId, fields, options) {
|
|
1979
1979
|
return AgentServiceApiFp(configuration)
|
|
1980
|
-
.
|
|
1980
|
+
.agentTodayStatistics(agentId, fields, options)
|
|
1981
1981
|
.then(function (request) { return request(axios, basePath); });
|
|
1982
1982
|
},
|
|
1983
1983
|
/**
|
|
@@ -1987,9 +1987,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1987
1987
|
* @param {*} [options] Override http request option.
|
|
1988
1988
|
* @throws {RequiredError}
|
|
1989
1989
|
*/
|
|
1990
|
-
|
|
1990
|
+
createAgent: function (body, options) {
|
|
1991
1991
|
return AgentServiceApiFp(configuration)
|
|
1992
|
-
.
|
|
1992
|
+
.createAgent(body, options)
|
|
1993
1993
|
.then(function (request) { return request(axios, basePath); });
|
|
1994
1994
|
},
|
|
1995
1995
|
/**
|
|
@@ -2000,9 +2000,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2000
2000
|
* @param {*} [options] Override http request option.
|
|
2001
2001
|
* @throws {RequiredError}
|
|
2002
2002
|
*/
|
|
2003
|
-
|
|
2003
|
+
deleteAgent: function (id, domainId, options) {
|
|
2004
2004
|
return AgentServiceApiFp(configuration)
|
|
2005
|
-
.
|
|
2005
|
+
.deleteAgent(id, domainId, options)
|
|
2006
2006
|
.then(function (request) { return request(axios, basePath); });
|
|
2007
2007
|
},
|
|
2008
2008
|
/**
|
|
@@ -2013,9 +2013,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2013
2013
|
* @param {*} [options] Override http request option.
|
|
2014
2014
|
* @throws {RequiredError}
|
|
2015
2015
|
*/
|
|
2016
|
-
|
|
2016
|
+
patchAgent: function (id, body, options) {
|
|
2017
2017
|
return AgentServiceApiFp(configuration)
|
|
2018
|
-
.
|
|
2018
|
+
.patchAgent(id, body, options)
|
|
2019
2019
|
.then(function (request) { return request(axios, basePath); });
|
|
2020
2020
|
},
|
|
2021
2021
|
/**
|
|
@@ -2026,9 +2026,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2026
2026
|
* @param {*} [options] Override http request option.
|
|
2027
2027
|
* @throws {RequiredError}
|
|
2028
2028
|
*/
|
|
2029
|
-
|
|
2029
|
+
readAgent: function (id, domainId, options) {
|
|
2030
2030
|
return AgentServiceApiFp(configuration)
|
|
2031
|
-
.
|
|
2031
|
+
.readAgent(id, domainId, options)
|
|
2032
2032
|
.then(function (request) { return request(axios, basePath); });
|
|
2033
2033
|
},
|
|
2034
2034
|
/**
|
|
@@ -2055,9 +2055,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2055
2055
|
* @param {*} [options] Override http request option.
|
|
2056
2056
|
* @throws {RequiredError}
|
|
2057
2057
|
*/
|
|
2058
|
-
|
|
2058
|
+
searchAgent: function (page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options) {
|
|
2059
2059
|
return AgentServiceApiFp(configuration)
|
|
2060
|
-
.
|
|
2060
|
+
.searchAgent(page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options)
|
|
2061
2061
|
.then(function (request) { return request(axios, basePath); });
|
|
2062
2062
|
},
|
|
2063
2063
|
/**
|
|
@@ -2074,9 +2074,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2074
2074
|
* @param {*} [options] Override http request option.
|
|
2075
2075
|
* @throws {RequiredError}
|
|
2076
2076
|
*/
|
|
2077
|
-
|
|
2077
|
+
searchAgentCallStatistics: function (page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options) {
|
|
2078
2078
|
return AgentServiceApiFp(configuration)
|
|
2079
|
-
.
|
|
2079
|
+
.searchAgentCallStatistics(page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options)
|
|
2080
2080
|
.then(function (request) { return request(axios, basePath); });
|
|
2081
2081
|
},
|
|
2082
2082
|
/**
|
|
@@ -2090,9 +2090,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2090
2090
|
* @param {*} [options] Override http request option.
|
|
2091
2091
|
* @throws {RequiredError}
|
|
2092
2092
|
*/
|
|
2093
|
-
|
|
2093
|
+
searchAgentInQueue: function (id, page, size, q, sort, fields, options) {
|
|
2094
2094
|
return AgentServiceApiFp(configuration)
|
|
2095
|
-
.
|
|
2095
|
+
.searchAgentInQueue(id, page, size, q, sort, fields, options)
|
|
2096
2096
|
.then(function (request) { return request(axios, basePath); });
|
|
2097
2097
|
},
|
|
2098
2098
|
/**
|
|
@@ -2102,9 +2102,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2102
2102
|
* @param {*} [options] Override http request option.
|
|
2103
2103
|
* @throws {RequiredError}
|
|
2104
2104
|
*/
|
|
2105
|
-
|
|
2105
|
+
searchAgentInQueueStatistics: function (agentId, domainId, options) {
|
|
2106
2106
|
return AgentServiceApiFp(configuration)
|
|
2107
|
-
.
|
|
2107
|
+
.searchAgentInQueueStatistics(agentId, domainId, options)
|
|
2108
2108
|
.then(function (request) { return request(axios, basePath); });
|
|
2109
2109
|
},
|
|
2110
2110
|
/**
|
|
@@ -2118,9 +2118,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2118
2118
|
* @param {*} [options] Override http request option.
|
|
2119
2119
|
* @throws {RequiredError}
|
|
2120
2120
|
*/
|
|
2121
|
-
|
|
2121
|
+
searchAgentInTeam: function (id, page, size, q, domainId, options) {
|
|
2122
2122
|
return AgentServiceApiFp(configuration)
|
|
2123
|
-
.
|
|
2123
|
+
.searchAgentInTeam(id, page, size, q, domainId, options)
|
|
2124
2124
|
.then(function (request) { return request(axios, basePath); });
|
|
2125
2125
|
},
|
|
2126
2126
|
/**
|
|
@@ -2136,9 +2136,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2136
2136
|
* @param {*} [options] Override http request option.
|
|
2137
2137
|
* @throws {RequiredError}
|
|
2138
2138
|
*/
|
|
2139
|
-
|
|
2139
|
+
searchAgentStateHistory: function (page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options) {
|
|
2140
2140
|
return AgentServiceApiFp(configuration)
|
|
2141
|
-
.
|
|
2141
|
+
.searchAgentStateHistory(page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options)
|
|
2142
2142
|
.then(function (request) { return request(axios, basePath); });
|
|
2143
2143
|
},
|
|
2144
2144
|
/**
|
|
@@ -2164,9 +2164,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2164
2164
|
* @param {*} [options] Override http request option.
|
|
2165
2165
|
* @throws {RequiredError}
|
|
2166
2166
|
*/
|
|
2167
|
-
|
|
2167
|
+
searchAgentStatusStatistic: function (page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options) {
|
|
2168
2168
|
return AgentServiceApiFp(configuration)
|
|
2169
|
-
.
|
|
2169
|
+
.searchAgentStatusStatistic(page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options)
|
|
2170
2170
|
.then(function (request) { return request(axios, basePath); });
|
|
2171
2171
|
},
|
|
2172
2172
|
/**
|
|
@@ -2177,9 +2177,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2177
2177
|
* @param {*} [options] Override http request option.
|
|
2178
2178
|
* @throws {RequiredError}
|
|
2179
2179
|
*/
|
|
2180
|
-
|
|
2180
|
+
searchAgentStatusStatisticItem: function (agentId, timeFrom, timeTo, options) {
|
|
2181
2181
|
return AgentServiceApiFp(configuration)
|
|
2182
|
-
.
|
|
2182
|
+
.searchAgentStatusStatisticItem(agentId, timeFrom, timeTo, options)
|
|
2183
2183
|
.then(function (request) { return request(axios, basePath); });
|
|
2184
2184
|
},
|
|
2185
2185
|
/**
|
|
@@ -2192,9 +2192,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2192
2192
|
* @param {*} [options] Override http request option.
|
|
2193
2193
|
* @throws {RequiredError}
|
|
2194
2194
|
*/
|
|
2195
|
-
|
|
2195
|
+
searchLookupUsersAgentNotExists: function (page, size, q, domainId, options) {
|
|
2196
2196
|
return AgentServiceApiFp(configuration)
|
|
2197
|
-
.
|
|
2197
|
+
.searchLookupUsersAgentNotExists(page, size, q, domainId, options)
|
|
2198
2198
|
.then(function (request) { return request(axios, basePath); });
|
|
2199
2199
|
},
|
|
2200
2200
|
/**
|
|
@@ -2204,9 +2204,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2204
2204
|
* @param {*} [options] Override http request option.
|
|
2205
2205
|
* @throws {RequiredError}
|
|
2206
2206
|
*/
|
|
2207
|
-
|
|
2207
|
+
searchPauseCauseForAgent: function (agentId, allowChange, options) {
|
|
2208
2208
|
return AgentServiceApiFp(configuration)
|
|
2209
|
-
.
|
|
2209
|
+
.searchPauseCauseForAgent(agentId, allowChange, options)
|
|
2210
2210
|
.then(function (request) { return request(axios, basePath); });
|
|
2211
2211
|
},
|
|
2212
2212
|
/**
|
|
@@ -2217,9 +2217,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2217
2217
|
* @param {*} [options] Override http request option.
|
|
2218
2218
|
* @throws {RequiredError}
|
|
2219
2219
|
*/
|
|
2220
|
-
|
|
2220
|
+
updateAgent: function (id, body, options) {
|
|
2221
2221
|
return AgentServiceApiFp(configuration)
|
|
2222
|
-
.
|
|
2222
|
+
.updateAgent(id, body, options)
|
|
2223
2223
|
.then(function (request) { return request(axios, basePath); });
|
|
2224
2224
|
},
|
|
2225
2225
|
/**
|
|
@@ -2230,9 +2230,9 @@ export var AgentServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
2230
2230
|
* @param {*} [options] Override http request option.
|
|
2231
2231
|
* @throws {RequiredError}
|
|
2232
2232
|
*/
|
|
2233
|
-
|
|
2233
|
+
updateAgentStatus: function (id, body, options) {
|
|
2234
2234
|
return AgentServiceApiFp(configuration)
|
|
2235
|
-
.
|
|
2235
|
+
.updateAgentStatus(id, body, options)
|
|
2236
2236
|
.then(function (request) { return request(axios, basePath); });
|
|
2237
2237
|
},
|
|
2238
2238
|
};
|
|
@@ -2256,10 +2256,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2256
2256
|
* @throws {RequiredError}
|
|
2257
2257
|
* @memberof AgentServiceApi
|
|
2258
2258
|
*/
|
|
2259
|
-
AgentServiceApi.prototype.
|
|
2259
|
+
AgentServiceApi.prototype.agentSetState = function (agentId, body, options) {
|
|
2260
2260
|
var _this = this;
|
|
2261
2261
|
return AgentServiceApiFp(this.configuration)
|
|
2262
|
-
.
|
|
2262
|
+
.agentSetState(agentId, body, options)
|
|
2263
2263
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2264
2264
|
};
|
|
2265
2265
|
/**
|
|
@@ -2275,10 +2275,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2275
2275
|
* @throws {RequiredError}
|
|
2276
2276
|
* @memberof AgentServiceApi
|
|
2277
2277
|
*/
|
|
2278
|
-
AgentServiceApi.prototype.
|
|
2278
|
+
AgentServiceApi.prototype.agentStateHistory = function (agentId, page, size, timeFrom, timeTo, q, domainId, options) {
|
|
2279
2279
|
var _this = this;
|
|
2280
2280
|
return AgentServiceApiFp(this.configuration)
|
|
2281
|
-
.
|
|
2281
|
+
.agentStateHistory(agentId, page, size, timeFrom, timeTo, q, domainId, options)
|
|
2282
2282
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2283
2283
|
};
|
|
2284
2284
|
/**
|
|
@@ -2289,10 +2289,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2289
2289
|
* @throws {RequiredError}
|
|
2290
2290
|
* @memberof AgentServiceApi
|
|
2291
2291
|
*/
|
|
2292
|
-
AgentServiceApi.prototype.
|
|
2292
|
+
AgentServiceApi.prototype.agentTodayStatistics = function (agentId, fields, options) {
|
|
2293
2293
|
var _this = this;
|
|
2294
2294
|
return AgentServiceApiFp(this.configuration)
|
|
2295
|
-
.
|
|
2295
|
+
.agentTodayStatistics(agentId, fields, options)
|
|
2296
2296
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2297
2297
|
};
|
|
2298
2298
|
/**
|
|
@@ -2303,10 +2303,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2303
2303
|
* @throws {RequiredError}
|
|
2304
2304
|
* @memberof AgentServiceApi
|
|
2305
2305
|
*/
|
|
2306
|
-
AgentServiceApi.prototype.
|
|
2306
|
+
AgentServiceApi.prototype.createAgent = function (body, options) {
|
|
2307
2307
|
var _this = this;
|
|
2308
2308
|
return AgentServiceApiFp(this.configuration)
|
|
2309
|
-
.
|
|
2309
|
+
.createAgent(body, options)
|
|
2310
2310
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2311
2311
|
};
|
|
2312
2312
|
/**
|
|
@@ -2318,10 +2318,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2318
2318
|
* @throws {RequiredError}
|
|
2319
2319
|
* @memberof AgentServiceApi
|
|
2320
2320
|
*/
|
|
2321
|
-
AgentServiceApi.prototype.
|
|
2321
|
+
AgentServiceApi.prototype.deleteAgent = function (id, domainId, options) {
|
|
2322
2322
|
var _this = this;
|
|
2323
2323
|
return AgentServiceApiFp(this.configuration)
|
|
2324
|
-
.
|
|
2324
|
+
.deleteAgent(id, domainId, options)
|
|
2325
2325
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2326
2326
|
};
|
|
2327
2327
|
/**
|
|
@@ -2333,10 +2333,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2333
2333
|
* @throws {RequiredError}
|
|
2334
2334
|
* @memberof AgentServiceApi
|
|
2335
2335
|
*/
|
|
2336
|
-
AgentServiceApi.prototype.
|
|
2336
|
+
AgentServiceApi.prototype.patchAgent = function (id, body, options) {
|
|
2337
2337
|
var _this = this;
|
|
2338
2338
|
return AgentServiceApiFp(this.configuration)
|
|
2339
|
-
.
|
|
2339
|
+
.patchAgent(id, body, options)
|
|
2340
2340
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2341
2341
|
};
|
|
2342
2342
|
/**
|
|
@@ -2348,10 +2348,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2348
2348
|
* @throws {RequiredError}
|
|
2349
2349
|
* @memberof AgentServiceApi
|
|
2350
2350
|
*/
|
|
2351
|
-
AgentServiceApi.prototype.
|
|
2351
|
+
AgentServiceApi.prototype.readAgent = function (id, domainId, options) {
|
|
2352
2352
|
var _this = this;
|
|
2353
2353
|
return AgentServiceApiFp(this.configuration)
|
|
2354
|
-
.
|
|
2354
|
+
.readAgent(id, domainId, options)
|
|
2355
2355
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2356
2356
|
};
|
|
2357
2357
|
/**
|
|
@@ -2379,10 +2379,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2379
2379
|
* @throws {RequiredError}
|
|
2380
2380
|
* @memberof AgentServiceApi
|
|
2381
2381
|
*/
|
|
2382
|
-
AgentServiceApi.prototype.
|
|
2382
|
+
AgentServiceApi.prototype.searchAgent = function (page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options) {
|
|
2383
2383
|
var _this = this;
|
|
2384
2384
|
return AgentServiceApiFp(this.configuration)
|
|
2385
|
-
.
|
|
2385
|
+
.searchAgent(page, size, q, sort, fields, id, allowChannels, supervisorId, teamId, regionId, auditorId, isSupervisor, skillId, queueId, notSupervisor, userId, extension, notTeamId, options)
|
|
2386
2386
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2387
2387
|
};
|
|
2388
2388
|
/**
|
|
@@ -2400,10 +2400,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2400
2400
|
* @throws {RequiredError}
|
|
2401
2401
|
* @memberof AgentServiceApi
|
|
2402
2402
|
*/
|
|
2403
|
-
AgentServiceApi.prototype.
|
|
2403
|
+
AgentServiceApi.prototype.searchAgentCallStatistics = function (page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options) {
|
|
2404
2404
|
var _this = this;
|
|
2405
2405
|
return AgentServiceApiFp(this.configuration)
|
|
2406
|
-
.
|
|
2406
|
+
.searchAgentCallStatistics(page, size, timeFrom, timeTo, agentId, domainId, q, fields, sort, options)
|
|
2407
2407
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2408
2408
|
};
|
|
2409
2409
|
/**
|
|
@@ -2418,10 +2418,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2418
2418
|
* @throws {RequiredError}
|
|
2419
2419
|
* @memberof AgentServiceApi
|
|
2420
2420
|
*/
|
|
2421
|
-
AgentServiceApi.prototype.
|
|
2421
|
+
AgentServiceApi.prototype.searchAgentInQueue = function (id, page, size, q, sort, fields, options) {
|
|
2422
2422
|
var _this = this;
|
|
2423
2423
|
return AgentServiceApiFp(this.configuration)
|
|
2424
|
-
.
|
|
2424
|
+
.searchAgentInQueue(id, page, size, q, sort, fields, options)
|
|
2425
2425
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2426
2426
|
};
|
|
2427
2427
|
/**
|
|
@@ -2432,10 +2432,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2432
2432
|
* @throws {RequiredError}
|
|
2433
2433
|
* @memberof AgentServiceApi
|
|
2434
2434
|
*/
|
|
2435
|
-
AgentServiceApi.prototype.
|
|
2435
|
+
AgentServiceApi.prototype.searchAgentInQueueStatistics = function (agentId, domainId, options) {
|
|
2436
2436
|
var _this = this;
|
|
2437
2437
|
return AgentServiceApiFp(this.configuration)
|
|
2438
|
-
.
|
|
2438
|
+
.searchAgentInQueueStatistics(agentId, domainId, options)
|
|
2439
2439
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2440
2440
|
};
|
|
2441
2441
|
/**
|
|
@@ -2450,10 +2450,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2450
2450
|
* @throws {RequiredError}
|
|
2451
2451
|
* @memberof AgentServiceApi
|
|
2452
2452
|
*/
|
|
2453
|
-
AgentServiceApi.prototype.
|
|
2453
|
+
AgentServiceApi.prototype.searchAgentInTeam = function (id, page, size, q, domainId, options) {
|
|
2454
2454
|
var _this = this;
|
|
2455
2455
|
return AgentServiceApiFp(this.configuration)
|
|
2456
|
-
.
|
|
2456
|
+
.searchAgentInTeam(id, page, size, q, domainId, options)
|
|
2457
2457
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2458
2458
|
};
|
|
2459
2459
|
/**
|
|
@@ -2470,10 +2470,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2470
2470
|
* @throws {RequiredError}
|
|
2471
2471
|
* @memberof AgentServiceApi
|
|
2472
2472
|
*/
|
|
2473
|
-
AgentServiceApi.prototype.
|
|
2473
|
+
AgentServiceApi.prototype.searchAgentStateHistory = function (page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options) {
|
|
2474
2474
|
var _this = this;
|
|
2475
2475
|
return AgentServiceApiFp(this.configuration)
|
|
2476
|
-
.
|
|
2476
|
+
.searchAgentStateHistory(page, size, joinedAtFrom, joinedAtTo, agentId, sort, domainId, fromId, options)
|
|
2477
2477
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2478
2478
|
};
|
|
2479
2479
|
/**
|
|
@@ -2500,10 +2500,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2500
2500
|
* @throws {RequiredError}
|
|
2501
2501
|
* @memberof AgentServiceApi
|
|
2502
2502
|
*/
|
|
2503
|
-
AgentServiceApi.prototype.
|
|
2503
|
+
AgentServiceApi.prototype.searchAgentStatusStatistic = function (page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options) {
|
|
2504
2504
|
var _this = this;
|
|
2505
2505
|
return AgentServiceApiFp(this.configuration)
|
|
2506
|
-
.
|
|
2506
|
+
.searchAgentStatusStatistic(page, size, q, sort, fields, agentId, timeFrom, timeTo, status, queueId, teamId, utilizationFrom, utilizationTo, hasCall, skillId, regionId, supervisorId, auditorId, options)
|
|
2507
2507
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2508
2508
|
};
|
|
2509
2509
|
/**
|
|
@@ -2515,10 +2515,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2515
2515
|
* @throws {RequiredError}
|
|
2516
2516
|
* @memberof AgentServiceApi
|
|
2517
2517
|
*/
|
|
2518
|
-
AgentServiceApi.prototype.
|
|
2518
|
+
AgentServiceApi.prototype.searchAgentStatusStatisticItem = function (agentId, timeFrom, timeTo, options) {
|
|
2519
2519
|
var _this = this;
|
|
2520
2520
|
return AgentServiceApiFp(this.configuration)
|
|
2521
|
-
.
|
|
2521
|
+
.searchAgentStatusStatisticItem(agentId, timeFrom, timeTo, options)
|
|
2522
2522
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2523
2523
|
};
|
|
2524
2524
|
/**
|
|
@@ -2532,10 +2532,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2532
2532
|
* @throws {RequiredError}
|
|
2533
2533
|
* @memberof AgentServiceApi
|
|
2534
2534
|
*/
|
|
2535
|
-
AgentServiceApi.prototype.
|
|
2535
|
+
AgentServiceApi.prototype.searchLookupUsersAgentNotExists = function (page, size, q, domainId, options) {
|
|
2536
2536
|
var _this = this;
|
|
2537
2537
|
return AgentServiceApiFp(this.configuration)
|
|
2538
|
-
.
|
|
2538
|
+
.searchLookupUsersAgentNotExists(page, size, q, domainId, options)
|
|
2539
2539
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2540
2540
|
};
|
|
2541
2541
|
/**
|
|
@@ -2546,10 +2546,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2546
2546
|
* @throws {RequiredError}
|
|
2547
2547
|
* @memberof AgentServiceApi
|
|
2548
2548
|
*/
|
|
2549
|
-
AgentServiceApi.prototype.
|
|
2549
|
+
AgentServiceApi.prototype.searchPauseCauseForAgent = function (agentId, allowChange, options) {
|
|
2550
2550
|
var _this = this;
|
|
2551
2551
|
return AgentServiceApiFp(this.configuration)
|
|
2552
|
-
.
|
|
2552
|
+
.searchPauseCauseForAgent(agentId, allowChange, options)
|
|
2553
2553
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2554
2554
|
};
|
|
2555
2555
|
/**
|
|
@@ -2561,10 +2561,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2561
2561
|
* @throws {RequiredError}
|
|
2562
2562
|
* @memberof AgentServiceApi
|
|
2563
2563
|
*/
|
|
2564
|
-
AgentServiceApi.prototype.
|
|
2564
|
+
AgentServiceApi.prototype.updateAgent = function (id, body, options) {
|
|
2565
2565
|
var _this = this;
|
|
2566
2566
|
return AgentServiceApiFp(this.configuration)
|
|
2567
|
-
.
|
|
2567
|
+
.updateAgent(id, body, options)
|
|
2568
2568
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2569
2569
|
};
|
|
2570
2570
|
/**
|
|
@@ -2576,10 +2576,10 @@ var AgentServiceApi = /** @class */ (function (_super) {
|
|
|
2576
2576
|
* @throws {RequiredError}
|
|
2577
2577
|
* @memberof AgentServiceApi
|
|
2578
2578
|
*/
|
|
2579
|
-
AgentServiceApi.prototype.
|
|
2579
|
+
AgentServiceApi.prototype.updateAgentStatus = function (id, body, options) {
|
|
2580
2580
|
var _this = this;
|
|
2581
2581
|
return AgentServiceApiFp(this.configuration)
|
|
2582
|
-
.
|
|
2582
|
+
.updateAgentStatus(id, body, options)
|
|
2583
2583
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2584
2584
|
};
|
|
2585
2585
|
return AgentServiceApi;
|