webitel-sdk 23.7.8 → 23.7.10
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 +974 -256
- 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 +796 -7
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/config-service-api.js +14 -7
- package/esm2015/api/config-service-api.js.map +1 -1
- package/esm2015/api/engine-create-system-setting-request.js +13 -0
- package/esm2015/api/engine-create-system-setting-request.js.map +1 -0
- package/esm2015/api/engine-list-system-setting.js +13 -0
- package/esm2015/api/engine-list-system-setting.js.map +1 -0
- package/esm2015/api/engine-patch-system-setting-request.js +13 -0
- package/esm2015/api/engine-patch-system-setting-request.js.map +1 -0
- package/esm2015/api/engine-system-setting.js +13 -0
- package/esm2015/api/engine-system-setting.js.map +1 -0
- package/esm2015/api/engine-update-system-setting-request.js +13 -0
- package/esm2015/api/engine-update-system-setting-request.js.map +1 -0
- package/esm2015/api/index.js +6 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/logger-available-system-objects.js +23 -0
- package/esm2015/api/logger-available-system-objects.js.map +1 -0
- package/esm2015/api/system-setting-service-api.js +639 -0
- package/esm2015/api/system-setting-service-api.js.map +1 -0
- package/esm2015/api.js +1 -0
- package/esm2015/api.js.map +1 -1
- package/esm5/api/config-service-api.js +14 -7
- package/esm5/api/config-service-api.js.map +1 -1
- package/esm5/api/engine-create-system-setting-request.js +13 -0
- package/esm5/api/engine-create-system-setting-request.js.map +1 -0
- package/esm5/api/engine-list-system-setting.js +13 -0
- package/esm5/api/engine-list-system-setting.js.map +1 -0
- package/esm5/api/engine-patch-system-setting-request.js +13 -0
- package/esm5/api/engine-patch-system-setting-request.js.map +1 -0
- package/esm5/api/engine-system-setting.js +13 -0
- package/esm5/api/engine-system-setting.js.map +1 -0
- package/esm5/api/engine-update-system-setting-request.js +13 -0
- package/esm5/api/engine-update-system-setting-request.js.map +1 -0
- package/esm5/api/index.js +6 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/logger-available-system-objects.js +23 -0
- package/esm5/api/logger-available-system-objects.js.map +1 -0
- package/esm5/api/system-setting-service-api.js +725 -0
- package/esm5/api/system-setting-service-api.js.map +1 -0
- package/esm5/api.js +1 -0
- package/esm5/api.js.map +1 -1
- package/package.json +1 -1
- package/types/api/config-service-api.d.ts +8 -4
- package/types/api/config-service-api.d.ts.map +1 -1
- package/types/api/engine-create-system-setting-request.d.ts +31 -0
- package/types/api/engine-create-system-setting-request.d.ts.map +1 -0
- package/types/api/engine-list-system-setting.d.ts +32 -0
- package/types/api/engine-list-system-setting.d.ts.map +1 -0
- package/types/api/engine-patch-system-setting-request.d.ts +37 -0
- package/types/api/engine-patch-system-setting-request.d.ts.map +1 -0
- package/types/api/engine-system-setting.d.ts +37 -0
- package/types/api/engine-system-setting.d.ts.map +1 -0
- package/types/api/engine-update-system-setting-request.d.ts +31 -0
- package/types/api/engine-update-system-setting-request.d.ts.map +1 -0
- package/types/api/index.d.ts +6 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/logger-available-system-objects.d.ts +21 -0
- package/types/api/logger-available-system-objects.d.ts.map +1 -0
- package/types/api/system-setting-service-api.d.ts +244 -0
- package/types/api/system-setting-service-api.d.ts.map +1 -0
- package/types/api.d.ts +1 -0
- package/types/api.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -11679,10 +11679,11 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11679
11679
|
* @param {string} [q]
|
|
11680
11680
|
* @param {string} [sort]
|
|
11681
11681
|
* @param {Array<string>} [fields]
|
|
11682
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
11682
11683
|
* @param {*} [options] Override http request option.
|
|
11683
11684
|
* @throws {RequiredError}
|
|
11684
11685
|
*/
|
|
11685
|
-
searchConfig: async (page, size, q, sort, fields, options = {}) => {
|
|
11686
|
+
searchConfig: async (page, size, q, sort, fields, object, options = {}) => {
|
|
11686
11687
|
const localVarPath = `/logger/config`;
|
|
11687
11688
|
const localVarUrlObj = parse(localVarPath, true);
|
|
11688
11689
|
let baseOptions;
|
|
@@ -11718,6 +11719,9 @@ const ConfigServiceApiAxiosParamCreator = function (configuration) {
|
|
|
11718
11719
|
if (fields) {
|
|
11719
11720
|
localVarQueryParameter['fields'] = fields;
|
|
11720
11721
|
}
|
|
11722
|
+
if (object) {
|
|
11723
|
+
localVarQueryParameter['object'] = object;
|
|
11724
|
+
}
|
|
11721
11725
|
localVarUrlObj.query = {
|
|
11722
11726
|
...localVarUrlObj.query,
|
|
11723
11727
|
...localVarQueryParameter,
|
|
@@ -11908,11 +11912,12 @@ const ConfigServiceApiFp = function (configuration) {
|
|
|
11908
11912
|
* @param {string} [q]
|
|
11909
11913
|
* @param {string} [sort]
|
|
11910
11914
|
* @param {Array<string>} [fields]
|
|
11915
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
11911
11916
|
* @param {*} [options] Override http request option.
|
|
11912
11917
|
* @throws {RequiredError}
|
|
11913
11918
|
*/
|
|
11914
|
-
async searchConfig(page, size, q, sort, fields, options) {
|
|
11915
|
-
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, options);
|
|
11919
|
+
async searchConfig(page, size, q, sort, fields, object, options) {
|
|
11920
|
+
const localVarAxiosArgs = await ConfigServiceApiAxiosParamCreator(configuration).searchConfig(page, size, q, sort, fields, object, options);
|
|
11916
11921
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
11917
11922
|
const axiosRequestArgs = {
|
|
11918
11923
|
...localVarAxiosArgs.options,
|
|
@@ -12020,12 +12025,13 @@ const ConfigServiceApiFactory = function (configuration, basePath, axios) {
|
|
|
12020
12025
|
* @param {string} [q]
|
|
12021
12026
|
* @param {string} [sort]
|
|
12022
12027
|
* @param {Array<string>} [fields]
|
|
12028
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
12023
12029
|
* @param {*} [options] Override http request option.
|
|
12024
12030
|
* @throws {RequiredError}
|
|
12025
12031
|
*/
|
|
12026
|
-
searchConfig(page, size, q, sort, fields, options) {
|
|
12032
|
+
searchConfig(page, size, q, sort, fields, object, options) {
|
|
12027
12033
|
return ConfigServiceApiFp(configuration)
|
|
12028
|
-
.searchConfig(page, size, q, sort, fields, options)
|
|
12034
|
+
.searchConfig(page, size, q, sort, fields, object, options)
|
|
12029
12035
|
.then((request) => request(axios, basePath));
|
|
12030
12036
|
},
|
|
12031
12037
|
/**
|
|
@@ -12129,13 +12135,14 @@ class ConfigServiceApi extends BaseAPI {
|
|
|
12129
12135
|
* @param {string} [q]
|
|
12130
12136
|
* @param {string} [sort]
|
|
12131
12137
|
* @param {Array<string>} [fields]
|
|
12138
|
+
* @param {Array<'cc_queue' | 'schema'>} [object] NOT USED.
|
|
12132
12139
|
* @param {*} [options] Override http request option.
|
|
12133
12140
|
* @throws {RequiredError}
|
|
12134
12141
|
* @memberof ConfigServiceApi
|
|
12135
12142
|
*/
|
|
12136
|
-
searchConfig(page, size, q, sort, fields, options) {
|
|
12143
|
+
searchConfig(page, size, q, sort, fields, object, options) {
|
|
12137
12144
|
return ConfigServiceApiFp(this.configuration)
|
|
12138
|
-
.searchConfig(page, size, q, sort, fields, options)
|
|
12145
|
+
.searchConfig(page, size, q, sort, fields, object, options)
|
|
12139
12146
|
.then((request) => request(this.axios, this.basePath));
|
|
12140
12147
|
}
|
|
12141
12148
|
/**
|
|
@@ -32723,84 +32730,23 @@ class SkillServiceApi extends BaseAPI {
|
|
|
32723
32730
|
|
|
32724
32731
|
// tslint:disable
|
|
32725
32732
|
/**
|
|
32726
|
-
*
|
|
32733
|
+
* SystemSettingServiceApi - axios parameter creator
|
|
32727
32734
|
* @export
|
|
32728
32735
|
*/
|
|
32729
|
-
const
|
|
32736
|
+
const SystemSettingServiceApiAxiosParamCreator = function (configuration) {
|
|
32730
32737
|
return {
|
|
32731
32738
|
/**
|
|
32732
32739
|
*
|
|
32733
|
-
* @
|
|
32734
|
-
* @param {EngineCreateTriggerRequest} body
|
|
32735
|
-
* @param {*} [options] Override http request option.
|
|
32736
|
-
* @throws {RequiredError}
|
|
32737
|
-
*/
|
|
32738
|
-
createTrigger: async (body, options = {}) => {
|
|
32739
|
-
// verify required parameter 'body' is not null or undefined
|
|
32740
|
-
if (body === null || body === undefined) {
|
|
32741
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createTrigger.');
|
|
32742
|
-
}
|
|
32743
|
-
const localVarPath = `/trigger`;
|
|
32744
|
-
const localVarUrlObj = parse(localVarPath, true);
|
|
32745
|
-
let baseOptions;
|
|
32746
|
-
if (configuration) {
|
|
32747
|
-
baseOptions = configuration.baseOptions;
|
|
32748
|
-
}
|
|
32749
|
-
const localVarRequestOptions = {
|
|
32750
|
-
method: 'POST',
|
|
32751
|
-
...baseOptions,
|
|
32752
|
-
...options,
|
|
32753
|
-
};
|
|
32754
|
-
const localVarHeaderParameter = {};
|
|
32755
|
-
const localVarQueryParameter = {};
|
|
32756
|
-
// authentication AccessToken required
|
|
32757
|
-
if (configuration && configuration.apiKey) {
|
|
32758
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
32759
|
-
? await configuration.apiKey('X-Webitel-Access')
|
|
32760
|
-
: await configuration.apiKey;
|
|
32761
|
-
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
32762
|
-
}
|
|
32763
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32764
|
-
localVarUrlObj.query = {
|
|
32765
|
-
...localVarUrlObj.query,
|
|
32766
|
-
...localVarQueryParameter,
|
|
32767
|
-
...options.query,
|
|
32768
|
-
};
|
|
32769
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
32770
|
-
delete localVarUrlObj.search;
|
|
32771
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32772
|
-
localVarRequestOptions.headers = {
|
|
32773
|
-
...localVarHeaderParameter,
|
|
32774
|
-
...headersFromBaseOptions,
|
|
32775
|
-
...options.headers,
|
|
32776
|
-
};
|
|
32777
|
-
const needsSerialization = typeof body !== 'string' ||
|
|
32778
|
-
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
32779
|
-
localVarRequestOptions.data = needsSerialization
|
|
32780
|
-
? JSON.stringify(body !== undefined ? body : {})
|
|
32781
|
-
: body || '';
|
|
32782
|
-
return {
|
|
32783
|
-
url: format(localVarUrlObj),
|
|
32784
|
-
options: localVarRequestOptions,
|
|
32785
|
-
};
|
|
32786
|
-
},
|
|
32787
|
-
/**
|
|
32788
|
-
*
|
|
32789
|
-
* @param {number} triggerId
|
|
32790
|
-
* @param {EngineCreateTriggerJobRequest} body
|
|
32740
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
32791
32741
|
* @param {*} [options] Override http request option.
|
|
32792
32742
|
* @throws {RequiredError}
|
|
32793
32743
|
*/
|
|
32794
|
-
|
|
32795
|
-
// verify required parameter 'triggerId' is not null or undefined
|
|
32796
|
-
if (triggerId === null || triggerId === undefined) {
|
|
32797
|
-
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling createTriggerJob.');
|
|
32798
|
-
}
|
|
32744
|
+
createSystemSetting: async (body, options = {}) => {
|
|
32799
32745
|
// verify required parameter 'body' is not null or undefined
|
|
32800
32746
|
if (body === null || body === undefined) {
|
|
32801
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
32747
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createSystemSetting.');
|
|
32802
32748
|
}
|
|
32803
|
-
const localVarPath = `/
|
|
32749
|
+
const localVarPath = `/settings`;
|
|
32804
32750
|
const localVarUrlObj = parse(localVarPath, true);
|
|
32805
32751
|
let baseOptions;
|
|
32806
32752
|
if (configuration) {
|
|
@@ -32846,17 +32792,16 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
32846
32792
|
},
|
|
32847
32793
|
/**
|
|
32848
32794
|
*
|
|
32849
|
-
* @summary Remove Trigger
|
|
32850
32795
|
* @param {number} id
|
|
32851
32796
|
* @param {*} [options] Override http request option.
|
|
32852
32797
|
* @throws {RequiredError}
|
|
32853
32798
|
*/
|
|
32854
|
-
|
|
32799
|
+
deleteSystemSetting: async (id, options = {}) => {
|
|
32855
32800
|
// verify required parameter 'id' is not null or undefined
|
|
32856
32801
|
if (id === null || id === undefined) {
|
|
32857
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
32802
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteSystemSetting.');
|
|
32858
32803
|
}
|
|
32859
|
-
const localVarPath = `/
|
|
32804
|
+
const localVarPath = `/settings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32860
32805
|
const localVarUrlObj = parse(localVarPath, true);
|
|
32861
32806
|
let baseOptions;
|
|
32862
32807
|
if (configuration) {
|
|
@@ -32897,20 +32842,20 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
32897
32842
|
/**
|
|
32898
32843
|
*
|
|
32899
32844
|
* @param {number} id
|
|
32900
|
-
* @param {
|
|
32845
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
32901
32846
|
* @param {*} [options] Override http request option.
|
|
32902
32847
|
* @throws {RequiredError}
|
|
32903
32848
|
*/
|
|
32904
|
-
|
|
32849
|
+
patchSystemSetting: async (id, body, options = {}) => {
|
|
32905
32850
|
// verify required parameter 'id' is not null or undefined
|
|
32906
32851
|
if (id === null || id === undefined) {
|
|
32907
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
32852
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchSystemSetting.');
|
|
32908
32853
|
}
|
|
32909
32854
|
// verify required parameter 'body' is not null or undefined
|
|
32910
32855
|
if (body === null || body === undefined) {
|
|
32911
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
32856
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchSystemSetting.');
|
|
32912
32857
|
}
|
|
32913
|
-
const localVarPath = `/
|
|
32858
|
+
const localVarPath = `/settings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32914
32859
|
const localVarUrlObj = parse(localVarPath, true);
|
|
32915
32860
|
let baseOptions;
|
|
32916
32861
|
if (configuration) {
|
|
@@ -32956,69 +32901,16 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
32956
32901
|
},
|
|
32957
32902
|
/**
|
|
32958
32903
|
*
|
|
32959
|
-
* @summary Trigger item
|
|
32960
32904
|
* @param {number} id
|
|
32961
32905
|
* @param {*} [options] Override http request option.
|
|
32962
32906
|
* @throws {RequiredError}
|
|
32963
32907
|
*/
|
|
32964
|
-
|
|
32908
|
+
readSystemSetting: async (id, options = {}) => {
|
|
32965
32909
|
// verify required parameter 'id' is not null or undefined
|
|
32966
32910
|
if (id === null || id === undefined) {
|
|
32967
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
32968
|
-
}
|
|
32969
|
-
const localVarPath = `/trigger/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32970
|
-
const localVarUrlObj = parse(localVarPath, true);
|
|
32971
|
-
let baseOptions;
|
|
32972
|
-
if (configuration) {
|
|
32973
|
-
baseOptions = configuration.baseOptions;
|
|
32974
|
-
}
|
|
32975
|
-
const localVarRequestOptions = {
|
|
32976
|
-
method: 'GET',
|
|
32977
|
-
...baseOptions,
|
|
32978
|
-
...options,
|
|
32979
|
-
};
|
|
32980
|
-
const localVarHeaderParameter = {};
|
|
32981
|
-
const localVarQueryParameter = {};
|
|
32982
|
-
// authentication AccessToken required
|
|
32983
|
-
if (configuration && configuration.apiKey) {
|
|
32984
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
32985
|
-
? await configuration.apiKey('X-Webitel-Access')
|
|
32986
|
-
: await configuration.apiKey;
|
|
32987
|
-
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
32911
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling readSystemSetting.');
|
|
32988
32912
|
}
|
|
32989
|
-
|
|
32990
|
-
...localVarUrlObj.query,
|
|
32991
|
-
...localVarQueryParameter,
|
|
32992
|
-
...options.query,
|
|
32993
|
-
};
|
|
32994
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
32995
|
-
delete localVarUrlObj.search;
|
|
32996
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32997
|
-
localVarRequestOptions.headers = {
|
|
32998
|
-
...localVarHeaderParameter,
|
|
32999
|
-
...headersFromBaseOptions,
|
|
33000
|
-
...options.headers,
|
|
33001
|
-
};
|
|
33002
|
-
return {
|
|
33003
|
-
url: format(localVarUrlObj),
|
|
33004
|
-
options: localVarRequestOptions,
|
|
33005
|
-
};
|
|
33006
|
-
},
|
|
33007
|
-
/**
|
|
33008
|
-
*
|
|
33009
|
-
* @summary List of Trigger
|
|
33010
|
-
* @param {number} [page]
|
|
33011
|
-
* @param {number} [size]
|
|
33012
|
-
* @param {string} [q]
|
|
33013
|
-
* @param {string} [sort]
|
|
33014
|
-
* @param {Array<string>} [fields]
|
|
33015
|
-
* @param {Array<number>} [id]
|
|
33016
|
-
* @param {Array<number>} [schemaId]
|
|
33017
|
-
* @param {*} [options] Override http request option.
|
|
33018
|
-
* @throws {RequiredError}
|
|
33019
|
-
*/
|
|
33020
|
-
searchTrigger: async (page, size, q, sort, fields, id, schemaId, options = {}) => {
|
|
33021
|
-
const localVarPath = `/trigger`;
|
|
32913
|
+
const localVarPath = `/settings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33022
32914
|
const localVarUrlObj = parse(localVarPath, true);
|
|
33023
32915
|
let baseOptions;
|
|
33024
32916
|
if (configuration) {
|
|
@@ -33038,27 +32930,6 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
33038
32930
|
: await configuration.apiKey;
|
|
33039
32931
|
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33040
32932
|
}
|
|
33041
|
-
if (page !== undefined) {
|
|
33042
|
-
localVarQueryParameter['page'] = page;
|
|
33043
|
-
}
|
|
33044
|
-
if (size !== undefined) {
|
|
33045
|
-
localVarQueryParameter['size'] = size;
|
|
33046
|
-
}
|
|
33047
|
-
if (q !== undefined) {
|
|
33048
|
-
localVarQueryParameter['q'] = q;
|
|
33049
|
-
}
|
|
33050
|
-
if (sort !== undefined) {
|
|
33051
|
-
localVarQueryParameter['sort'] = sort;
|
|
33052
|
-
}
|
|
33053
|
-
if (fields) {
|
|
33054
|
-
localVarQueryParameter['fields'] = fields;
|
|
33055
|
-
}
|
|
33056
|
-
if (id) {
|
|
33057
|
-
localVarQueryParameter['id'] = id;
|
|
33058
|
-
}
|
|
33059
|
-
if (schemaId) {
|
|
33060
|
-
localVarQueryParameter['schema_id'] = schemaId;
|
|
33061
|
-
}
|
|
33062
32933
|
localVarUrlObj.query = {
|
|
33063
32934
|
...localVarUrlObj.query,
|
|
33064
32935
|
...localVarQueryParameter,
|
|
@@ -33079,28 +32950,16 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
33079
32950
|
},
|
|
33080
32951
|
/**
|
|
33081
32952
|
*
|
|
33082
|
-
* @param {number} triggerId
|
|
33083
32953
|
* @param {number} [page]
|
|
33084
32954
|
* @param {number} [size]
|
|
33085
32955
|
* @param {string} [q]
|
|
33086
32956
|
* @param {string} [sort]
|
|
33087
32957
|
* @param {Array<string>} [fields]
|
|
33088
|
-
* @param {string} [createdAtFrom]
|
|
33089
|
-
* @param {string} [createdAtTo]
|
|
33090
|
-
* @param {string} [startedAtFrom]
|
|
33091
|
-
* @param {string} [startedAtTo]
|
|
33092
|
-
* @param {string} [durationFrom]
|
|
33093
|
-
* @param {string} [durationTo]
|
|
33094
|
-
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
33095
32958
|
* @param {*} [options] Override http request option.
|
|
33096
32959
|
* @throws {RequiredError}
|
|
33097
32960
|
*/
|
|
33098
|
-
|
|
33099
|
-
|
|
33100
|
-
if (triggerId === null || triggerId === undefined) {
|
|
33101
|
-
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling searchTriggerJob.');
|
|
33102
|
-
}
|
|
33103
|
-
const localVarPath = `/trigger/{trigger_id}/job`.replace(`{${'trigger_id'}}`, encodeURIComponent(String(triggerId)));
|
|
32961
|
+
searchSystemSetting: async (page, size, q, sort, fields, options = {}) => {
|
|
32962
|
+
const localVarPath = `/settings`;
|
|
33104
32963
|
const localVarUrlObj = parse(localVarPath, true);
|
|
33105
32964
|
let baseOptions;
|
|
33106
32965
|
if (configuration) {
|
|
@@ -33135,27 +32994,6 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
33135
32994
|
if (fields) {
|
|
33136
32995
|
localVarQueryParameter['fields'] = fields;
|
|
33137
32996
|
}
|
|
33138
|
-
if (createdAtFrom !== undefined) {
|
|
33139
|
-
localVarQueryParameter['created_at.from'] = createdAtFrom;
|
|
33140
|
-
}
|
|
33141
|
-
if (createdAtTo !== undefined) {
|
|
33142
|
-
localVarQueryParameter['created_at.to'] = createdAtTo;
|
|
33143
|
-
}
|
|
33144
|
-
if (startedAtFrom !== undefined) {
|
|
33145
|
-
localVarQueryParameter['started_at.from'] = startedAtFrom;
|
|
33146
|
-
}
|
|
33147
|
-
if (startedAtTo !== undefined) {
|
|
33148
|
-
localVarQueryParameter['started_at.to'] = startedAtTo;
|
|
33149
|
-
}
|
|
33150
|
-
if (durationFrom !== undefined) {
|
|
33151
|
-
localVarQueryParameter['duration.from'] = durationFrom;
|
|
33152
|
-
}
|
|
33153
|
-
if (durationTo !== undefined) {
|
|
33154
|
-
localVarQueryParameter['duration.to'] = durationTo;
|
|
33155
|
-
}
|
|
33156
|
-
if (state) {
|
|
33157
|
-
localVarQueryParameter['state'] = state;
|
|
33158
|
-
}
|
|
33159
32997
|
localVarUrlObj.query = {
|
|
33160
32998
|
...localVarUrlObj.query,
|
|
33161
32999
|
...localVarQueryParameter,
|
|
@@ -33176,22 +33014,21 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
33176
33014
|
},
|
|
33177
33015
|
/**
|
|
33178
33016
|
*
|
|
33179
|
-
* @summary Update Trigger
|
|
33180
33017
|
* @param {number} id
|
|
33181
|
-
* @param {
|
|
33018
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
33182
33019
|
* @param {*} [options] Override http request option.
|
|
33183
33020
|
* @throws {RequiredError}
|
|
33184
33021
|
*/
|
|
33185
|
-
|
|
33022
|
+
updateSystemSetting: async (id, body, options = {}) => {
|
|
33186
33023
|
// verify required parameter 'id' is not null or undefined
|
|
33187
33024
|
if (id === null || id === undefined) {
|
|
33188
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
33025
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateSystemSetting.');
|
|
33189
33026
|
}
|
|
33190
33027
|
// verify required parameter 'body' is not null or undefined
|
|
33191
33028
|
if (body === null || body === undefined) {
|
|
33192
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling
|
|
33029
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateSystemSetting.');
|
|
33193
33030
|
}
|
|
33194
|
-
const localVarPath = `/
|
|
33031
|
+
const localVarPath = `/settings/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33195
33032
|
const localVarUrlObj = parse(localVarPath, true);
|
|
33196
33033
|
let baseOptions;
|
|
33197
33034
|
if (configuration) {
|
|
@@ -33238,37 +33075,19 @@ const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
|
33238
33075
|
};
|
|
33239
33076
|
};
|
|
33240
33077
|
/**
|
|
33241
|
-
*
|
|
33078
|
+
* SystemSettingServiceApi - functional programming interface
|
|
33242
33079
|
* @export
|
|
33243
33080
|
*/
|
|
33244
|
-
const
|
|
33081
|
+
const SystemSettingServiceApiFp = function (configuration) {
|
|
33245
33082
|
return {
|
|
33246
33083
|
/**
|
|
33247
33084
|
*
|
|
33248
|
-
* @
|
|
33249
|
-
* @param {EngineCreateTriggerRequest} body
|
|
33250
|
-
* @param {*} [options] Override http request option.
|
|
33251
|
-
* @throws {RequiredError}
|
|
33252
|
-
*/
|
|
33253
|
-
async createTrigger(body, options) {
|
|
33254
|
-
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).createTrigger(body, options);
|
|
33255
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33256
|
-
const axiosRequestArgs = {
|
|
33257
|
-
...localVarAxiosArgs.options,
|
|
33258
|
-
url: basePath + localVarAxiosArgs.url,
|
|
33259
|
-
};
|
|
33260
|
-
return axios.request(axiosRequestArgs);
|
|
33261
|
-
};
|
|
33262
|
-
},
|
|
33263
|
-
/**
|
|
33264
|
-
*
|
|
33265
|
-
* @param {number} triggerId
|
|
33266
|
-
* @param {EngineCreateTriggerJobRequest} body
|
|
33085
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
33267
33086
|
* @param {*} [options] Override http request option.
|
|
33268
33087
|
* @throws {RequiredError}
|
|
33269
33088
|
*/
|
|
33270
|
-
async
|
|
33271
|
-
const localVarAxiosArgs = await
|
|
33089
|
+
async createSystemSetting(body, options) {
|
|
33090
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).createSystemSetting(body, options);
|
|
33272
33091
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33273
33092
|
const axiosRequestArgs = {
|
|
33274
33093
|
...localVarAxiosArgs.options,
|
|
@@ -33279,13 +33098,12 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33279
33098
|
},
|
|
33280
33099
|
/**
|
|
33281
33100
|
*
|
|
33282
|
-
* @summary Remove Trigger
|
|
33283
33101
|
* @param {number} id
|
|
33284
33102
|
* @param {*} [options] Override http request option.
|
|
33285
33103
|
* @throws {RequiredError}
|
|
33286
33104
|
*/
|
|
33287
|
-
async
|
|
33288
|
-
const localVarAxiosArgs = await
|
|
33105
|
+
async deleteSystemSetting(id, options) {
|
|
33106
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).deleteSystemSetting(id, options);
|
|
33289
33107
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33290
33108
|
const axiosRequestArgs = {
|
|
33291
33109
|
...localVarAxiosArgs.options,
|
|
@@ -33297,12 +33115,12 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33297
33115
|
/**
|
|
33298
33116
|
*
|
|
33299
33117
|
* @param {number} id
|
|
33300
|
-
* @param {
|
|
33118
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
33301
33119
|
* @param {*} [options] Override http request option.
|
|
33302
33120
|
* @throws {RequiredError}
|
|
33303
33121
|
*/
|
|
33304
|
-
async
|
|
33305
|
-
const localVarAxiosArgs = await
|
|
33122
|
+
async patchSystemSetting(id, body, options) {
|
|
33123
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).patchSystemSetting(id, body, options);
|
|
33306
33124
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33307
33125
|
const axiosRequestArgs = {
|
|
33308
33126
|
...localVarAxiosArgs.options,
|
|
@@ -33313,13 +33131,12 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33313
33131
|
},
|
|
33314
33132
|
/**
|
|
33315
33133
|
*
|
|
33316
|
-
* @summary Trigger item
|
|
33317
33134
|
* @param {number} id
|
|
33318
33135
|
* @param {*} [options] Override http request option.
|
|
33319
33136
|
* @throws {RequiredError}
|
|
33320
33137
|
*/
|
|
33321
|
-
async
|
|
33322
|
-
const localVarAxiosArgs = await
|
|
33138
|
+
async readSystemSetting(id, options) {
|
|
33139
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).readSystemSetting(id, options);
|
|
33323
33140
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33324
33141
|
const axiosRequestArgs = {
|
|
33325
33142
|
...localVarAxiosArgs.options,
|
|
@@ -33330,19 +33147,16 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33330
33147
|
},
|
|
33331
33148
|
/**
|
|
33332
33149
|
*
|
|
33333
|
-
* @summary List of Trigger
|
|
33334
33150
|
* @param {number} [page]
|
|
33335
33151
|
* @param {number} [size]
|
|
33336
33152
|
* @param {string} [q]
|
|
33337
33153
|
* @param {string} [sort]
|
|
33338
33154
|
* @param {Array<string>} [fields]
|
|
33339
|
-
* @param {Array<number>} [id]
|
|
33340
|
-
* @param {Array<number>} [schemaId]
|
|
33341
33155
|
* @param {*} [options] Override http request option.
|
|
33342
33156
|
* @throws {RequiredError}
|
|
33343
33157
|
*/
|
|
33344
|
-
async
|
|
33345
|
-
const localVarAxiosArgs = await
|
|
33158
|
+
async searchSystemSetting(page, size, q, sort, fields, options) {
|
|
33159
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).searchSystemSetting(page, size, q, sort, fields, options);
|
|
33346
33160
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33347
33161
|
const axiosRequestArgs = {
|
|
33348
33162
|
...localVarAxiosArgs.options,
|
|
@@ -33353,24 +33167,13 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33353
33167
|
},
|
|
33354
33168
|
/**
|
|
33355
33169
|
*
|
|
33356
|
-
* @param {number}
|
|
33357
|
-
* @param {
|
|
33358
|
-
* @param {number} [size]
|
|
33359
|
-
* @param {string} [q]
|
|
33360
|
-
* @param {string} [sort]
|
|
33361
|
-
* @param {Array<string>} [fields]
|
|
33362
|
-
* @param {string} [createdAtFrom]
|
|
33363
|
-
* @param {string} [createdAtTo]
|
|
33364
|
-
* @param {string} [startedAtFrom]
|
|
33365
|
-
* @param {string} [startedAtTo]
|
|
33366
|
-
* @param {string} [durationFrom]
|
|
33367
|
-
* @param {string} [durationTo]
|
|
33368
|
-
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
33170
|
+
* @param {number} id
|
|
33171
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
33369
33172
|
* @param {*} [options] Override http request option.
|
|
33370
33173
|
* @throws {RequiredError}
|
|
33371
33174
|
*/
|
|
33372
|
-
async
|
|
33373
|
-
const localVarAxiosArgs = await
|
|
33175
|
+
async updateSystemSetting(id, body, options) {
|
|
33176
|
+
const localVarAxiosArgs = await SystemSettingServiceApiAxiosParamCreator(configuration).updateSystemSetting(id, body, options);
|
|
33374
33177
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33375
33178
|
const axiosRequestArgs = {
|
|
33376
33179
|
...localVarAxiosArgs.options,
|
|
@@ -33379,10 +33182,837 @@ const TriggerServiceApiFp = function (configuration) {
|
|
|
33379
33182
|
return axios.request(axiosRequestArgs);
|
|
33380
33183
|
};
|
|
33381
33184
|
},
|
|
33185
|
+
};
|
|
33186
|
+
};
|
|
33187
|
+
/**
|
|
33188
|
+
* SystemSettingServiceApi - factory interface
|
|
33189
|
+
* @export
|
|
33190
|
+
*/
|
|
33191
|
+
const SystemSettingServiceApiFactory = function (configuration, basePath, axios) {
|
|
33192
|
+
return {
|
|
33382
33193
|
/**
|
|
33383
33194
|
*
|
|
33384
|
-
* @
|
|
33385
|
-
* @param {
|
|
33195
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
33196
|
+
* @param {*} [options] Override http request option.
|
|
33197
|
+
* @throws {RequiredError}
|
|
33198
|
+
*/
|
|
33199
|
+
createSystemSetting(body, options) {
|
|
33200
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33201
|
+
.createSystemSetting(body, options)
|
|
33202
|
+
.then((request) => request(axios, basePath));
|
|
33203
|
+
},
|
|
33204
|
+
/**
|
|
33205
|
+
*
|
|
33206
|
+
* @param {number} id
|
|
33207
|
+
* @param {*} [options] Override http request option.
|
|
33208
|
+
* @throws {RequiredError}
|
|
33209
|
+
*/
|
|
33210
|
+
deleteSystemSetting(id, options) {
|
|
33211
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33212
|
+
.deleteSystemSetting(id, options)
|
|
33213
|
+
.then((request) => request(axios, basePath));
|
|
33214
|
+
},
|
|
33215
|
+
/**
|
|
33216
|
+
*
|
|
33217
|
+
* @param {number} id
|
|
33218
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
33219
|
+
* @param {*} [options] Override http request option.
|
|
33220
|
+
* @throws {RequiredError}
|
|
33221
|
+
*/
|
|
33222
|
+
patchSystemSetting(id, body, options) {
|
|
33223
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33224
|
+
.patchSystemSetting(id, body, options)
|
|
33225
|
+
.then((request) => request(axios, basePath));
|
|
33226
|
+
},
|
|
33227
|
+
/**
|
|
33228
|
+
*
|
|
33229
|
+
* @param {number} id
|
|
33230
|
+
* @param {*} [options] Override http request option.
|
|
33231
|
+
* @throws {RequiredError}
|
|
33232
|
+
*/
|
|
33233
|
+
readSystemSetting(id, options) {
|
|
33234
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33235
|
+
.readSystemSetting(id, options)
|
|
33236
|
+
.then((request) => request(axios, basePath));
|
|
33237
|
+
},
|
|
33238
|
+
/**
|
|
33239
|
+
*
|
|
33240
|
+
* @param {number} [page]
|
|
33241
|
+
* @param {number} [size]
|
|
33242
|
+
* @param {string} [q]
|
|
33243
|
+
* @param {string} [sort]
|
|
33244
|
+
* @param {Array<string>} [fields]
|
|
33245
|
+
* @param {*} [options] Override http request option.
|
|
33246
|
+
* @throws {RequiredError}
|
|
33247
|
+
*/
|
|
33248
|
+
searchSystemSetting(page, size, q, sort, fields, options) {
|
|
33249
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33250
|
+
.searchSystemSetting(page, size, q, sort, fields, options)
|
|
33251
|
+
.then((request) => request(axios, basePath));
|
|
33252
|
+
},
|
|
33253
|
+
/**
|
|
33254
|
+
*
|
|
33255
|
+
* @param {number} id
|
|
33256
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
33257
|
+
* @param {*} [options] Override http request option.
|
|
33258
|
+
* @throws {RequiredError}
|
|
33259
|
+
*/
|
|
33260
|
+
updateSystemSetting(id, body, options) {
|
|
33261
|
+
return SystemSettingServiceApiFp(configuration)
|
|
33262
|
+
.updateSystemSetting(id, body, options)
|
|
33263
|
+
.then((request) => request(axios, basePath));
|
|
33264
|
+
},
|
|
33265
|
+
};
|
|
33266
|
+
};
|
|
33267
|
+
/**
|
|
33268
|
+
* SystemSettingServiceApi - object-oriented interface
|
|
33269
|
+
* @export
|
|
33270
|
+
* @class SystemSettingServiceApi
|
|
33271
|
+
* @extends {BaseAPI}
|
|
33272
|
+
*/
|
|
33273
|
+
class SystemSettingServiceApi extends BaseAPI {
|
|
33274
|
+
/**
|
|
33275
|
+
*
|
|
33276
|
+
* @param {EngineCreateSystemSettingRequest} body
|
|
33277
|
+
* @param {*} [options] Override http request option.
|
|
33278
|
+
* @throws {RequiredError}
|
|
33279
|
+
* @memberof SystemSettingServiceApi
|
|
33280
|
+
*/
|
|
33281
|
+
createSystemSetting(body, options) {
|
|
33282
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33283
|
+
.createSystemSetting(body, options)
|
|
33284
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33285
|
+
}
|
|
33286
|
+
/**
|
|
33287
|
+
*
|
|
33288
|
+
* @param {number} id
|
|
33289
|
+
* @param {*} [options] Override http request option.
|
|
33290
|
+
* @throws {RequiredError}
|
|
33291
|
+
* @memberof SystemSettingServiceApi
|
|
33292
|
+
*/
|
|
33293
|
+
deleteSystemSetting(id, options) {
|
|
33294
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33295
|
+
.deleteSystemSetting(id, options)
|
|
33296
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33297
|
+
}
|
|
33298
|
+
/**
|
|
33299
|
+
*
|
|
33300
|
+
* @param {number} id
|
|
33301
|
+
* @param {EnginePatchSystemSettingRequest} body
|
|
33302
|
+
* @param {*} [options] Override http request option.
|
|
33303
|
+
* @throws {RequiredError}
|
|
33304
|
+
* @memberof SystemSettingServiceApi
|
|
33305
|
+
*/
|
|
33306
|
+
patchSystemSetting(id, body, options) {
|
|
33307
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33308
|
+
.patchSystemSetting(id, body, options)
|
|
33309
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33310
|
+
}
|
|
33311
|
+
/**
|
|
33312
|
+
*
|
|
33313
|
+
* @param {number} id
|
|
33314
|
+
* @param {*} [options] Override http request option.
|
|
33315
|
+
* @throws {RequiredError}
|
|
33316
|
+
* @memberof SystemSettingServiceApi
|
|
33317
|
+
*/
|
|
33318
|
+
readSystemSetting(id, options) {
|
|
33319
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33320
|
+
.readSystemSetting(id, options)
|
|
33321
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33322
|
+
}
|
|
33323
|
+
/**
|
|
33324
|
+
*
|
|
33325
|
+
* @param {number} [page]
|
|
33326
|
+
* @param {number} [size]
|
|
33327
|
+
* @param {string} [q]
|
|
33328
|
+
* @param {string} [sort]
|
|
33329
|
+
* @param {Array<string>} [fields]
|
|
33330
|
+
* @param {*} [options] Override http request option.
|
|
33331
|
+
* @throws {RequiredError}
|
|
33332
|
+
* @memberof SystemSettingServiceApi
|
|
33333
|
+
*/
|
|
33334
|
+
searchSystemSetting(page, size, q, sort, fields, options) {
|
|
33335
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33336
|
+
.searchSystemSetting(page, size, q, sort, fields, options)
|
|
33337
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33338
|
+
}
|
|
33339
|
+
/**
|
|
33340
|
+
*
|
|
33341
|
+
* @param {number} id
|
|
33342
|
+
* @param {EngineUpdateSystemSettingRequest} body
|
|
33343
|
+
* @param {*} [options] Override http request option.
|
|
33344
|
+
* @throws {RequiredError}
|
|
33345
|
+
* @memberof SystemSettingServiceApi
|
|
33346
|
+
*/
|
|
33347
|
+
updateSystemSetting(id, body, options) {
|
|
33348
|
+
return SystemSettingServiceApiFp(this.configuration)
|
|
33349
|
+
.updateSystemSetting(id, body, options)
|
|
33350
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33351
|
+
}
|
|
33352
|
+
}
|
|
33353
|
+
|
|
33354
|
+
// tslint:disable
|
|
33355
|
+
/**
|
|
33356
|
+
* TriggerServiceApi - axios parameter creator
|
|
33357
|
+
* @export
|
|
33358
|
+
*/
|
|
33359
|
+
const TriggerServiceApiAxiosParamCreator = function (configuration) {
|
|
33360
|
+
return {
|
|
33361
|
+
/**
|
|
33362
|
+
*
|
|
33363
|
+
* @summary Create Trigger
|
|
33364
|
+
* @param {EngineCreateTriggerRequest} body
|
|
33365
|
+
* @param {*} [options] Override http request option.
|
|
33366
|
+
* @throws {RequiredError}
|
|
33367
|
+
*/
|
|
33368
|
+
createTrigger: async (body, options = {}) => {
|
|
33369
|
+
// verify required parameter 'body' is not null or undefined
|
|
33370
|
+
if (body === null || body === undefined) {
|
|
33371
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createTrigger.');
|
|
33372
|
+
}
|
|
33373
|
+
const localVarPath = `/trigger`;
|
|
33374
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33375
|
+
let baseOptions;
|
|
33376
|
+
if (configuration) {
|
|
33377
|
+
baseOptions = configuration.baseOptions;
|
|
33378
|
+
}
|
|
33379
|
+
const localVarRequestOptions = {
|
|
33380
|
+
method: 'POST',
|
|
33381
|
+
...baseOptions,
|
|
33382
|
+
...options,
|
|
33383
|
+
};
|
|
33384
|
+
const localVarHeaderParameter = {};
|
|
33385
|
+
const localVarQueryParameter = {};
|
|
33386
|
+
// authentication AccessToken required
|
|
33387
|
+
if (configuration && configuration.apiKey) {
|
|
33388
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33389
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33390
|
+
: await configuration.apiKey;
|
|
33391
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33392
|
+
}
|
|
33393
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33394
|
+
localVarUrlObj.query = {
|
|
33395
|
+
...localVarUrlObj.query,
|
|
33396
|
+
...localVarQueryParameter,
|
|
33397
|
+
...options.query,
|
|
33398
|
+
};
|
|
33399
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33400
|
+
delete localVarUrlObj.search;
|
|
33401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33402
|
+
localVarRequestOptions.headers = {
|
|
33403
|
+
...localVarHeaderParameter,
|
|
33404
|
+
...headersFromBaseOptions,
|
|
33405
|
+
...options.headers,
|
|
33406
|
+
};
|
|
33407
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
33408
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
33409
|
+
localVarRequestOptions.data = needsSerialization
|
|
33410
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
33411
|
+
: body || '';
|
|
33412
|
+
return {
|
|
33413
|
+
url: format(localVarUrlObj),
|
|
33414
|
+
options: localVarRequestOptions,
|
|
33415
|
+
};
|
|
33416
|
+
},
|
|
33417
|
+
/**
|
|
33418
|
+
*
|
|
33419
|
+
* @param {number} triggerId
|
|
33420
|
+
* @param {EngineCreateTriggerJobRequest} body
|
|
33421
|
+
* @param {*} [options] Override http request option.
|
|
33422
|
+
* @throws {RequiredError}
|
|
33423
|
+
*/
|
|
33424
|
+
createTriggerJob: async (triggerId, body, options = {}) => {
|
|
33425
|
+
// verify required parameter 'triggerId' is not null or undefined
|
|
33426
|
+
if (triggerId === null || triggerId === undefined) {
|
|
33427
|
+
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling createTriggerJob.');
|
|
33428
|
+
}
|
|
33429
|
+
// verify required parameter 'body' is not null or undefined
|
|
33430
|
+
if (body === null || body === undefined) {
|
|
33431
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createTriggerJob.');
|
|
33432
|
+
}
|
|
33433
|
+
const localVarPath = `/trigger/{trigger_id}/job`.replace(`{${'trigger_id'}}`, encodeURIComponent(String(triggerId)));
|
|
33434
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33435
|
+
let baseOptions;
|
|
33436
|
+
if (configuration) {
|
|
33437
|
+
baseOptions = configuration.baseOptions;
|
|
33438
|
+
}
|
|
33439
|
+
const localVarRequestOptions = {
|
|
33440
|
+
method: 'POST',
|
|
33441
|
+
...baseOptions,
|
|
33442
|
+
...options,
|
|
33443
|
+
};
|
|
33444
|
+
const localVarHeaderParameter = {};
|
|
33445
|
+
const localVarQueryParameter = {};
|
|
33446
|
+
// authentication AccessToken required
|
|
33447
|
+
if (configuration && configuration.apiKey) {
|
|
33448
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33449
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33450
|
+
: await configuration.apiKey;
|
|
33451
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33452
|
+
}
|
|
33453
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33454
|
+
localVarUrlObj.query = {
|
|
33455
|
+
...localVarUrlObj.query,
|
|
33456
|
+
...localVarQueryParameter,
|
|
33457
|
+
...options.query,
|
|
33458
|
+
};
|
|
33459
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33460
|
+
delete localVarUrlObj.search;
|
|
33461
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33462
|
+
localVarRequestOptions.headers = {
|
|
33463
|
+
...localVarHeaderParameter,
|
|
33464
|
+
...headersFromBaseOptions,
|
|
33465
|
+
...options.headers,
|
|
33466
|
+
};
|
|
33467
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
33468
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
33469
|
+
localVarRequestOptions.data = needsSerialization
|
|
33470
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
33471
|
+
: body || '';
|
|
33472
|
+
return {
|
|
33473
|
+
url: format(localVarUrlObj),
|
|
33474
|
+
options: localVarRequestOptions,
|
|
33475
|
+
};
|
|
33476
|
+
},
|
|
33477
|
+
/**
|
|
33478
|
+
*
|
|
33479
|
+
* @summary Remove Trigger
|
|
33480
|
+
* @param {number} id
|
|
33481
|
+
* @param {*} [options] Override http request option.
|
|
33482
|
+
* @throws {RequiredError}
|
|
33483
|
+
*/
|
|
33484
|
+
deleteTrigger: async (id, options = {}) => {
|
|
33485
|
+
// verify required parameter 'id' is not null or undefined
|
|
33486
|
+
if (id === null || id === undefined) {
|
|
33487
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteTrigger.');
|
|
33488
|
+
}
|
|
33489
|
+
const localVarPath = `/trigger/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33490
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33491
|
+
let baseOptions;
|
|
33492
|
+
if (configuration) {
|
|
33493
|
+
baseOptions = configuration.baseOptions;
|
|
33494
|
+
}
|
|
33495
|
+
const localVarRequestOptions = {
|
|
33496
|
+
method: 'DELETE',
|
|
33497
|
+
...baseOptions,
|
|
33498
|
+
...options,
|
|
33499
|
+
};
|
|
33500
|
+
const localVarHeaderParameter = {};
|
|
33501
|
+
const localVarQueryParameter = {};
|
|
33502
|
+
// authentication AccessToken required
|
|
33503
|
+
if (configuration && configuration.apiKey) {
|
|
33504
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33505
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33506
|
+
: await configuration.apiKey;
|
|
33507
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33508
|
+
}
|
|
33509
|
+
localVarUrlObj.query = {
|
|
33510
|
+
...localVarUrlObj.query,
|
|
33511
|
+
...localVarQueryParameter,
|
|
33512
|
+
...options.query,
|
|
33513
|
+
};
|
|
33514
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33515
|
+
delete localVarUrlObj.search;
|
|
33516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33517
|
+
localVarRequestOptions.headers = {
|
|
33518
|
+
...localVarHeaderParameter,
|
|
33519
|
+
...headersFromBaseOptions,
|
|
33520
|
+
...options.headers,
|
|
33521
|
+
};
|
|
33522
|
+
return {
|
|
33523
|
+
url: format(localVarUrlObj),
|
|
33524
|
+
options: localVarRequestOptions,
|
|
33525
|
+
};
|
|
33526
|
+
},
|
|
33527
|
+
/**
|
|
33528
|
+
*
|
|
33529
|
+
* @param {number} id
|
|
33530
|
+
* @param {EnginePatchTriggerRequest} body
|
|
33531
|
+
* @param {*} [options] Override http request option.
|
|
33532
|
+
* @throws {RequiredError}
|
|
33533
|
+
*/
|
|
33534
|
+
patchTrigger: async (id, body, options = {}) => {
|
|
33535
|
+
// verify required parameter 'id' is not null or undefined
|
|
33536
|
+
if (id === null || id === undefined) {
|
|
33537
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling patchTrigger.');
|
|
33538
|
+
}
|
|
33539
|
+
// verify required parameter 'body' is not null or undefined
|
|
33540
|
+
if (body === null || body === undefined) {
|
|
33541
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchTrigger.');
|
|
33542
|
+
}
|
|
33543
|
+
const localVarPath = `/trigger/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33544
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33545
|
+
let baseOptions;
|
|
33546
|
+
if (configuration) {
|
|
33547
|
+
baseOptions = configuration.baseOptions;
|
|
33548
|
+
}
|
|
33549
|
+
const localVarRequestOptions = {
|
|
33550
|
+
method: 'PATCH',
|
|
33551
|
+
...baseOptions,
|
|
33552
|
+
...options,
|
|
33553
|
+
};
|
|
33554
|
+
const localVarHeaderParameter = {};
|
|
33555
|
+
const localVarQueryParameter = {};
|
|
33556
|
+
// authentication AccessToken required
|
|
33557
|
+
if (configuration && configuration.apiKey) {
|
|
33558
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33559
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33560
|
+
: await configuration.apiKey;
|
|
33561
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33562
|
+
}
|
|
33563
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33564
|
+
localVarUrlObj.query = {
|
|
33565
|
+
...localVarUrlObj.query,
|
|
33566
|
+
...localVarQueryParameter,
|
|
33567
|
+
...options.query,
|
|
33568
|
+
};
|
|
33569
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33570
|
+
delete localVarUrlObj.search;
|
|
33571
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33572
|
+
localVarRequestOptions.headers = {
|
|
33573
|
+
...localVarHeaderParameter,
|
|
33574
|
+
...headersFromBaseOptions,
|
|
33575
|
+
...options.headers,
|
|
33576
|
+
};
|
|
33577
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
33578
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
33579
|
+
localVarRequestOptions.data = needsSerialization
|
|
33580
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
33581
|
+
: body || '';
|
|
33582
|
+
return {
|
|
33583
|
+
url: format(localVarUrlObj),
|
|
33584
|
+
options: localVarRequestOptions,
|
|
33585
|
+
};
|
|
33586
|
+
},
|
|
33587
|
+
/**
|
|
33588
|
+
*
|
|
33589
|
+
* @summary Trigger item
|
|
33590
|
+
* @param {number} id
|
|
33591
|
+
* @param {*} [options] Override http request option.
|
|
33592
|
+
* @throws {RequiredError}
|
|
33593
|
+
*/
|
|
33594
|
+
readTrigger: async (id, options = {}) => {
|
|
33595
|
+
// verify required parameter 'id' is not null or undefined
|
|
33596
|
+
if (id === null || id === undefined) {
|
|
33597
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling readTrigger.');
|
|
33598
|
+
}
|
|
33599
|
+
const localVarPath = `/trigger/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33600
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33601
|
+
let baseOptions;
|
|
33602
|
+
if (configuration) {
|
|
33603
|
+
baseOptions = configuration.baseOptions;
|
|
33604
|
+
}
|
|
33605
|
+
const localVarRequestOptions = {
|
|
33606
|
+
method: 'GET',
|
|
33607
|
+
...baseOptions,
|
|
33608
|
+
...options,
|
|
33609
|
+
};
|
|
33610
|
+
const localVarHeaderParameter = {};
|
|
33611
|
+
const localVarQueryParameter = {};
|
|
33612
|
+
// authentication AccessToken required
|
|
33613
|
+
if (configuration && configuration.apiKey) {
|
|
33614
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33615
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33616
|
+
: await configuration.apiKey;
|
|
33617
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33618
|
+
}
|
|
33619
|
+
localVarUrlObj.query = {
|
|
33620
|
+
...localVarUrlObj.query,
|
|
33621
|
+
...localVarQueryParameter,
|
|
33622
|
+
...options.query,
|
|
33623
|
+
};
|
|
33624
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33625
|
+
delete localVarUrlObj.search;
|
|
33626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33627
|
+
localVarRequestOptions.headers = {
|
|
33628
|
+
...localVarHeaderParameter,
|
|
33629
|
+
...headersFromBaseOptions,
|
|
33630
|
+
...options.headers,
|
|
33631
|
+
};
|
|
33632
|
+
return {
|
|
33633
|
+
url: format(localVarUrlObj),
|
|
33634
|
+
options: localVarRequestOptions,
|
|
33635
|
+
};
|
|
33636
|
+
},
|
|
33637
|
+
/**
|
|
33638
|
+
*
|
|
33639
|
+
* @summary List of Trigger
|
|
33640
|
+
* @param {number} [page]
|
|
33641
|
+
* @param {number} [size]
|
|
33642
|
+
* @param {string} [q]
|
|
33643
|
+
* @param {string} [sort]
|
|
33644
|
+
* @param {Array<string>} [fields]
|
|
33645
|
+
* @param {Array<number>} [id]
|
|
33646
|
+
* @param {Array<number>} [schemaId]
|
|
33647
|
+
* @param {*} [options] Override http request option.
|
|
33648
|
+
* @throws {RequiredError}
|
|
33649
|
+
*/
|
|
33650
|
+
searchTrigger: async (page, size, q, sort, fields, id, schemaId, options = {}) => {
|
|
33651
|
+
const localVarPath = `/trigger`;
|
|
33652
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33653
|
+
let baseOptions;
|
|
33654
|
+
if (configuration) {
|
|
33655
|
+
baseOptions = configuration.baseOptions;
|
|
33656
|
+
}
|
|
33657
|
+
const localVarRequestOptions = {
|
|
33658
|
+
method: 'GET',
|
|
33659
|
+
...baseOptions,
|
|
33660
|
+
...options,
|
|
33661
|
+
};
|
|
33662
|
+
const localVarHeaderParameter = {};
|
|
33663
|
+
const localVarQueryParameter = {};
|
|
33664
|
+
// authentication AccessToken required
|
|
33665
|
+
if (configuration && configuration.apiKey) {
|
|
33666
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33667
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33668
|
+
: await configuration.apiKey;
|
|
33669
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33670
|
+
}
|
|
33671
|
+
if (page !== undefined) {
|
|
33672
|
+
localVarQueryParameter['page'] = page;
|
|
33673
|
+
}
|
|
33674
|
+
if (size !== undefined) {
|
|
33675
|
+
localVarQueryParameter['size'] = size;
|
|
33676
|
+
}
|
|
33677
|
+
if (q !== undefined) {
|
|
33678
|
+
localVarQueryParameter['q'] = q;
|
|
33679
|
+
}
|
|
33680
|
+
if (sort !== undefined) {
|
|
33681
|
+
localVarQueryParameter['sort'] = sort;
|
|
33682
|
+
}
|
|
33683
|
+
if (fields) {
|
|
33684
|
+
localVarQueryParameter['fields'] = fields;
|
|
33685
|
+
}
|
|
33686
|
+
if (id) {
|
|
33687
|
+
localVarQueryParameter['id'] = id;
|
|
33688
|
+
}
|
|
33689
|
+
if (schemaId) {
|
|
33690
|
+
localVarQueryParameter['schema_id'] = schemaId;
|
|
33691
|
+
}
|
|
33692
|
+
localVarUrlObj.query = {
|
|
33693
|
+
...localVarUrlObj.query,
|
|
33694
|
+
...localVarQueryParameter,
|
|
33695
|
+
...options.query,
|
|
33696
|
+
};
|
|
33697
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33698
|
+
delete localVarUrlObj.search;
|
|
33699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33700
|
+
localVarRequestOptions.headers = {
|
|
33701
|
+
...localVarHeaderParameter,
|
|
33702
|
+
...headersFromBaseOptions,
|
|
33703
|
+
...options.headers,
|
|
33704
|
+
};
|
|
33705
|
+
return {
|
|
33706
|
+
url: format(localVarUrlObj),
|
|
33707
|
+
options: localVarRequestOptions,
|
|
33708
|
+
};
|
|
33709
|
+
},
|
|
33710
|
+
/**
|
|
33711
|
+
*
|
|
33712
|
+
* @param {number} triggerId
|
|
33713
|
+
* @param {number} [page]
|
|
33714
|
+
* @param {number} [size]
|
|
33715
|
+
* @param {string} [q]
|
|
33716
|
+
* @param {string} [sort]
|
|
33717
|
+
* @param {Array<string>} [fields]
|
|
33718
|
+
* @param {string} [createdAtFrom]
|
|
33719
|
+
* @param {string} [createdAtTo]
|
|
33720
|
+
* @param {string} [startedAtFrom]
|
|
33721
|
+
* @param {string} [startedAtTo]
|
|
33722
|
+
* @param {string} [durationFrom]
|
|
33723
|
+
* @param {string} [durationTo]
|
|
33724
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
33725
|
+
* @param {*} [options] Override http request option.
|
|
33726
|
+
* @throws {RequiredError}
|
|
33727
|
+
*/
|
|
33728
|
+
searchTriggerJob: async (triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options = {}) => {
|
|
33729
|
+
// verify required parameter 'triggerId' is not null or undefined
|
|
33730
|
+
if (triggerId === null || triggerId === undefined) {
|
|
33731
|
+
throw new RequiredError('triggerId', 'Required parameter triggerId was null or undefined when calling searchTriggerJob.');
|
|
33732
|
+
}
|
|
33733
|
+
const localVarPath = `/trigger/{trigger_id}/job`.replace(`{${'trigger_id'}}`, encodeURIComponent(String(triggerId)));
|
|
33734
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33735
|
+
let baseOptions;
|
|
33736
|
+
if (configuration) {
|
|
33737
|
+
baseOptions = configuration.baseOptions;
|
|
33738
|
+
}
|
|
33739
|
+
const localVarRequestOptions = {
|
|
33740
|
+
method: 'GET',
|
|
33741
|
+
...baseOptions,
|
|
33742
|
+
...options,
|
|
33743
|
+
};
|
|
33744
|
+
const localVarHeaderParameter = {};
|
|
33745
|
+
const localVarQueryParameter = {};
|
|
33746
|
+
// authentication AccessToken required
|
|
33747
|
+
if (configuration && configuration.apiKey) {
|
|
33748
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33749
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33750
|
+
: await configuration.apiKey;
|
|
33751
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33752
|
+
}
|
|
33753
|
+
if (page !== undefined) {
|
|
33754
|
+
localVarQueryParameter['page'] = page;
|
|
33755
|
+
}
|
|
33756
|
+
if (size !== undefined) {
|
|
33757
|
+
localVarQueryParameter['size'] = size;
|
|
33758
|
+
}
|
|
33759
|
+
if (q !== undefined) {
|
|
33760
|
+
localVarQueryParameter['q'] = q;
|
|
33761
|
+
}
|
|
33762
|
+
if (sort !== undefined) {
|
|
33763
|
+
localVarQueryParameter['sort'] = sort;
|
|
33764
|
+
}
|
|
33765
|
+
if (fields) {
|
|
33766
|
+
localVarQueryParameter['fields'] = fields;
|
|
33767
|
+
}
|
|
33768
|
+
if (createdAtFrom !== undefined) {
|
|
33769
|
+
localVarQueryParameter['created_at.from'] = createdAtFrom;
|
|
33770
|
+
}
|
|
33771
|
+
if (createdAtTo !== undefined) {
|
|
33772
|
+
localVarQueryParameter['created_at.to'] = createdAtTo;
|
|
33773
|
+
}
|
|
33774
|
+
if (startedAtFrom !== undefined) {
|
|
33775
|
+
localVarQueryParameter['started_at.from'] = startedAtFrom;
|
|
33776
|
+
}
|
|
33777
|
+
if (startedAtTo !== undefined) {
|
|
33778
|
+
localVarQueryParameter['started_at.to'] = startedAtTo;
|
|
33779
|
+
}
|
|
33780
|
+
if (durationFrom !== undefined) {
|
|
33781
|
+
localVarQueryParameter['duration.from'] = durationFrom;
|
|
33782
|
+
}
|
|
33783
|
+
if (durationTo !== undefined) {
|
|
33784
|
+
localVarQueryParameter['duration.to'] = durationTo;
|
|
33785
|
+
}
|
|
33786
|
+
if (state) {
|
|
33787
|
+
localVarQueryParameter['state'] = state;
|
|
33788
|
+
}
|
|
33789
|
+
localVarUrlObj.query = {
|
|
33790
|
+
...localVarUrlObj.query,
|
|
33791
|
+
...localVarQueryParameter,
|
|
33792
|
+
...options.query,
|
|
33793
|
+
};
|
|
33794
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33795
|
+
delete localVarUrlObj.search;
|
|
33796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33797
|
+
localVarRequestOptions.headers = {
|
|
33798
|
+
...localVarHeaderParameter,
|
|
33799
|
+
...headersFromBaseOptions,
|
|
33800
|
+
...options.headers,
|
|
33801
|
+
};
|
|
33802
|
+
return {
|
|
33803
|
+
url: format(localVarUrlObj),
|
|
33804
|
+
options: localVarRequestOptions,
|
|
33805
|
+
};
|
|
33806
|
+
},
|
|
33807
|
+
/**
|
|
33808
|
+
*
|
|
33809
|
+
* @summary Update Trigger
|
|
33810
|
+
* @param {number} id
|
|
33811
|
+
* @param {EngineUpdateTriggerRequest} body
|
|
33812
|
+
* @param {*} [options] Override http request option.
|
|
33813
|
+
* @throws {RequiredError}
|
|
33814
|
+
*/
|
|
33815
|
+
updateTrigger: async (id, body, options = {}) => {
|
|
33816
|
+
// verify required parameter 'id' is not null or undefined
|
|
33817
|
+
if (id === null || id === undefined) {
|
|
33818
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateTrigger.');
|
|
33819
|
+
}
|
|
33820
|
+
// verify required parameter 'body' is not null or undefined
|
|
33821
|
+
if (body === null || body === undefined) {
|
|
33822
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateTrigger.');
|
|
33823
|
+
}
|
|
33824
|
+
const localVarPath = `/trigger/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
33825
|
+
const localVarUrlObj = parse(localVarPath, true);
|
|
33826
|
+
let baseOptions;
|
|
33827
|
+
if (configuration) {
|
|
33828
|
+
baseOptions = configuration.baseOptions;
|
|
33829
|
+
}
|
|
33830
|
+
const localVarRequestOptions = {
|
|
33831
|
+
method: 'PUT',
|
|
33832
|
+
...baseOptions,
|
|
33833
|
+
...options,
|
|
33834
|
+
};
|
|
33835
|
+
const localVarHeaderParameter = {};
|
|
33836
|
+
const localVarQueryParameter = {};
|
|
33837
|
+
// authentication AccessToken required
|
|
33838
|
+
if (configuration && configuration.apiKey) {
|
|
33839
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
33840
|
+
? await configuration.apiKey('X-Webitel-Access')
|
|
33841
|
+
: await configuration.apiKey;
|
|
33842
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
33843
|
+
}
|
|
33844
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33845
|
+
localVarUrlObj.query = {
|
|
33846
|
+
...localVarUrlObj.query,
|
|
33847
|
+
...localVarQueryParameter,
|
|
33848
|
+
...options.query,
|
|
33849
|
+
};
|
|
33850
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
33851
|
+
delete localVarUrlObj.search;
|
|
33852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33853
|
+
localVarRequestOptions.headers = {
|
|
33854
|
+
...localVarHeaderParameter,
|
|
33855
|
+
...headersFromBaseOptions,
|
|
33856
|
+
...options.headers,
|
|
33857
|
+
};
|
|
33858
|
+
const needsSerialization = typeof body !== 'string' ||
|
|
33859
|
+
localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
33860
|
+
localVarRequestOptions.data = needsSerialization
|
|
33861
|
+
? JSON.stringify(body !== undefined ? body : {})
|
|
33862
|
+
: body || '';
|
|
33863
|
+
return {
|
|
33864
|
+
url: format(localVarUrlObj),
|
|
33865
|
+
options: localVarRequestOptions,
|
|
33866
|
+
};
|
|
33867
|
+
},
|
|
33868
|
+
};
|
|
33869
|
+
};
|
|
33870
|
+
/**
|
|
33871
|
+
* TriggerServiceApi - functional programming interface
|
|
33872
|
+
* @export
|
|
33873
|
+
*/
|
|
33874
|
+
const TriggerServiceApiFp = function (configuration) {
|
|
33875
|
+
return {
|
|
33876
|
+
/**
|
|
33877
|
+
*
|
|
33878
|
+
* @summary Create Trigger
|
|
33879
|
+
* @param {EngineCreateTriggerRequest} body
|
|
33880
|
+
* @param {*} [options] Override http request option.
|
|
33881
|
+
* @throws {RequiredError}
|
|
33882
|
+
*/
|
|
33883
|
+
async createTrigger(body, options) {
|
|
33884
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).createTrigger(body, options);
|
|
33885
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33886
|
+
const axiosRequestArgs = {
|
|
33887
|
+
...localVarAxiosArgs.options,
|
|
33888
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33889
|
+
};
|
|
33890
|
+
return axios.request(axiosRequestArgs);
|
|
33891
|
+
};
|
|
33892
|
+
},
|
|
33893
|
+
/**
|
|
33894
|
+
*
|
|
33895
|
+
* @param {number} triggerId
|
|
33896
|
+
* @param {EngineCreateTriggerJobRequest} body
|
|
33897
|
+
* @param {*} [options] Override http request option.
|
|
33898
|
+
* @throws {RequiredError}
|
|
33899
|
+
*/
|
|
33900
|
+
async createTriggerJob(triggerId, body, options) {
|
|
33901
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).createTriggerJob(triggerId, body, options);
|
|
33902
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33903
|
+
const axiosRequestArgs = {
|
|
33904
|
+
...localVarAxiosArgs.options,
|
|
33905
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33906
|
+
};
|
|
33907
|
+
return axios.request(axiosRequestArgs);
|
|
33908
|
+
};
|
|
33909
|
+
},
|
|
33910
|
+
/**
|
|
33911
|
+
*
|
|
33912
|
+
* @summary Remove Trigger
|
|
33913
|
+
* @param {number} id
|
|
33914
|
+
* @param {*} [options] Override http request option.
|
|
33915
|
+
* @throws {RequiredError}
|
|
33916
|
+
*/
|
|
33917
|
+
async deleteTrigger(id, options) {
|
|
33918
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).deleteTrigger(id, options);
|
|
33919
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33920
|
+
const axiosRequestArgs = {
|
|
33921
|
+
...localVarAxiosArgs.options,
|
|
33922
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33923
|
+
};
|
|
33924
|
+
return axios.request(axiosRequestArgs);
|
|
33925
|
+
};
|
|
33926
|
+
},
|
|
33927
|
+
/**
|
|
33928
|
+
*
|
|
33929
|
+
* @param {number} id
|
|
33930
|
+
* @param {EnginePatchTriggerRequest} body
|
|
33931
|
+
* @param {*} [options] Override http request option.
|
|
33932
|
+
* @throws {RequiredError}
|
|
33933
|
+
*/
|
|
33934
|
+
async patchTrigger(id, body, options) {
|
|
33935
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).patchTrigger(id, body, options);
|
|
33936
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33937
|
+
const axiosRequestArgs = {
|
|
33938
|
+
...localVarAxiosArgs.options,
|
|
33939
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33940
|
+
};
|
|
33941
|
+
return axios.request(axiosRequestArgs);
|
|
33942
|
+
};
|
|
33943
|
+
},
|
|
33944
|
+
/**
|
|
33945
|
+
*
|
|
33946
|
+
* @summary Trigger item
|
|
33947
|
+
* @param {number} id
|
|
33948
|
+
* @param {*} [options] Override http request option.
|
|
33949
|
+
* @throws {RequiredError}
|
|
33950
|
+
*/
|
|
33951
|
+
async readTrigger(id, options) {
|
|
33952
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).readTrigger(id, options);
|
|
33953
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33954
|
+
const axiosRequestArgs = {
|
|
33955
|
+
...localVarAxiosArgs.options,
|
|
33956
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33957
|
+
};
|
|
33958
|
+
return axios.request(axiosRequestArgs);
|
|
33959
|
+
};
|
|
33960
|
+
},
|
|
33961
|
+
/**
|
|
33962
|
+
*
|
|
33963
|
+
* @summary List of Trigger
|
|
33964
|
+
* @param {number} [page]
|
|
33965
|
+
* @param {number} [size]
|
|
33966
|
+
* @param {string} [q]
|
|
33967
|
+
* @param {string} [sort]
|
|
33968
|
+
* @param {Array<string>} [fields]
|
|
33969
|
+
* @param {Array<number>} [id]
|
|
33970
|
+
* @param {Array<number>} [schemaId]
|
|
33971
|
+
* @param {*} [options] Override http request option.
|
|
33972
|
+
* @throws {RequiredError}
|
|
33973
|
+
*/
|
|
33974
|
+
async searchTrigger(page, size, q, sort, fields, id, schemaId, options) {
|
|
33975
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).searchTrigger(page, size, q, sort, fields, id, schemaId, options);
|
|
33976
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
33977
|
+
const axiosRequestArgs = {
|
|
33978
|
+
...localVarAxiosArgs.options,
|
|
33979
|
+
url: basePath + localVarAxiosArgs.url,
|
|
33980
|
+
};
|
|
33981
|
+
return axios.request(axiosRequestArgs);
|
|
33982
|
+
};
|
|
33983
|
+
},
|
|
33984
|
+
/**
|
|
33985
|
+
*
|
|
33986
|
+
* @param {number} triggerId
|
|
33987
|
+
* @param {number} [page]
|
|
33988
|
+
* @param {number} [size]
|
|
33989
|
+
* @param {string} [q]
|
|
33990
|
+
* @param {string} [sort]
|
|
33991
|
+
* @param {Array<string>} [fields]
|
|
33992
|
+
* @param {string} [createdAtFrom]
|
|
33993
|
+
* @param {string} [createdAtTo]
|
|
33994
|
+
* @param {string} [startedAtFrom]
|
|
33995
|
+
* @param {string} [startedAtTo]
|
|
33996
|
+
* @param {string} [durationFrom]
|
|
33997
|
+
* @param {string} [durationTo]
|
|
33998
|
+
* @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
|
|
33999
|
+
* @param {*} [options] Override http request option.
|
|
34000
|
+
* @throws {RequiredError}
|
|
34001
|
+
*/
|
|
34002
|
+
async searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options) {
|
|
34003
|
+
const localVarAxiosArgs = await TriggerServiceApiAxiosParamCreator(configuration).searchTriggerJob(triggerId, page, size, q, sort, fields, createdAtFrom, createdAtTo, startedAtFrom, startedAtTo, durationFrom, durationTo, state, options);
|
|
34004
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
34005
|
+
const axiosRequestArgs = {
|
|
34006
|
+
...localVarAxiosArgs.options,
|
|
34007
|
+
url: basePath + localVarAxiosArgs.url,
|
|
34008
|
+
};
|
|
34009
|
+
return axios.request(axiosRequestArgs);
|
|
34010
|
+
};
|
|
34011
|
+
},
|
|
34012
|
+
/**
|
|
34013
|
+
*
|
|
34014
|
+
* @summary Update Trigger
|
|
34015
|
+
* @param {number} id
|
|
33386
34016
|
* @param {EngineUpdateTriggerRequest} body
|
|
33387
34017
|
* @param {*} [options] Override http request option.
|
|
33388
34018
|
* @throws {RequiredError}
|
|
@@ -37266,6 +37896,45 @@ var EngineCommunicationChannels;
|
|
|
37266
37896
|
* Do not edit the class manually.
|
|
37267
37897
|
*/
|
|
37268
37898
|
|
|
37899
|
+
// tslint:disable
|
|
37900
|
+
/**
|
|
37901
|
+
* Webitel engine API
|
|
37902
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
37903
|
+
*
|
|
37904
|
+
* The version of the OpenAPI document: 23.07.0
|
|
37905
|
+
* Contact: support@webitel.com
|
|
37906
|
+
*
|
|
37907
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
37908
|
+
* https://openapi-generator.tech
|
|
37909
|
+
* Do not edit the class manually.
|
|
37910
|
+
*/
|
|
37911
|
+
|
|
37912
|
+
// tslint:disable
|
|
37913
|
+
/**
|
|
37914
|
+
* Webitel engine API
|
|
37915
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
37916
|
+
*
|
|
37917
|
+
* The version of the OpenAPI document: 23.07.0
|
|
37918
|
+
* Contact: support@webitel.com
|
|
37919
|
+
*
|
|
37920
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
37921
|
+
* https://openapi-generator.tech
|
|
37922
|
+
* Do not edit the class manually.
|
|
37923
|
+
*/
|
|
37924
|
+
|
|
37925
|
+
// tslint:disable
|
|
37926
|
+
/**
|
|
37927
|
+
* Webitel engine API
|
|
37928
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
37929
|
+
*
|
|
37930
|
+
* The version of the OpenAPI document: 23.07.0
|
|
37931
|
+
* Contact: support@webitel.com
|
|
37932
|
+
*
|
|
37933
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
37934
|
+
* https://openapi-generator.tech
|
|
37935
|
+
* Do not edit the class manually.
|
|
37936
|
+
*/
|
|
37937
|
+
|
|
37269
37938
|
// tslint:disable
|
|
37270
37939
|
/**
|
|
37271
37940
|
* Webitel engine API
|
|
@@ -37705,6 +38374,19 @@ var EngineRoutingSchemaType;
|
|
|
37705
38374
|
* Do not edit the class manually.
|
|
37706
38375
|
*/
|
|
37707
38376
|
|
|
38377
|
+
// tslint:disable
|
|
38378
|
+
/**
|
|
38379
|
+
* Webitel engine API
|
|
38380
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
38381
|
+
*
|
|
38382
|
+
* The version of the OpenAPI document: 23.07.0
|
|
38383
|
+
* Contact: support@webitel.com
|
|
38384
|
+
*
|
|
38385
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
38386
|
+
* https://openapi-generator.tech
|
|
38387
|
+
* Do not edit the class manually.
|
|
38388
|
+
*/
|
|
38389
|
+
|
|
37708
38390
|
// tslint:disable
|
|
37709
38391
|
/**
|
|
37710
38392
|
* Webitel engine API
|
|
@@ -38156,6 +38838,19 @@ var EngineTriggerType;
|
|
|
38156
38838
|
* Do not edit the class manually.
|
|
38157
38839
|
*/
|
|
38158
38840
|
|
|
38841
|
+
// tslint:disable
|
|
38842
|
+
/**
|
|
38843
|
+
* Webitel engine API
|
|
38844
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
38845
|
+
*
|
|
38846
|
+
* The version of the OpenAPI document: 23.07.0
|
|
38847
|
+
* Contact: support@webitel.com
|
|
38848
|
+
*
|
|
38849
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
38850
|
+
* https://openapi-generator.tech
|
|
38851
|
+
* Do not edit the class manually.
|
|
38852
|
+
*/
|
|
38853
|
+
|
|
38159
38854
|
// tslint:disable
|
|
38160
38855
|
/**
|
|
38161
38856
|
* Webitel engine API
|
|
@@ -38266,6 +38961,29 @@ var LoggerAction;
|
|
|
38266
38961
|
LoggerAction["Delete"] = "delete";
|
|
38267
38962
|
})(LoggerAction || (LoggerAction = {}));
|
|
38268
38963
|
|
|
38964
|
+
// tslint:disable
|
|
38965
|
+
/**
|
|
38966
|
+
* Webitel engine API
|
|
38967
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
38968
|
+
*
|
|
38969
|
+
* The version of the OpenAPI document: 23.07.0
|
|
38970
|
+
* Contact: support@webitel.com
|
|
38971
|
+
*
|
|
38972
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
38973
|
+
* https://openapi-generator.tech
|
|
38974
|
+
* Do not edit the class manually.
|
|
38975
|
+
*/
|
|
38976
|
+
/**
|
|
38977
|
+
*
|
|
38978
|
+
* @export
|
|
38979
|
+
* @enum {string}
|
|
38980
|
+
*/
|
|
38981
|
+
var LoggerAvailableSystemObjects;
|
|
38982
|
+
(function (LoggerAvailableSystemObjects) {
|
|
38983
|
+
LoggerAvailableSystemObjects["CcQueue"] = "cc_queue";
|
|
38984
|
+
LoggerAvailableSystemObjects["Schema"] = "schema";
|
|
38985
|
+
})(LoggerAvailableSystemObjects || (LoggerAvailableSystemObjects = {}));
|
|
38986
|
+
|
|
38269
38987
|
// tslint:disable
|
|
38270
38988
|
/**
|
|
38271
38989
|
* Webitel engine API
|
|
@@ -42781,5 +43499,5 @@ class ExternalClient extends ee_3 {
|
|
|
42781
43499
|
|
|
42782
43500
|
// tslint:disable
|
|
42783
43501
|
|
|
42784
|
-
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, ManagersApiAxiosParamCreator, ManagersApiFp, ManagersApiFactory, ManagersApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerAction, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, PauseNotAllowedError, SipClient, ExternalClient, SipPhone, Log };
|
|
43502
|
+
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, AuditFormServiceApiAxiosParamCreator, AuditFormServiceApiFp, AuditFormServiceApiFactory, AuditFormServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, ConfigServiceApiAxiosParamCreator, ConfigServiceApiFp, ConfigServiceApiFactory, ConfigServiceApi, ContactsApiAxiosParamCreator, ContactsApiFp, ContactsApiFactory, ContactsApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, EmailsApiAxiosParamCreator, EmailsApiFp, EmailsApiFactory, EmailsApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, LabelsApiAxiosParamCreator, LabelsApiFp, LabelsApiFactory, LabelsApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, LoggerServiceApiAxiosParamCreator, LoggerServiceApiFp, LoggerServiceApiFactory, LoggerServiceApi, ManagersApiAxiosParamCreator, ManagersApiFp, ManagersApiFactory, ManagersApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, PresetQueryServiceApiAxiosParamCreator, PresetQueryServiceApiFp, PresetQueryServiceApiFactory, PresetQueryServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, SystemSettingServiceApiAxiosParamCreator, SystemSettingServiceApiFp, SystemSettingServiceApiFactory, SystemSettingServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, VariablesApiAxiosParamCreator, VariablesApiFp, VariablesApiFactory, VariablesApi, Configuration, EngineAuditQuestionType, EngineBoolFilter, EngineCommunicationChannels, EnginePresetQuerySection, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, GoogleProtobufNullValue, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, LoggerAction, LoggerAvailableSystemObjects, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, WebitelContactsAccessMode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, PauseNotAllowedError, SipClient, ExternalClient, SipPhone, Log };
|
|
42785
43503
|
//# sourceMappingURL=index.esm.js.map
|