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
|
@@ -29,7 +29,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
aggregateHistoryCall: function (body, options) {
|
|
33
33
|
if (options === void 0) { options = {}; }
|
|
34
34
|
return __awaiter(_this, void 0, void 0, function () {
|
|
35
35
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -38,7 +38,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
case 0:
|
|
39
39
|
// verify required parameter 'body' is not null or undefined
|
|
40
40
|
if (body === null || body === undefined) {
|
|
41
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
41
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling aggregateHistoryCall.');
|
|
42
42
|
}
|
|
43
43
|
localVarPath = "/calls/history/aggregate";
|
|
44
44
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -89,7 +89,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
blindTransferCall: function (id, body, options) {
|
|
93
93
|
if (options === void 0) { options = {}; }
|
|
94
94
|
return __awaiter(_this, void 0, void 0, function () {
|
|
95
95
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -98,11 +98,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
case 0:
|
|
99
99
|
// verify required parameter 'id' is not null or undefined
|
|
100
100
|
if (id === null || id === undefined) {
|
|
101
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
101
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling blindTransferCall.');
|
|
102
102
|
}
|
|
103
103
|
// verify required parameter 'body' is not null or undefined
|
|
104
104
|
if (body === null || body === undefined) {
|
|
105
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
105
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling blindTransferCall.');
|
|
106
106
|
}
|
|
107
107
|
localVarPath = "/calls/active/{id}/transfer".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
108
108
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -153,7 +153,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
confirmPush: function (id, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -162,7 +162,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
162
162
|
case 0:
|
|
163
163
|
// verify required parameter 'id' is not null or undefined
|
|
164
164
|
if (id === null || id === undefined) {
|
|
165
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
165
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling confirmPush.');
|
|
166
166
|
}
|
|
167
167
|
localVarPath = "/calls/active/{id}/confirm_push".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
168
168
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -206,7 +206,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
* @param {*} [options] Override http request option.
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
*/
|
|
209
|
-
|
|
209
|
+
createCall: function (body, options) {
|
|
210
210
|
if (options === void 0) { options = {}; }
|
|
211
211
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
212
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -215,7 +215,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
215
215
|
case 0:
|
|
216
216
|
// verify required parameter 'body' is not null or undefined
|
|
217
217
|
if (body === null || body === undefined) {
|
|
218
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
218
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createCall.');
|
|
219
219
|
}
|
|
220
220
|
localVarPath = "/calls";
|
|
221
221
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -266,7 +266,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
266
266
|
* @param {*} [options] Override http request option.
|
|
267
267
|
* @throws {RequiredError}
|
|
268
268
|
*/
|
|
269
|
-
|
|
269
|
+
createCallAnnotation: function (callId, body, options) {
|
|
270
270
|
if (options === void 0) { options = {}; }
|
|
271
271
|
return __awaiter(_this, void 0, void 0, function () {
|
|
272
272
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -275,11 +275,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
case 0:
|
|
276
276
|
// verify required parameter 'callId' is not null or undefined
|
|
277
277
|
if (callId === null || callId === undefined) {
|
|
278
|
-
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling
|
|
278
|
+
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling createCallAnnotation.');
|
|
279
279
|
}
|
|
280
280
|
// verify required parameter 'body' is not null or undefined
|
|
281
281
|
if (body === null || body === undefined) {
|
|
282
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
282
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createCallAnnotation.');
|
|
283
283
|
}
|
|
284
284
|
localVarPath = "/calls/history/{call_id}/annotation".replace("{" + 'call_id' + "}", encodeURIComponent(String(callId)));
|
|
285
285
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -330,7 +330,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
331
331
|
* @throws {RequiredError}
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
deleteCallAnnotation: function (callId, id, options) {
|
|
334
334
|
if (options === void 0) { options = {}; }
|
|
335
335
|
return __awaiter(_this, void 0, void 0, function () {
|
|
336
336
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -339,11 +339,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
339
339
|
case 0:
|
|
340
340
|
// verify required parameter 'callId' is not null or undefined
|
|
341
341
|
if (callId === null || callId === undefined) {
|
|
342
|
-
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling
|
|
342
|
+
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling deleteCallAnnotation.');
|
|
343
343
|
}
|
|
344
344
|
// verify required parameter 'id' is not null or undefined
|
|
345
345
|
if (id === null || id === undefined) {
|
|
346
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
346
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteCallAnnotation.');
|
|
347
347
|
}
|
|
348
348
|
localVarPath = "/calls/history/{call_id}/annotation/{id}"
|
|
349
349
|
.replace("{" + 'call_id' + "}", encodeURIComponent(String(callId)))
|
|
@@ -390,7 +390,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
390
390
|
* @param {*} [options] Override http request option.
|
|
391
391
|
* @throws {RequiredError}
|
|
392
392
|
*/
|
|
393
|
-
|
|
393
|
+
dtmfCall: function (id, body, options) {
|
|
394
394
|
if (options === void 0) { options = {}; }
|
|
395
395
|
return __awaiter(_this, void 0, void 0, function () {
|
|
396
396
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -399,11 +399,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
399
399
|
case 0:
|
|
400
400
|
// verify required parameter 'id' is not null or undefined
|
|
401
401
|
if (id === null || id === undefined) {
|
|
402
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
402
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling dtmfCall.');
|
|
403
403
|
}
|
|
404
404
|
// verify required parameter 'body' is not null or undefined
|
|
405
405
|
if (body === null || body === undefined) {
|
|
406
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
406
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling dtmfCall.');
|
|
407
407
|
}
|
|
408
408
|
localVarPath = "/calls/active/{id}/dtmf".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
409
409
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -454,7 +454,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
456
456
|
*/
|
|
457
|
-
|
|
457
|
+
eavesdropCall: function (id, body, options) {
|
|
458
458
|
if (options === void 0) { options = {}; }
|
|
459
459
|
return __awaiter(_this, void 0, void 0, function () {
|
|
460
460
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -463,11 +463,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
463
463
|
case 0:
|
|
464
464
|
// verify required parameter 'id' is not null or undefined
|
|
465
465
|
if (id === null || id === undefined) {
|
|
466
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
466
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling eavesdropCall.');
|
|
467
467
|
}
|
|
468
468
|
// verify required parameter 'body' is not null or undefined
|
|
469
469
|
if (body === null || body === undefined) {
|
|
470
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
470
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling eavesdropCall.');
|
|
471
471
|
}
|
|
472
472
|
localVarPath = "/calls/active/{id}/eavesdrop".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
473
473
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -518,7 +518,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
*/
|
|
521
|
-
|
|
521
|
+
hangupCall: function (id, body, options) {
|
|
522
522
|
if (options === void 0) { options = {}; }
|
|
523
523
|
return __awaiter(_this, void 0, void 0, function () {
|
|
524
524
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -527,11 +527,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
527
527
|
case 0:
|
|
528
528
|
// verify required parameter 'id' is not null or undefined
|
|
529
529
|
if (id === null || id === undefined) {
|
|
530
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
530
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling hangupCall.');
|
|
531
531
|
}
|
|
532
532
|
// verify required parameter 'body' is not null or undefined
|
|
533
533
|
if (body === null || body === undefined) {
|
|
534
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
534
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling hangupCall.');
|
|
535
535
|
}
|
|
536
536
|
localVarPath = "/calls/active/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
537
537
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -582,7 +582,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
582
582
|
* @param {*} [options] Override http request option.
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
*/
|
|
585
|
-
|
|
585
|
+
holdCall: function (id, body, options) {
|
|
586
586
|
if (options === void 0) { options = {}; }
|
|
587
587
|
return __awaiter(_this, void 0, void 0, function () {
|
|
588
588
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -591,11 +591,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
591
591
|
case 0:
|
|
592
592
|
// verify required parameter 'id' is not null or undefined
|
|
593
593
|
if (id === null || id === undefined) {
|
|
594
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
594
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling holdCall.');
|
|
595
595
|
}
|
|
596
596
|
// verify required parameter 'body' is not null or undefined
|
|
597
597
|
if (body === null || body === undefined) {
|
|
598
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
598
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling holdCall.');
|
|
599
599
|
}
|
|
600
600
|
localVarPath = "/calls/active/{id}/hold".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
601
601
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -647,7 +647,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
647
647
|
* @param {*} [options] Override http request option.
|
|
648
648
|
* @throws {RequiredError}
|
|
649
649
|
*/
|
|
650
|
-
|
|
650
|
+
readCall: function (id, domainId, options) {
|
|
651
651
|
if (options === void 0) { options = {}; }
|
|
652
652
|
return __awaiter(_this, void 0, void 0, function () {
|
|
653
653
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -656,7 +656,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
656
656
|
case 0:
|
|
657
657
|
// verify required parameter 'id' is not null or undefined
|
|
658
658
|
if (id === null || id === undefined) {
|
|
659
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
659
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling readCall.');
|
|
660
660
|
}
|
|
661
661
|
localVarPath = "/calls/active/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
662
662
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -731,7 +731,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
731
731
|
* @param {*} [options] Override http request option.
|
|
732
732
|
* @throws {RequiredError}
|
|
733
733
|
*/
|
|
734
|
-
|
|
734
|
+
searchActiveCall: function (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options) {
|
|
735
735
|
if (options === void 0) { options = {}; }
|
|
736
736
|
return __awaiter(_this, void 0, void 0, function () {
|
|
737
737
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -906,7 +906,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
906
906
|
* @param {*} [options] Override http request option.
|
|
907
907
|
* @throws {RequiredError}
|
|
908
908
|
*/
|
|
909
|
-
|
|
909
|
+
searchHistoryCall: function (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, options) {
|
|
910
910
|
if (options === void 0) { options = {}; }
|
|
911
911
|
return __awaiter(_this, void 0, void 0, function () {
|
|
912
912
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
@@ -1073,7 +1073,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1073
1073
|
* @param {*} [options] Override http request option.
|
|
1074
1074
|
* @throws {RequiredError}
|
|
1075
1075
|
*/
|
|
1076
|
-
|
|
1076
|
+
unHoldCall: function (id, body, options) {
|
|
1077
1077
|
if (options === void 0) { options = {}; }
|
|
1078
1078
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1079
1079
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions, needsSerialization;
|
|
@@ -1082,11 +1082,11 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1082
1082
|
case 0:
|
|
1083
1083
|
// verify required parameter 'id' is not null or undefined
|
|
1084
1084
|
if (id === null || id === undefined) {
|
|
1085
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1085
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling unHoldCall.');
|
|
1086
1086
|
}
|
|
1087
1087
|
// verify required parameter 'body' is not null or undefined
|
|
1088
1088
|
if (body === null || body === undefined) {
|
|
1089
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
1089
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling unHoldCall.');
|
|
1090
1090
|
}
|
|
1091
1091
|
localVarPath = "/calls/active/{id}/unhold".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
1092
1092
|
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
@@ -1138,7 +1138,7 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1138
1138
|
* @param {*} [options] Override http request option.
|
|
1139
1139
|
* @throws {RequiredError}
|
|
1140
1140
|
*/
|
|
1141
|
-
|
|
1141
|
+
updateCallAnnotation: function (callId, id, body, 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, needsSerialization;
|
|
@@ -1147,15 +1147,15 @@ export var CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
1147
1147
|
case 0:
|
|
1148
1148
|
// verify required parameter 'callId' is not null or undefined
|
|
1149
1149
|
if (callId === null || callId === undefined) {
|
|
1150
|
-
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling
|
|
1150
|
+
throw new RequiredError('callId', 'Required parameter callId was null or undefined when calling updateCallAnnotation.');
|
|
1151
1151
|
}
|
|
1152
1152
|
// verify required parameter 'id' is not null or undefined
|
|
1153
1153
|
if (id === null || id === undefined) {
|
|
1154
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1154
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateCallAnnotation.');
|
|
1155
1155
|
}
|
|
1156
1156
|
// verify required parameter 'body' is not null or undefined
|
|
1157
1157
|
if (body === null || body === undefined) {
|
|
1158
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
1158
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateCallAnnotation.');
|
|
1159
1159
|
}
|
|
1160
1160
|
localVarPath = "/calls/history/{call_id}/annotation/{id}"
|
|
1161
1161
|
.replace("{" + 'call_id' + "}", encodeURIComponent(String(callId)))
|
|
@@ -1215,12 +1215,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1215
1215
|
* @param {*} [options] Override http request option.
|
|
1216
1216
|
* @throws {RequiredError}
|
|
1217
1217
|
*/
|
|
1218
|
-
|
|
1218
|
+
aggregateHistoryCall: function (body, options) {
|
|
1219
1219
|
return __awaiter(this, void 0, void 0, function () {
|
|
1220
1220
|
var localVarAxiosArgs;
|
|
1221
1221
|
return __generator(this, function (_a) {
|
|
1222
1222
|
switch (_a.label) {
|
|
1223
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1223
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).aggregateHistoryCall(body, options)];
|
|
1224
1224
|
case 1:
|
|
1225
1225
|
localVarAxiosArgs = _a.sent();
|
|
1226
1226
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1240,12 +1240,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1240
1240
|
* @param {*} [options] Override http request option.
|
|
1241
1241
|
* @throws {RequiredError}
|
|
1242
1242
|
*/
|
|
1243
|
-
|
|
1243
|
+
blindTransferCall: function (id, body, options) {
|
|
1244
1244
|
return __awaiter(this, void 0, void 0, function () {
|
|
1245
1245
|
var localVarAxiosArgs;
|
|
1246
1246
|
return __generator(this, function (_a) {
|
|
1247
1247
|
switch (_a.label) {
|
|
1248
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1248
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).blindTransferCall(id, body, options)];
|
|
1249
1249
|
case 1:
|
|
1250
1250
|
localVarAxiosArgs = _a.sent();
|
|
1251
1251
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1265,12 +1265,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1265
1265
|
* @param {*} [options] Override http request option.
|
|
1266
1266
|
* @throws {RequiredError}
|
|
1267
1267
|
*/
|
|
1268
|
-
|
|
1268
|
+
confirmPush: function (id, options) {
|
|
1269
1269
|
return __awaiter(this, void 0, void 0, function () {
|
|
1270
1270
|
var localVarAxiosArgs;
|
|
1271
1271
|
return __generator(this, function (_a) {
|
|
1272
1272
|
switch (_a.label) {
|
|
1273
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1273
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).confirmPush(id, options)];
|
|
1274
1274
|
case 1:
|
|
1275
1275
|
localVarAxiosArgs = _a.sent();
|
|
1276
1276
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1289,12 +1289,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1289
1289
|
* @param {*} [options] Override http request option.
|
|
1290
1290
|
* @throws {RequiredError}
|
|
1291
1291
|
*/
|
|
1292
|
-
|
|
1292
|
+
createCall: function (body, options) {
|
|
1293
1293
|
return __awaiter(this, void 0, void 0, function () {
|
|
1294
1294
|
var localVarAxiosArgs;
|
|
1295
1295
|
return __generator(this, function (_a) {
|
|
1296
1296
|
switch (_a.label) {
|
|
1297
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1297
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).createCall(body, options)];
|
|
1298
1298
|
case 1:
|
|
1299
1299
|
localVarAxiosArgs = _a.sent();
|
|
1300
1300
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1314,12 +1314,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1314
1314
|
* @param {*} [options] Override http request option.
|
|
1315
1315
|
* @throws {RequiredError}
|
|
1316
1316
|
*/
|
|
1317
|
-
|
|
1317
|
+
createCallAnnotation: function (callId, body, options) {
|
|
1318
1318
|
return __awaiter(this, void 0, void 0, function () {
|
|
1319
1319
|
var localVarAxiosArgs;
|
|
1320
1320
|
return __generator(this, function (_a) {
|
|
1321
1321
|
switch (_a.label) {
|
|
1322
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1322
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).createCallAnnotation(callId, body, options)];
|
|
1323
1323
|
case 1:
|
|
1324
1324
|
localVarAxiosArgs = _a.sent();
|
|
1325
1325
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1339,12 +1339,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1339
1339
|
* @param {*} [options] Override http request option.
|
|
1340
1340
|
* @throws {RequiredError}
|
|
1341
1341
|
*/
|
|
1342
|
-
|
|
1342
|
+
deleteCallAnnotation: function (callId, id, options) {
|
|
1343
1343
|
return __awaiter(this, void 0, void 0, function () {
|
|
1344
1344
|
var localVarAxiosArgs;
|
|
1345
1345
|
return __generator(this, function (_a) {
|
|
1346
1346
|
switch (_a.label) {
|
|
1347
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1347
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).deleteCallAnnotation(callId, id, options)];
|
|
1348
1348
|
case 1:
|
|
1349
1349
|
localVarAxiosArgs = _a.sent();
|
|
1350
1350
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1364,12 +1364,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1364
1364
|
* @param {*} [options] Override http request option.
|
|
1365
1365
|
* @throws {RequiredError}
|
|
1366
1366
|
*/
|
|
1367
|
-
|
|
1367
|
+
dtmfCall: function (id, body, options) {
|
|
1368
1368
|
return __awaiter(this, void 0, void 0, function () {
|
|
1369
1369
|
var localVarAxiosArgs;
|
|
1370
1370
|
return __generator(this, function (_a) {
|
|
1371
1371
|
switch (_a.label) {
|
|
1372
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1372
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).dtmfCall(id, body, options)];
|
|
1373
1373
|
case 1:
|
|
1374
1374
|
localVarAxiosArgs = _a.sent();
|
|
1375
1375
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1389,12 +1389,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1389
1389
|
* @param {*} [options] Override http request option.
|
|
1390
1390
|
* @throws {RequiredError}
|
|
1391
1391
|
*/
|
|
1392
|
-
|
|
1392
|
+
eavesdropCall: function (id, body, options) {
|
|
1393
1393
|
return __awaiter(this, void 0, void 0, function () {
|
|
1394
1394
|
var localVarAxiosArgs;
|
|
1395
1395
|
return __generator(this, function (_a) {
|
|
1396
1396
|
switch (_a.label) {
|
|
1397
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1397
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).eavesdropCall(id, body, options)];
|
|
1398
1398
|
case 1:
|
|
1399
1399
|
localVarAxiosArgs = _a.sent();
|
|
1400
1400
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1414,12 +1414,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1414
1414
|
* @param {*} [options] Override http request option.
|
|
1415
1415
|
* @throws {RequiredError}
|
|
1416
1416
|
*/
|
|
1417
|
-
|
|
1417
|
+
hangupCall: function (id, body, options) {
|
|
1418
1418
|
return __awaiter(this, void 0, void 0, function () {
|
|
1419
1419
|
var localVarAxiosArgs;
|
|
1420
1420
|
return __generator(this, function (_a) {
|
|
1421
1421
|
switch (_a.label) {
|
|
1422
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1422
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).hangupCall(id, body, options)];
|
|
1423
1423
|
case 1:
|
|
1424
1424
|
localVarAxiosArgs = _a.sent();
|
|
1425
1425
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1439,12 +1439,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1439
1439
|
* @param {*} [options] Override http request option.
|
|
1440
1440
|
* @throws {RequiredError}
|
|
1441
1441
|
*/
|
|
1442
|
-
|
|
1442
|
+
holdCall: function (id, body, options) {
|
|
1443
1443
|
return __awaiter(this, void 0, void 0, function () {
|
|
1444
1444
|
var localVarAxiosArgs;
|
|
1445
1445
|
return __generator(this, function (_a) {
|
|
1446
1446
|
switch (_a.label) {
|
|
1447
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1447
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).holdCall(id, body, options)];
|
|
1448
1448
|
case 1:
|
|
1449
1449
|
localVarAxiosArgs = _a.sent();
|
|
1450
1450
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1465,12 +1465,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1465
1465
|
* @param {*} [options] Override http request option.
|
|
1466
1466
|
* @throws {RequiredError}
|
|
1467
1467
|
*/
|
|
1468
|
-
|
|
1468
|
+
readCall: function (id, domainId, options) {
|
|
1469
1469
|
return __awaiter(this, void 0, void 0, function () {
|
|
1470
1470
|
var localVarAxiosArgs;
|
|
1471
1471
|
return __generator(this, function (_a) {
|
|
1472
1472
|
switch (_a.label) {
|
|
1473
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1473
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).readCall(id, domainId, options)];
|
|
1474
1474
|
case 1:
|
|
1475
1475
|
localVarAxiosArgs = _a.sent();
|
|
1476
1476
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1517,12 +1517,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1517
1517
|
* @param {*} [options] Override http request option.
|
|
1518
1518
|
* @throws {RequiredError}
|
|
1519
1519
|
*/
|
|
1520
|
-
|
|
1520
|
+
searchActiveCall: function (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options) {
|
|
1521
1521
|
return __awaiter(this, void 0, void 0, function () {
|
|
1522
1522
|
var localVarAxiosArgs;
|
|
1523
1523
|
return __generator(this, function (_a) {
|
|
1524
1524
|
switch (_a.label) {
|
|
1525
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1525
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).searchActiveCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options)];
|
|
1526
1526
|
case 1:
|
|
1527
1527
|
localVarAxiosArgs = _a.sent();
|
|
1528
1528
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1580,12 +1580,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1580
1580
|
* @param {*} [options] Override http request option.
|
|
1581
1581
|
* @throws {RequiredError}
|
|
1582
1582
|
*/
|
|
1583
|
-
|
|
1583
|
+
searchHistoryCall: function (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, options) {
|
|
1584
1584
|
return __awaiter(this, void 0, void 0, function () {
|
|
1585
1585
|
var localVarAxiosArgs;
|
|
1586
1586
|
return __generator(this, function (_a) {
|
|
1587
1587
|
switch (_a.label) {
|
|
1588
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1588
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).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, options)];
|
|
1589
1589
|
case 1:
|
|
1590
1590
|
localVarAxiosArgs = _a.sent();
|
|
1591
1591
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1605,12 +1605,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1605
1605
|
* @param {*} [options] Override http request option.
|
|
1606
1606
|
* @throws {RequiredError}
|
|
1607
1607
|
*/
|
|
1608
|
-
|
|
1608
|
+
unHoldCall: function (id, body, options) {
|
|
1609
1609
|
return __awaiter(this, void 0, void 0, function () {
|
|
1610
1610
|
var localVarAxiosArgs;
|
|
1611
1611
|
return __generator(this, function (_a) {
|
|
1612
1612
|
switch (_a.label) {
|
|
1613
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1613
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).unHoldCall(id, body, options)];
|
|
1614
1614
|
case 1:
|
|
1615
1615
|
localVarAxiosArgs = _a.sent();
|
|
1616
1616
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1631,12 +1631,12 @@ export var CallServiceApiFp = function (configuration) {
|
|
|
1631
1631
|
* @param {*} [options] Override http request option.
|
|
1632
1632
|
* @throws {RequiredError}
|
|
1633
1633
|
*/
|
|
1634
|
-
|
|
1634
|
+
updateCallAnnotation: function (callId, id, body, options) {
|
|
1635
1635
|
return __awaiter(this, void 0, void 0, function () {
|
|
1636
1636
|
var localVarAxiosArgs;
|
|
1637
1637
|
return __generator(this, function (_a) {
|
|
1638
1638
|
switch (_a.label) {
|
|
1639
|
-
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).
|
|
1639
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).updateCallAnnotation(callId, id, body, options)];
|
|
1640
1640
|
case 1:
|
|
1641
1641
|
localVarAxiosArgs = _a.sent();
|
|
1642
1642
|
return [2 /*return*/, function (axios, basePath) {
|
|
@@ -1663,9 +1663,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1663
1663
|
* @param {*} [options] Override http request option.
|
|
1664
1664
|
* @throws {RequiredError}
|
|
1665
1665
|
*/
|
|
1666
|
-
|
|
1666
|
+
aggregateHistoryCall: function (body, options) {
|
|
1667
1667
|
return CallServiceApiFp(configuration)
|
|
1668
|
-
.
|
|
1668
|
+
.aggregateHistoryCall(body, options)
|
|
1669
1669
|
.then(function (request) { return request(axios, basePath); });
|
|
1670
1670
|
},
|
|
1671
1671
|
/**
|
|
@@ -1675,9 +1675,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1675
1675
|
* @param {*} [options] Override http request option.
|
|
1676
1676
|
* @throws {RequiredError}
|
|
1677
1677
|
*/
|
|
1678
|
-
|
|
1678
|
+
blindTransferCall: function (id, body, options) {
|
|
1679
1679
|
return CallServiceApiFp(configuration)
|
|
1680
|
-
.
|
|
1680
|
+
.blindTransferCall(id, body, options)
|
|
1681
1681
|
.then(function (request) { return request(axios, basePath); });
|
|
1682
1682
|
},
|
|
1683
1683
|
/**
|
|
@@ -1687,9 +1687,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1687
1687
|
* @param {*} [options] Override http request option.
|
|
1688
1688
|
* @throws {RequiredError}
|
|
1689
1689
|
*/
|
|
1690
|
-
|
|
1690
|
+
confirmPush: function (id, options) {
|
|
1691
1691
|
return CallServiceApiFp(configuration)
|
|
1692
|
-
.
|
|
1692
|
+
.confirmPush(id, options)
|
|
1693
1693
|
.then(function (request) { return request(axios, basePath); });
|
|
1694
1694
|
},
|
|
1695
1695
|
/**
|
|
@@ -1698,9 +1698,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1698
1698
|
* @param {*} [options] Override http request option.
|
|
1699
1699
|
* @throws {RequiredError}
|
|
1700
1700
|
*/
|
|
1701
|
-
|
|
1701
|
+
createCall: function (body, options) {
|
|
1702
1702
|
return CallServiceApiFp(configuration)
|
|
1703
|
-
.
|
|
1703
|
+
.createCall(body, options)
|
|
1704
1704
|
.then(function (request) { return request(axios, basePath); });
|
|
1705
1705
|
},
|
|
1706
1706
|
/**
|
|
@@ -1710,9 +1710,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1710
1710
|
* @param {*} [options] Override http request option.
|
|
1711
1711
|
* @throws {RequiredError}
|
|
1712
1712
|
*/
|
|
1713
|
-
|
|
1713
|
+
createCallAnnotation: function (callId, body, options) {
|
|
1714
1714
|
return CallServiceApiFp(configuration)
|
|
1715
|
-
.
|
|
1715
|
+
.createCallAnnotation(callId, body, options)
|
|
1716
1716
|
.then(function (request) { return request(axios, basePath); });
|
|
1717
1717
|
},
|
|
1718
1718
|
/**
|
|
@@ -1722,9 +1722,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1722
1722
|
* @param {*} [options] Override http request option.
|
|
1723
1723
|
* @throws {RequiredError}
|
|
1724
1724
|
*/
|
|
1725
|
-
|
|
1725
|
+
deleteCallAnnotation: function (callId, id, options) {
|
|
1726
1726
|
return CallServiceApiFp(configuration)
|
|
1727
|
-
.
|
|
1727
|
+
.deleteCallAnnotation(callId, id, options)
|
|
1728
1728
|
.then(function (request) { return request(axios, basePath); });
|
|
1729
1729
|
},
|
|
1730
1730
|
/**
|
|
@@ -1734,9 +1734,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1734
1734
|
* @param {*} [options] Override http request option.
|
|
1735
1735
|
* @throws {RequiredError}
|
|
1736
1736
|
*/
|
|
1737
|
-
|
|
1737
|
+
dtmfCall: function (id, body, options) {
|
|
1738
1738
|
return CallServiceApiFp(configuration)
|
|
1739
|
-
.
|
|
1739
|
+
.dtmfCall(id, body, options)
|
|
1740
1740
|
.then(function (request) { return request(axios, basePath); });
|
|
1741
1741
|
},
|
|
1742
1742
|
/**
|
|
@@ -1746,9 +1746,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1746
1746
|
* @param {*} [options] Override http request option.
|
|
1747
1747
|
* @throws {RequiredError}
|
|
1748
1748
|
*/
|
|
1749
|
-
|
|
1749
|
+
eavesdropCall: function (id, body, options) {
|
|
1750
1750
|
return CallServiceApiFp(configuration)
|
|
1751
|
-
.
|
|
1751
|
+
.eavesdropCall(id, body, options)
|
|
1752
1752
|
.then(function (request) { return request(axios, basePath); });
|
|
1753
1753
|
},
|
|
1754
1754
|
/**
|
|
@@ -1758,9 +1758,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1758
1758
|
* @param {*} [options] Override http request option.
|
|
1759
1759
|
* @throws {RequiredError}
|
|
1760
1760
|
*/
|
|
1761
|
-
|
|
1761
|
+
hangupCall: function (id, body, options) {
|
|
1762
1762
|
return CallServiceApiFp(configuration)
|
|
1763
|
-
.
|
|
1763
|
+
.hangupCall(id, body, options)
|
|
1764
1764
|
.then(function (request) { return request(axios, basePath); });
|
|
1765
1765
|
},
|
|
1766
1766
|
/**
|
|
@@ -1770,9 +1770,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1770
1770
|
* @param {*} [options] Override http request option.
|
|
1771
1771
|
* @throws {RequiredError}
|
|
1772
1772
|
*/
|
|
1773
|
-
|
|
1773
|
+
holdCall: function (id, body, options) {
|
|
1774
1774
|
return CallServiceApiFp(configuration)
|
|
1775
|
-
.
|
|
1775
|
+
.holdCall(id, body, options)
|
|
1776
1776
|
.then(function (request) { return request(axios, basePath); });
|
|
1777
1777
|
},
|
|
1778
1778
|
/**
|
|
@@ -1783,9 +1783,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1783
1783
|
* @param {*} [options] Override http request option.
|
|
1784
1784
|
* @throws {RequiredError}
|
|
1785
1785
|
*/
|
|
1786
|
-
|
|
1786
|
+
readCall: function (id, domainId, options) {
|
|
1787
1787
|
return CallServiceApiFp(configuration)
|
|
1788
|
-
.
|
|
1788
|
+
.readCall(id, domainId, options)
|
|
1789
1789
|
.then(function (request) { return request(axios, basePath); });
|
|
1790
1790
|
},
|
|
1791
1791
|
/**
|
|
@@ -1822,9 +1822,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1822
1822
|
* @param {*} [options] Override http request option.
|
|
1823
1823
|
* @throws {RequiredError}
|
|
1824
1824
|
*/
|
|
1825
|
-
|
|
1825
|
+
searchActiveCall: function (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options) {
|
|
1826
1826
|
return CallServiceApiFp(configuration)
|
|
1827
|
-
.
|
|
1827
|
+
.searchActiveCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options)
|
|
1828
1828
|
.then(function (request) { return request(axios, basePath); });
|
|
1829
1829
|
},
|
|
1830
1830
|
/**
|
|
@@ -1872,9 +1872,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1872
1872
|
* @param {*} [options] Override http request option.
|
|
1873
1873
|
* @throws {RequiredError}
|
|
1874
1874
|
*/
|
|
1875
|
-
|
|
1875
|
+
searchHistoryCall: function (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, options) {
|
|
1876
1876
|
return CallServiceApiFp(configuration)
|
|
1877
|
-
.
|
|
1877
|
+
.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, options)
|
|
1878
1878
|
.then(function (request) { return request(axios, basePath); });
|
|
1879
1879
|
},
|
|
1880
1880
|
/**
|
|
@@ -1884,9 +1884,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1884
1884
|
* @param {*} [options] Override http request option.
|
|
1885
1885
|
* @throws {RequiredError}
|
|
1886
1886
|
*/
|
|
1887
|
-
|
|
1887
|
+
unHoldCall: function (id, body, options) {
|
|
1888
1888
|
return CallServiceApiFp(configuration)
|
|
1889
|
-
.
|
|
1889
|
+
.unHoldCall(id, body, options)
|
|
1890
1890
|
.then(function (request) { return request(axios, basePath); });
|
|
1891
1891
|
},
|
|
1892
1892
|
/**
|
|
@@ -1897,9 +1897,9 @@ export var CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
1897
1897
|
* @param {*} [options] Override http request option.
|
|
1898
1898
|
* @throws {RequiredError}
|
|
1899
1899
|
*/
|
|
1900
|
-
|
|
1900
|
+
updateCallAnnotation: function (callId, id, body, options) {
|
|
1901
1901
|
return CallServiceApiFp(configuration)
|
|
1902
|
-
.
|
|
1902
|
+
.updateCallAnnotation(callId, id, body, options)
|
|
1903
1903
|
.then(function (request) { return request(axios, basePath); });
|
|
1904
1904
|
},
|
|
1905
1905
|
};
|
|
@@ -1922,10 +1922,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1922
1922
|
* @throws {RequiredError}
|
|
1923
1923
|
* @memberof CallServiceApi
|
|
1924
1924
|
*/
|
|
1925
|
-
CallServiceApi.prototype.
|
|
1925
|
+
CallServiceApi.prototype.aggregateHistoryCall = function (body, options) {
|
|
1926
1926
|
var _this = this;
|
|
1927
1927
|
return CallServiceApiFp(this.configuration)
|
|
1928
|
-
.
|
|
1928
|
+
.aggregateHistoryCall(body, options)
|
|
1929
1929
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1930
1930
|
};
|
|
1931
1931
|
/**
|
|
@@ -1936,10 +1936,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1936
1936
|
* @throws {RequiredError}
|
|
1937
1937
|
* @memberof CallServiceApi
|
|
1938
1938
|
*/
|
|
1939
|
-
CallServiceApi.prototype.
|
|
1939
|
+
CallServiceApi.prototype.blindTransferCall = function (id, body, options) {
|
|
1940
1940
|
var _this = this;
|
|
1941
1941
|
return CallServiceApiFp(this.configuration)
|
|
1942
|
-
.
|
|
1942
|
+
.blindTransferCall(id, body, options)
|
|
1943
1943
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1944
1944
|
};
|
|
1945
1945
|
/**
|
|
@@ -1950,10 +1950,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1950
1950
|
* @throws {RequiredError}
|
|
1951
1951
|
* @memberof CallServiceApi
|
|
1952
1952
|
*/
|
|
1953
|
-
CallServiceApi.prototype.
|
|
1953
|
+
CallServiceApi.prototype.confirmPush = function (id, options) {
|
|
1954
1954
|
var _this = this;
|
|
1955
1955
|
return CallServiceApiFp(this.configuration)
|
|
1956
|
-
.
|
|
1956
|
+
.confirmPush(id, options)
|
|
1957
1957
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1958
1958
|
};
|
|
1959
1959
|
/**
|
|
@@ -1963,10 +1963,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1963
1963
|
* @throws {RequiredError}
|
|
1964
1964
|
* @memberof CallServiceApi
|
|
1965
1965
|
*/
|
|
1966
|
-
CallServiceApi.prototype.
|
|
1966
|
+
CallServiceApi.prototype.createCall = function (body, options) {
|
|
1967
1967
|
var _this = this;
|
|
1968
1968
|
return CallServiceApiFp(this.configuration)
|
|
1969
|
-
.
|
|
1969
|
+
.createCall(body, options)
|
|
1970
1970
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1971
1971
|
};
|
|
1972
1972
|
/**
|
|
@@ -1977,10 +1977,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1977
1977
|
* @throws {RequiredError}
|
|
1978
1978
|
* @memberof CallServiceApi
|
|
1979
1979
|
*/
|
|
1980
|
-
CallServiceApi.prototype.
|
|
1980
|
+
CallServiceApi.prototype.createCallAnnotation = function (callId, body, options) {
|
|
1981
1981
|
var _this = this;
|
|
1982
1982
|
return CallServiceApiFp(this.configuration)
|
|
1983
|
-
.
|
|
1983
|
+
.createCallAnnotation(callId, body, options)
|
|
1984
1984
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1985
1985
|
};
|
|
1986
1986
|
/**
|
|
@@ -1991,10 +1991,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
1991
1991
|
* @throws {RequiredError}
|
|
1992
1992
|
* @memberof CallServiceApi
|
|
1993
1993
|
*/
|
|
1994
|
-
CallServiceApi.prototype.
|
|
1994
|
+
CallServiceApi.prototype.deleteCallAnnotation = function (callId, id, options) {
|
|
1995
1995
|
var _this = this;
|
|
1996
1996
|
return CallServiceApiFp(this.configuration)
|
|
1997
|
-
.
|
|
1997
|
+
.deleteCallAnnotation(callId, id, options)
|
|
1998
1998
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1999
1999
|
};
|
|
2000
2000
|
/**
|
|
@@ -2005,10 +2005,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2005
2005
|
* @throws {RequiredError}
|
|
2006
2006
|
* @memberof CallServiceApi
|
|
2007
2007
|
*/
|
|
2008
|
-
CallServiceApi.prototype.
|
|
2008
|
+
CallServiceApi.prototype.dtmfCall = function (id, body, options) {
|
|
2009
2009
|
var _this = this;
|
|
2010
2010
|
return CallServiceApiFp(this.configuration)
|
|
2011
|
-
.
|
|
2011
|
+
.dtmfCall(id, body, options)
|
|
2012
2012
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2013
2013
|
};
|
|
2014
2014
|
/**
|
|
@@ -2019,10 +2019,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2019
2019
|
* @throws {RequiredError}
|
|
2020
2020
|
* @memberof CallServiceApi
|
|
2021
2021
|
*/
|
|
2022
|
-
CallServiceApi.prototype.
|
|
2022
|
+
CallServiceApi.prototype.eavesdropCall = function (id, body, options) {
|
|
2023
2023
|
var _this = this;
|
|
2024
2024
|
return CallServiceApiFp(this.configuration)
|
|
2025
|
-
.
|
|
2025
|
+
.eavesdropCall(id, body, options)
|
|
2026
2026
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2027
2027
|
};
|
|
2028
2028
|
/**
|
|
@@ -2033,10 +2033,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2033
2033
|
* @throws {RequiredError}
|
|
2034
2034
|
* @memberof CallServiceApi
|
|
2035
2035
|
*/
|
|
2036
|
-
CallServiceApi.prototype.
|
|
2036
|
+
CallServiceApi.prototype.hangupCall = function (id, body, options) {
|
|
2037
2037
|
var _this = this;
|
|
2038
2038
|
return CallServiceApiFp(this.configuration)
|
|
2039
|
-
.
|
|
2039
|
+
.hangupCall(id, body, options)
|
|
2040
2040
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2041
2041
|
};
|
|
2042
2042
|
/**
|
|
@@ -2047,10 +2047,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2047
2047
|
* @throws {RequiredError}
|
|
2048
2048
|
* @memberof CallServiceApi
|
|
2049
2049
|
*/
|
|
2050
|
-
CallServiceApi.prototype.
|
|
2050
|
+
CallServiceApi.prototype.holdCall = function (id, body, options) {
|
|
2051
2051
|
var _this = this;
|
|
2052
2052
|
return CallServiceApiFp(this.configuration)
|
|
2053
|
-
.
|
|
2053
|
+
.holdCall(id, body, options)
|
|
2054
2054
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2055
2055
|
};
|
|
2056
2056
|
/**
|
|
@@ -2062,10 +2062,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2062
2062
|
* @throws {RequiredError}
|
|
2063
2063
|
* @memberof CallServiceApi
|
|
2064
2064
|
*/
|
|
2065
|
-
CallServiceApi.prototype.
|
|
2065
|
+
CallServiceApi.prototype.readCall = function (id, domainId, options) {
|
|
2066
2066
|
var _this = this;
|
|
2067
2067
|
return CallServiceApiFp(this.configuration)
|
|
2068
|
-
.
|
|
2068
|
+
.readCall(id, domainId, options)
|
|
2069
2069
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2070
2070
|
};
|
|
2071
2071
|
/**
|
|
@@ -2103,10 +2103,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2103
2103
|
* @throws {RequiredError}
|
|
2104
2104
|
* @memberof CallServiceApi
|
|
2105
2105
|
*/
|
|
2106
|
-
CallServiceApi.prototype.
|
|
2106
|
+
CallServiceApi.prototype.searchActiveCall = function (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options) {
|
|
2107
2107
|
var _this = this;
|
|
2108
2108
|
return CallServiceApiFp(this.configuration)
|
|
2109
|
-
.
|
|
2109
|
+
.searchActiveCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, existsFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, supervisorId, state, options)
|
|
2110
2110
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2111
2111
|
};
|
|
2112
2112
|
/**
|
|
@@ -2155,10 +2155,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2155
2155
|
* @throws {RequiredError}
|
|
2156
2156
|
* @memberof CallServiceApi
|
|
2157
2157
|
*/
|
|
2158
|
-
CallServiceApi.prototype.
|
|
2158
|
+
CallServiceApi.prototype.searchHistoryCall = function (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, options) {
|
|
2159
2159
|
var _this = this;
|
|
2160
2160
|
return CallServiceApiFp(this.configuration)
|
|
2161
|
-
.
|
|
2161
|
+
.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, options)
|
|
2162
2162
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2163
2163
|
};
|
|
2164
2164
|
/**
|
|
@@ -2169,10 +2169,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2169
2169
|
* @throws {RequiredError}
|
|
2170
2170
|
* @memberof CallServiceApi
|
|
2171
2171
|
*/
|
|
2172
|
-
CallServiceApi.prototype.
|
|
2172
|
+
CallServiceApi.prototype.unHoldCall = function (id, body, options) {
|
|
2173
2173
|
var _this = this;
|
|
2174
2174
|
return CallServiceApiFp(this.configuration)
|
|
2175
|
-
.
|
|
2175
|
+
.unHoldCall(id, body, options)
|
|
2176
2176
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2177
2177
|
};
|
|
2178
2178
|
/**
|
|
@@ -2184,10 +2184,10 @@ var CallServiceApi = /** @class */ (function (_super) {
|
|
|
2184
2184
|
* @throws {RequiredError}
|
|
2185
2185
|
* @memberof CallServiceApi
|
|
2186
2186
|
*/
|
|
2187
|
-
CallServiceApi.prototype.
|
|
2187
|
+
CallServiceApi.prototype.updateCallAnnotation = function (callId, id, body, options) {
|
|
2188
2188
|
var _this = this;
|
|
2189
2189
|
return CallServiceApiFp(this.configuration)
|
|
2190
|
-
.
|
|
2190
|
+
.updateCallAnnotation(callId, id, body, options)
|
|
2191
2191
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2192
2192
|
};
|
|
2193
2193
|
return CallServiceApi;
|