purecloud-platform-client-v2 186.0.1 → 187.0.0
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/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +717 -168
- package/dist/web-amd/purecloud-platform-client-v2.js +717 -168
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +271 -134
- package/dist/web-cjs/purecloud-platform-client-v2.js +271 -134
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +520 -94
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +25 -7
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +4 -22
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +38 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +186 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +50 -0
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -27
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -579,7 +579,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
|
|
|
579
579
|
* @param {Function} encoder - A function that takes a value and returns a string.
|
|
580
580
|
*
|
|
581
581
|
* @returns {string} A stringified version of the rawValue.
|
|
582
|
-
*/function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){
|
|
582
|
+
*/function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
|
|
583
583
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
584
584
|
* timeout is not created.
|
|
585
585
|
*/timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*','Content-Type':undefined}}};utils$1.forEach(['delete','get','head','post','put','patch'],function(method){defaults.headers[method]={};});var defaults$1=defaults;// RawAxiosHeaders whose duplicates are ignored by node
|
|
@@ -734,7 +734,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,caseless
|
|
|
734
734
|
function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
|
|
735
735
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
736
736
|
function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
|
|
737
|
-
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.
|
|
737
|
+
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.7";var validators$1={};// eslint-disable-next-line func-names
|
|
738
738
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
739
739
|
* Transitional option validator
|
|
740
740
|
*
|
|
@@ -766,9 +766,9 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
766
766
|
* @param {?Object} config
|
|
767
767
|
*
|
|
768
768
|
* @returns {Promise} The Promise to be fulfilled
|
|
769
|
-
*/_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);
|
|
770
|
-
dummy.stack
|
|
771
|
-
if(
|
|
769
|
+
*/_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
|
|
770
|
+
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';if(!_context.t0.stack){_context.t0.stack=stack;// match without the 2 top stack lines
|
|
771
|
+
}else if(stack&&!String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+stack;}}throw _context.t0;case 10:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
|
|
772
772
|
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config=config,transitional=_config.transitional,paramsSerializer=_config.paramsSerializer,headers=_config.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}// Set config.method
|
|
773
773
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
774
774
|
var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
|
|
@@ -847,7 +847,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
847
847
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
848
848
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
|
|
849
849
|
* @module purecloud-platform-client-v2/ApiClient
|
|
850
|
-
* @version
|
|
850
|
+
* @version 187.0.0
|
|
851
851
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
852
852
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
853
853
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1159,7 +1159,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1159
1159
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1160
1160
|
* Alerting service.
|
|
1161
1161
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1162
|
-
* @version
|
|
1162
|
+
* @version 187.0.0
|
|
1163
1163
|
*/ /**
|
|
1164
1164
|
* Constructs a new AlertingApi.
|
|
1165
1165
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1316,7 +1316,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1316
1316
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1317
1317
|
* Analytics service.
|
|
1318
1318
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1319
|
-
* @version
|
|
1319
|
+
* @version 187.0.0
|
|
1320
1320
|
*/ /**
|
|
1321
1321
|
* Constructs a new AnalyticsApi.
|
|
1322
1322
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1923,7 +1923,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
1923
1923
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
1924
1924
|
* Architect service.
|
|
1925
1925
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1926
|
-
* @version
|
|
1926
|
+
* @version 187.0.0
|
|
1927
1927
|
*/ /**
|
|
1928
1928
|
* Constructs a new ArchitectApi.
|
|
1929
1929
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -2215,8 +2215,12 @@ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId"
|
|
|
2215
2215
|
* Get specified user prompt
|
|
2216
2216
|
*
|
|
2217
2217
|
* @param {String} promptId Prompt ID
|
|
2218
|
-
|
|
2219
|
-
|
|
2218
|
+
* @param {Object} opts Optional parameters
|
|
2219
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
2220
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
2221
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
2222
|
+
*/},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
|
|
2223
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2220
2224
|
* Get generated prompt history
|
|
2221
2225
|
*
|
|
2222
2226
|
* @param {String} promptId Prompt ID
|
|
@@ -2255,7 +2259,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
|
|
|
2255
2259
|
* @param {String} opts.nameOrDescription Name or description
|
|
2256
2260
|
* @param {String} opts.sortBy Sort by (default to id)
|
|
2257
2261
|
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
2258
|
-
|
|
2262
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
2263
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
2264
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
2265
|
+
*/},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2259
2266
|
* Get a schedule by ID
|
|
2260
2267
|
*
|
|
2261
2268
|
* @param {String} scheduleId Schedule ID
|
|
@@ -2312,8 +2319,12 @@ if(scheduleGroupId===undefined||scheduleGroupId===null){throw'Missing the requir
|
|
|
2312
2319
|
* Get a system prompt
|
|
2313
2320
|
*
|
|
2314
2321
|
* @param {String} promptId promptId
|
|
2315
|
-
|
|
2316
|
-
|
|
2322
|
+
* @param {Object} opts Optional parameters
|
|
2323
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
2324
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
2325
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
2326
|
+
*/},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
|
|
2327
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2317
2328
|
* Get generated prompt history
|
|
2318
2329
|
*
|
|
2319
2330
|
* @param {String} promptId promptId
|
|
@@ -2354,7 +2365,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
|
|
|
2354
2365
|
* @param {String} opts.name Name
|
|
2355
2366
|
* @param {String} opts.description Description
|
|
2356
2367
|
* @param {String} opts.nameOrDescription Name or description
|
|
2357
|
-
|
|
2368
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
2369
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
2370
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
2371
|
+
*/},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
2358
2372
|
* Get flow
|
|
2359
2373
|
*
|
|
2360
2374
|
* @param {String} flowId Flow ID
|
|
@@ -2955,7 +2969,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
2955
2969
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
2956
2970
|
* Audit service.
|
|
2957
2971
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
2958
|
-
* @version
|
|
2972
|
+
* @version 187.0.0
|
|
2959
2973
|
*/ /**
|
|
2960
2974
|
* Constructs a new AuditApi.
|
|
2961
2975
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -2997,7 +3011,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2997
3011
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
2998
3012
|
* Authorization service.
|
|
2999
3013
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3000
|
-
* @version
|
|
3014
|
+
* @version 187.0.0
|
|
3001
3015
|
*/ /**
|
|
3002
3016
|
* Constructs a new AuthorizationApi.
|
|
3003
3017
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3307,7 +3321,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3307
3321
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3308
3322
|
* Billing service.
|
|
3309
3323
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3310
|
-
* @version
|
|
3324
|
+
* @version 187.0.0
|
|
3311
3325
|
*/ /**
|
|
3312
3326
|
* Constructs a new BillingApi.
|
|
3313
3327
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3331,7 +3345,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3331
3345
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3332
3346
|
* CarrierServices service.
|
|
3333
3347
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3334
|
-
* @version
|
|
3348
|
+
* @version 187.0.0
|
|
3335
3349
|
*/ /**
|
|
3336
3350
|
* Constructs a new CarrierServicesApi.
|
|
3337
3351
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3351,7 +3365,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3351
3365
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3352
3366
|
* Chat service.
|
|
3353
3367
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3354
|
-
* @version
|
|
3368
|
+
* @version 187.0.0
|
|
3355
3369
|
*/ /**
|
|
3356
3370
|
* Constructs a new ChatApi.
|
|
3357
3371
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3415,18 +3429,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
|
|
|
3415
3429
|
*
|
|
3416
3430
|
* @param {String} roomJid roomJid
|
|
3417
3431
|
* @param {Object} opts Optional parameters
|
|
3418
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
3419
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
3420
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
3421
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
3422
|
-
* @param {String} opts.nextPage next page token
|
|
3423
|
-
* @param {String} opts.previousPage Previous page token
|
|
3424
3432
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
3425
3433
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
3426
3434
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
3427
3435
|
* getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3428
3436
|
*/},{key:"getChatsRoomMessages",value:function getChatsRoomMessages(roomJid,opts){opts=opts||{};// verify the required parameter 'roomJid' is set
|
|
3429
|
-
if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'
|
|
3437
|
+
if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3430
3438
|
* Get Chat Settings.
|
|
3431
3439
|
*
|
|
3432
3440
|
*/},{key:"getChatsSettings",value:function getChatsSettings(){return this.apiClient.callApi('/api/v2/chats/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -3434,18 +3442,12 @@ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "ro
|
|
|
3434
3442
|
*
|
|
3435
3443
|
* @param {String} threadId threadId
|
|
3436
3444
|
* @param {Object} opts Optional parameters
|
|
3437
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
3438
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
3439
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
3440
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
3441
|
-
* @param {String} opts.nextPage next page token
|
|
3442
|
-
* @param {String} opts.previousPage Previous page token
|
|
3443
3445
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
3444
3446
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
3445
3447
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
3446
3448
|
* getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3447
3449
|
*/},{key:"getChatsThreadMessages",value:function getChatsThreadMessages(threadId,opts){opts=opts||{};// verify the required parameter 'threadId' is set
|
|
3448
|
-
if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'
|
|
3450
|
+
if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3449
3451
|
* Get messages by id(s) from a 1on1
|
|
3450
3452
|
*
|
|
3451
3453
|
* @param {String} userId userId
|
|
@@ -3458,18 +3460,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
|
|
|
3458
3460
|
*
|
|
3459
3461
|
* @param {String} userId userId
|
|
3460
3462
|
* @param {Object} opts Optional parameters
|
|
3461
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
3462
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
3463
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
3464
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
3465
|
-
* @param {String} opts.nextPage next page token
|
|
3466
|
-
* @param {String} opts.previousPage Previous page token
|
|
3467
3463
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
3468
3464
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
3469
3465
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
3470
3466
|
* getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3471
3467
|
*/},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
3472
|
-
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'
|
|
3468
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3473
3469
|
* Get a user's chat settings
|
|
3474
3470
|
*
|
|
3475
3471
|
* @param {String} userId User ID
|
|
@@ -3562,7 +3558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3562
3558
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3563
3559
|
* Coaching service.
|
|
3564
3560
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3565
|
-
* @version
|
|
3561
|
+
* @version 187.0.0
|
|
3566
3562
|
*/ /**
|
|
3567
3563
|
* Constructs a new CoachingApi.
|
|
3568
3564
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3715,7 +3711,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3715
3711
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
3716
3712
|
* ContentManagement service.
|
|
3717
3713
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3718
|
-
* @version
|
|
3714
|
+
* @version 187.0.0
|
|
3719
3715
|
*/ /**
|
|
3720
3716
|
* Constructs a new ContentManagementApi.
|
|
3721
3717
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -3998,7 +3994,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
3998
3994
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
3999
3995
|
* Conversations service.
|
|
4000
3996
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4001
|
-
* @version
|
|
3997
|
+
* @version 187.0.0
|
|
4002
3998
|
*/ /**
|
|
4003
3999
|
* Constructs a new ConversationsApi.
|
|
4004
4000
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5138,6 +5134,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5138
5134
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5139
5135
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
5140
5136
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5137
|
+
* Submit feedback for the summary.
|
|
5138
|
+
*
|
|
5139
|
+
* @param {String} conversationId Conversation ID
|
|
5140
|
+
* @param {String} summaryId Summary ID
|
|
5141
|
+
* @param {Object} opts Optional parameters
|
|
5142
|
+
* @param {Object} opts.body
|
|
5143
|
+
*/},{key:"postConversationSummaryFeedback",value:function postConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
5144
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
|
|
5145
|
+
if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','POST',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5141
5146
|
* Place a new call as part of a callback conversation.
|
|
5142
5147
|
*
|
|
5143
5148
|
* @param {String} conversationId conversationId
|
|
@@ -5509,9 +5514,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5509
5514
|
* @param {Object} body InstagramIntegrationRequest
|
|
5510
5515
|
*/},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
|
|
5511
5516
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5512
|
-
* Create a LINE messenger Integration
|
|
5513
|
-
*
|
|
5517
|
+
* Create a LINE messenger Integration (Deprecated)
|
|
5518
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
5514
5519
|
* @param {Object} body LineIntegrationRequest
|
|
5520
|
+
* @deprecated
|
|
5515
5521
|
*/},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
|
|
5516
5522
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5517
5523
|
* Create an Open messaging integration
|
|
@@ -5722,7 +5728,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5722
5728
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
5723
5729
|
* DataExtensions service.
|
|
5724
5730
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5725
|
-
* @version
|
|
5731
|
+
* @version 187.0.0
|
|
5726
5732
|
*/ /**
|
|
5727
5733
|
* Constructs a new DataExtensionsApi.
|
|
5728
5734
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5743,7 +5749,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5743
5749
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
5744
5750
|
* Downloads service.
|
|
5745
5751
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5746
|
-
* @version
|
|
5752
|
+
* @version 187.0.0
|
|
5747
5753
|
*/ /**
|
|
5748
5754
|
* Constructs a new DownloadsApi.
|
|
5749
5755
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5762,7 +5768,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5762
5768
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
5763
5769
|
* Emails service.
|
|
5764
5770
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5765
|
-
* @version
|
|
5771
|
+
* @version 187.0.0
|
|
5766
5772
|
*/ /**
|
|
5767
5773
|
* Constructs a new EmailsApi.
|
|
5768
5774
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5780,7 +5786,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5780
5786
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
5781
5787
|
* Events service.
|
|
5782
5788
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5783
|
-
* @version
|
|
5789
|
+
* @version 187.0.0
|
|
5784
5790
|
*/ /**
|
|
5785
5791
|
* Constructs a new EventsApi.
|
|
5786
5792
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5805,7 +5811,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5805
5811
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
5806
5812
|
* ExternalContacts service.
|
|
5807
5813
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5808
|
-
* @version
|
|
5814
|
+
* @version 187.0.0
|
|
5809
5815
|
*/ /**
|
|
5810
5816
|
* Constructs a new ExternalContactsApi.
|
|
5811
5817
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6260,7 +6266,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6260
6266
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6261
6267
|
* Fax service.
|
|
6262
6268
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6263
|
-
* @version
|
|
6269
|
+
* @version 187.0.0
|
|
6264
6270
|
*/ /**
|
|
6265
6271
|
* Constructs a new FaxApi.
|
|
6266
6272
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6301,7 +6307,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
6301
6307
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6302
6308
|
* Flows service.
|
|
6303
6309
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6304
|
-
* @version
|
|
6310
|
+
* @version 187.0.0
|
|
6305
6311
|
*/ /**
|
|
6306
6312
|
* Constructs a new FlowsApi.
|
|
6307
6313
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6350,7 +6356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6350
6356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6351
6357
|
* Gamification service.
|
|
6352
6358
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6353
|
-
* @version
|
|
6359
|
+
* @version 187.0.0
|
|
6354
6360
|
*/ /**
|
|
6355
6361
|
* Constructs a new GamificationApi.
|
|
6356
6362
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6890,7 +6896,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6890
6896
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
6891
6897
|
* GeneralDataProtectionRegulation service.
|
|
6892
6898
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6893
|
-
* @version
|
|
6899
|
+
* @version 187.0.0
|
|
6894
6900
|
*/ /**
|
|
6895
6901
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6896
6902
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -6925,7 +6931,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
6925
6931
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
6926
6932
|
* Geolocation service.
|
|
6927
6933
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
6928
|
-
* @version
|
|
6934
|
+
* @version 187.0.0
|
|
6929
6935
|
*/ /**
|
|
6930
6936
|
* Constructs a new GeolocationApi.
|
|
6931
6937
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -6959,7 +6965,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
6959
6965
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
6960
6966
|
* Greetings service.
|
|
6961
6967
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
6962
|
-
* @version
|
|
6968
|
+
* @version 187.0.0
|
|
6963
6969
|
*/ /**
|
|
6964
6970
|
* Constructs a new GreetingsApi.
|
|
6965
6971
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7066,7 +7072,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7066
7072
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7067
7073
|
* Groups service.
|
|
7068
7074
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7069
|
-
* @version
|
|
7075
|
+
* @version 187.0.0
|
|
7070
7076
|
*/ /**
|
|
7071
7077
|
* Constructs a new GroupsApi.
|
|
7072
7078
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7199,7 +7205,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7199
7205
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7200
7206
|
* IdentityProvider service.
|
|
7201
7207
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7202
|
-
* @version
|
|
7208
|
+
* @version 187.0.0
|
|
7203
7209
|
*/ /**
|
|
7204
7210
|
* Constructs a new IdentityProviderApi.
|
|
7205
7211
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7207,9 +7213,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7207
7213
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
7208
7214
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
7209
7215
|
*/function IdentityProviderApi(apiClient){_classCallCheck(this,IdentityProviderApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
7216
|
+
* Delete Identity Provider
|
|
7217
|
+
*
|
|
7218
|
+
* @param {String} providerId Provider ID
|
|
7219
|
+
*/_createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
|
|
7220
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','DELETE',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7210
7221
|
* Delete ADFS Identity Provider
|
|
7211
7222
|
*
|
|
7212
|
-
*/
|
|
7223
|
+
*/},{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7213
7224
|
* Delete Customer Interaction Center (CIC) Identity Provider
|
|
7214
7225
|
*
|
|
7215
7226
|
*/},{key:"deleteIdentityprovidersCic",value:function deleteIdentityprovidersCic(){return this.apiClient.callApi('/api/v2/identityproviders/cic','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -7240,6 +7251,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7240
7251
|
* Delete Salesforce Identity Provider
|
|
7241
7252
|
*
|
|
7242
7253
|
*/},{key:"deleteIdentityprovidersSalesforce",value:function deleteIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7254
|
+
* Get Identity Provider
|
|
7255
|
+
*
|
|
7256
|
+
* @param {String} providerId Provider ID
|
|
7257
|
+
*/},{key:"getIdentityprovider",value:function getIdentityprovider(providerId){// verify the required parameter 'providerId' is set
|
|
7258
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling getIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','GET',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7243
7259
|
* The list of identity providers
|
|
7244
7260
|
*
|
|
7245
7261
|
*/},{key:"getIdentityproviders",value:function getIdentityproviders(){return this.apiClient.callApi('/api/v2/identityproviders','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -7276,6 +7292,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7276
7292
|
* Get Salesforce Identity Provider
|
|
7277
7293
|
*
|
|
7278
7294
|
*/},{key:"getIdentityprovidersSalesforce",value:function getIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7295
|
+
* Create Identity Provider
|
|
7296
|
+
*
|
|
7297
|
+
* @param {Object} body Provider
|
|
7298
|
+
*/},{key:"postIdentityproviders",value:function postIdentityproviders(body){// verify the required parameter 'body' is set
|
|
7299
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIdentityproviders';}return this.apiClient.callApi('/api/v2/identityproviders','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7300
|
+
* Update Identity Provider
|
|
7301
|
+
*
|
|
7302
|
+
* @param {String} providerId Provider ID
|
|
7303
|
+
* @param {Object} body Provider
|
|
7304
|
+
*/},{key:"putIdentityprovider",value:function putIdentityprovider(providerId,body){// verify the required parameter 'providerId' is set
|
|
7305
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling putIdentityprovider';}// verify the required parameter 'body' is set
|
|
7306
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','PUT',{'providerId':providerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7279
7307
|
* Update/Create ADFS Identity Provider
|
|
7280
7308
|
*
|
|
7281
7309
|
* @param {Object} body Provider
|
|
@@ -7333,7 +7361,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7333
7361
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7334
7362
|
* InfrastructureAsCode service.
|
|
7335
7363
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7336
|
-
* @version
|
|
7364
|
+
* @version 187.0.0
|
|
7337
7365
|
*/ /**
|
|
7338
7366
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7339
7367
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7387,7 +7415,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7387
7415
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7388
7416
|
* Integrations service.
|
|
7389
7417
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7390
|
-
* @version
|
|
7418
|
+
* @version 187.0.0
|
|
7391
7419
|
*/ /**
|
|
7392
7420
|
* Constructs a new IntegrationsApi.
|
|
7393
7421
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -7458,6 +7486,12 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
7458
7486
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
7459
7487
|
*/},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
7460
7488
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7489
|
+
* Get draft function settings for Action
|
|
7490
|
+
*
|
|
7491
|
+
* @param {String} actionId actionId
|
|
7492
|
+
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7493
|
+
*/},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
|
|
7494
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7461
7495
|
* Retrieve schema for a Draft based on filename.
|
|
7462
7496
|
*
|
|
7463
7497
|
* @param {String} actionId actionId
|
|
@@ -7477,6 +7511,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
7477
7511
|
* @param {String} actionId actionId
|
|
7478
7512
|
*/},{key:"getIntegrationsActionDraftValidation",value:function getIntegrationsActionDraftValidation(actionId){// verify the required parameter 'actionId' is set
|
|
7479
7513
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/validation','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7514
|
+
* Get published function settings for Action
|
|
7515
|
+
*
|
|
7516
|
+
* @param {String} actionId actionId
|
|
7517
|
+
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7518
|
+
*/},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
|
|
7519
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7480
7520
|
* Retrieve schema for an action based on filename.
|
|
7481
7521
|
*
|
|
7482
7522
|
* @param {String} actionId actionId
|
|
@@ -7538,6 +7578,10 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
7538
7578
|
* @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
|
|
7539
7579
|
* @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
|
|
7540
7580
|
*/},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7581
|
+
* Get action function settings for Action
|
|
7582
|
+
*
|
|
7583
|
+
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7584
|
+
*/},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7541
7585
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
7542
7586
|
*
|
|
7543
7587
|
* @param {String} integrationId The integration ID for this group of bots
|
|
@@ -7799,6 +7843,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7799
7843
|
* @param {String} actionId actionId
|
|
7800
7844
|
*/},{key:"postIntegrationsActionDraft",value:function postIntegrationsActionDraft(actionId){// verify the required parameter 'actionId' is set
|
|
7801
7845
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','POST',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7846
|
+
* Create upload presigned URL for draft function package file.
|
|
7847
|
+
*
|
|
7848
|
+
* @param {String} actionId actionId
|
|
7849
|
+
* @param {Object} body Input used to request URL upload.
|
|
7850
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7851
|
+
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
7852
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
7853
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7802
7854
|
* Publish a Draft and make it the active Action configuration
|
|
7803
7855
|
*
|
|
7804
7856
|
* @param {String} actionId actionId
|
|
@@ -7878,6 +7930,14 @@ if(settings===undefined||settings===null){throw'Missing the required parameter "
|
|
|
7878
7930
|
* @param {Object} opts.body Integration Configuration
|
|
7879
7931
|
*/},{key:"putIntegrationConfigCurrent",value:function putIntegrationConfigCurrent(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
7880
7932
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';}return this.apiClient.callApi('/api/v2/integrations/{integrationId}/config/current','PUT',{'integrationId':integrationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7933
|
+
* Update draft function settings.
|
|
7934
|
+
*
|
|
7935
|
+
* @param {String} actionId actionId
|
|
7936
|
+
* @param {Object} body Input used to update function settings.
|
|
7937
|
+
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7938
|
+
*/},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
|
|
7939
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
|
|
7940
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7881
7941
|
* Set a list of botConnector bots plus versions for this integration
|
|
7882
7942
|
*
|
|
7883
7943
|
* @param {String} integrationId The integration ID for this group of bots
|
|
@@ -7914,7 +7974,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
7914
7974
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
7915
7975
|
* Journey service.
|
|
7916
7976
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
7917
|
-
* @version
|
|
7977
|
+
* @version 187.0.0
|
|
7918
7978
|
*/ /**
|
|
7919
7979
|
* Constructs a new JourneyApi.
|
|
7920
7980
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8109,17 +8169,6 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
8109
8169
|
* @param {String} sessionId ID of the session.
|
|
8110
8170
|
*/},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
|
|
8111
8171
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8112
|
-
* Retrieve segment assignments by session ID.
|
|
8113
|
-
*
|
|
8114
|
-
* @param {String} sessionId ID of the session to query for segment assignments.
|
|
8115
|
-
* @param {Object} opts Optional parameters
|
|
8116
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
8117
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
8118
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
8119
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
8120
|
-
* getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8121
|
-
*/},{key:"getJourneySessionSegments",value:function getJourneySessionSegments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8122
|
-
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionSegments';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/segments','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'segmentScope':opts['segmentScope'],'assignmentState':opts['assignmentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8123
8172
|
* Update single action map.
|
|
8124
8173
|
*
|
|
8125
8174
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -8218,7 +8267,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
8218
8267
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8219
8268
|
* Knowledge service.
|
|
8220
8269
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8221
|
-
* @version
|
|
8270
|
+
* @version 187.0.0
|
|
8222
8271
|
*/ /**
|
|
8223
8272
|
* Constructs a new KnowledgeApi.
|
|
8224
8273
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8620,6 +8669,26 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
|
|
|
8620
8669
|
*/},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8621
8670
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
8622
8671
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8672
|
+
* Get operations
|
|
8673
|
+
*
|
|
8674
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8675
|
+
* @param {Object} opts Optional parameters
|
|
8676
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
8677
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
8678
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
8679
|
+
* @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
|
|
8680
|
+
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
8681
|
+
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
8682
|
+
* @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
8683
|
+
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8684
|
+
*/},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8685
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8686
|
+
* Get ids of operation creator users and oauth clients
|
|
8687
|
+
*
|
|
8688
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8689
|
+
* getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8690
|
+
*/},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8691
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8623
8692
|
* Get knowledge base unanswered group for a particular groupId
|
|
8624
8693
|
*
|
|
8625
8694
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9015,7 +9084,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
9015
9084
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9016
9085
|
* LanguageUnderstanding service.
|
|
9017
9086
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9018
|
-
* @version
|
|
9087
|
+
* @version 187.0.0
|
|
9019
9088
|
*/ /**
|
|
9020
9089
|
* Constructs a new LanguageUnderstandingApi.
|
|
9021
9090
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9271,7 +9340,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9271
9340
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
9272
9341
|
* Languages service.
|
|
9273
9342
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9274
|
-
* @version
|
|
9343
|
+
* @version 187.0.0
|
|
9275
9344
|
*/ /**
|
|
9276
9345
|
* Constructs a new LanguagesApi.
|
|
9277
9346
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9326,7 +9395,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9326
9395
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
9327
9396
|
* Learning service.
|
|
9328
9397
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9329
|
-
* @version
|
|
9398
|
+
* @version 187.0.0
|
|
9330
9399
|
*/ /**
|
|
9331
9400
|
* Constructs a new LearningApi.
|
|
9332
9401
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9556,7 +9625,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9556
9625
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
9557
9626
|
* License service.
|
|
9558
9627
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9559
|
-
* @version
|
|
9628
|
+
* @version 187.0.0
|
|
9560
9629
|
*/ /**
|
|
9561
9630
|
* Constructs a new LicenseApi.
|
|
9562
9631
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -9610,7 +9679,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
9610
9679
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
9611
9680
|
* Locations service.
|
|
9612
9681
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
9613
|
-
* @version
|
|
9682
|
+
* @version 187.0.0
|
|
9614
9683
|
*/ /**
|
|
9615
9684
|
* Constructs a new LocationsApi.
|
|
9616
9685
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -9669,7 +9738,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9669
9738
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
9670
9739
|
* LogCapture service.
|
|
9671
9740
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
9672
|
-
* @version
|
|
9741
|
+
* @version 187.0.0
|
|
9673
9742
|
*/ /**
|
|
9674
9743
|
* Constructs a new LogCaptureApi.
|
|
9675
9744
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -9719,7 +9788,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9719
9788
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
9720
9789
|
* Messaging service.
|
|
9721
9790
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
9722
|
-
* @version
|
|
9791
|
+
* @version 187.0.0
|
|
9723
9792
|
*/ /**
|
|
9724
9793
|
* Constructs a new MessagingApi.
|
|
9725
9794
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -9809,7 +9878,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9809
9878
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
9810
9879
|
* MobileDevices service.
|
|
9811
9880
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
9812
|
-
* @version
|
|
9881
|
+
* @version 187.0.0
|
|
9813
9882
|
*/ /**
|
|
9814
9883
|
* Constructs a new MobileDevicesApi.
|
|
9815
9884
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -9848,7 +9917,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9848
9917
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
9849
9918
|
* Notifications service.
|
|
9850
9919
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
9851
|
-
* @version
|
|
9920
|
+
* @version 187.0.0
|
|
9852
9921
|
*/ /**
|
|
9853
9922
|
* Constructs a new NotificationsApi.
|
|
9854
9923
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -9905,7 +9974,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
9905
9974
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
9906
9975
|
* OAuth service.
|
|
9907
9976
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
9908
|
-
* @version
|
|
9977
|
+
* @version 187.0.0
|
|
9909
9978
|
*/ /**
|
|
9910
9979
|
* Constructs a new OAuthApi.
|
|
9911
9980
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -9990,7 +10059,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
9990
10059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
9991
10060
|
* Objects service.
|
|
9992
10061
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
9993
|
-
* @version
|
|
10062
|
+
* @version 187.0.0
|
|
9994
10063
|
*/ /**
|
|
9995
10064
|
* Constructs a new ObjectsApi.
|
|
9996
10065
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10060,7 +10129,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10060
10129
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
10061
10130
|
* OperationalEvents service.
|
|
10062
10131
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10063
|
-
* @version
|
|
10132
|
+
* @version 187.0.0
|
|
10064
10133
|
*/ /**
|
|
10065
10134
|
* Constructs a new OperationalEventsApi.
|
|
10066
10135
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10078,7 +10147,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10078
10147
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
10079
10148
|
* Organization service.
|
|
10080
10149
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10081
|
-
* @version
|
|
10150
|
+
* @version 187.0.0
|
|
10082
10151
|
*/ /**
|
|
10083
10152
|
* Constructs a new OrganizationApi.
|
|
10084
10153
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10180,7 +10249,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10180
10249
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
10181
10250
|
* OrganizationAuthorization service.
|
|
10182
10251
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10183
|
-
* @version
|
|
10252
|
+
* @version 187.0.0
|
|
10184
10253
|
*/ /**
|
|
10185
10254
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10186
10255
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10503,7 +10572,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10503
10572
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
10504
10573
|
* Outbound service.
|
|
10505
10574
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10506
|
-
* @version
|
|
10575
|
+
* @version 187.0.0
|
|
10507
10576
|
*/ /**
|
|
10508
10577
|
* Constructs a new OutboundApi.
|
|
10509
10578
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -10611,6 +10680,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
|
|
|
10611
10680
|
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
10612
10681
|
*/},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
10613
10682
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10683
|
+
* Delete File Specification Template
|
|
10684
|
+
*
|
|
10685
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
10686
|
+
*/},{key:"deleteOutboundFilespecificationtemplate",value:function deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
10687
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','DELETE',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10688
|
+
* Delete multiple file specification templates.
|
|
10689
|
+
*
|
|
10690
|
+
* @param {Array.<String>} id File Specification template id(s) to delete
|
|
10691
|
+
*/},{key:"deleteOutboundFilespecificationtemplatesBulk",value:function deleteOutboundFilespecificationtemplatesBulk(id){// verify the required parameter 'id' is set
|
|
10692
|
+
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/bulk','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10614
10693
|
* Delete Import Template
|
|
10615
10694
|
*
|
|
10616
10695
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -10999,6 +11078,22 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
|
|
|
10999
11078
|
* @param {String} opts.sortBy Sort by
|
|
11000
11079
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
11001
11080
|
*/},{key:"getOutboundEvents",value:function getOutboundEvents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/events','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'category':opts['category'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11081
|
+
* Get File Specification Template
|
|
11082
|
+
*
|
|
11083
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
11084
|
+
*/},{key:"getOutboundFilespecificationtemplate",value:function getOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
11085
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','GET',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11086
|
+
* Query File Specification Templates
|
|
11087
|
+
*
|
|
11088
|
+
* @param {Object} opts Optional parameters
|
|
11089
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
11090
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11091
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
11092
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
11093
|
+
* @param {String} opts.name Name
|
|
11094
|
+
* @param {String} opts.sortBy Sort by
|
|
11095
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
11096
|
+
*/},{key:"getOutboundFilespecificationtemplates",value:function getOutboundFilespecificationtemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11002
11097
|
* Get Import Template
|
|
11003
11098
|
*
|
|
11004
11099
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -11271,6 +11366,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11271
11366
|
* @param {Array.<Object>} body contact list template(s) to add
|
|
11272
11367
|
*/},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
11273
11368
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11369
|
+
* Get multiple contact list templates
|
|
11370
|
+
*
|
|
11371
|
+
* @param {Object} body contact list templates to get
|
|
11372
|
+
*/},{key:"postOutboundContactlisttemplatesBulkRetrieve",value:function postOutboundContactlisttemplatesBulkRetrieve(body){// verify the required parameter 'body' is set
|
|
11373
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11274
11374
|
* Add phone numbers to a Dialer DNC list.
|
|
11275
11375
|
*
|
|
11276
11376
|
* @param {String} conversationId Conversation ID
|
|
@@ -11307,6 +11407,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11307
11407
|
* @param {Object} body DncList
|
|
11308
11408
|
*/},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
|
|
11309
11409
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundDnclists';}return this.apiClient.callApi('/api/v2/outbound/dnclists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11410
|
+
* Create File Specification Template
|
|
11411
|
+
*
|
|
11412
|
+
* @param {Object} body FileSpecificationTemplate
|
|
11413
|
+
*/},{key:"postOutboundFilespecificationtemplates",value:function postOutboundFilespecificationtemplates(body){// verify the required parameter 'body' is set
|
|
11414
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11310
11415
|
* Create Import Template
|
|
11311
11416
|
*
|
|
11312
11417
|
* @param {Object} body ImportTemplate
|
|
@@ -11425,6 +11530,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11425
11530
|
*/},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
11426
11531
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
|
|
11427
11532
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundDnclist';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}','PUT',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11533
|
+
* Update File Specification Template
|
|
11534
|
+
*
|
|
11535
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
11536
|
+
* @param {Object} body fileSpecificationTemplate
|
|
11537
|
+
*/},{key:"putOutboundFilespecificationtemplate",value:function putOutboundFilespecificationtemplate(fileSpecificationTemplateId,body){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
11538
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';}// verify the required parameter 'body' is set
|
|
11539
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','PUT',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11428
11540
|
* Update Import Template
|
|
11429
11541
|
*
|
|
11430
11542
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -11488,7 +11600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11488
11600
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
11489
11601
|
* Presence service.
|
|
11490
11602
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11491
|
-
* @version
|
|
11603
|
+
* @version 187.0.0
|
|
11492
11604
|
*/ /**
|
|
11493
11605
|
* Constructs a new PresenceApi.
|
|
11494
11606
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -11506,9 +11618,10 @@ if(definitionId===undefined||definitionId===null){throw'Missing the required par
|
|
|
11506
11618
|
* @param {String} sourceId Presence Source ID
|
|
11507
11619
|
*/},{key:"deletePresenceSource",value:function deletePresenceSource(sourceId){// verify the required parameter 'sourceId' is set
|
|
11508
11620
|
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deletePresenceSource';}return this.apiClient.callApi('/api/v2/presence/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11509
|
-
* Delete a Presence Definition
|
|
11621
|
+
* Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
|
|
11510
11622
|
*
|
|
11511
11623
|
* @param {String} presenceId Organization Presence ID
|
|
11624
|
+
* @deprecated
|
|
11512
11625
|
*/},{key:"deletePresencedefinition",value:function deletePresencedefinition(presenceId){// verify the required parameter 'presenceId' is set
|
|
11513
11626
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','DELETE',{'presenceId':presenceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11514
11627
|
* Get a Presence Definition
|
|
@@ -11543,20 +11656,22 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
11543
11656
|
* @param {String} userId user ID
|
|
11544
11657
|
*/},{key:"getPresenceUserPrimarysource",value:function getPresenceUserPrimarysource(userId){// verify the required parameter 'userId' is set
|
|
11545
11658
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11546
|
-
* Get a Presence Definition
|
|
11659
|
+
* Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
|
|
11547
11660
|
*
|
|
11548
11661
|
* @param {String} presenceId Organization Presence ID
|
|
11549
11662
|
* @param {Object} opts Optional parameters
|
|
11550
11663
|
* @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
11664
|
+
* @deprecated
|
|
11551
11665
|
*/},{key:"getPresencedefinition",value:function getPresencedefinition(presenceId,opts){opts=opts||{};// verify the required parameter 'presenceId' is set
|
|
11552
11666
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling getPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','GET',{'presenceId':presenceId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11553
|
-
* Get an Organization's list of Presence Definitions
|
|
11667
|
+
* Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
|
|
11554
11668
|
*
|
|
11555
11669
|
* @param {Object} opts Optional parameters
|
|
11556
11670
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11557
11671
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
11558
11672
|
* @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
|
|
11559
11673
|
* @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
|
|
11674
|
+
* @deprecated
|
|
11560
11675
|
*/},{key:"getPresencedefinitions",value:function getPresencedefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presencedefinitions','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'deleted':opts['deleted'],'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11561
11676
|
* Get the list of SystemPresences
|
|
11562
11677
|
*
|
|
@@ -11611,9 +11726,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11611
11726
|
* @param {Object} body The Presence Source to create
|
|
11612
11727
|
*/},{key:"postPresenceSources",value:function postPresenceSources(body){// verify the required parameter 'body' is set
|
|
11613
11728
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresenceSources';}return this.apiClient.callApi('/api/v2/presence/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11614
|
-
* Create a Presence Definition
|
|
11729
|
+
* Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
|
|
11615
11730
|
*
|
|
11616
11731
|
* @param {Object} body The Presence Definition to create
|
|
11732
|
+
* @deprecated
|
|
11617
11733
|
*/},{key:"postPresencedefinitions",value:function postPresencedefinitions(body){// verify the required parameter 'body' is set
|
|
11618
11734
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresencedefinitions';}return this.apiClient.callApi('/api/v2/presencedefinitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11619
11735
|
* Update a Presence Definition
|
|
@@ -11642,10 +11758,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11642
11758
|
*/},{key:"putPresenceUserPrimarysource",value:function putPresenceUserPrimarysource(userId,body){// verify the required parameter 'userId' is set
|
|
11643
11759
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';}// verify the required parameter 'body' is set
|
|
11644
11760
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11645
|
-
* Update a Presence Definition
|
|
11761
|
+
* Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
|
|
11646
11762
|
*
|
|
11647
11763
|
* @param {String} presenceId Organization Presence ID
|
|
11648
11764
|
* @param {Object} body The OrganizationPresence to update
|
|
11765
|
+
* @deprecated
|
|
11649
11766
|
*/},{key:"putPresencedefinition",value:function putPresencedefinition(presenceId,body){// verify the required parameter 'presenceId' is set
|
|
11650
11767
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling putPresencedefinition';}// verify the required parameter 'body' is set
|
|
11651
11768
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','PUT',{'presenceId':presenceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11656,7 +11773,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11656
11773
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
11657
11774
|
* ProcessAutomation service.
|
|
11658
11775
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
11659
|
-
* @version
|
|
11776
|
+
* @version 187.0.0
|
|
11660
11777
|
*/ /**
|
|
11661
11778
|
* Constructs a new ProcessAutomationApi.
|
|
11662
11779
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -11719,7 +11836,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
11719
11836
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
11720
11837
|
* Quality service.
|
|
11721
11838
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
11722
|
-
* @version
|
|
11839
|
+
* @version 187.0.0
|
|
11723
11840
|
*/ /**
|
|
11724
11841
|
* Constructs a new QualityApi.
|
|
11725
11842
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12190,7 +12307,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12190
12307
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
12191
12308
|
* Recording service.
|
|
12192
12309
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12193
|
-
* @version
|
|
12310
|
+
* @version 187.0.0
|
|
12194
12311
|
*/ /**
|
|
12195
12312
|
* Constructs a new RecordingApi.
|
|
12196
12313
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -12597,7 +12714,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12597
12714
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
12598
12715
|
* ResponseManagement service.
|
|
12599
12716
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
12600
|
-
* @version
|
|
12717
|
+
* @version 187.0.0
|
|
12601
12718
|
*/ /**
|
|
12602
12719
|
* Constructs a new ResponseManagementApi.
|
|
12603
12720
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -12713,7 +12830,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
12713
12830
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
12714
12831
|
* Routing service.
|
|
12715
12832
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
12716
|
-
* @version
|
|
12833
|
+
* @version 187.0.0
|
|
12717
12834
|
*/ /**
|
|
12718
12835
|
* Constructs a new RoutingApi.
|
|
12719
12836
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13681,7 +13798,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13681
13798
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
13682
13799
|
* SCIM service.
|
|
13683
13800
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
13684
|
-
* @version
|
|
13801
|
+
* @version 187.0.0
|
|
13685
13802
|
*/ /**
|
|
13686
13803
|
* Constructs a new SCIMApi.
|
|
13687
13804
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -13903,10 +14020,25 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13903
14020
|
* @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
|
|
13904
14021
|
*/},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
13905
14022
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
|
|
13906
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var
|
|
14023
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
14024
|
+
* ScreenRecording service.
|
|
14025
|
+
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14026
|
+
* @version 187.0.0
|
|
14027
|
+
*/ /**
|
|
14028
|
+
* Constructs a new ScreenRecordingApi.
|
|
14029
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14030
|
+
* @class
|
|
14031
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14032
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14033
|
+
*/function ScreenRecordingApi(apiClient){_classCallCheck(this,ScreenRecordingApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14034
|
+
* Sign identifying information for screen recording
|
|
14035
|
+
*
|
|
14036
|
+
* @param {Object} opts Optional parameters
|
|
14037
|
+
* @param {Object} opts.body
|
|
14038
|
+
*/_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
13907
14039
|
* Scripts service.
|
|
13908
14040
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
13909
|
-
* @version
|
|
14041
|
+
* @version 187.0.0
|
|
13910
14042
|
*/ /**
|
|
13911
14043
|
* Constructs a new ScriptsApi.
|
|
13912
14044
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14042,7 +14174,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14042
14174
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
14043
14175
|
* Search service.
|
|
14044
14176
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14045
|
-
* @version
|
|
14177
|
+
* @version 187.0.0
|
|
14046
14178
|
*/ /**
|
|
14047
14179
|
* Constructs a new SearchApi.
|
|
14048
14180
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14202,7 +14334,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14202
14334
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
14203
14335
|
* Settings service.
|
|
14204
14336
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14205
|
-
* @version
|
|
14337
|
+
* @version 187.0.0
|
|
14206
14338
|
*/ /**
|
|
14207
14339
|
* Constructs a new SettingsApi.
|
|
14208
14340
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14220,7 +14352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14220
14352
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
14221
14353
|
* SpeechTextAnalytics service.
|
|
14222
14354
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14223
|
-
* @version
|
|
14355
|
+
* @version 187.0.0
|
|
14224
14356
|
*/ /**
|
|
14225
14357
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14226
14358
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14463,7 +14595,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14463
14595
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
14464
14596
|
* Stations service.
|
|
14465
14597
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
14466
|
-
* @version
|
|
14598
|
+
* @version 187.0.0
|
|
14467
14599
|
*/ /**
|
|
14468
14600
|
* Constructs a new StationsApi.
|
|
14469
14601
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -14495,7 +14627,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
14495
14627
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
14496
14628
|
* Suggest service.
|
|
14497
14629
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
14498
|
-
* @version
|
|
14630
|
+
* @version 187.0.0
|
|
14499
14631
|
*/ /**
|
|
14500
14632
|
* Constructs a new SuggestApi.
|
|
14501
14633
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -14535,7 +14667,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14535
14667
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
14536
14668
|
* TaskManagement service.
|
|
14537
14669
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
14538
|
-
* @version
|
|
14670
|
+
* @version 187.0.0
|
|
14539
14671
|
*/ /**
|
|
14540
14672
|
* Constructs a new TaskManagementApi.
|
|
14541
14673
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -14877,7 +15009,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
14877
15009
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
14878
15010
|
* Teams service.
|
|
14879
15011
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
14880
|
-
* @version
|
|
15012
|
+
* @version 187.0.0
|
|
14881
15013
|
*/ /**
|
|
14882
15014
|
* Constructs a new TeamsApi.
|
|
14883
15015
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -14956,7 +15088,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14956
15088
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
14957
15089
|
* Telephony service.
|
|
14958
15090
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
14959
|
-
* @version
|
|
15091
|
+
* @version 187.0.0
|
|
14960
15092
|
*/ /**
|
|
14961
15093
|
* Constructs a new TelephonyApi.
|
|
14962
15094
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15003,7 +15135,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15003
15135
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
15004
15136
|
* TelephonyProvidersEdge service.
|
|
15005
15137
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15006
|
-
* @version
|
|
15138
|
+
* @version 187.0.0
|
|
15007
15139
|
*/ /**
|
|
15008
15140
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15009
15141
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -15360,12 +15492,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
15360
15492
|
* @param {String} edgeIds Comma separated list of Edge Id's. Maximum of 100 edge ids allowed.
|
|
15361
15493
|
*/},{key:"getTelephonyProvidersEdgesMetrics",value:function getTelephonyProvidersEdgesMetrics(edgeIds){// verify the required parameter 'edgeIds' is set
|
|
15362
15494
|
if(edgeIds===undefined||edgeIds===null){throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/metrics','GET',{},{'edgeIds':edgeIds},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15363
|
-
* Get outbound route
|
|
15364
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
15365
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
15366
|
-
* @deprecated
|
|
15367
|
-
*/},{key:"getTelephonyProvidersEdgesOutboundroute",value:function getTelephonyProvidersEdgesOutboundroute(outboundRouteId){// verify the required parameter 'outboundRouteId' is set
|
|
15368
|
-
if(outboundRouteId===undefined||outboundRouteId===null){throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}','GET',{'outboundRouteId':outboundRouteId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15369
15495
|
* Get outbound routes
|
|
15370
15496
|
*
|
|
15371
15497
|
* @param {Object} opts Optional parameters
|
|
@@ -15823,7 +15949,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
15823
15949
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
15824
15950
|
* Textbots service.
|
|
15825
15951
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
15826
|
-
* @version
|
|
15952
|
+
* @version 187.0.0
|
|
15827
15953
|
*/ /**
|
|
15828
15954
|
* Constructs a new TextbotsApi.
|
|
15829
15955
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -15858,7 +15984,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
15858
15984
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
15859
15985
|
* Tokens service.
|
|
15860
15986
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
15861
|
-
* @version
|
|
15987
|
+
* @version 187.0.0
|
|
15862
15988
|
*/ /**
|
|
15863
15989
|
* Constructs a new TokensApi.
|
|
15864
15990
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -15894,7 +16020,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15894
16020
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
15895
16021
|
* Uploads service.
|
|
15896
16022
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
15897
|
-
* @version
|
|
16023
|
+
* @version 187.0.0
|
|
15898
16024
|
*/ /**
|
|
15899
16025
|
* Constructs a new UploadsApi.
|
|
15900
16026
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -15902,10 +16028,18 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15902
16028
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
15903
16029
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
15904
16030
|
*/function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
16031
|
+
* Create upload presigned URL for draft function package file.
|
|
16032
|
+
*
|
|
16033
|
+
* @param {String} actionId actionId
|
|
16034
|
+
* @param {Object} body Input used to request URL upload.
|
|
16035
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16036
|
+
*/_createClass(UploadsApi,[{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
16037
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
16038
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15905
16039
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
15906
16040
|
*
|
|
15907
16041
|
* @param {Object} body query
|
|
15908
|
-
*/
|
|
16042
|
+
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
15909
16043
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15910
16044
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
15911
16045
|
*
|
|
@@ -15936,7 +16070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15936
16070
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
15937
16071
|
* Usage service.
|
|
15938
16072
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
15939
|
-
* @version
|
|
16073
|
+
* @version 187.0.0
|
|
15940
16074
|
*/ /**
|
|
15941
16075
|
* Constructs a new UsageApi.
|
|
15942
16076
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -15987,7 +16121,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15987
16121
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
15988
16122
|
* UserRecordings service.
|
|
15989
16123
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
15990
|
-
* @version
|
|
16124
|
+
* @version 187.0.0
|
|
15991
16125
|
*/ /**
|
|
15992
16126
|
* Constructs a new UserRecordingsApi.
|
|
15993
16127
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16036,7 +16170,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16036
16170
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
16037
16171
|
* Users service.
|
|
16038
16172
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16039
|
-
* @version
|
|
16173
|
+
* @version 187.0.0
|
|
16040
16174
|
*/ /**
|
|
16041
16175
|
* Constructs a new UsersApi.
|
|
16042
16176
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -16695,7 +16829,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
16695
16829
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
16696
16830
|
* Utilities service.
|
|
16697
16831
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
16698
|
-
* @version
|
|
16832
|
+
* @version 187.0.0
|
|
16699
16833
|
*/ /**
|
|
16700
16834
|
* Constructs a new UtilitiesApi.
|
|
16701
16835
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -16722,7 +16856,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16722
16856
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
16723
16857
|
* Voicemail service.
|
|
16724
16858
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
16725
|
-
* @version
|
|
16859
|
+
* @version 187.0.0
|
|
16726
16860
|
*/ /**
|
|
16727
16861
|
* Constructs a new VoicemailApi.
|
|
16728
16862
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -16871,7 +17005,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16871
17005
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
16872
17006
|
* WebChat service.
|
|
16873
17007
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
16874
|
-
* @version
|
|
17008
|
+
* @version 187.0.0
|
|
16875
17009
|
*/ /**
|
|
16876
17010
|
* Constructs a new WebChatApi.
|
|
16877
17011
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17004,7 +17138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17004
17138
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
17005
17139
|
* WebDeployments service.
|
|
17006
17140
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17007
|
-
* @version
|
|
17141
|
+
* @version 187.0.0
|
|
17008
17142
|
*/ /**
|
|
17009
17143
|
* Constructs a new WebDeploymentsApi.
|
|
17010
17144
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17125,7 +17259,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17125
17259
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
17126
17260
|
* WebMessaging service.
|
|
17127
17261
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17128
|
-
* @version
|
|
17262
|
+
* @version 187.0.0
|
|
17129
17263
|
*/ /**
|
|
17130
17264
|
* Constructs a new WebMessagingApi.
|
|
17131
17265
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17141,7 +17275,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17141
17275
|
*/_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
17142
17276
|
* Widgets service.
|
|
17143
17277
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17144
|
-
* @version
|
|
17278
|
+
* @version 187.0.0
|
|
17145
17279
|
*/ /**
|
|
17146
17280
|
* Constructs a new WidgetsApi.
|
|
17147
17281
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17176,7 +17310,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17176
17310
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
17177
17311
|
* WorkforceManagement service.
|
|
17178
17312
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17179
|
-
* @version
|
|
17313
|
+
* @version 187.0.0
|
|
17180
17314
|
*/ /**
|
|
17181
17315
|
* Constructs a new WorkforceManagementApi.
|
|
17182
17316
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -18527,7 +18661,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18527
18661
|
* </pre>
|
|
18528
18662
|
* </p>
|
|
18529
18663
|
* @module purecloud-platform-client-v2/index
|
|
18530
|
-
* @version
|
|
18664
|
+
* @version 187.0.0
|
|
18531
18665
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
18532
18666
|
* The ApiClient constructor.
|
|
18533
18667
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -18685,6 +18819,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
18685
18819
|
* The SCIMApi service constructor.
|
|
18686
18820
|
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
18687
18821
|
*/this.SCIMApi=SCIMApi;/**
|
|
18822
|
+
* The ScreenRecordingApi service constructor.
|
|
18823
|
+
* @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
|
|
18824
|
+
*/this.ScreenRecordingApi=ScreenRecordingApi;/**
|
|
18688
18825
|
* The ScriptsApi service constructor.
|
|
18689
18826
|
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|
|
18690
18827
|
*/this.ScriptsApi=ScriptsApi;/**
|