purecloud-platform-client-v2 208.0.0 → 209.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1088 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +1088 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +406 -134
- package/dist/web-cjs/purecloud-platform-client-v2.js +547 -209
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +3406 -2914
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- 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 +1 -1
- 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 +1 -2
- 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/EmployeeEngagementApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +7 -3
- 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 +52 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -3
- 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 +29 -25
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- 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/SocialMediaApi.js +910 -0
- 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 -1
- 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 +1 -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 +7 -7
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -515,10 +515,10 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
|
|
|
515
515
|
*
|
|
516
516
|
* @param {string} url The base of the url (e.g., http://www.google.com)
|
|
517
517
|
* @param {object} [params] The params to be appended
|
|
518
|
-
* @param {?object} options
|
|
518
|
+
* @param {?(object|Function)} options
|
|
519
519
|
*
|
|
520
520
|
* @returns {string} The formatted url
|
|
521
|
-
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
521
|
+
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;if(utils$1.isFunction(options)){options={serialize:options};}var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
522
522
|
* Add a new interceptor to the stack
|
|
523
523
|
*
|
|
524
524
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
@@ -654,22 +654,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
|
|
|
654
654
|
* @param {Function} fn
|
|
655
655
|
* @param {Number} freq
|
|
656
656
|
* @return {Function}
|
|
657
|
-
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv
|
|
658
|
-
// whether the request URL is of the same origin as current location.
|
|
659
|
-
function standardBrowserEnv(){var msie=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;/**
|
|
660
|
-
* Parse a URL to discover its components
|
|
661
|
-
*
|
|
662
|
-
* @param {String} url The URL to be parsed
|
|
663
|
-
* @returns {Object}
|
|
664
|
-
*/function resolveURL(url){var href=url;if(msie){// IE needs attribute set twice to normalize properties
|
|
665
|
-
urlParsingNode.setAttribute('href',href);href=urlParsingNode.href;}urlParsingNode.setAttribute('href',href);// urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
|
|
666
|
-
return{href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,''):'',host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,''):'',hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,''):'',hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:urlParsingNode.pathname.charAt(0)==='/'?urlParsingNode.pathname:'/'+urlParsingNode.pathname};}originURL=resolveURL(window.location.href);/**
|
|
667
|
-
* Determine if a URL shares the same origin as the current location
|
|
668
|
-
*
|
|
669
|
-
* @param {String} requestURL The URL to test
|
|
670
|
-
* @returns {boolean} True if URL shares the same origin, otherwise false
|
|
671
|
-
*/return function isURLSameOrigin(requestURL){var parsed=utils$1.isString(requestURL)?resolveURL(requestURL):requestURL;return parsed.protocol===originURL.protocol&&parsed.host===originURL.host;};}():// Non standard browser envs (web workers, react-native) lack needed support.
|
|
672
|
-
function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true;};}();var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
657
|
+
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv?function(origin,isMSIE){return function(url){url=new URL(url,platform.origin);return origin.protocol===url.protocol&&origin.host===url.host&&(isMSIE||origin.port===url.port);};}(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):function(){return true;};var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
673
658
|
{write:function write(name,value,expires,path,domain,secure){var cookie=[name+'='+encodeURIComponent(value)];utils$1.isNumber(expires)&&cookie.push('expires='+new Date(expires).toGMTString());utils$1.isString(path)&&cookie.push('path='+path);utils$1.isString(domain)&&cookie.push('domain='+domain);secure===true&&cookie.push('secure');document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return match?decodeURIComponent(match[3]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000);}}:// Non-standard browser env (web workers, react-native) lack needed support.
|
|
674
659
|
{write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
|
|
675
660
|
* Determines whether the specified URL is absolute
|
|
@@ -705,11 +690,11 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
705
690
|
*
|
|
706
691
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
707
692
|
*/function mergeConfig(config1,config2){// eslint-disable-next-line no-param-reassign
|
|
708
|
-
config2=config2||{};var config={};function getMergedValue(target,source,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
709
|
-
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
|
|
693
|
+
config2=config2||{};var config={};function getMergedValue(target,source,prop,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
694
|
+
function mergeDeepProperties(a,b,prop,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,prop,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,prop,caseless);}}// eslint-disable-next-line consistent-return
|
|
710
695
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
711
696
|
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
|
|
712
|
-
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 resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
697
|
+
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,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,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 resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
713
698
|
if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
|
|
714
699
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
715
700
|
var _ref11=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref12=_toArray(_ref11),type=_ref12[0],tokens=_ref12.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
|
|
@@ -765,7 +750,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
765
750
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
766
751
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
767
752
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
768
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.
|
|
753
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.9";var validators$1={};// eslint-disable-next-line func-names
|
|
769
754
|
['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={};/**
|
|
770
755
|
* Transitional option validator
|
|
771
756
|
*
|
|
@@ -776,7 +761,8 @@ if(reason&&reason.response){reason.response.data=transformData.call(config,confi
|
|
|
776
761
|
* @returns {function}
|
|
777
762
|
*/validators$1.transitional=function transitional(validator,version,message){function formatMessage(opt,desc){return'[Axios v'+VERSION+'] Transitional option \''+opt+'\''+desc+(message?'. '+message:'');}// eslint-disable-next-line func-names
|
|
778
763
|
return function(value,opt,opts){if(validator===false){throw new AxiosError(formatMessage(opt,' has been removed'+(version?' in '+version:'')),AxiosError.ERR_DEPRECATED);}if(version&&!deprecatedWarnings[opt]){deprecatedWarnings[opt]=true;// eslint-disable-next-line no-console
|
|
779
|
-
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};}
|
|
764
|
+
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};};validators$1.spelling=function spelling(correctSpelling){return function(value,opt){// eslint-disable-next-line no-console
|
|
765
|
+
console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpelling));return true;};};/**
|
|
780
766
|
* Assert object's properties type
|
|
781
767
|
*
|
|
782
768
|
* @param {object} options
|
|
@@ -797,11 +783,11 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
797
783
|
* @param {?Object} config
|
|
798
784
|
*
|
|
799
785
|
* @returns {Promise} The Promise to be fulfilled
|
|
800
|
-
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy
|
|
786
|
+
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){dummy={};Error.captureStackTrace?Error.captureStackTrace(dummy):dummy=new Error();// slice off the Error: ... line
|
|
801
787
|
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
|
|
802
788
|
}else if(stack&&!String(_context9.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context9.t0.stack+='\n'+stack;}}catch(e){// ignore the case where "stack" is an un-writable property
|
|
803
789
|
}}throw _context9.t0;case 10:case"end":return _context9.stop();}},_callee8,this,[[0,6]]);}));function request(_x9,_x10){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
|
|
804
|
-
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.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);}}
|
|
790
|
+
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.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);}}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
|
|
805
791
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
806
792
|
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
|
|
807
793
|
var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
|
|
@@ -891,7 +877,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
891
877
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
892
878
|
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:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{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];}}}]);}();/**
|
|
893
879
|
* @module purecloud-platform-client-v2/ApiClient
|
|
894
|
-
* @version
|
|
880
|
+
* @version 209.0.0
|
|
895
881
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
896
882
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
897
883
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1213,7 +1199,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1213
1199
|
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);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1214
1200
|
* AgentAssistants service.
|
|
1215
1201
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1216
|
-
* @version
|
|
1202
|
+
* @version 209.0.0
|
|
1217
1203
|
*//**
|
|
1218
1204
|
* Constructs a new AgentAssistantsApi.
|
|
1219
1205
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1314,7 +1300,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1314
1300
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1315
1301
|
* AgentCopilot service.
|
|
1316
1302
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1317
|
-
* @version
|
|
1303
|
+
* @version 209.0.0
|
|
1318
1304
|
*//**
|
|
1319
1305
|
* Constructs a new AgentCopilotApi.
|
|
1320
1306
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1336,7 +1322,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1336
1322
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1337
1323
|
* AgentUI service.
|
|
1338
1324
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1339
|
-
* @version
|
|
1325
|
+
* @version 209.0.0
|
|
1340
1326
|
*//**
|
|
1341
1327
|
* Constructs a new AgentUIApi.
|
|
1342
1328
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1370,7 +1356,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1370
1356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1371
1357
|
* Alerting service.
|
|
1372
1358
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1373
|
-
* @version
|
|
1359
|
+
* @version 209.0.0
|
|
1374
1360
|
*//**
|
|
1375
1361
|
* Constructs a new AlertingApi.
|
|
1376
1362
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1527,7 +1513,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1527
1513
|
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']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1528
1514
|
* Analytics service.
|
|
1529
1515
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1530
|
-
* @version
|
|
1516
|
+
* @version 209.0.0
|
|
1531
1517
|
*//**
|
|
1532
1518
|
* Constructs a new AnalyticsApi.
|
|
1533
1519
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1574,7 +1560,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1574
1560
|
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1575
1561
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1576
1562
|
* Get Reporting Turns (division aware).
|
|
1577
|
-
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1563
|
+
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1578
1564
|
* @param {String} botFlowId ID of the bot flow.
|
|
1579
1565
|
* @param {Object} opts Optional parameters
|
|
1580
1566
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -1587,7 +1573,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1587
1573
|
*/},{key:"getAnalyticsBotflowDivisionsReportingturns",value:function getAnalyticsBotflowDivisionsReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
1588
1574
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowDivisionsReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/divisions/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1589
1575
|
* Get Reporting Turns.
|
|
1590
|
-
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1576
|
+
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1591
1577
|
* @param {String} botFlowId ID of the bot flow.
|
|
1592
1578
|
* @param {Object} opts Optional parameters
|
|
1593
1579
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -1601,7 +1587,7 @@ if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter
|
|
|
1601
1587
|
*/},{key:"getAnalyticsBotflowReportingturns",value:function getAnalyticsBotflowReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
1602
1588
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1603
1589
|
* Get Bot Flow Sessions.
|
|
1604
|
-
* Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1590
|
+
* Returns the bot flow sessions in reverse chronological order from the date they were created. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1605
1591
|
* @param {String} botFlowId ID of the bot flow.
|
|
1606
1592
|
* @param {Object} opts Optional parameters
|
|
1607
1593
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -2149,7 +2135,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2149
2135
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
2150
2136
|
* Architect service.
|
|
2151
2137
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2152
|
-
* @version
|
|
2138
|
+
* @version 209.0.0
|
|
2153
2139
|
*//**
|
|
2154
2140
|
* Constructs a new ArchitectApi.
|
|
2155
2141
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3241,7 +3227,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3241
3227
|
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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3242
3228
|
* Audit service.
|
|
3243
3229
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3244
|
-
* @version
|
|
3230
|
+
* @version 209.0.0
|
|
3245
3231
|
*//**
|
|
3246
3232
|
* Constructs a new AuditApi.
|
|
3247
3233
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3291,7 +3277,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3291
3277
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3292
3278
|
* Authorization service.
|
|
3293
3279
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3294
|
-
* @version
|
|
3280
|
+
* @version 209.0.0
|
|
3295
3281
|
*//**
|
|
3296
3282
|
* Constructs a new AuthorizationApi.
|
|
3297
3283
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3614,7 +3600,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3614
3600
|
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']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3615
3601
|
* Billing service.
|
|
3616
3602
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3617
|
-
* @version
|
|
3603
|
+
* @version 209.0.0
|
|
3618
3604
|
*//**
|
|
3619
3605
|
* Constructs a new BillingApi.
|
|
3620
3606
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3638,7 +3624,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3638
3624
|
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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3639
3625
|
* CarrierServices service.
|
|
3640
3626
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3641
|
-
* @version
|
|
3627
|
+
* @version 209.0.0
|
|
3642
3628
|
*//**
|
|
3643
3629
|
* Constructs a new CarrierServicesApi.
|
|
3644
3630
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3658,7 +3644,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3658
3644
|
*/},{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']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3659
3645
|
* Chat service.
|
|
3660
3646
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3661
|
-
* @version
|
|
3647
|
+
* @version 209.0.0
|
|
3662
3648
|
*//**
|
|
3663
3649
|
* Constructs a new ChatApi.
|
|
3664
3650
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3883,7 +3869,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3883
3869
|
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']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3884
3870
|
* Coaching service.
|
|
3885
3871
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3886
|
-
* @version
|
|
3872
|
+
* @version 209.0.0
|
|
3887
3873
|
*//**
|
|
3888
3874
|
* Constructs a new CoachingApi.
|
|
3889
3875
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4036,7 +4022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4036
4022
|
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']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
4037
4023
|
* ContentManagement service.
|
|
4038
4024
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4039
|
-
* @version
|
|
4025
|
+
* @version 209.0.0
|
|
4040
4026
|
*//**
|
|
4041
4027
|
* Constructs a new ContentManagementApi.
|
|
4042
4028
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4318,7 +4304,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4318
4304
|
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']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
4319
4305
|
* Conversations service.
|
|
4320
4306
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4321
|
-
* @version
|
|
4307
|
+
* @version 209.0.0
|
|
4322
4308
|
*//**
|
|
4323
4309
|
* Constructs a new ConversationsApi.
|
|
4324
4310
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4502,7 +4488,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
4502
4488
|
* Get the summaries of the conversation.
|
|
4503
4489
|
*
|
|
4504
4490
|
* @param {String} conversationId Conversation ID
|
|
4505
|
-
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4506
4491
|
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
4507
4492
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSummaries';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4508
4493
|
* Get active conversations for the logged in user
|
|
@@ -6047,7 +6032,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6047
6032
|
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']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
6048
6033
|
* DataExtensions service.
|
|
6049
6034
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6050
|
-
* @version
|
|
6035
|
+
* @version 209.0.0
|
|
6051
6036
|
*//**
|
|
6052
6037
|
* Constructs a new DataExtensionsApi.
|
|
6053
6038
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6068,7 +6053,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6068
6053
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6069
6054
|
* Downloads service.
|
|
6070
6055
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6071
|
-
* @version
|
|
6056
|
+
* @version 209.0.0
|
|
6072
6057
|
*//**
|
|
6073
6058
|
* Constructs a new DownloadsApi.
|
|
6074
6059
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6087,7 +6072,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6087
6072
|
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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6088
6073
|
* Emails service.
|
|
6089
6074
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6090
|
-
* @version
|
|
6075
|
+
* @version 209.0.0
|
|
6091
6076
|
*//**
|
|
6092
6077
|
* Constructs a new EmailsApi.
|
|
6093
6078
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6105,7 +6090,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6105
6090
|
*/},{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']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6106
6091
|
* EmployeeEngagement service.
|
|
6107
6092
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6108
|
-
* @version
|
|
6093
|
+
* @version 209.0.0
|
|
6109
6094
|
*//**
|
|
6110
6095
|
* Constructs a new EmployeeEngagementApi.
|
|
6111
6096
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6143,7 +6128,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6143
6128
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
6144
6129
|
* Events service.
|
|
6145
6130
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6146
|
-
* @version
|
|
6131
|
+
* @version 209.0.0
|
|
6147
6132
|
*//**
|
|
6148
6133
|
* Constructs a new EventsApi.
|
|
6149
6134
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6168,7 +6153,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6168
6153
|
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']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
6169
6154
|
* ExternalContacts service.
|
|
6170
6155
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6171
|
-
* @version
|
|
6156
|
+
* @version 209.0.0
|
|
6172
6157
|
*//**
|
|
6173
6158
|
* Constructs a new ExternalContactsApi.
|
|
6174
6159
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6704,7 +6689,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6704
6689
|
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']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6705
6690
|
* Fax service.
|
|
6706
6691
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6707
|
-
* @version
|
|
6692
|
+
* @version 209.0.0
|
|
6708
6693
|
*//**
|
|
6709
6694
|
* Constructs a new FaxApi.
|
|
6710
6695
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6753,7 +6738,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6753
6738
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6754
6739
|
* Flows service.
|
|
6755
6740
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6756
|
-
* @version
|
|
6741
|
+
* @version 209.0.0
|
|
6757
6742
|
*//**
|
|
6758
6743
|
* Constructs a new FlowsApi.
|
|
6759
6744
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6801,7 +6786,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6801
6786
|
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']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6802
6787
|
* Gamification service.
|
|
6803
6788
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6804
|
-
* @version
|
|
6789
|
+
* @version 209.0.0
|
|
6805
6790
|
*//**
|
|
6806
6791
|
* Constructs a new GamificationApi.
|
|
6807
6792
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7341,7 +7326,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7341
7326
|
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']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
7342
7327
|
* GeneralDataProtectionRegulation service.
|
|
7343
7328
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7344
|
-
* @version
|
|
7329
|
+
* @version 209.0.0
|
|
7345
7330
|
*//**
|
|
7346
7331
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7347
7332
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7376,7 +7361,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7376
7361
|
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']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
7377
7362
|
* Geolocation service.
|
|
7378
7363
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7379
|
-
* @version
|
|
7364
|
+
* @version 209.0.0
|
|
7380
7365
|
*//**
|
|
7381
7366
|
* Constructs a new GeolocationApi.
|
|
7382
7367
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7410,7 +7395,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7410
7395
|
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']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
7411
7396
|
* Greetings service.
|
|
7412
7397
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7413
|
-
* @version
|
|
7398
|
+
* @version 209.0.0
|
|
7414
7399
|
*//**
|
|
7415
7400
|
* Constructs a new GreetingsApi.
|
|
7416
7401
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7517,7 +7502,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7517
7502
|
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']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7518
7503
|
* Groups service.
|
|
7519
7504
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7520
|
-
* @version
|
|
7505
|
+
* @version 209.0.0
|
|
7521
7506
|
*//**
|
|
7522
7507
|
* Constructs a new GroupsApi.
|
|
7523
7508
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7650,7 +7635,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7650
7635
|
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']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7651
7636
|
* IdentityProvider service.
|
|
7652
7637
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7653
|
-
* @version
|
|
7638
|
+
* @version 209.0.0
|
|
7654
7639
|
*//**
|
|
7655
7640
|
* Constructs a new IdentityProviderApi.
|
|
7656
7641
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7806,7 +7791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7806
7791
|
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']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7807
7792
|
* InfrastructureAsCode service.
|
|
7808
7793
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7809
|
-
* @version
|
|
7794
|
+
* @version 209.0.0
|
|
7810
7795
|
*//**
|
|
7811
7796
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7812
7797
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7860,7 +7845,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7860
7845
|
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']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7861
7846
|
* Integrations service.
|
|
7862
7847
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7863
|
-
* @version
|
|
7848
|
+
* @version 209.0.0
|
|
7864
7849
|
*//**
|
|
7865
7850
|
* Constructs a new IntegrationsApi.
|
|
7866
7851
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8495,7 +8480,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8495
8480
|
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']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8496
8481
|
* Journey service.
|
|
8497
8482
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8498
|
-
* @version
|
|
8483
|
+
* @version 209.0.0
|
|
8499
8484
|
*//**
|
|
8500
8485
|
* Constructs a new JourneyApi.
|
|
8501
8486
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8972,7 +8957,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
8972
8957
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8973
8958
|
* Knowledge service.
|
|
8974
8959
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8975
|
-
* @version
|
|
8960
|
+
* @version 209.0.0
|
|
8976
8961
|
*//**
|
|
8977
8962
|
* Constructs a new KnowledgeApi.
|
|
8978
8963
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9113,8 +9098,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
9113
9098
|
* Get sync options available for a knowledge-connect integration
|
|
9114
9099
|
*
|
|
9115
9100
|
* @param {String} integrationId Integration ID
|
|
9116
|
-
|
|
9117
|
-
|
|
9101
|
+
* @param {Object} opts Optional parameters
|
|
9102
|
+
* @param {Array.<String>} opts.knowledgeBaseIds Narrowing down filtering option results by knowledge base.
|
|
9103
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9104
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';}return this.apiClient.callApi('/api/v2/knowledge/integrations/{integrationId}/options','GET',{'integrationId':integrationId},{'knowledgeBaseIds':this.apiClient.buildCollectionParam(opts['knowledgeBaseIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9118
9105
|
* Get knowledge base
|
|
9119
9106
|
*
|
|
9120
9107
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -10040,7 +10027,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10040
10027
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
10041
10028
|
* LanguageUnderstanding service.
|
|
10042
10029
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10043
|
-
* @version
|
|
10030
|
+
* @version 209.0.0
|
|
10044
10031
|
*//**
|
|
10045
10032
|
* Constructs a new LanguageUnderstandingApi.
|
|
10046
10033
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10300,7 +10287,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10300
10287
|
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']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
10301
10288
|
* Languages service.
|
|
10302
10289
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10303
|
-
* @version
|
|
10290
|
+
* @version 209.0.0
|
|
10304
10291
|
*//**
|
|
10305
10292
|
* Constructs a new LanguagesApi.
|
|
10306
10293
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10355,7 +10342,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10355
10342
|
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']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
10356
10343
|
* Learning service.
|
|
10357
10344
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10358
|
-
* @version
|
|
10345
|
+
* @version 209.0.0
|
|
10359
10346
|
*//**
|
|
10360
10347
|
* Constructs a new LearningApi.
|
|
10361
10348
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10626,7 +10613,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10626
10613
|
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']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
10627
10614
|
* License service.
|
|
10628
10615
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10629
|
-
* @version
|
|
10616
|
+
* @version 209.0.0
|
|
10630
10617
|
*//**
|
|
10631
10618
|
* Constructs a new LicenseApi.
|
|
10632
10619
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10680,7 +10667,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10680
10667
|
*/},{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']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
10681
10668
|
* Locations service.
|
|
10682
10669
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10683
|
-
* @version
|
|
10670
|
+
* @version 209.0.0
|
|
10684
10671
|
*//**
|
|
10685
10672
|
* Constructs a new LocationsApi.
|
|
10686
10673
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10739,7 +10726,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10739
10726
|
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']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
10740
10727
|
* LogCapture service.
|
|
10741
10728
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10742
|
-
* @version
|
|
10729
|
+
* @version 209.0.0
|
|
10743
10730
|
*//**
|
|
10744
10731
|
* Constructs a new LogCaptureApi.
|
|
10745
10732
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10789,7 +10776,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10789
10776
|
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']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10790
10777
|
* Messaging service.
|
|
10791
10778
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10792
|
-
* @version
|
|
10779
|
+
* @version 209.0.0
|
|
10793
10780
|
*//**
|
|
10794
10781
|
* Constructs a new MessagingApi.
|
|
10795
10782
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10879,7 +10866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10879
10866
|
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']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
10880
10867
|
* MobileDevices service.
|
|
10881
10868
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10882
|
-
* @version
|
|
10869
|
+
* @version 209.0.0
|
|
10883
10870
|
*//**
|
|
10884
10871
|
* Constructs a new MobileDevicesApi.
|
|
10885
10872
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10918,7 +10905,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10918
10905
|
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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
10919
10906
|
* Notifications service.
|
|
10920
10907
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10921
|
-
* @version
|
|
10908
|
+
* @version 209.0.0
|
|
10922
10909
|
*//**
|
|
10923
10910
|
* Constructs a new NotificationsApi.
|
|
10924
10911
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10975,7 +10962,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10975
10962
|
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']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
10976
10963
|
* OAuth service.
|
|
10977
10964
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10978
|
-
* @version
|
|
10965
|
+
* @version 209.0.0
|
|
10979
10966
|
*//**
|
|
10980
10967
|
* Constructs a new OAuthApi.
|
|
10981
10968
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11060,7 +11047,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11060
11047
|
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']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
11061
11048
|
* Objects service.
|
|
11062
11049
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11063
|
-
* @version
|
|
11050
|
+
* @version 209.0.0
|
|
11064
11051
|
*//**
|
|
11065
11052
|
* Constructs a new ObjectsApi.
|
|
11066
11053
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11131,7 +11118,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11131
11118
|
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']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
11132
11119
|
* OperationalEvents service.
|
|
11133
11120
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11134
|
-
* @version
|
|
11121
|
+
* @version 209.0.0
|
|
11135
11122
|
*//**
|
|
11136
11123
|
* Constructs a new OperationalEventsApi.
|
|
11137
11124
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11146,10 +11133,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11146
11133
|
if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';}return this.apiClient.callApi('/api/v2/usage/events/definitions/{eventDefinitionId}','GET',{'eventDefinitionId':eventDefinitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11147
11134
|
* Get all operational event definitions
|
|
11148
11135
|
*
|
|
11149
|
-
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
11136
|
+
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11137
|
+
* Get aggregates for operational events in a timeframe.
|
|
11138
|
+
*
|
|
11139
|
+
* @param {Object} opts Optional parameters
|
|
11140
|
+
* @param {Object} opts.body
|
|
11141
|
+
*/},{key:"postUsageEventsAggregatesQuery",value:function postUsageEventsAggregatesQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/aggregates/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11142
|
+
* Query operational events in a timeframe.
|
|
11143
|
+
*
|
|
11144
|
+
* @param {Object} opts Optional parameters
|
|
11145
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
11146
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11147
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
11148
|
+
* @param {Object} opts.body
|
|
11149
|
+
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
11150
11150
|
* Organization service.
|
|
11151
11151
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11152
|
-
* @version
|
|
11152
|
+
* @version 209.0.0
|
|
11153
11153
|
*//**
|
|
11154
11154
|
* Constructs a new OrganizationApi.
|
|
11155
11155
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11274,7 +11274,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11274
11274
|
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']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
11275
11275
|
* OrganizationAuthorization service.
|
|
11276
11276
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11277
|
-
* @version
|
|
11277
|
+
* @version 209.0.0
|
|
11278
11278
|
*//**
|
|
11279
11279
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11280
11280
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11608,7 +11608,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11608
11608
|
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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11609
11609
|
* Outbound service.
|
|
11610
11610
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11611
|
-
* @version
|
|
11611
|
+
* @version 209.0.0
|
|
11612
11612
|
*//**
|
|
11613
11613
|
* Constructs a new OutboundApi.
|
|
11614
11614
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12715,7 +12715,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12715
12715
|
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']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
12716
12716
|
* Presence service.
|
|
12717
12717
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12718
|
-
* @version
|
|
12718
|
+
* @version 209.0.0
|
|
12719
12719
|
*//**
|
|
12720
12720
|
* Constructs a new PresenceApi.
|
|
12721
12721
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12888,7 +12888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12888
12888
|
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']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
12889
12889
|
* ProcessAutomation service.
|
|
12890
12890
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12891
|
-
* @version
|
|
12891
|
+
* @version 209.0.0
|
|
12892
12892
|
*//**
|
|
12893
12893
|
* Constructs a new ProcessAutomationApi.
|
|
12894
12894
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12951,7 +12951,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12951
12951
|
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']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
12952
12952
|
* Quality service.
|
|
12953
12953
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12954
|
-
* @version
|
|
12954
|
+
* @version 209.0.0
|
|
12955
12955
|
*//**
|
|
12956
12956
|
* Constructs a new QualityApi.
|
|
12957
12957
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13036,7 +13036,8 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13036
13036
|
* @param {String} opts.group group id
|
|
13037
13037
|
* @param {String} opts.agentTeamId team id of agents requested
|
|
13038
13038
|
* @param {String} opts.formContextId shared id between form versions
|
|
13039
|
-
|
|
13039
|
+
* @param {Object} opts.userState 'Legacy' fetches active and inactive users when evaluatorUserId or no user filters are supplied; otherwise fetches active users. 'Any' fetches users of 'active', 'inactive' and 'deleted' states. (default to Legacy)
|
|
13040
|
+
*/},{key:"getQualityAgentsActivity",value:function getQualityAgentsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/agents/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'agentUserId':this.apiClient.buildCollectionParam(opts['agentUserId'],'multi'),'evaluatorUserId':opts['evaluatorUserId'],'name':opts['name'],'group':opts['group'],'agentTeamId':opts['agentTeamId'],'formContextId':opts['formContextId'],'userState':opts['userState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13040
13041
|
* Get a calibration by id. Requires either calibrator id or conversation id
|
|
13041
13042
|
*
|
|
13042
13043
|
* @param {String} calibrationId Calibration ID
|
|
@@ -13110,7 +13111,8 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
13110
13111
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
13111
13112
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
13112
13113
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
13113
|
-
|
|
13114
|
+
* @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
|
|
13115
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder'],'includeDeletedUsers':opts['includeDeletedUsers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13114
13116
|
* Get an evaluator activity
|
|
13115
13117
|
*
|
|
13116
13118
|
* @param {Object} opts Optional parameters
|
|
@@ -13428,7 +13430,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13428
13430
|
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']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
13429
13431
|
* Recording service.
|
|
13430
13432
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13431
|
-
* @version
|
|
13433
|
+
* @version 209.0.0
|
|
13432
13434
|
*//**
|
|
13433
13435
|
* Constructs a new RecordingApi.
|
|
13434
13436
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13840,7 +13842,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13840
13842
|
*/},{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']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
13841
13843
|
* ResponseManagement service.
|
|
13842
13844
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13843
|
-
* @version
|
|
13845
|
+
* @version 209.0.0
|
|
13844
13846
|
*//**
|
|
13845
13847
|
* Constructs a new ResponseManagementApi.
|
|
13846
13848
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13961,7 +13963,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13961
13963
|
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']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
13962
13964
|
* Routing service.
|
|
13963
13965
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13964
|
-
* @version
|
|
13966
|
+
* @version 209.0.0
|
|
13965
13967
|
*//**
|
|
13966
13968
|
* Constructs a new RoutingApi.
|
|
13967
13969
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14053,9 +14055,9 @@ if(skillGroupId===undefined||skillGroupId===null){throw'Missing the required par
|
|
|
14053
14055
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';}return this.apiClient.callApi('/api/v2/routing/sms/addresses/{addressId}','DELETE',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14054
14056
|
* Delete a phone number provisioned for SMS.
|
|
14055
14057
|
*
|
|
14056
|
-
* @param {String}
|
|
14057
|
-
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(
|
|
14058
|
-
if(
|
|
14058
|
+
* @param {String} phoneNumberId phone number
|
|
14059
|
+
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(phoneNumberId){// verify the required parameter 'phoneNumberId' is set
|
|
14060
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','DELETE',{'phoneNumberId':phoneNumberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14059
14061
|
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
14060
14062
|
*
|
|
14061
14063
|
* @param {String} userId User ID
|
|
@@ -14278,10 +14280,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
14278
14280
|
* Get Estimated Wait Time
|
|
14279
14281
|
*
|
|
14280
14282
|
* @param {String} queueId queueId
|
|
14281
|
-
* @param {
|
|
14282
|
-
|
|
14283
|
+
* @param {Object} mediaType mediaType
|
|
14284
|
+
* @param {Object} opts Optional parameters
|
|
14285
|
+
* @param {String} opts.labelId Unique id that represents the interaction label used with media type for EWT calculation
|
|
14286
|
+
*/},{key:"getRoutingQueueMediatypeEstimatedwaittime",value:function getRoutingQueueMediatypeEstimatedwaittime(queueId,mediaType,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
14283
14287
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';}// verify the required parameter 'mediaType' is set
|
|
14284
|
-
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14288
|
+
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{'labelId':opts['labelId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14285
14289
|
* Get the members of this queue.
|
|
14286
14290
|
*
|
|
14287
14291
|
* @param {String} queueId Queue ID
|
|
@@ -14443,11 +14447,11 @@ if(countryCode===undefined||countryCode===null){throw'Missing the required param
|
|
|
14443
14447
|
if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/availablephonenumbers','GET',{},{'countryCode':countryCode,'region':opts['region'],'city':opts['city'],'areaCode':opts['areaCode'],'phoneNumberType':phoneNumberType,'pattern':opts['pattern'],'addressRequirement':opts['addressRequirement']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14444
14448
|
* Get a phone number provisioned for SMS.
|
|
14445
14449
|
*
|
|
14446
|
-
* @param {String}
|
|
14450
|
+
* @param {String} phoneNumberId phone number
|
|
14447
14451
|
* @param {Object} opts Optional parameters
|
|
14448
14452
|
* @param {Object} opts.expand Expand response with additional information
|
|
14449
|
-
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(
|
|
14450
|
-
if(
|
|
14453
|
+
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
14454
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14451
14455
|
* Get a list of provisioned phone numbers.
|
|
14452
14456
|
*
|
|
14453
14457
|
* @param {Object} opts Optional parameters
|
|
@@ -14909,11 +14913,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14909
14913
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14910
14914
|
* Update a phone number provisioned for SMS.
|
|
14911
14915
|
*
|
|
14912
|
-
* @param {String}
|
|
14916
|
+
* @param {String} phoneNumberId phone number
|
|
14913
14917
|
* @param {Object} body SmsPhoneNumber
|
|
14914
|
-
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(
|
|
14915
|
-
if(
|
|
14916
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{
|
|
14918
|
+
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
14919
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
14920
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','PUT',{'phoneNumberId':phoneNumberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14917
14921
|
* Update the user's Direct Routing Backup settings.
|
|
14918
14922
|
*
|
|
14919
14923
|
* @param {String} userId User ID
|
|
@@ -14965,7 +14969,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14965
14969
|
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']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
14966
14970
|
* SCIM service.
|
|
14967
14971
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14968
|
-
* @version
|
|
14972
|
+
* @version 209.0.0
|
|
14969
14973
|
*//**
|
|
14970
14974
|
* Constructs a new SCIMApi.
|
|
14971
14975
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15190,7 +15194,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15190
15194
|
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']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
15191
15195
|
* ScreenRecording service.
|
|
15192
15196
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15193
|
-
* @version
|
|
15197
|
+
* @version 209.0.0
|
|
15194
15198
|
*//**
|
|
15195
15199
|
* Constructs a new ScreenRecordingApi.
|
|
15196
15200
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15205,7 +15209,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15205
15209
|
*/return _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']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
15206
15210
|
* Scripts service.
|
|
15207
15211
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15208
|
-
* @version
|
|
15212
|
+
* @version 209.0.0
|
|
15209
15213
|
*//**
|
|
15210
15214
|
* Constructs a new ScriptsApi.
|
|
15211
15215
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15341,7 +15345,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15341
15345
|
*/},{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']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
15342
15346
|
* Search service.
|
|
15343
15347
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15344
|
-
* @version
|
|
15348
|
+
* @version 209.0.0
|
|
15345
15349
|
*//**
|
|
15346
15350
|
* Constructs a new SearchApi.
|
|
15347
15351
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15513,7 +15517,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15513
15517
|
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']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
15514
15518
|
* Settings service.
|
|
15515
15519
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15516
|
-
* @version
|
|
15520
|
+
* @version 209.0.0
|
|
15517
15521
|
*//**
|
|
15518
15522
|
* Constructs a new SettingsApi.
|
|
15519
15523
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15560,10 +15564,275 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15560
15564
|
* @param {Object} body AutoAnswerSettings
|
|
15561
15565
|
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
15562
15566
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
15563
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
15567
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
15568
|
+
* SocialMedia service.
|
|
15569
|
+
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15570
|
+
* @version 209.0.0
|
|
15571
|
+
*//**
|
|
15572
|
+
* Constructs a new SocialMediaApi.
|
|
15573
|
+
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
15574
|
+
* @class
|
|
15575
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
15576
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
15577
|
+
*/function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
15578
|
+
* Delete a social topic.
|
|
15579
|
+
*
|
|
15580
|
+
* @param {String} topicId topicId
|
|
15581
|
+
* @param {Object} opts Optional parameters
|
|
15582
|
+
* @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
|
|
15583
|
+
* deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15584
|
+
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15585
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','DELETE',{'topicId':topicId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15586
|
+
* Delete a Facebook data ingestion rule.
|
|
15587
|
+
*
|
|
15588
|
+
* @param {String} topicId topicId
|
|
15589
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15590
|
+
* @param {Object} opts Optional parameters
|
|
15591
|
+
* @param {Boolean} opts.hardDelete Determines whether a Facebook data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
15592
|
+
* deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15593
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15594
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15595
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15596
|
+
* Delete a open data ingestion rule.
|
|
15597
|
+
*
|
|
15598
|
+
* @param {String} topicId topicId
|
|
15599
|
+
* @param {String} openId openId
|
|
15600
|
+
* @param {Object} opts Optional parameters
|
|
15601
|
+
* @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
15602
|
+
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15603
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesOpenOpenId",value:function deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15604
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15605
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','DELETE',{'topicId':topicId,'openId':openId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15606
|
+
* Delete a X (formally Twitter) data ingestion rule.
|
|
15607
|
+
*
|
|
15608
|
+
* @param {String} topicId topicId
|
|
15609
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15610
|
+
* @param {Object} opts Optional parameters
|
|
15611
|
+
* @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
15612
|
+
* deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15613
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15614
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15615
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','DELETE',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15616
|
+
* Get a single social topic.
|
|
15617
|
+
*
|
|
15618
|
+
* @param {String} topicId topicId
|
|
15619
|
+
* @param {Object} opts Optional parameters
|
|
15620
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15621
|
+
* getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15622
|
+
*/},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15623
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','GET',{'topicId':topicId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15624
|
+
* Get a single Facebook data ingestion rule.
|
|
15625
|
+
*
|
|
15626
|
+
* @param {String} topicId topicId
|
|
15627
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15628
|
+
* @param {Object} opts Optional parameters
|
|
15629
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15630
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15631
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15632
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15633
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15634
|
+
* Get a single Facebook data ingestion rule version.
|
|
15635
|
+
*
|
|
15636
|
+
* @param {String} topicId topicId
|
|
15637
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15638
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15639
|
+
* @param {Object} opts Optional parameters
|
|
15640
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15641
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15642
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15643
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15644
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15645
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15646
|
+
* Get the Facebook data ingestion rule versions.
|
|
15647
|
+
*
|
|
15648
|
+
* @param {String} topicId topicId
|
|
15649
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15650
|
+
* @param {Object} opts Optional parameters
|
|
15651
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15652
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15653
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15654
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15655
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15656
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15657
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15658
|
+
* Get a single open data ingestion rule.
|
|
15659
|
+
*
|
|
15660
|
+
* @param {String} topicId topicId
|
|
15661
|
+
* @param {String} openId openId
|
|
15662
|
+
* @param {Object} opts Optional parameters
|
|
15663
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15664
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15665
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenId",value:function getSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15666
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15667
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','GET',{'topicId':topicId,'openId':openId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15668
|
+
* Get a single Open data ingestion rule version.
|
|
15669
|
+
*
|
|
15670
|
+
* @param {String} topicId topicId
|
|
15671
|
+
* @param {String} openId openId
|
|
15672
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15673
|
+
* @param {Object} opts Optional parameters
|
|
15674
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15675
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15676
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersion",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId,openId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15677
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'openId' is set
|
|
15678
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15679
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'openId':openId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15680
|
+
* Get the Open data ingestion rule versions.
|
|
15681
|
+
*
|
|
15682
|
+
* @param {String} topicId topicId
|
|
15683
|
+
* @param {String} openId openId
|
|
15684
|
+
* @param {Object} opts Optional parameters
|
|
15685
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15686
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15687
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15688
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15689
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersions",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15690
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}// verify the required parameter 'openId' is set
|
|
15691
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions','GET',{'topicId':topicId,'openId':openId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15692
|
+
* Get a single X (formally Twitter) data ingestion rule.
|
|
15693
|
+
*
|
|
15694
|
+
* @param {String} topicId topicId
|
|
15695
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15696
|
+
* @param {Object} opts Optional parameters
|
|
15697
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15698
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15699
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15700
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15701
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15702
|
+
* Get a single X (formally Twitter) data ingestion rule version.
|
|
15703
|
+
*
|
|
15704
|
+
* @param {String} topicId topicId
|
|
15705
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15706
|
+
* @param {String} dataIngestionRuleVersion version
|
|
15707
|
+
* @param {Object} opts Optional parameters
|
|
15708
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
15709
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15710
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15711
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15712
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
15713
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15714
|
+
* Get the Open data ingestion rule versions.
|
|
15715
|
+
*
|
|
15716
|
+
* @param {String} topicId topicId
|
|
15717
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15718
|
+
* @param {Object} opts Optional parameters
|
|
15719
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15720
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15721
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15722
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15723
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15724
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15725
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15726
|
+
* Retrieve all social topics.
|
|
15727
|
+
*
|
|
15728
|
+
* @param {Object} opts Optional parameters
|
|
15729
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15730
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15731
|
+
* @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
|
|
15732
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
15733
|
+
* getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15734
|
+
*/},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15735
|
+
* Update a social topic.
|
|
15736
|
+
*
|
|
15737
|
+
* @param {String} topicId topicId
|
|
15738
|
+
* @param {Object} opts Optional parameters
|
|
15739
|
+
* @param {Object} opts.body
|
|
15740
|
+
* patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15741
|
+
*/},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15742
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','PATCH',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15743
|
+
* Update the status of a Facebook data ingestion rule.
|
|
15744
|
+
*
|
|
15745
|
+
* @param {String} topicId topicId
|
|
15746
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15747
|
+
* @param {Object} opts Optional parameters
|
|
15748
|
+
* @param {Object} opts.body
|
|
15749
|
+
* patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15750
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15751
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15752
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15753
|
+
* Update the status of a open data ingestion rule.
|
|
15754
|
+
*
|
|
15755
|
+
* @param {String} topicId topicId
|
|
15756
|
+
* @param {String} openId openId
|
|
15757
|
+
* @param {Object} opts Optional parameters
|
|
15758
|
+
* @param {Object} opts.body
|
|
15759
|
+
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15760
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesOpenOpenId",value:function patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15761
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15762
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PATCH',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15763
|
+
* Update the status of a X (formally Twitter) data ingestion rule.
|
|
15764
|
+
*
|
|
15765
|
+
* @param {String} topicId topicId
|
|
15766
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15767
|
+
* @param {Object} opts Optional parameters
|
|
15768
|
+
* @param {Object} opts.body
|
|
15769
|
+
* patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15770
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15771
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15772
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PATCH',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15773
|
+
* Create an Facebook data ingestion rule.
|
|
15774
|
+
*
|
|
15775
|
+
* @param {String} topicId topicId
|
|
15776
|
+
* @param {Object} opts Optional parameters
|
|
15777
|
+
* @param {Object} opts.body
|
|
15778
|
+
* postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15779
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15780
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15781
|
+
* Create an open data ingestion rule.
|
|
15782
|
+
*
|
|
15783
|
+
* @param {String} topicId topicId
|
|
15784
|
+
* @param {Object} opts Optional parameters
|
|
15785
|
+
* @param {Object} opts.body
|
|
15786
|
+
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15787
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesOpen",value:function postSocialmediaTopicDataingestionrulesOpen(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15788
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15789
|
+
* Create an twitter data ingestion rule.
|
|
15790
|
+
*
|
|
15791
|
+
* @param {String} topicId topicId
|
|
15792
|
+
* @param {Object} opts Optional parameters
|
|
15793
|
+
* @param {Object} opts.body
|
|
15794
|
+
* postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15795
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15796
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15797
|
+
* Create a social topic.
|
|
15798
|
+
*
|
|
15799
|
+
* @param {Object} opts Optional parameters
|
|
15800
|
+
* @param {Object} opts.body
|
|
15801
|
+
* postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15802
|
+
*/},{key:"postSocialmediaTopics",value:function postSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15803
|
+
* Update the Facebook data ingestion rule.
|
|
15804
|
+
*
|
|
15805
|
+
* @param {String} topicId topicId
|
|
15806
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
15807
|
+
* @param {Object} opts Optional parameters
|
|
15808
|
+
* @param {Object} opts.body
|
|
15809
|
+
* putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15810
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15811
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
15812
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15813
|
+
* Update the open data ingestion rule.
|
|
15814
|
+
*
|
|
15815
|
+
* @param {String} topicId topicId
|
|
15816
|
+
* @param {String} openId openId
|
|
15817
|
+
* @param {Object} opts Optional parameters
|
|
15818
|
+
* @param {Object} opts.body
|
|
15819
|
+
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15820
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesOpenOpenId",value:function putSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15821
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
15822
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PUT',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15823
|
+
* Update the X (formally Twitter) data ingestion rule.
|
|
15824
|
+
*
|
|
15825
|
+
* @param {String} topicId topicId
|
|
15826
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
15827
|
+
* @param {Object} opts Optional parameters
|
|
15828
|
+
* @param {Object} opts.body
|
|
15829
|
+
* putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15830
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
15831
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
15832
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
15564
15833
|
* SpeechTextAnalytics service.
|
|
15565
15834
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15566
|
-
* @version
|
|
15835
|
+
* @version 209.0.0
|
|
15567
15836
|
*//**
|
|
15568
15837
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15569
15838
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15862,7 +16131,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15862
16131
|
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']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
15863
16132
|
* Stations service.
|
|
15864
16133
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15865
|
-
* @version
|
|
16134
|
+
* @version 209.0.0
|
|
15866
16135
|
*//**
|
|
15867
16136
|
* Constructs a new StationsApi.
|
|
15868
16137
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15894,7 +16163,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15894
16163
|
*/},{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']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
15895
16164
|
* Suggest service.
|
|
15896
16165
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15897
|
-
* @version
|
|
16166
|
+
* @version 209.0.0
|
|
15898
16167
|
*//**
|
|
15899
16168
|
* Constructs a new SuggestApi.
|
|
15900
16169
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15934,7 +16203,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15934
16203
|
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']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
15935
16204
|
* TaskManagement service.
|
|
15936
16205
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15937
|
-
* @version
|
|
16206
|
+
* @version 209.0.0
|
|
15938
16207
|
*//**
|
|
15939
16208
|
* Constructs a new TaskManagementApi.
|
|
15940
16209
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -16340,7 +16609,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16340
16609
|
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']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
16341
16610
|
* Teams service.
|
|
16342
16611
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16343
|
-
* @version
|
|
16612
|
+
* @version 209.0.0
|
|
16344
16613
|
*//**
|
|
16345
16614
|
* Constructs a new TeamsApi.
|
|
16346
16615
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16420,7 +16689,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16420
16689
|
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']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
16421
16690
|
* Telephony service.
|
|
16422
16691
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16423
|
-
* @version
|
|
16692
|
+
* @version 209.0.0
|
|
16424
16693
|
*//**
|
|
16425
16694
|
* Constructs a new TelephonyApi.
|
|
16426
16695
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16467,7 +16736,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16467
16736
|
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']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
16468
16737
|
* TelephonyProvidersEdge service.
|
|
16469
16738
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16470
|
-
* @version
|
|
16739
|
+
* @version 209.0.0
|
|
16471
16740
|
*//**
|
|
16472
16741
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16473
16742
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17302,7 +17571,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17302
17571
|
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']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
17303
17572
|
* Textbots service.
|
|
17304
17573
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17305
|
-
* @version
|
|
17574
|
+
* @version 209.0.0
|
|
17306
17575
|
*//**
|
|
17307
17576
|
* Constructs a new TextbotsApi.
|
|
17308
17577
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17337,7 +17606,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17337
17606
|
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']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
17338
17607
|
* Tokens service.
|
|
17339
17608
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17340
|
-
* @version
|
|
17609
|
+
* @version 209.0.0
|
|
17341
17610
|
*//**
|
|
17342
17611
|
* Constructs a new TokensApi.
|
|
17343
17612
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17371,7 +17640,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17371
17640
|
*/},{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']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
17372
17641
|
* Uploads service.
|
|
17373
17642
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17374
|
-
* @version
|
|
17643
|
+
* @version 209.0.0
|
|
17375
17644
|
*//**
|
|
17376
17645
|
* Constructs a new UploadsApi.
|
|
17377
17646
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17437,7 +17706,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17437
17706
|
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']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
17438
17707
|
* Usage service.
|
|
17439
17708
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
17440
|
-
* @version
|
|
17709
|
+
* @version 209.0.0
|
|
17441
17710
|
*//**
|
|
17442
17711
|
* Constructs a new UsageApi.
|
|
17443
17712
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17491,7 +17760,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17491
17760
|
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']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
17492
17761
|
* UserRecordings service.
|
|
17493
17762
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17494
|
-
* @version
|
|
17763
|
+
* @version 209.0.0
|
|
17495
17764
|
*//**
|
|
17496
17765
|
* Constructs a new UserRecordingsApi.
|
|
17497
17766
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17548,7 +17817,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17548
17817
|
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']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
17549
17818
|
* Users service.
|
|
17550
17819
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17551
|
-
* @version
|
|
17820
|
+
* @version 209.0.0
|
|
17552
17821
|
*//**
|
|
17553
17822
|
* Constructs a new UsersApi.
|
|
17554
17823
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -18245,7 +18514,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
18245
18514
|
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']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
18246
18515
|
* Utilities service.
|
|
18247
18516
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
18248
|
-
* @version
|
|
18517
|
+
* @version 209.0.0
|
|
18249
18518
|
*//**
|
|
18250
18519
|
* Constructs a new UtilitiesApi.
|
|
18251
18520
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -18272,7 +18541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18272
18541
|
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']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
18273
18542
|
* Voicemail service.
|
|
18274
18543
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
18275
|
-
* @version
|
|
18544
|
+
* @version 209.0.0
|
|
18276
18545
|
*//**
|
|
18277
18546
|
* Constructs a new VoicemailApi.
|
|
18278
18547
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -18434,7 +18703,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18434
18703
|
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']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
18435
18704
|
* WebChat service.
|
|
18436
18705
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
18437
|
-
* @version
|
|
18706
|
+
* @version 209.0.0
|
|
18438
18707
|
*//**
|
|
18439
18708
|
* Constructs a new WebChatApi.
|
|
18440
18709
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18569,7 +18838,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18569
18838
|
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']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
18570
18839
|
* WebDeployments service.
|
|
18571
18840
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18572
|
-
* @version
|
|
18841
|
+
* @version 209.0.0
|
|
18573
18842
|
*//**
|
|
18574
18843
|
* Constructs a new WebDeploymentsApi.
|
|
18575
18844
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18690,7 +18959,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18690
18959
|
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']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
18691
18960
|
* WebMessaging service.
|
|
18692
18961
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18693
|
-
* @version
|
|
18962
|
+
* @version 209.0.0
|
|
18694
18963
|
*//**
|
|
18695
18964
|
* Constructs a new WebMessagingApi.
|
|
18696
18965
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18706,7 +18975,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18706
18975
|
*/return _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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
18707
18976
|
* Widgets service.
|
|
18708
18977
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18709
|
-
* @version
|
|
18978
|
+
* @version 209.0.0
|
|
18710
18979
|
*//**
|
|
18711
18980
|
* Constructs a new WidgetsApi.
|
|
18712
18981
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -18741,7 +19010,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18741
19010
|
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']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
18742
19011
|
* WorkforceManagement service.
|
|
18743
19012
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
18744
|
-
* @version
|
|
19013
|
+
* @version 209.0.0
|
|
18745
19014
|
*//**
|
|
18746
19015
|
* Constructs a new WorkforceManagementApi.
|
|
18747
19016
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19466,7 +19735,7 @@ if(weekId===undefined||weekId===null){throw'Missing the required parameter "week
|
|
|
19466
19735
|
* Gets all the shift trades for a given week
|
|
19467
19736
|
*
|
|
19468
19737
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19469
|
-
* @param {String} weekDateId The start date of the
|
|
19738
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
19470
19739
|
* @param {Object} opts Optional parameters
|
|
19471
19740
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
19472
19741
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -19765,7 +20034,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
19765
20034
|
* Updates a shift trade. This route can only be called by the initiating agent
|
|
19766
20035
|
*
|
|
19767
20036
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
19768
|
-
* @param {String} weekDateId The start date of the
|
|
20037
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
19769
20038
|
* @param {String} tradeId The ID of the shift trade to update
|
|
19770
20039
|
* @param {Object} body body
|
|
19771
20040
|
*/},{key:"patchWorkforcemanagementManagementunitWeekShifttrade",value:function patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -20332,7 +20601,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20332
20601
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
20333
20602
|
*
|
|
20334
20603
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20335
|
-
* @param {String} weekDateId The start date of the
|
|
20604
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20336
20605
|
* @param {String} tradeId The ID of the shift trade to update
|
|
20337
20606
|
* @param {Object} body body
|
|
20338
20607
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttradeMatch",value:function postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -20343,7 +20612,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20343
20612
|
* Adds a shift trade
|
|
20344
20613
|
*
|
|
20345
20614
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20346
|
-
* @param {String} weekDateId The start date of the
|
|
20615
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20347
20616
|
* @param {Object} body body
|
|
20348
20617
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttrades",value:function postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId,weekDateId,body){// verify the required parameter 'managementUnitId' is set
|
|
20349
20618
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';}// verify the required parameter 'weekDateId' is set
|
|
@@ -20352,7 +20621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20352
20621
|
* Searches for potential shift trade matches for the current agent
|
|
20353
20622
|
*
|
|
20354
20623
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20355
|
-
* @param {String} weekDateId The start date of the
|
|
20624
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20356
20625
|
* @param {Object} body body
|
|
20357
20626
|
* @param {Object} opts Optional parameters
|
|
20358
20627
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -20363,7 +20632,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20363
20632
|
* Updates the state of a batch of shift trades
|
|
20364
20633
|
* Admin functionality is not supported with "mine".
|
|
20365
20634
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
20366
|
-
* @param {String} weekDateId The start date of the
|
|
20635
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
20367
20636
|
* @param {Object} body body
|
|
20368
20637
|
* @param {Object} opts Optional parameters
|
|
20369
20638
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
@@ -20522,7 +20791,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20522
20791
|
* </pre>
|
|
20523
20792
|
* </p>
|
|
20524
20793
|
* @module purecloud-platform-client-v2/index
|
|
20525
|
-
* @version
|
|
20794
|
+
* @version 209.0.0
|
|
20526
20795
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20527
20796
|
* The ApiClient constructor.
|
|
20528
20797
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -20704,6 +20973,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20704
20973
|
* The SettingsApi service constructor.
|
|
20705
20974
|
* @property {module:purecloud-platform-client-v2/api/SettingsApi}
|
|
20706
20975
|
*/this.SettingsApi=SettingsApi;/**
|
|
20976
|
+
* The SocialMediaApi service constructor.
|
|
20977
|
+
* @property {module:purecloud-platform-client-v2/api/SocialMediaApi}
|
|
20978
|
+
*/this.SocialMediaApi=SocialMediaApi;/**
|
|
20707
20979
|
* The SpeechTextAnalyticsApi service constructor.
|
|
20708
20980
|
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi}
|
|
20709
20981
|
*/this.SpeechTextAnalyticsApi=SpeechTextAnalyticsApi;/**
|