webitel-sdk 0.1.168 → 0.1.170
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 +282 -9
- 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 +317 -8
- 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 +42 -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/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 +42 -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/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 +24 -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/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,15 @@ 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]
|
|
25740
|
+
* @param {string} [durationFrom]
|
|
25741
|
+
* @param {string} [durationTo]
|
|
25742
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
25500
25743
|
* @param {*} [options] Override http request option.
|
|
25501
25744
|
* @throws {RequiredError}
|
|
25502
25745
|
*/
|
|
25503
|
-
searchTriggerJob: async (triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options = {}) => {
|
|
25746
|
+
searchTriggerJob: async (triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options = {}) => {
|
|
25504
25747
|
// verify required parameter 'triggerId' is not null or undefined
|
|
25505
25748
|
if (triggerId === null || triggerId === undefined) {
|
|
25506
25749
|
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling searchTriggerJob.');
|
|
@@ -25546,6 +25789,21 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
25546
25789
|
if (createdAtTo !== undefined) {
|
|
25547
25790
|
localVarQueryParameter['created_at.to'] = createdAtTo;
|
|
25548
25791
|
}
|
|
25792
|
+
if (startedAtFrom !== undefined) {
|
|
25793
|
+
localVarQueryParameter['started_at.from'] = startedAtFrom;
|
|
25794
|
+
}
|
|
25795
|
+
if (startedAtTo !== undefined) {
|
|
25796
|
+
localVarQueryParameter['started_at.to'] = startedAtTo;
|
|
25797
|
+
}
|
|
25798
|
+
if (durationFrom !== undefined) {
|
|
25799
|
+
localVarQueryParameter['duration.from'] = durationFrom;
|
|
25800
|
+
}
|
|
25801
|
+
if (durationTo !== undefined) {
|
|
25802
|
+
localVarQueryParameter['duration.to'] = durationTo;
|
|
25803
|
+
}
|
|
25804
|
+
if (state) {
|
|
25805
|
+
localVarQueryParameter['state'] = state;
|
|
25806
|
+
}
|
|
25549
25807
|
localVarUrlObj.query = {
|
|
25550
25808
|
...localVarUrlObj.query,
|
|
25551
25809
|
...localVarQueryParameter,
|
|
@@ -25751,11 +26009,16 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
25751
26009
|
* @param {Array<string>} [fields]
|
|
25752
26010
|
* @param {string} [createdAtFrom]
|
|
25753
26011
|
* @param {string} [createdAtTo]
|
|
26012
|
+
* @param {string} [startedAtFrom]
|
|
26013
|
+
* @param {string} [startedAtTo]
|
|
26014
|
+
* @param {string} [durationFrom]
|
|
26015
|
+
* @param {string} [durationTo]
|
|
26016
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
25754
26017
|
* @param {*} [options] Override http request option.
|
|
25755
26018
|
* @throws {RequiredError}
|
|
25756
26019
|
*/
|
|
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);
|
|
26020
|
+
async searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options) {
|
|
26021
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options);
|
|
25759
26022
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
25760
26023
|
const axiosRequestArgs = {
|
|
25761
26024
|
...localVarAxiosArgs.options,
|
|
@@ -25878,12 +26141,17 @@ const TriggerServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
25878
26141
|
* @param {Array<string>} [fields]
|
|
25879
26142
|
* @param {string} [createdAtFrom]
|
|
25880
26143
|
* @param {string} [createdAtTo]
|
|
26144
|
+
* @param {string} [startedAtFrom]
|
|
26145
|
+
* @param {string} [startedAtTo]
|
|
26146
|
+
* @param {string} [durationFrom]
|
|
26147
|
+
* @param {string} [durationTo]
|
|
26148
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
25881
26149
|
* @param {*} [options] Override http request option.
|
|
25882
26150
|
* @throws {RequiredError}
|
|
25883
26151
|
*/
|
|
25884
|
-
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options) {
|
|
26152
|
+
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options) {
|
|
25885
26153
|
return TriggerServiceApiFp(configuration)
|
|
25886
|
-
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options)
|
|
26154
|
+
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options)
|
|
25887
26155
|
.then((request) => request(axios, basePath));
|
|
25888
26156
|
},
|
|
25889
26157
|
/**
|
|
@@ -26002,13 +26270,18 @@ class TriggerServiceApi extends BaseAPI {
|
|
|
26002
26270
|
* @param {Array<string>} [fields]
|
|
26003
26271
|
* @param {string} [createdAtFrom]
|
|
26004
26272
|
* @param {string} [createdAtTo]
|
|
26273
|
+
* @param {string} [startedAtFrom]
|
|
26274
|
+
* @param {string} [startedAtTo]
|
|
26275
|
+
* @param {string} [durationFrom]
|
|
26276
|
+
* @param {string} [durationTo]
|
|
26277
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
26005
26278
|
* @param {*} [options] Override http request option.
|
|
26006
26279
|
* @throws {RequiredError}
|
|
26007
26280
|
* @memberof TriggerServiceApi
|
|
26008
26281
|
*/
|
|
26009
|
-
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options) {
|
|
26282
|
+
searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options) {
|
|
26010
26283
|
return TriggerServiceApiFp(this.configuration)
|
|
26011
|
-
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, options)
|
|
26284
|
+
.searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options)
|
|
26012
26285
|
.then((request) => request(this.axios, this.basePath));
|
|
26013
26286
|
}
|
|
26014
26287
|
/**
|
|
@@ -26779,7 +27052,7 @@ async function getMediaStream(constraints) {
|
|
|
26779
27052
|
|
|
26780
27053
|
const getVersion = () => {
|
|
26781
27054
|
// @ts-ignore
|
|
26782
|
-
return '"0.1.
|
|
27055
|
+
return '"0.1.170"';
|
|
26783
27056
|
};
|
|
26784
27057
|
var version = getVersion();
|
|
26785
27058
|
|
|
@@ -29307,5 +29580,5 @@ class ExternalClient extends ee_3 {
|
|
|
29307
29580
|
|
|
29308
29581
|
// tslint:disable
|
|
29309
29582
|
|
|
29310
|
-
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 };
|
|
29583
|
+
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 };
|
|
29311
29584
|
//# sourceMappingURL=index.esm.js.map
|