webitel-sdk 0.1.167 → 0.1.169
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 +271 -10
- 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 +309 -10
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/call-service-api.js +102 -0
- package/esm2015/api/call-service-api.js.map +1 -1
- package/esm2015/api/chat-helper-service-api.js +152 -0
- package/esm2015/api/chat-helper-service-api.js.map +1 -0
- package/esm2015/api/engine-broadcast-request.js +13 -0
- package/esm2015/api/engine-broadcast-request.js.map +1 -0
- package/esm2015/api/engine-set-variables-call-request.js +13 -0
- package/esm2015/api/engine-set-variables-call-request.js.map +1 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/trigger-service-api.js +21 -7
- package/esm2015/api/trigger-service-api.js.map +1 -1
- package/esm2015/api.js +1 -0
- package/esm2015/api.js.map +1 -1
- package/esm2015/socket/task.js +12 -1
- package/esm2015/socket/task.js.map +1 -1
- package/esm5/api/call-service-api.js +115 -0
- package/esm5/api/call-service-api.js.map +1 -1
- package/esm5/api/chat-helper-service-api.js +173 -0
- package/esm5/api/chat-helper-service-api.js.map +1 -0
- package/esm5/api/engine-broadcast-request.js +13 -0
- package/esm5/api/engine-broadcast-request.js.map +1 -0
- package/esm5/api/engine-set-variables-call-request.js +13 -0
- package/esm5/api/engine-set-variables-call-request.js.map +1 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/trigger-service-api.js +21 -7
- package/esm5/api/trigger-service-api.js.map +1 -1
- package/esm5/api.js +1 -0
- package/esm5/api.js.map +1 -1
- package/esm5/socket/task.js +15 -2
- package/esm5/socket/task.js.map +1 -1
- package/package.json +1 -1
- package/types/api/call-service-api.d.ts +34 -0
- package/types/api/call-service-api.d.ts.map +1 -1
- package/types/api/chat-helper-service-api.d.ts +75 -0
- package/types/api/chat-helper-service-api.d.ts.map +1 -0
- package/types/api/engine-broadcast-request.d.ts +37 -0
- package/types/api/engine-broadcast-request.d.ts.map +1 -0
- package/types/api/engine-set-variables-call-request.d.ts +33 -0
- package/types/api/engine-set-variables-call-request.d.ts.map +1 -0
- package/types/api/index.d.ts +2 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/trigger-service-api.d.ts +12 -4
- package/types/api/trigger-service-api.d.ts.map +1 -1
- package/types/api.d.ts +1 -0
- package/types/api.d.ts.map +1 -1
- package/types/socket/task.d.ts +1 -1
- package/types/socket/task.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -7292,6 +7292,66 @@ const CallServiceApiAxiosParamCreator = function (configuration) {
|
|
|
7292
7292
|
options: localVarRequestOptions,
|
|
7293
7293
|
};
|
|
7294
7294
|
},
|
|
7295
|
+
/**
|
|
7296
|
+
*
|
|
7297
|
+
* @param {string} id
|
|
7298
|
+
* @param {EngineSetVariablesCallRequest} body
|
|
7299
|
+
* @param {*} [options] Override http request option.
|
|
7300
|
+
* @throws {RequiredError}
|
|
7301
|
+
*/
|
|
7302
|
+
setVariablesCall: async (id, body, options = {}) => {
|
|
7303
|
+
// verify required parameter 'id' is not null or undefined
|
|
7304
|
+
if (id === null || id === undefined) {
|
|
7305
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling setVariablesCall.');
|
|
7306
|
+
}
|
|
7307
|
+
// verify required parameter 'body' is not null or undefined
|
|
7308
|
+
if (body === null || body === undefined) {
|
|
7309
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling setVariablesCall.');
|
|
7310
|
+
}
|
|
7311
|
+
const localVarPath = `/calls/active/{id}/variables`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
7312
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
7313
|
+
let baseOptions;
|
|
7314
|
+
if (configuration) {
|
|
7315
|
+
baseOptions = configuration.baseOptions;
|
|
7316
|
+
}
|
|
7317
|
+
const localVarRequestOptions = {
|
|
7318
|
+
method: 'PATCH',
|
|
7319
|
+
...baseOptions,
|
|
7320
|
+
...options,
|
|
7321
|
+
};
|
|
7322
|
+
const localVarHeaderParameter = {};
|
|
7323
|
+
const localVarQueryParameter = {};
|
|
7324
|
+
// authentication AccessToken required
|
|
7325
|
+
if (configuration && configuration.apiKey) {
|
|
7326
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
7327
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
7328
|
+
: await configuration.apiKey;
|
|
7329
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
7330
|
+
}
|
|
7331
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7332
|
+
localVarUrlObj.query = {
|
|
7333
|
+
...localVarUrlObj.query,
|
|
7334
|
+
...localVarQueryParameter,
|
|
7335
|
+
...options.query,
|
|
7336
|
+
};
|
|
7337
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
7338
|
+
delete localVarUrlObj.search;
|
|
7339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7340
|
+
localVarRequestOptions.headers = {
|
|
7341
|
+
...localVarHeaderParameter,
|
|
7342
|
+
...headersFromBaseOptions,
|
|
7343
|
+
...options.headers,
|
|
7344
|
+
};
|
|
7345
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
7346
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
7347
|
+
localVarRequestOptions.data = needsSerialization
|
|
7348
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
7349
|
+
: body || '';
|
|
7350
|
+
return {
|
|
7351
|
+
url: format(localVarUrlObj),
|
|
7352
|
+
options: localVarRequestOptions,
|
|
7353
|
+
};
|
|
7354
|
+
},
|
|
7295
7355
|
/**
|
|
7296
7356
|
*
|
|
7297
7357
|
* @param {string} id
|
|
@@ -7712,6 +7772,23 @@ const CallServiceApiFp = function (configuration) {
|
|
|
7712
7772
|
return axios.request(axiosRequestArgs);
|
|
7713
7773
|
};
|
|
7714
7774
|
},
|
|
7775
|
+
/**
|
|
7776
|
+
*
|
|
7777
|
+
* @param {string} id
|
|
7778
|
+
* @param {EngineSetVariablesCallRequest} body
|
|
7779
|
+
* @param {*} [options] Override http request option.
|
|
7780
|
+
* @throws {RequiredError}
|
|
7781
|
+
*/
|
|
7782
|
+
async setVariablesCall(id, body, options) {
|
|
7783
|
+
const localVarAxiosArgs = await CallServiceApiAxiosParamCreator(configuration).setVariablesCall(id, body, options);
|
|
7784
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
7785
|
+
const axiosRequestArgs = {
|
|
7786
|
+
...localVarAxiosArgs.options,
|
|
7787
|
+
url: basePath + localVarAxiosArgs.url,
|
|
7788
|
+
};
|
|
7789
|
+
return axios.request(axiosRequestArgs);
|
|
7790
|
+
};
|
|
7791
|
+
},
|
|
7715
7792
|
/**
|
|
7716
7793
|
*
|
|
7717
7794
|
* @param {string} id
|
|
@@ -7975,6 +8052,18 @@ const CallServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
7975
8052
|
.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)
|
|
7976
8053
|
.then((request) => request(axios, basePath));
|
|
7977
8054
|
},
|
|
8055
|
+
/**
|
|
8056
|
+
*
|
|
8057
|
+
* @param {string} id
|
|
8058
|
+
* @param {EngineSetVariablesCallRequest} body
|
|
8059
|
+
* @param {*} [options] Override http request option.
|
|
8060
|
+
* @throws {RequiredError}
|
|
8061
|
+
*/
|
|
8062
|
+
setVariablesCall(id, body, options) {
|
|
8063
|
+
return CallServiceApiFp(configuration)
|
|
8064
|
+
.setVariablesCall(id, body, options)
|
|
8065
|
+
.then((request) => request(axios, basePath));
|
|
8066
|
+
},
|
|
7978
8067
|
/**
|
|
7979
8068
|
*
|
|
7980
8069
|
* @param {string} id
|
|
@@ -8242,6 +8331,19 @@ class CallServiceApi extends BaseAPI {
|
|
|
8242
8331
|
.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)
|
|
8243
8332
|
.then((request) => request(this.axios, this.basePath));
|
|
8244
8333
|
}
|
|
8334
|
+
/**
|
|
8335
|
+
*
|
|
8336
|
+
* @param {string} id
|
|
8337
|
+
* @param {EngineSetVariablesCallRequest} body
|
|
8338
|
+
* @param {*} [options] Override http request option.
|
|
8339
|
+
* @throws {RequiredError}
|
|
8340
|
+
* @memberof CallServiceApi
|
|
8341
|
+
*/
|
|
8342
|
+
setVariablesCall(id, body, options) {
|
|
8343
|
+
return CallServiceApiFp(this.configuration)
|
|
8344
|
+
.setVariablesCall(id, body, options)
|
|
8345
|
+
.then((request) => request(this.axios, this.basePath));
|
|
8346
|
+
}
|
|
8245
8347
|
/**
|
|
8246
8348
|
*
|
|
8247
8349
|
* @param {string} id
|
|
@@ -8271,6 +8373,142 @@ class CallServiceApi extends BaseAPI {
|
|
|
8271
8373
|
}
|
|
8272
8374
|
}
|
|
8273
8375
|
|
|
8376
|
+
// tslint:disable
|
|
8377
|
+
/**
|
|
8378
|
+
* ChatHelperServiceApi - axios parameter creator
|
|
8379
|
+
* @export
|
|
8380
|
+
*/
|
|
8381
|
+
const ChatHelperServiceApiAxiosParamCreator = function (configuration) {
|
|
8382
|
+
return {
|
|
8383
|
+
/**
|
|
8384
|
+
*
|
|
8385
|
+
* @param {string} profileId
|
|
8386
|
+
* @param {EngineBroadcastRequest} body
|
|
8387
|
+
* @param {*} [options] Override http request option.
|
|
8388
|
+
* @throws {RequiredError}
|
|
8389
|
+
*/
|
|
8390
|
+
broadcast: async (profileId, body, options = {}) => {
|
|
8391
|
+
// verify required parameter 'profileId' is not null or undefined
|
|
8392
|
+
if (profileId === null || profileId === undefined) {
|
|
8393
|
+
throw new RequiredError('profileId', 'Required parameter profileId was null or undefined when calling broadcast.');
|
|
8394
|
+
}
|
|
8395
|
+
// verify required parameter 'body' is not null or undefined
|
|
8396
|
+
if (body === null || body === undefined) {
|
|
8397
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling broadcast.');
|
|
8398
|
+
}
|
|
8399
|
+
const localVarPath = `/chat/bots/{profile_id}/broadcast`.replace(`{${'profile_id'}}`, encodeURIComponent(String(profileId)));
|
|
8400
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
8401
|
+
let baseOptions;
|
|
8402
|
+
if (configuration) {
|
|
8403
|
+
baseOptions = configuration.baseOptions;
|
|
8404
|
+
}
|
|
8405
|
+
const localVarRequestOptions = {
|
|
8406
|
+
method: 'POST',
|
|
8407
|
+
...baseOptions,
|
|
8408
|
+
...options,
|
|
8409
|
+
};
|
|
8410
|
+
const localVarHeaderParameter = {};
|
|
8411
|
+
const localVarQueryParameter = {};
|
|
8412
|
+
// authentication AccessToken required
|
|
8413
|
+
if (configuration && configuration.apiKey) {
|
|
8414
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8415
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
8416
|
+
: await configuration.apiKey;
|
|
8417
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
8418
|
+
}
|
|
8419
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8420
|
+
localVarUrlObj.query = {
|
|
8421
|
+
...localVarUrlObj.query,
|
|
8422
|
+
...localVarQueryParameter,
|
|
8423
|
+
...options.query,
|
|
8424
|
+
};
|
|
8425
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8426
|
+
delete localVarUrlObj.search;
|
|
8427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8428
|
+
localVarRequestOptions.headers = {
|
|
8429
|
+
...localVarHeaderParameter,
|
|
8430
|
+
...headersFromBaseOptions,
|
|
8431
|
+
...options.headers,
|
|
8432
|
+
};
|
|
8433
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
8434
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
8435
|
+
localVarRequestOptions.data = needsSerialization
|
|
8436
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
8437
|
+
: body || '';
|
|
8438
|
+
return {
|
|
8439
|
+
url: format(localVarUrlObj),
|
|
8440
|
+
options: localVarRequestOptions,
|
|
8441
|
+
};
|
|
8442
|
+
},
|
|
8443
|
+
};
|
|
8444
|
+
};
|
|
8445
|
+
/**
|
|
8446
|
+
* ChatHelperServiceApi - functional programming interface
|
|
8447
|
+
* @export
|
|
8448
|
+
*/
|
|
8449
|
+
const ChatHelperServiceApiFp = function (configuration) {
|
|
8450
|
+
return {
|
|
8451
|
+
/**
|
|
8452
|
+
*
|
|
8453
|
+
* @param {string} profileId
|
|
8454
|
+
* @param {EngineBroadcastRequest} body
|
|
8455
|
+
* @param {*} [options] Override http request option.
|
|
8456
|
+
* @throws {RequiredError}
|
|
8457
|
+
*/
|
|
8458
|
+
async broadcast(profileId, body, options) {
|
|
8459
|
+
const localVarAxiosArgs = await ChatHelperServiceApiAxiosParamCreator(configuration).broadcast(profileId, body, options);
|
|
8460
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
8461
|
+
const axiosRequestArgs = {
|
|
8462
|
+
...localVarAxiosArgs.options,
|
|
8463
|
+
url: basePath + localVarAxiosArgs.url,
|
|
8464
|
+
};
|
|
8465
|
+
return axios.request(axiosRequestArgs);
|
|
8466
|
+
};
|
|
8467
|
+
},
|
|
8468
|
+
};
|
|
8469
|
+
};
|
|
8470
|
+
/**
|
|
8471
|
+
* ChatHelperServiceApi - factory interface
|
|
8472
|
+
* @export
|
|
8473
|
+
*/
|
|
8474
|
+
const ChatHelperServiceApiFactory = function (configuration, basePath, axios) {
|
|
8475
|
+
return {
|
|
8476
|
+
/**
|
|
8477
|
+
*
|
|
8478
|
+
* @param {string} profileId
|
|
8479
|
+
* @param {EngineBroadcastRequest} body
|
|
8480
|
+
* @param {*} [options] Override http request option.
|
|
8481
|
+
* @throws {RequiredError}
|
|
8482
|
+
*/
|
|
8483
|
+
broadcast(profileId, body, options) {
|
|
8484
|
+
return ChatHelperServiceApiFp(configuration)
|
|
8485
|
+
.broadcast(profileId, body, options)
|
|
8486
|
+
.then((request) => request(axios, basePath));
|
|
8487
|
+
},
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
/**
|
|
8491
|
+
* ChatHelperServiceApi - object-oriented interface
|
|
8492
|
+
* @export
|
|
8493
|
+
* @class ChatHelperServiceApi
|
|
8494
|
+
* @extends {BaseAPI}
|
|
8495
|
+
*/
|
|
8496
|
+
class ChatHelperServiceApi extends BaseAPI {
|
|
8497
|
+
/**
|
|
8498
|
+
*
|
|
8499
|
+
* @param {string} profileId
|
|
8500
|
+
* @param {EngineBroadcastRequest} body
|
|
8501
|
+
* @param {*} [options] Override http request option.
|
|
8502
|
+
* @throws {RequiredError}
|
|
8503
|
+
* @memberof ChatHelperServiceApi
|
|
8504
|
+
*/
|
|
8505
|
+
broadcast(profileId, body, options) {
|
|
8506
|
+
return ChatHelperServiceApiFp(this.configuration)
|
|
8507
|
+
.broadcast(profileId, body, options)
|
|
8508
|
+
.then((request) => request(this.axios, this.basePath));
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
|
|
8274
8512
|
// tslint:disable
|
|
8275
8513
|
/**
|
|
8276
8514
|
* CognitiveProfileServiceApi - axios parameter creator
|
|
@@ -25497,10 +25735,12 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
25497
25735
|
* @param {Array<string>} [fields]
|
|
25498
25736
|
* @param {string} [createdAtFrom]
|
|
25499
25737
|
* @param {string} [createdAtTo]
|
|
25738
|
+
* @param {string} [startedAtFrom]
|
|
25739
|
+
* @param {string} [startedAtTo]
|
|
25500
25740
|
* @param {*} [options] Override http request option.
|
|
25501
25741
|
* @throws {RequiredError}
|
|
25502
25742
|
*/
|
|
25503
|
-
searchTriggerJob: async (triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options = {}) => {
|
|
25743
|
+
searchTriggerJob: async (triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options = {}) => {
|
|
25504
25744
|
// verify required parameter 'triggerId' is not null or undefined
|
|
25505
25745
|
if (triggerId === null || triggerId === undefined) {
|
|
25506
25746
|
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling searchTriggerJob.');
|
|
@@ -25546,6 +25786,12 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
25546
25786
|
if (createdAtTo !== undefined) {
|
|
25547
25787
|
localVarQueryParameter['created_at.to'] = createdAtTo;
|
|
25548
25788
|
}
|
|
25789
|
+
if (startedAtFrom !== undefined) {
|
|
25790
|
+
localVarQueryParameter['started_at.from'] = startedAtFrom;
|
|
25791
|
+
}
|
|
25792
|
+
if (startedAtTo !== undefined) {
|
|
25793
|
+
localVarQueryParameter['started_at.to'] = startedAtTo;
|
|
25794
|
+
}
|
|
25549
25795
|
localVarUrlObj.query = {
|
|
25550
25796
|
...localVarUrlObj.query,
|
|
25551
25797
|
...localVarQueryParameter,
|
|
@@ -25751,11 +25997,13 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
25751
25997
|
* @param {Array<string>} [fields]
|
|
25752
25998
|
* @param {string} [createdAtFrom]
|
|
25753
25999
|
* @param {string} [createdAtTo]
|
|
26000
|
+
* @param {string} [startedAtFrom]
|
|
26001
|
+
* @param {string} [startedAtTo]
|
|
25754
26002
|
* @param {*} [options] Override http request option.
|
|
25755
26003
|
* @throws {RequiredError}
|
|
25756
26004
|
*/
|
|
25757
|
-
async searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options) {
|
|
25758
|
-
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options);
|
|
26005
|
+
async searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options) {
|
|
26006
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options);
|
|
25759
26007
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
25760
26008
|
const axiosRequestArgs = {
|
|
25761
26009
|
...localVarAxiosArgs.options,
|
|
@@ -25878,12 +26126,14 @@ const TriggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
25878
26126
|
* @param {Array<string>} [fields]
|
|
25879
26127
|
* @param {string} [createdAtFrom]
|
|
25880
26128
|
* @param {string} [createdAtTo]
|
|
26129
|
+
* @param {string} [startedAtFrom]
|
|
26130
|
+
* @param {string} [startedAtTo]
|
|
25881
26131
|
* @param {*} [options] Override http request option.
|
|
25882
26132
|
* @throws {RequiredError}
|
|
25883
26133
|
*/
|
|
25884
|
-
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options) {
|
|
26134
|
+
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options) {
|
|
25885
26135
|
return TriggerServiceApiFp(configuration)
|
|
25886
|
-
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options)
|
|
26136
|
+
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options)
|
|
25887
26137
|
.then((request) => request(axios, basePath));
|
|
25888
26138
|
},
|
|
25889
26139
|
/**
|
|
@@ -26002,13 +26252,15 @@ class TriggerServiceApi extends BaseAPI {
|
|
|
26002
26252
|
* @param {Array<string>} [fields]
|
|
26003
26253
|
* @param {string} [createdAtFrom]
|
|
26004
26254
|
* @param {string} [createdAtTo]
|
|
26255
|
+
* @param {string} [startedAtFrom]
|
|
26256
|
+
* @param {string} [startedAtTo]
|
|
26005
26257
|
* @param {*} [options] Override http request option.
|
|
26006
26258
|
* @throws {RequiredError}
|
|
26007
26259
|
* @memberof TriggerServiceApi
|
|
26008
26260
|
*/
|
|
26009
|
-
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options) {
|
|
26261
|
+
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options) {
|
|
26010
26262
|
return TriggerServiceApiFp(this.configuration)
|
|
26011
|
-
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options)
|
|
26263
|
+
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, options)
|
|
26012
26264
|
.then((request) => request(this.axios, this.basePath));
|
|
26013
26265
|
}
|
|
26014
26266
|
/**
|
|
@@ -26779,7 +27031,7 @@ async function getMediaStream(constraints) {
|
|
|
26779
27031
|
|
|
26780
27032
|
const getVersion = () => {
|
|
26781
27033
|
// @ts-ignore
|
|
26782
|
-
return '"0.1.
|
|
27034
|
+
return '"0.1.169"';
|
|
26783
27035
|
};
|
|
26784
27036
|
var version = getVersion();
|
|
26785
27037
|
|
|
@@ -26988,11 +27240,20 @@ class Task {
|
|
|
26988
27240
|
if (!this.form) {
|
|
26989
27241
|
throw new Error('not found active form');
|
|
26990
27242
|
}
|
|
27243
|
+
const res = {};
|
|
27244
|
+
for (const [key, value] of Object.entries(fields)) {
|
|
27245
|
+
if (typeof value === 'object') {
|
|
27246
|
+
res[key] = JSON.stringify(value);
|
|
27247
|
+
}
|
|
27248
|
+
else {
|
|
27249
|
+
res[key] = value;
|
|
27250
|
+
}
|
|
27251
|
+
}
|
|
26991
27252
|
return this.client.request('cc_form_action', {
|
|
26992
27253
|
attempt_id: this.id,
|
|
26993
27254
|
app_id: this.distribute.app_id,
|
|
26994
27255
|
action,
|
|
26995
|
-
fields,
|
|
27256
|
+
fields: res,
|
|
26996
27257
|
});
|
|
26997
27258
|
}
|
|
26998
27259
|
}
|
|
@@ -29298,5 +29559,5 @@ class ExternalClient extends ee_3 {
|
|
|
29298
29559
|
|
|
29299
29560
|
// tslint:disable
|
|
29300
29561
|
|
|
29301
|
-
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, EngineBoolFilter, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
29562
|
+
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, EngineBoolFilter, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
29302
29563
|
//# sourceMappingURL=index.esm.js.map
|